Lots of new translations.

This commit is contained in:
James Cole
2015-07-26 07:39:04 +02:00
parent a137112e66
commit 6c6598dac5
17 changed files with 169 additions and 69 deletions

View File

@@ -32,7 +32,7 @@
{{ ExpandedForm.text('iban') }}
{{ ExpandedForm.balance('openingBalance') }}
{{ ExpandedForm.date('openingBalanceDate', phpdate('Y-m-d')) }}
{{ ExpandedForm.select('accountRole', Config.get('firefly.accountRoles'),null,{'helpText' : 'Any extra options resulting from your choice can be set later.'}) }}
{{ ExpandedForm.select('accountRole', Config.get('firefly.accountRoles'),null,{'helpText' : 'asset_account_role_help'|_}) }}
{{ ExpandedForm.balance('virtualBalance') }}
</div>

View File

@@ -47,7 +47,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">
Store new bill
{{ 'store_new_bill'|_ }}
</button>
</div>
</div>

View File

@@ -49,7 +49,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">
Update bill
{{ 'update_bill'|_ }}
</button>
</div>
</div>

View File

@@ -30,7 +30,7 @@
{{ ExpandedForm.optionsList('update','budget') }}
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">Update budget</button>
<button type="submit" class="btn pull-right btn-success">{{ 'update_budget'|_ }}</button>
</div>
</div>
</div>

View File

@@ -31,7 +31,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">
Store new category
{{ 'store_category'|_ }}
</button>
</div>
</div>

View File

@@ -33,7 +33,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">
Store new currency
{{ 'store_currency'|_ }}
</button>
</div>
</div>

View File

@@ -34,7 +34,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn btn-success pull-right">
Update currency
{{ 'update_currency'|_ }}
</button>
</div>
</div>

View File

@@ -143,7 +143,7 @@
</div>
<div class="modal-body" id="helpBody">&nbsp;</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
</div>
</div>
</div>

View File

@@ -43,7 +43,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn btn-success pull-right">
Store new piggy bank
{{ 'store_piggy_bank'|_ }}
</button>
</div>
</div>

View File

