add itemTitleKeys to config and move getItemTitle to its own file, use everywhere title strings are used

This commit is contained in:
j 2014-11-21 14:26:50 +00:00
commit fb5a5c5cf7
16 changed files with 41 additions and 49 deletions

View file

@ -98,12 +98,7 @@ pandora.ui.tv = function() {
title: pandora.site.site.name + ' — ' + (
list || Ox._('All {0}', [Ox._(pandora.site.itemName.plural)])
) + ' — '
+ result.data.title
+ (
result.data.director
? ' (' + result.data.director.join(', ') + ') '
: ''
) + result.data.year,
+ pandora.getItemTitle(result.data, true),
video: videoOptions.video,
volume: pandora.user.ui.videoVolume
})