Skip to content

Commit be10971

Browse files
committedOct 12, 2011
i18n a few more labels in the new admin console
1 parent 1226ea6 commit be10971

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
 

‎lib/WebGUI/i18n/English/WebGUI.pm

+6
Original file line numberDiff line numberDiff line change
@@ -4770,6 +4770,12 @@ Users may override this setting in their profile.
47704770
context => 'Add, as in to append or add more',
47714771
},
47724772

4773+
'Choose...' => {
4774+
message => 'Choose...',
4775+
lastUpdate => 0,
4776+
context => 'Choose, as in to select from a set of options',
4777+
},
4778+
47734779
};
47744780

47754781
1;

‎www/extras/admin/admin.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ WebGUI.Admin = function(cfg){
158158
// Get I18N
159159
this.i18n = new WebGUI.i18n( {
160160
namespaces : {
161-
'WebGUI' : [ '< prev', 'next >', 'locked by' ],
161+
'WebGUI' : [ '< prev', 'next >', 'locked by', '364', 'Loading...' ],
162162
'Asset' : [ 'rank', '99', 'type', 'revision date', 'size', 'locked', 'More', 'unlocked', 'edit',
163163
'update', 'delete', '43', 'cut', 'Copy', 'duplicate', 'create shortcut'
164164
],
@@ -956,7 +956,7 @@ WebGUI.Admin.prototype.openTab
956956

957957
// Prepare the tab
958958
var newTab = new YAHOO.widget.Tab({
959-
label : "Loading...",
959+
label : window.admin.i18n.get('WebGUI','Loading...'),
960960
content : ''
961961
});
962962
newTab.get('contentEl').appendChild( iframe );
@@ -2431,7 +2431,7 @@ WebGUI.Admin.Search
24312431
newForm.style.display = "block";
24322432

24332433
var newTab = new YAHOO.widget.Tab({
2434-
label : "Search",
2434+
label : window.admin.i18n.get('WebGUI','364'),
24352435
content : ''
24362436
});
24372437
this.tab = newTab;
@@ -2648,7 +2648,7 @@ WebGUI.Admin.Search.prototype.addFilter
26482648
filter.button = new YAHOO.widget.Button( {
26492649
name : "className",
26502650
type : "menu",
2651-
label : "Choose...",
2651+
label : window.admin.i18n.get('WebGUI','Choose...'),
26522652
container : li,
26532653
menu : filter.menu
26542654
} );

0 commit comments

Comments
 (0)
Please sign in to comment.