fixed alert translations

This commit is contained in:
antelle 2017-02-04 15:05:50 +01:00
parent 349fca7643
commit 354220383d
1 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@ const Alerts = {
alertDisplayed: false,
buttons: {
ok: {result: 'yes', title: Locale.alertOk},
yes: {result: 'yes', title: Locale.alertYes},
no: {result: '', title: Locale.alertNo},
cancel: {result: '', title: Locale.alertCancel}
ok: {result: 'yes', get title() { return Locale.alertOk; }},
yes: {result: 'yes', get title() { return Locale.alertYes; }},
no: {result: '', get title() { return Locale.alertNo; }},
cancel: {result: '', get title() { return Locale.alertCancel; }}
},
alert: function(config) {