More translation fixes
This commit is contained in:
@@ -110,11 +110,12 @@ function onEditOrAddGroup(group = null) {
|
||||
|
||||
async function onRemoveGroup(group) {
|
||||
const yes = await inputDialog.value.confirm({
|
||||
title: t('users.deleteGroupDialog.title', { name: group.name }),
|
||||
message: t('users.deleteGroupDialog.description', { memberCount: group.userIds.length }),
|
||||
title: t('users.deleteGroupDialog.title'),
|
||||
message: t('users.deleteGroupDialog.description', { name: group.name, memberCount: group.userIds.length }),
|
||||
confirmStyle: 'danger',
|
||||
confirmLabel: t('users.deleteGroupDialog.deleteAction'),
|
||||
rejectLabel: t('main.dialog.cancel')
|
||||
rejectLabel: t('main.dialog.cancel'),
|
||||
rejectStyle: 'secondary'
|
||||
});
|
||||
|
||||
if (!yes) return;
|
||||
|
||||
@@ -121,11 +121,12 @@ async function onSubmit() {
|
||||
|
||||
async function onRemove(client) {
|
||||
const yes = await inputDialog.value.confirm({
|
||||
title: t('oidc.deleteClientDialog.title', { client: client.name }),
|
||||
message: t('oidc.deleteClientDialog.description'),
|
||||
title: t('oidc.deleteClientDialog.title'),
|
||||
message: t('oidc.deleteClientDialog.description', { clientName: client.name }),
|
||||
confirmStyle: 'danger',
|
||||
confirmLabel: t('main.dialog.delete'),
|
||||
rejectLabel: t('main.dialog.cancel')
|
||||
rejectLabel: t('main.dialog.cancel'),
|
||||
rejectStyle: 'secondary'
|
||||
});
|
||||
|
||||
if (!yes) return;
|
||||
@@ -157,11 +158,13 @@ onMounted(async () => {
|
||||
<InputDialog ref="inputDialog" />
|
||||
|
||||
<Dialog ref="newSetDialog"
|
||||
:title="$t('oidc.clientCredentials.title')"
|
||||
:reject-label="$t('main.dialog.close')"
|
||||
reject-style="secondary"
|
||||
>
|
||||
<div>
|
||||
<!-- TODO translate -->
|
||||
<div>New client credentials for <b>{{ clientName }}</b></div>
|
||||
<div>{{ $t('oidc.clientCredentials.description', { clientName: clientName }) }}</div>
|
||||
<br/>
|
||||
<FormGroup>
|
||||
<label for="clientIdInput">{{ $t('oidc.client.id') }}</label>
|
||||
<InputGroup>
|
||||
@@ -181,11 +184,11 @@ onMounted(async () => {
|
||||
</Dialog>
|
||||
|
||||
<Dialog ref="editDialog"
|
||||
:title="clientId ? $t('oidc.editClientDialog.title', { client: clientName }) : $t('oidc.newClientDialog.title')"
|
||||
:title="clientId ? $t('oidc.editClientDialog.title') : $t('oidc.newClientDialog.title')"
|
||||
:confirm-active="isValid"
|
||||
:confirm-busy="submitBusy"
|
||||
:confirm-label="clientId ? $t('main.dialog.save') : $t('oidc.newClientDialog.createAction')"
|
||||
:reject-label="$t('main.dialog.close')"
|
||||
:reject-label="$t('main.dialog.cancel')"
|
||||
reject-style="secondary"
|
||||
@confirm="onSubmit()"
|
||||
>
|
||||
@@ -218,6 +221,7 @@ onMounted(async () => {
|
||||
<FormGroup>
|
||||
<label for="clientLoginRedirectUriInput">{{ $t('oidc.client.loginRedirectUri') }}</label>
|
||||
<TextInput id="clientLoginRedirectUriInput" v-model="clientLoginRedirectUri" required/>
|
||||
<small class="helper-text">{{ $t('oidc.client.loginRedirectUriPlaceholder') }}</small>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
|
||||
@@ -179,11 +179,12 @@ function onInvitation(user) {
|
||||
|
||||
async function onRemoveUser(user) {
|
||||
const yes = await inputDialog.value.confirm({
|
||||
title: t('users.deleteUserDialog.title', { username: (user.username || user.email) }),
|
||||
message: t('users.deleteUserDialog.description'),
|
||||
title: t('users.deleteUserDialog.title'),
|
||||
message: t('users.deleteUserDialog.description', { username: (user.username || user.email) }),
|
||||
confirmStyle: 'danger',
|
||||
confirmLabel: t('users.deleteUserDialog.deleteAction'),
|
||||
rejectLabel: t('main.dialog.cancel')
|
||||
rejectLabel: t('main.dialog.cancel'),
|
||||
rejectStyle: 'secondary'
|
||||
});
|
||||
|
||||
if (!yes) return;
|
||||
|
||||
@@ -278,7 +278,7 @@ onMounted(async () =>{
|
||||
:title="volumeDialogData.mode === 'edit' ? $t('volumes.editVolumeDialog.title', { name: volumeDialogData.name }) : $t('volumes.addVolumeDialog.title')"
|
||||
:reject-label="$t('main.dialog.cancel')"
|
||||
reject-style="secondary"
|
||||
:confirm-label="$t('main.dialog.save')"
|
||||
:confirm-label="$t('main.action.add')"
|
||||
:confirm-active="!volumeDialogData.busy && isFormValid"
|
||||
:confirm-busy="volumeDialogData.busy"
|
||||
@confirm="onSubmit()"
|
||||
@@ -353,7 +353,7 @@ onMounted(async () =>{
|
||||
|
||||
<Section :title="$t('volumes.title')">
|
||||
<template #header-buttons>
|
||||
<Button @click="openVolumeDialog()" icon="fa fa-plus">{{ $t('main.action.add') }}</Button>
|
||||
<Button @click="openVolumeDialog()">{{ $t('main.action.add') }}</Button>
|
||||
</template>
|
||||
|
||||
<div v-html="$t('volumes.description')"></div>
|
||||
|
||||
Reference in New Issue
Block a user