Skip to content

Commit

Permalink
i18n a few more labels in the new admin console
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Oct 12, 2011
1 parent 1226ea6 commit be10971
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions lib/WebGUI/i18n/English/WebGUI.pm
Expand Up @@ -4770,6 +4770,12 @@ Users may override this setting in their profile.
context => 'Add, as in to append or add more',
},

'Choose...' => {
message => 'Choose...',
lastUpdate => 0,
context => 'Choose, as in to select from a set of options',
},

};

1;
8 changes: 4 additions & 4 deletions www/extras/admin/admin.js
Expand Up @@ -158,7 +158,7 @@ WebGUI.Admin = function(cfg){
// Get I18N
this.i18n = new WebGUI.i18n( {
namespaces : {
'WebGUI' : [ '< prev', 'next >', 'locked by' ],
'WebGUI' : [ '< prev', 'next >', 'locked by', '364', 'Loading...' ],
'Asset' : [ 'rank', '99', 'type', 'revision date', 'size', 'locked', 'More', 'unlocked', 'edit',
'update', 'delete', '43', 'cut', 'Copy', 'duplicate', 'create shortcut'
],
Expand Down Expand Up @@ -956,7 +956,7 @@ WebGUI.Admin.prototype.openTab

// Prepare the tab
var newTab = new YAHOO.widget.Tab({
label : "Loading...",
label : window.admin.i18n.get('WebGUI','Loading...'),
content : ''
});
newTab.get('contentEl').appendChild( iframe );
Expand Down Expand Up @@ -2431,7 +2431,7 @@ WebGUI.Admin.Search
newForm.style.display = "block";

var newTab = new YAHOO.widget.Tab({
label : "Search",
label : window.admin.i18n.get('WebGUI','364'),
content : ''
});
this.tab = newTab;
Expand Down Expand Up @@ -2648,7 +2648,7 @@ WebGUI.Admin.Search.prototype.addFilter
filter.button = new YAHOO.widget.Button( {
name : "className",
type : "menu",
label : "Choose...",
label : window.admin.i18n.get('WebGUI','Choose...'),
container : li,
menu : filter.menu
} );
Expand Down

0 comments on commit be10971

Please sign in to comment.