use title/originalTitle not title/internationalTitle
This commit is contained in:
parent
4bbc6a6310
commit
7f08cc4bf3
2 changed files with 4 additions and 4 deletions
|
@ -603,7 +603,7 @@ class Item(models.Model):
|
|||
i = key['id']
|
||||
if i == 'title':
|
||||
save(i, u'\n'.join([self.get('title', 'Untitled'),
|
||||
self.get('internationalTitle', '')]))
|
||||
self.get('originalTitle', '')]))
|
||||
elif i == 'rightslevel':
|
||||
save(i, self.level)
|
||||
elif i == 'filename':
|
||||
|
@ -846,7 +846,7 @@ class Item(models.Model):
|
|||
current_values = [current_values]
|
||||
else:
|
||||
current_values = []
|
||||
ot = self.get('internationalTitle')
|
||||
ot = self.get('originalTitle')
|
||||
if ot:
|
||||
current_values.append(ot)
|
||||
elif key == 'character':
|
||||
|
|
|
@ -590,8 +590,8 @@ pandora.ui.infoView = function(data) {
|
|||
+ title.substr(match[0].length);
|
||||
}
|
||||
return title + (
|
||||
data.internationalTitle && data.internationalTitle != title
|
||||
? ' ' + formatLight('(' + data.internationalTitle + ')') : ''
|
||||
data.originalTitle && data.originalTitle != title
|
||||
? ' ' + formatLight('(' + data.originalTitle + ')') : ''
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue