commit 356166841f59f2dd55015e86ad76573f3aefb101
parent 4639f7dba999fb620505c449a7c5d5f5d7165bef
Author: Felicitus <felicitus@felicitus.org>
Date: Thu, 22 Sep 2011 02:35:18 +0200
Added two missing i18n() calls
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/frontend/js/Util/ServiceCall.js b/frontend/js/Util/ServiceCall.js
@@ -146,11 +146,8 @@ Ext.define('PartKeepr.ServiceCall', {
PartKeepr.getApplication().getStatusbar().endLoad();
},
displayError: function (obj) {
-
-
-
Ext.Msg.show({
- title: 'Error',
+ title: i18n("Error"),
msg: this.getErrorMessage(obj),
buttons: Ext.MessageBox.OK,
icon: Ext.MessageBox.ERROR
@@ -178,7 +175,7 @@ Ext.define('PartKeepr.ServiceCall', {
Ext.Msg.maxWidth = 800;
Ext.Msg.show({
- title: 'System Error',
+ title: i18n("System Error"),
msg: errorMsg,
buttons: Ext.MessageBox.OK,
icon: Ext.MessageBox.ERROR