Merge pull request #2217 from nyanmisaka/landingScreen-cleanup

Landing screen options clean up
This commit is contained in:
dkanada 2020-12-12 00:05:28 +09:00 committed by GitHub
commit f94cbfed7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,8 @@ import template from './homeScreenSettings.template.html';
value: 'suggestions'
});
list.push({
name: globalize.translate('Genres'),
value: 'genres'
name: globalize.translate('Trailers'),
value: 'trailers'
});
list.push({
name: globalize.translate('Favorites'),
@ -68,6 +68,10 @@ import template from './homeScreenSettings.template.html';
name: globalize.translate('Collections'),
value: 'collections'
});
list.push({
name: globalize.translate('Genres'),
value: 'genres'
});
} else if (type === 'tvshows') {
list.push({
name: globalize.translate('Shows'),
@ -79,7 +83,7 @@ import template from './homeScreenSettings.template.html';
value: 'suggestions'
});
list.push({
name: globalize.translate('Upcoming'),
name: globalize.translate('TabUpcoming'),
value: 'upcoming'
});
list.push({
@ -87,7 +91,7 @@ import template from './homeScreenSettings.template.html';
value: 'genres'
});
list.push({
name: globalize.translate('Networks'),
name: globalize.translate('TabNetworks'),
value: 'networks'
});
list.push({
@ -116,20 +120,40 @@ import template from './homeScreenSettings.template.html';
name: globalize.translate('Playlists'),
value: 'playlists'
});
list.push({
name: globalize.translate('Songs'),
value: 'songs'
});
list.push({
name: globalize.translate('Genres'),
value: 'genres'
});
} else if (type === 'livetv') {
list.push({
name: globalize.translate('Suggestions'),
value: 'suggestions',
name: globalize.translate('Programs'),
value: 'programs',
isDefault: true
});
list.push({
name: globalize.translate('Guide'),
value: 'guide'
});
list.push({
name: globalize.translate('Channels'),
value: 'channels'
});
list.push({
name: globalize.translate('Recordings'),
value: 'recordings'
});
list.push({
name: globalize.translate('Schedule'),
value: 'schedule'
});
list.push({
name: globalize.translate('Series'),
value: 'series'
});
}
return list;