Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ private static int getShowTabKey(final String tab) {
return R.string.show_channel_tabs_channels;
case ChannelTabs.ALBUMS:
return R.string.show_channel_tabs_albums;
case ChannelTabs.PODCASTS:
return R.string.show_channel_tabs_podcasts;
}
return -1;
}
Expand Down Expand Up @@ -63,6 +65,8 @@ public static int getTranslationKey(final String tab) {
return R.string.channel_tab_channels;
case ChannelTabs.ALBUMS:
return R.string.channel_tab_albums;
case ChannelTabs.PODCASTS:
return R.string.channel_tab_podcasts;
}
return R.string.unknown_content;
}
Expand Down
5 changes: 4 additions & 1 deletion app/src/main/res/values/settings_keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
<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_podcasts</item>
<item>@string/show_channel_tabs_info</item>
</string-array>
<string-array name="show_channel_tabs_description_list">
Expand All @@ -279,6 +280,7 @@
<item>@string/channel_tab_shorts</item>
<item>@string/channel_tab_channels</item>
<item>@string/channel_tab_albums</item>
<item>@string/channel_tab_podcasts</item>
<item>@string/channel_tab_info</item>
</string-array>
<string name="show_search_suggestions_key">show_search_suggestions</string>
Expand Down Expand Up @@ -1684,7 +1686,6 @@
<item>enqueue</item>
<item>disable</item>
</string-array>

<string name="grid_layout_enabled_key">grid_layout_enabled_key</string>
<string name="grid_columns_key">grid_columns_key</string>
<string name="grid_columns_landscape_key">grid_columns_landscape_key</string>
Expand All @@ -1710,4 +1711,6 @@
<item>7</item>
<item>8</item>
</string-array>

<string name="show_channel_tabs_podcasts">show_channel_tabs_podcasts</string>
</resources>
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1120,4 +1120,5 @@
<string name="grid_layout_summary">Show supported lists in a grid instead of a single-column list</string>
<string name="grid_columns_title">Grid columns</string>
<string name="grid_columns_landscape_title">Grid columns (landscape)</string>
</resources>
<string name="channel_tab_podcasts">Podcasts</string>
</resources>