i18n ordering javascript

This commit is contained in:
wvengen 2013-10-04 15:01:24 +02:00
parent 64a597c689
commit dce92b9d7c
3 changed files with 7 additions and 1 deletions

View File

@ -178,6 +178,6 @@ $(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')));
});
});

View File

@ -985,6 +985,9 @@ de:
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>
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:
application1:
title: Foodsoft - %{title}

View File

@ -998,6 +998,9 @@ en:
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>
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:
application1:
title: Foodsoft - %{title}