Skip to content
Permalink
Browse files

i18n a few more labels in the new admin console

  • Loading branch information...
perlDreamer committed Oct 12, 2011
1 parent 1226ea6 commit be109711a8406326e9b2a7297813c388fefc7641
Showing with 10 additions and 4 deletions.
  1. +6 −0 lib/WebGUI/i18n/English/WebGUI.pm
  2. +4 −4 www/extras/admin/admin.js
@@ -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;
@@ -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'
],
@@ -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 );
@@ -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;
@@ -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
} );

0 comments on commit be10971

Please sign in to comment.
You can’t perform that action at this time.