From accbc7d5cbdb156ab62fb97c57e25cf49ac88fe0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 17 Feb 2014 14:40:15 +0000 Subject: [PATCH] wrap more strings --- static/js/infoView.indiancinema.js | 8 ++++---- static/js/infoView.padma.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index fbc798d10..ee37aef06 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -267,7 +267,7 @@ pandora.ui.infoView = function(data) { format: function(value) { return formatLink(value.split(', '), 'name'); }, - placeholder: formatLight('Unknown Director'), + placeholder: formatLight(Ox._('Unknown Director')), tooltip: canEdit ? pandora.getEditTooltip() : '', value: data.director ? data.director.join(', ') : '' }) @@ -613,7 +613,7 @@ pandora.ui.infoView = function(data) { items = {}; if (result.data.items) { result.data.items.forEach(function(item) { - var year = item.year || 'Unknown Year'; + var year = item.year || Ox._('Unknown Year'); if (key == 'name' && result.data.items.length > 1) { item.roles = nameKeys.filter(function(nameKey) { return Ox.contains(item[nameKey], value); @@ -756,7 +756,7 @@ pandora.ui.infoView = function(data) { .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')]), + [canEdit ? Ox._(Ox.toTitleCase(userLevel)) : Ox._('You')]), title: capability.symbol, type: 'image' }) @@ -899,7 +899,7 @@ pandora.ui.infoView = function(data) { format: function(value) { return formatValue(key, value); }, - placeholder: formatLight('unknown'), + placeholder: formatLight(Ox._('unknown')), tooltip: canEdit ? pandora.getEditTooltip() : '', value: getValue(key, data[key]) }) diff --git a/static/js/infoView.padma.js b/static/js/infoView.padma.js index 2c6e1f1ed..c89dca375 100644 --- a/static/js/infoView.padma.js +++ b/static/js/infoView.padma.js @@ -628,7 +628,7 @@ pandora.ui.infoView = function(data) { .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')]), + [canEdit ? Ox._(Ox.toTitleCase(userLevel)) : Ox._('You')]), title: capability.symbol, type: 'image' })