forked from 0x2620/pandora
localize itemName
This commit is contained in:
parent
546f3dca10
commit
d76c4191ce
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pandora.ui.helpDialog = function() {
|
||||||
return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
|
return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
|
||||||
}).join('\n');
|
}).join('\n');
|
||||||
strings.itemName = Ox.map(strings.itemName, function(v) {
|
strings.itemName = Ox.map(strings.itemName, function(v) {
|
||||||
return v.toLowerCase();
|
return Ox._(v).toLowerCase();
|
||||||
});
|
});
|
||||||
strings.signup = pandora.user.level == 'guest'
|
strings.signup = pandora.user.level == 'guest'
|
||||||
? '<a href="/signup">' + Ox._('sign up') + '</a>' : Ox._('sign up');
|
? '<a href="/signup">' + Ox._('sign up') + '</a>' : Ox._('sign up');
|
||||||
|
|
Loading…
Reference in a new issue