Start making components i18n-friendly

This commit is contained in:
Bat 2018-04-14 18:28:41 +01:00
parent e3cfab8bb4
commit 8fbcb01edc
30 changed files with 798 additions and 225 deletions

View file

@ -2,9 +2,9 @@
<div class="main pusher" v-title="'Log Out'">
<div class="ui vertical stripe segment">
<div class="ui small text container">
<h2>Are you sure you want to log out?</h2>
<p>You are currently logged in as {{ $store.state.auth.username }}</p>
<button class="ui button" @click="$store.dispatch('auth/logout')">Yes, log me out!</button>
<h2><i18next path="Are you sure you want to log out?"/></h2>
<i18next tag="p" path="You are currently logged in as {%0%}">{{ $store.state.auth.username }}</i18next>
<button class="ui button" @click="$store.dispatch('auth/logout')"><i18next path="Yes, log me out!"/></button>
</form>
</div>
</div>