forked from 0x2620/pandora
document.title: remove username from list/edit/text
This commit is contained in:
parent
7e40b3ab02
commit
c0c642bea5
1 changed files with 3 additions and 3 deletions
|
@ -934,7 +934,7 @@ pandora.getClipVideos = function(clip, resolution) {
|
||||||
if (!pandora.user.ui.item) {
|
if (!pandora.user.ui.item) {
|
||||||
parts.push(
|
parts.push(
|
||||||
pandora.user.ui._list
|
pandora.user.ui._list
|
||||||
? Ox._('List') + ' ' + pandora.user.ui._list
|
? Ox._('List') + ' ' + pandora.user.ui._list.split(':').slice(1).join(':')
|
||||||
: pandora.getAllItemsTitle('items')
|
: pandora.getAllItemsTitle('items')
|
||||||
);
|
);
|
||||||
parts.push(Ox._(Ox.toTitleCase(pandora.user.ui.listView) + ' View'));
|
parts.push(Ox._(Ox.toTitleCase(pandora.user.ui.listView) + ' View'));
|
||||||
|
@ -945,13 +945,13 @@ pandora.getClipVideos = function(clip, resolution) {
|
||||||
} else if (pandora.user.ui.section == 'edits') {
|
} else if (pandora.user.ui.section == 'edits') {
|
||||||
parts.push(
|
parts.push(
|
||||||
pandora.user.ui.edit
|
pandora.user.ui.edit
|
||||||
? Ox._('Edit{noun}', {noun: ''}) + ' ' + pandora.user.ui.edit
|
? Ox._('Edit{noun}', {noun: ''}) + ' ' + pandora.user.ui.edit.split(':').slice(1).join(':')
|
||||||
: Ox._('Edits')
|
: Ox._('Edits')
|
||||||
);
|
);
|
||||||
} else if (pandora.user.ui.section == 'texts') {
|
} else if (pandora.user.ui.section == 'texts') {
|
||||||
parts.push(
|
parts.push(
|
||||||
pandora.user.ui.text
|
pandora.user.ui.text
|
||||||
? Ox._('Text') + ' ' + pandora.user.ui.text
|
? Ox._('Text') + ' ' + pandora.user.ui.text.split(':').slice(1).join(':')
|
||||||
: Ox._('Texts')
|
: Ox._('Texts')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue