Doc System, change hardcoded labels

This commit is contained in:
Julio Cesar Laura
2013-03-14 15:15:04 -04:00
parent 9e0e980a23
commit 64e518fb49
81 changed files with 377 additions and 405 deletions

View File

@@ -123,7 +123,7 @@ Ext.onReady(function() {
},
failure: function (result, request) {
myMask.hide();
Ext.MessageBox.alert('Alert', 'Ajax communication failed');
Ext.MessageBox.alert(_('ID_ALERT'), _('ID_AJAX_COMMUNICATION_FAILED'));
}
});
}
@@ -208,7 +208,7 @@ Ext.onReady(function() {
text: _('ID_SAVE'),
handler: function () {
if (dashletInstanceFrm.getForm().isValid()) {
var myMask = new Ext.LoadMask(Ext.getBody(), {msg: 'Saving. Please wait...'});
var myMask = new Ext.LoadMask(Ext.getBody(), {msg: _('ID_SAVING_LABEL') + '.' + _('ID_PLEASE_WAIT') });
myMask.show();
Ext.Ajax.request({
url: 'saveDashletInstance',