info cleanup

This commit is contained in:
j 2018-05-09 12:19:46 +01:00
parent 46be713d82
commit 40784222a5

View file

@ -302,9 +302,10 @@ pandora.ui.infoView = function(data) {
renderGroup(['alternativeTitles']); renderGroup(['alternativeTitles']);
renderGroup(['country', 'year', 'language', 'runtime', 'color', 'sound']);
renderGroup(['type', 'framework', 'style', 'version']); renderGroup(['type', 'framework', 'style', 'version']);
renderGroup(['country', 'year', 'language', 'runtime', 'color', 'sound']);
renderGroup(['productionCompany']); renderGroup(['productionCompany']);
renderGroup([ renderGroup([
@ -561,8 +562,10 @@ pandora.ui.infoView = function(data) {
key = Ox._('Alternative Title' + ( key = Ox._('Alternative Title' + (
data.alternativeTitles && data.alternativeTitles.length == 1 ? '' : 's' data.alternativeTitles && data.alternativeTitles.length == 1 ? '' : 's'
)); ));
} else if (key == 'keyword') { } else if (key == 'topic') {
key = 'keywords' key = 'topics'
} else if (key == 'actor') {
key = 'actors'
} }
var value = Ox.toTitleCase(key) var value = Ox.toTitleCase(key)
.replace(' Of ', ' of ') .replace(' Of ', ' of ')