feat: add album tab

This commit is contained in:
ThetaDev 2022-10-23 21:36:55 +02:00 committed by Stypox
parent c929f00456
commit 74a8bfba93
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
4 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,8 @@ public final class ChannelTabs {
return R.string.show_channel_tabs_shorts;
case Channels:
return R.string.show_channel_tabs_channels;
case Albums:
break;
}
return -1;
}
@ -40,6 +42,8 @@ public final class ChannelTabs {
return R.string.channel_tab_shorts;
case Channels:
return R.string.channel_tab_channels;
case Albums:
return R.string.channel_tab_albums;
}
return R.string.unknown_content;
}

View File

@ -772,6 +772,7 @@
<string name="channel_tab_shorts">Shorts</string>
<string name="channel_tab_playlists">Wiedergabelisten</string>
<string name="channel_tab_channels">Kanäle</string>
<string name="channel_tab_albums">Alben</string>
<string name="channel_tab_info">Info</string>
<string name="show_channel_tabs">Tabs auf den Kanalseiten</string>
<string name="show_channel_tabs_summary">Welche Tabs auf den Kanalseiten angezeigt werden</string>

View File

@ -279,12 +279,14 @@
<string name="show_channel_tabs_livestreams">show_channel_tabs_live</string>
<string name="show_channel_tabs_shorts">show_channel_tabs_shorts</string>
<string name="show_channel_tabs_channels">show_channel_tabs_channels</string>
<string name="show_channel_tabs_albums">show_channel_tabs_albums</string>
<string name="show_channel_tabs_info">show_channel_tabs_info</string>
<string-array name="show_channel_tabs_value_list">
<item>@string/show_channel_tabs_playlists</item>
<item>@string/show_channel_tabs_livestreams</item>
<item>@string/show_channel_tabs_shorts</item>
<item>@string/show_channel_tabs_channels</item>
<item>@string/show_channel_tabs_albums</item>
<item>@string/show_channel_tabs_info</item>
</string-array>
<string-array name="show_channel_tabs_description_list">
@ -292,6 +294,7 @@
<item>@string/channel_tab_livestreams</item>
<item>@string/channel_tab_shorts</item>
<item>@string/channel_tab_channels</item>
<item>@string/channel_tab_albums</item>
<item>@string/channel_tab_info</item>
</string-array>
<string name="show_search_suggestions_key">show_search_suggestions</string>

View File

@ -802,6 +802,7 @@
<string name="channel_tab_shorts">Shorts</string>
<string name="channel_tab_playlists">Playlists</string>
<string name="channel_tab_channels">Channels</string>
<string name="channel_tab_albums">Albums</string>
<string name="channel_tab_info">Info</string>
<string name="show_channel_tabs">Channel tabs</string>
<string name="show_channel_tabs_summary">What tabs are shown on the channel pages</string>