Missing translations

This commit is contained in:
nemunaire 2020-11-30 08:57:11 +01:00
parent b320577a62
commit be5e70f9cc
2 changed files with 11 additions and 1 deletions

View File

@ -76,10 +76,18 @@
</b-button>
</template>
<form v-if="modal && modal.dn != null" id="addAliasForm" @submit.stop.prevent="handleModalAliasSubmit">
Add an alias pointing to <span class="text-monospace">{{ modal.dn | fqdn(domain.domain) }}</span>:
<i18n path="domains.alias-creation">
<span class="text-monospace">{{ modal.dn | fqdn(domain.domain) }}</span>
</i18n>
<b-input-group :append="'.' + domain.domain">
<b-input v-model="modal.alias" autofocus class="text-monospace" placeholder="new.subdomain" :state="modal.newDomainState" @update="validateNewAlias" />
</b-input-group>
<div v-show="modal.alias" class="mt-3 text-center">
{{ $t('domains.alias-creation-sample') }}
<span class="text-monospace text-no-wrap">{{ modal.alias | fqdn(domain.domain) }}</span>
<b-icon class="mr-1 ml-1" icon="arrow-right" />
<span class="text-monospace text-no-wrap">{{ modal.dn | fqdn(domain.domain) }}</span>
</div>
</form>
</b-modal>
</b-col>

View File

@ -69,6 +69,8 @@
"add-an-alias": "Add an alias",
"add-now": "Add it now!",
"added-success": "Great! {domain} has been added. You can manage it right now.",
"alias-creation": "Add an alias pointing to {0}:",
"alias-creation-sample": "This will create the alias:",
"apply": {
"additions": "no additions | {count} addition | {count} additions",
"button": "Apply modifications",