localize itemName

This commit is contained in:
j 2017-12-27 12:26:38 +01:00
parent 546f3dca10
commit d76c4191ce

View File

@ -65,7 +65,7 @@ pandora.ui.helpDialog = function() {
return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
}).join('\n');
strings.itemName = Ox.map(strings.itemName, function(v) {
return v.toLowerCase();
return Ox._(v).toLowerCase();
});
strings.signup = pandora.user.level == 'guest'
? '<a href="/signup">' + Ox._('sign up') + '</a>' : Ox._('sign up');