1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

i18n for close period modal

This commit is contained in:
Sylvain 2019-01-03 17:51:24 +01:00
parent 3fda7562d4
commit c35029d205
5 changed files with 25 additions and 5 deletions

View File

@ -1,10 +1,10 @@
<div class="modal-header">
<h3 class="text-center red" translate>{{ 'close_accounting_period' }}</h3>
<h3 class="text-center red" translate>{{ 'invoices.close_accounting_period' }}</h3>
</div>
<div class="modal-body">
<form name="closePeriodForm" novalidate="novalidate">
<div class="form-group" ng-class="{'has-error': closePeriodForm.start_date.$dirty && closePeriodForm.start_date.$invalid }">
<label translate>{{ 'close_from_date' }}</label>
<label translate>{{ 'invoices.close_from_date' }}</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<input type="text"
@ -18,10 +18,10 @@
ng-click="openDatePicker($event, 'start')"
required/>
</div>
<span class="help-block" ng-show="closePeriodForm.start_date.$dirty && closePeriodForm.start_date.$error.required" translate>{{ 'start_date_is_required' }}</span>
<span class="help-block" ng-show="closePeriodForm.start_date.$dirty && closePeriodForm.start_date.$error.required" translate>{{ 'invoices.start_date_is_required' }}</span>
</div>
<div class="form-group" ng-class="{'has-error': closePeriodForm.end_date.$dirty && closePeriodForm.end_date.$invalid }">
<label translate>{{ 'close_until_date' }}</label>
<label translate>{{ 'invoices.close_until_date' }}</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<input type="text"
@ -35,7 +35,7 @@
ng-click="openDatePicker($event, 'end')"
required/>
</div>
<span class="help-block" ng-show="closePeriodForm.end_date.$dirty && closePeriodForm.end_date.$error.required" translate>{{ 'end_date_is_required' }}</span>
<span class="help-block" ng-show="closePeriodForm.end_date.$dirty && closePeriodForm.end_date.$error.required" translate>{{ 'invoices.end_date_is_required' }}</span>
</div>
</form>
</div>

View File

@ -402,6 +402,11 @@ en:
logo_successfully_saved: "Logo successfully saved."
an_error_occurred_while_saving_the_logo: "An error occurred while saving the logo."
online_payment: "Online payment"
close_accounting_period: "Close an accounting period"
close_from_date: "Close from"
start_date_is_required: "Start date is required"
close_until_date: "Close until"
end_date_is_required: "End date is required"
members:
# management of users, labels, groups, and so on

View File

@ -402,6 +402,11 @@ es:
logo_successfully_saved: "Logo guardado correctamente."
an_error_occurred_while_saving_the_logo: "Se ha producido un error al guardar el logotipo.."
online_payment: "Pago online"
close_accounting_period: "Close an accounting period" # translation_missing
close_from_date: "Close from" # translation_missing
start_date_is_required: "Start date is required" # translation_missing
close_until_date: "Close until" # translation_missing
end_date_is_required: "End date is required" # translation_missing
members:
# management of users, labels, groups, and so on

View File

@ -402,6 +402,11 @@ fr:
logo_successfully_saved: "Le logo bien été enregistré."
an_error_occurred_while_saving_the_logo: "Une erreur est survenue lors de l'enregistrement du logo."
online_payment: "Paiement en ligne"
close_accounting_period: "Clôturer une période comptable"
close_from_date: "Clôturer depuis"
start_date_is_required: "La date de début est requise"
close_until_date: "Clôturer jusqu'au"
end_date_is_required: "La date de fin est requise"
members:
# gestion des utilisateurs, des groupes, des étiquettes, etc.

View File

@ -402,6 +402,11 @@ pt:
logo_successfully_saved: "Logo salvo com sucesso."
an_error_occurred_while_saving_the_logo: "Um erro ocorreu ao salvar o logo."
online_payment: "Pagamento Online"
close_accounting_period: "Close an accounting period" # translation_missing
close_from_date: "Close from" # translation_missing
start_date_is_required: "Start date is required" # translation_missing
close_until_date: "Close until" # translation_missing
end_date_is_required: "End date is required" # translation_missing
members:
# management of users, labels, groups, and so on