More translation fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user