@@ -11,10 +11,10 @@
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Home screen accounts</h3>
<h3 class="box-title">{{ 'pref_home_screen_accounts'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-info">Which accounts should be displayed on the home page?</p>
<p class="text-info">{{ 'pref_home_screen_accounts_help'|_ }}</p>
{% for account in accounts %}
<div class="form-group">
<div class="col-sm-10">
@@ -34,11 +34,11 @@
</div>
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Budget settings</h3>
<h3 class="box-title">{{ 'pref_budget_settings'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-info">
What's the maximum amount of money a budget envelope may contain?
{{ 'pref_budget_settings_help'|_ }}
</p>
{{ ExpandedForm.amount('budgetMaximum',budgetMaximum,{'label' : 'Budget maximum'}) }}
</div>
@@ -48,43 +48,43 @@
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">View range</h3>
<h3 class="box-title">{{ 'pref_view_range'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-info">Some charts are automatically grouped in periods. What period would you prefer?</p>
<p class="text-info">{{ 'pref_view_range_help'|_ }}</p>
<div class="radio">
<label>
<input type="radio" name="viewRange" value="1D" {% if viewRange == '1D' %} checked {% endif %}>
One day
{{ 'pref_1D'|_ }}
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="viewRange" value="1W" {% if viewRange == '1W' %} checked {% endif %}>
One week
{{ 'pref_1W'|_ }}
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="viewRange" value="1M" {% if viewRange == '1M' %} checked {% endif %}>
One month
{{ 'pref_1M'|_ }}
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="viewRange" value="3M" {% if viewRange == '3M' %} checked {% endif %}>
Three months
{{ 'pref_3M'|_ }}
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="viewRange" value="6M" {% if viewRange == '6M' %} checked {% endif %}>
Six months
{{ 'pref_6M'|_ }}
</label>
</div>
</div>
@@ -93,10 +93,10 @@
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Languages</h3>
<h3 class="box-title">{{ 'pref_languages'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-info">Firefly III supports several languages. Which one do you prefer?</p>
<p class="text-info">{{ 'pref_languages_help'|_ }}</p>
{% for key, lang in Config.get('firefly.lang') %}
<div class="radio">
<label>
@@ -118,7 +118,7 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<div class="col-sm-12">
<button type="submit" class="btn btn-success btn-lg">Save settings</button>
<button type="submit" class="btn btn-success btn-lg">{{ 'pref_save_settings'|_ }}</button>
</div>
</div>
</div>

View File

@@ -11,7 +11,7 @@
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Change your password</h3>
<h3 class="box-title">{{ 'change_your_password'|_ }}</h3>
</div>
<div class="box-body">
@@ -28,26 +28,26 @@
<div class="form-group">
<label for="inputOldPassword" class="col-sm-4 control-label">Old password</label>
<label for="inputOldPassword" class="col-sm-4 control-label">{{ 'current_password'|_ }}</label>
<div class="col-sm-8">
<input type="password" class="form-control" id="inputOldPassword" placeholder="Old password" name="current_password">
<input type="password" class="form-control" id="inputOldPassword" placeholder="{{ 'current_password'|_ }}" name="current_password">
</div>
</div>
<div class="form-group">
<label for="inputNewPassword1" class="col-sm-4 control-label">New password</label>
<label for="inputNewPassword1" class="col-sm-4 control-label">{{ 'new_password'|_ }}</label>
<div class="col-sm-8">
<input type="password" class="form-control" id="inputNewPassword1" placeholder="New password" name="new_password">
<input type="password" class="form-control" id="inputNewPassword1" placeholder="{{ 'new_password'|_ }}" name="new_password">
</div>
</div>
<div class="form-group">
<label for="inputNewPassword2" class="col-sm-4 control-label">New password (again)</label>
<label for="inputNewPassword2" class="col-sm-4 control-label">{{ 'new_password_again'|_ }}</label>
<div class="col-sm-8">
<input type="password" class="form-control" id="inputNewPassword2" placeholder="New password (again)"
<input type="password" class="form-control" id="inputNewPassword2" placeholder="{{ 'new_password_again'|_ }}"
name="new_password_confirmation">
</div>
</div>
@@ -55,7 +55,7 @@
</div>
<div class="box-footer">
<button type="submit" class="btn btn-success pull-right">Change your password</button>
<button type="submit" class="btn btn-success pull-right">{{ 'change_your_password'|_ }}</button>
</div>
</div>
</div>

View File

@@ -11,17 +11,17 @@
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="box box-danger">
<div class="box-header with-border">
<h3 class="box-title">Delete your account</h3>
<h3 class="box-title">{{ 'delete_your_account'|_ }}</h3>
</div>
<div class="box-body">
<p class="text-danger">
Deleting your account will also delete any accounts, transactions, <em>anything</em>
you might have saved into Firefly III. It'll be GONE.
{{ 'delete_your_account_help'|_ }}
</p>
<p class="text-danger">
Enter your password to continue.
{{ 'delete_your_account_password'|_ }}
</p>
{% if errors|length > 0 %}
@@ -36,15 +36,16 @@
{% endif %}
<div class="form-group">
<label for="password" class="col-sm-4 control-label">Password</label>
<label for="password" class="col-sm-4 control-label">{{ 'password'|_ }}</label>
<div class="col-sm-8">
<input type="password" class="form-control" id="password" placeholder="Password" name="password">
<input type="password" class="form-control" id="password" placeholder="{{ 'password'|_ }}" name="password">
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" onclick="confirm('Are you sure? You cannot undo this.')" class="btn btn-danger pull-right">DELETE your account
<button type="submit" onclick="confirm('{{ 'are_you_sure'|_ }}')" class="btn btn-danger pull-right">
{{ 'delete_account_button'|_ }}
</button>
</div>
</div>

View File

@@ -13,8 +13,8 @@
</div>
<div class="box-body">
<ul>
<li><a href="{{ route('profile.change-password') }}">Change your password</a></li>
<li><a class="text-danger" href="{{ route('profile.delete-account') }}">Delete account</a></li>
<li><a href="{{ route('profile.change-password') }}">{{ 'change_your_password'|_ }}</a></li>
<li><a class="text-danger" href="{{ route('profile.delete-account') }}">{{ 'delete_account'|_ }}</a></li>
</ul>
</div>
</div>