Merge pull request #20308 from nextcloud/rakekniven-patch-1

l10n: Changed spelling of WebAuthn
This commit is contained in:
Roeland Jago Douma 2020-04-05 13:06:56 +02:00 committed by GitHub
commit 4e9cd2b307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -26,7 +26,7 @@
<div v-else>
<div v-if="step === RegistrationSteps.READY">
<button @click="start">
{{ t('settings', 'Add Webauthn device') }}
{{ t('settings', 'Add WebAuthn device') }}
</button>
</div>
@ -146,7 +146,7 @@ export default {
})
.catch(err => {
console.error('Error getting webauthn registration data from server', err)
throw new Error(t('settings', 'Server error while trying to add webauthn device'))
throw new Error(t('settings', 'Server error while trying to add WebAuthn device'))
})
},
@ -188,7 +188,7 @@ export default {
this.$emit('added', device)
} catch (err) {
logger.error('Error persisting webauthn registration', { error: err })
throw new Error(t('settings', 'Server error while trying to complete webauthn device registration'))
throw new Error(t('settings', 'Server error while trying to complete WebAuthn device registration'))
}
},

View File

@ -37,7 +37,7 @@
@delete="deleteDevice(device.id)" />
<p v-if="!hasPublicKeyCredential" class="warning">
{{ t('settings', 'Your browser does not support Webauthn.') }}
{{ t('settings', 'Your browser does not support WebAuthn.') }}
</p>
<AddDevice v-if="hasPublicKeyCredential" :isHttps="isHttps" @added="deviceAdded" />