pad.ma locale fixes

This commit is contained in:
j 2014-02-15 10:44:00 +00:00
parent 77feb0e5fa
commit d18e483fb7
2 changed files with 8 additions and 5 deletions

View file

@ -601,7 +601,7 @@ pandora.ui.infoView = function(data) {
}), [0, 240]); }), [0, 240]);
Ox.Label({ Ox.Label({
textAlign: 'center', textAlign: 'center',
title: Ox.toTitleCase(userLevel), title: Ox._(Ox.toTitleCase(userLevel)),
width: 60 width: 60
}) })
.addClass('OxColor OxColorGradient') .addClass('OxColor OxColorGradient')
@ -620,11 +620,15 @@ pandora.ui.infoView = function(data) {
var hasCapability = pandora.site.capabilities[capability.name][userLevel] >= rightsLevel, var hasCapability = pandora.site.capabilities[capability.name][userLevel] >= rightsLevel,
$element = Ox.Theme.formatColorLevel(hasCapability, ['', '']); $element = Ox.Theme.formatColorLevel(hasCapability, ['', '']);
Ox.Button({ Ox.Button({
tooltip: (canEdit ? Ox.toTitleCase(userLevel) : 'You') + ' ' tooltip: Ox._('{0} '
+ (hasCapability ? 'can' : 'can\'t') + ' ' + (hasCapability ? 'can' : 'can\'t') + ' '
+ Ox.toSlashes(capability.name) + Ox.toSlashes(capability.name)
.split('/').slice(1).join(' ') .split('/').slice(1).join(' ')
.toLowerCase(), .toLowerCase()
.replace('see item', 'see the item')
.replace('play video', 'play the full video')
.replace('download video', 'download the video'),
[canEdit ? Ox.toTitleCase(userLevel) : Ox._('You')]),
title: capability.symbol, title: capability.symbol,
type: 'image' type: 'image'
}) })
@ -670,7 +674,7 @@ pandora.ui.infoView = function(data) {
format: function(value) { format: function(value) {
return formatValue(key, value); return formatValue(key, value);
}, },
placeholder: formatLight('unknown'), placeholder: formatLight(Ox._('unknown')),
tooltip: canEdit ? pandora.getEditTooltip() : '', tooltip: canEdit ? pandora.getEditTooltip() : '',
value: getValue(key, data[key]) value: getValue(key, data[key])
}) })

View file

@ -450,7 +450,6 @@
"Total: ": "संपूर्ण", "Total: ": "संपूर्ण",
"URL": "URL", "URL": "URL",
"Undo": "अंडू", "Undo": "अंडू",
"unknown ": "अज्ञात",
"Unknown ": "अज्ञात", "Unknown ": "अज्ञात",
"Unmount Volume": "ड्राइव अनमाउंट करें", "Unmount Volume": "ड्राइव अनमाउंट करें",
"Unsubscribed": "सदस्यता बंद करें", "Unsubscribed": "सदस्यता बंद करें",