File tree Expand file tree Collapse file tree
java/org/schabi/newpipe/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ private static int getShowTabKey(final String tab) {
3030 return R .string .show_channel_tabs_channels ;
3131 case ChannelTabs .ALBUMS :
3232 return R .string .show_channel_tabs_albums ;
33+ case ChannelTabs .PODCASTS :
34+ return R .string .show_channel_tabs_podcasts ;
3335 }
3436 return -1 ;
3537 }
@@ -63,6 +65,8 @@ public static int getTranslationKey(final String tab) {
6365 return R .string .channel_tab_channels ;
6466 case ChannelTabs .ALBUMS :
6567 return R .string .channel_tab_albums ;
68+ case ChannelTabs .PODCASTS :
69+ return R .string .channel_tab_podcasts ;
6670 }
6771 return R .string .unknown_content ;
6872 }
Original file line number Diff line number Diff line change 271271 <item >@string/show_channel_tabs_shorts</item >
272272 <item >@string/show_channel_tabs_channels</item >
273273 <item >@string/show_channel_tabs_albums</item >
274+ <item >@string/show_channel_tabs_podcasts</item >
274275 <item >@string/show_channel_tabs_info</item >
275276 </string-array >
276277 <string-array name =" show_channel_tabs_description_list" >
279280 <item >@string/channel_tab_shorts</item >
280281 <item >@string/channel_tab_channels</item >
281282 <item >@string/channel_tab_albums</item >
283+ <item >@string/channel_tab_podcasts</item >
282284 <item >@string/channel_tab_info</item >
283285 </string-array >
284286 <string name =" show_search_suggestions_key" >show_search_suggestions</string >
16841686 <item >enqueue</item >
16851687 <item >disable</item >
16861688 </string-array >
1687-
16881689 <string name =" grid_layout_enabled_key" >grid_layout_enabled_key</string >
16891690 <string name =" grid_columns_key" >grid_columns_key</string >
16901691 <string name =" grid_columns_landscape_key" >grid_columns_landscape_key</string >
17101711 <item >7</item >
17111712 <item >8</item >
17121713 </string-array >
1714+
1715+ <string name =" show_channel_tabs_podcasts" >show_channel_tabs_podcasts</string >
17131716</resources >
Original file line number Diff line number Diff line change 11201120<string name =" grid_layout_summary" >Show supported lists in a grid instead of a single-column list</string >
11211121<string name =" grid_columns_title" >Grid columns</string >
11221122<string name =" grid_columns_landscape_title" >Grid columns (landscape)</string >
1123- </resources >
1123+ <string name =" channel_tab_podcasts" >Podcasts</string >
1124+ </resources >
You can’t perform that action at this time.
0 commit comments