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>

View File

@@ -36,7 +36,7 @@
<div class="center alert alert-danger" v-if="login_error">{{login_error}}</div>
<div style="margin-top:2em">
<a href="/password-reset">Forgot Password</a>
<a href="/password-reset"><%= __("forgot_password") %></a>
</div>
</form>
</div>

View File

@@ -43,8 +43,8 @@
<div class="space-empty" v-cloak v-if="active_view == 'space' && !present_mode && active_space_artifacts.length == 0">
<div class="table-fake">
<div class="cell">
<p>Use the toolbar to add content.<br>
You can also drop images or sound and video files.</p>
<p><%= __('tool_space_help_part_one')%><br>
<%= __('tool_space_help_part_two')%></p>
</div>
</div>
</div>