fix user locale handling (#190)

* fix some french translations
add more translations
fix langage preference setup

* handle i18n for delete space or folder

* fix content layout for help text
This commit is contained in:
Romuald
2021-05-18 17:12:15 +02:00
committed by GitHub
parent 3dd0fce139
commit 601211e294
7 changed files with 73 additions and 57 deletions

View File

@@ -3,7 +3,7 @@
<a class="btn btn-dark btn-md btn-round btn-icon" href="/spaces">
<span class="icon icon-svg icon-sd6"></span>
</a>
<h5>Edit Account</h5>
<h5><%=__('edit_account')%></h5>
</div>
<div class="header-right pull-right">
@@ -86,7 +86,7 @@
</div>
<div class="form-group">
<button class="btn btn-md btn-dark" v-on:click="save_user()">Save</button>
<button class="btn btn-md btn-dark" v-on:click="save_user()"><%=__('save')%></button>
</div>
</div>
</div>
@@ -158,7 +158,7 @@
</div>
<div class="collapse" v-bind:class="{in:account=='terminate'}">
<h4>Terminate Account</h4>
<h4><%=__('terminate_caption')%></h4>
<div class="modal-section labels-inline">
<div class="form-group">
<label class="label"><%=__("current_password")%></label>
@@ -177,7 +177,7 @@
</div>
<div class="modal-footer">
<button class="btn btn-stroke-darken btn-md" v-on:click="remove_account(account_remove_password, account_remove_feedback)">Terminate Account</button>
<button class="btn btn-stroke-darken btn-md" v-on:click="remove_account(account_remove_password, account_remove_feedback)"><%=__('terminate_caption')%></button>
</div>
</div>
</div>