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')));
});
});