Use <translate> instead of to avoid extraction issues

This commit is contained in:
Eliot Berriot 2018-07-01 15:31:34 +02:00
parent 0f997f897c
commit 0cfefe7a19
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
74 changed files with 507 additions and 507 deletions

View file

@ -3,10 +3,10 @@
<div class="ui vertical stripe segment">
<div class="ui small text container">
<h2>
{{ $gettext('Are you sure you want to log out?') }}
<translate>Are you sure you want to log out?</translate>
</h2>
<p v-translate="{username: $store.state.auth.username}">You are currently logged in as %{ username }</p>
<button class="ui button" @click="$store.dispatch('auth/logout')">{{ $gettext('Yes, log me out!') }}</button>
<button class="ui button" @click="$store.dispatch('auth/logout')"><translate>Yes, log me out!</translate></button>
</div>
</div>
</div>