i18n ordering javascript
This commit is contained in:
parent
64a597c689
commit
dce92b9d7c
3 changed files with 7 additions and 1 deletions
|
@ -178,6 +178,6 @@ $(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('a[data-confirm_switch_order]').click(function() {
|
$('a[data-confirm_switch_order]').click(function() {
|
||||||
return (!modified || confirm('Änderungen an dieser Bestellung gehen verloren, wenn zu einer anderen Bestellung gewechselt wird. Möchtest Du trotzdem wechseln?'));
|
return (!modified || confirm(I18n.t('js.ordering.confirm_change')));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -985,6 +985,9 @@ de:
|
||||||
action: Einlading abschicken
|
action: Einlading abschicken
|
||||||
body: <p>Hier kannst du eine Person in die Gruppe <b>%{group}</b> einladen, die noch nicht Mitglied der Foodcoop ist.</p>
|
body: <p>Hier kannst du eine Person in die Gruppe <b>%{group}</b> einladen, die noch nicht Mitglied der Foodcoop ist.</p>
|
||||||
success: Benutzerin wurde erfolgreich eingeladen.
|
success: Benutzerin wurde erfolgreich eingeladen.
|
||||||
|
js:
|
||||||
|
ordering:
|
||||||
|
confirm_change: Änderungen an dieser Bestellung gehen verloren, wenn zu einer anderen Bestellung gewechselt wird. Möchtest Du trotzdem wechseln?
|
||||||
layouts:
|
layouts:
|
||||||
application1:
|
application1:
|
||||||
title: Foodsoft - %{title}
|
title: Foodsoft - %{title}
|
||||||
|
|
|
@ -998,6 +998,9 @@ en:
|
||||||
action: Send invite
|
action: Send invite
|
||||||
body: <p>Here you can add a person to the group <b>%{group}</b>, who is not yet a member of the foodcoop.</p>
|
body: <p>Here you can add a person to the group <b>%{group}</b>, who is not yet a member of the foodcoop.</p>
|
||||||
success: User was invited successfully.
|
success: User was invited successfully.
|
||||||
|
js:
|
||||||
|
ordering:
|
||||||
|
confirm_change: Modifications to this order will be lost when you change the order. Do you want to lose the changes you made and continue?
|
||||||
layouts:
|
layouts:
|
||||||
application1:
|
application1:
|
||||||
title: Foodsoft - %{title}
|
title: Foodsoft - %{title}
|
||||||
|
|
Loading…
Reference in a new issue