Move i18n to vue-i18n and json files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-09-12 11:34:01 +02:00
parent c3b03a2e6b
commit 96380f7df2
47 changed files with 740 additions and 1803 deletions

View File

@@ -1,16 +1,16 @@
<template>
<section>
<h1 class="title" v-if="loading">
<translate>Your account is being validated</translate>
{{ $t('Your account is being validated') }}
</h1>
<div v-else>
<div v-if="failed">
<b-message :title="$gettext('Error while validating account')" type="is-danger">
<translate>Either the account is already validated, either the validation token is incorrect.</translate>
<b-message :title="$t('Error while validating account')" type="is-danger">
{{ $t('Either the account is already validated, either the validation token is incorrect.') }}
</b-message>
</div>
<h1 class="title" v-else>
<translate>Your account has been validated</translate>
{{ $t('Your account has been validated') }}
</h1>
</div>
</section>