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