mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-22 01:58:16 +00:00
Update the names of YT kiosks
This commit is contained in:
parent
d96c0aebb1
commit
b7b836e941
@ -53,13 +53,13 @@ public final class KioskTranslator {
|
|||||||
case "Radio":
|
case "Radio":
|
||||||
return c.getString(R.string.radio);
|
return c.getString(R.string.radio);
|
||||||
case "trending_gaming":
|
case "trending_gaming":
|
||||||
return c.getString(R.string.gaming);
|
return c.getString(R.string.trending_gaming);
|
||||||
case "trending_music":
|
case "trending_music":
|
||||||
return c.getString(R.string.music);
|
return c.getString(R.string.trending_music);
|
||||||
case "trending_movies_and_shows":
|
case "trending_movies_and_shows":
|
||||||
return c.getString(R.string.movies);
|
return c.getString(R.string.trending_movies);
|
||||||
case "trending_podcasts_episodes":
|
case "trending_podcasts_episodes":
|
||||||
return c.getString(R.string.podcasts);
|
return c.getString(R.string.trending_podcasts);
|
||||||
default:
|
default:
|
||||||
return kioskId;
|
return kioskId;
|
||||||
}
|
}
|
||||||
|
@ -388,9 +388,10 @@ public final class Localization {
|
|||||||
* {@code parsed != null} and the relevant setting is enabled, {@code textual} will
|
* {@code parsed != null} and the relevant setting is enabled, {@code textual} will
|
||||||
* be appended to the returned string for debugging purposes.
|
* be appended to the returned string for debugging purposes.
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
public static String relativeTimeOrTextual(@Nullable final Context context,
|
public static String relativeTimeOrTextual(@Nullable final Context context,
|
||||||
@Nullable final DateWrapper parsed,
|
@Nullable final DateWrapper parsed,
|
||||||
final String textual) {
|
@Nullable final String textual) {
|
||||||
if (parsed == null) {
|
if (parsed == null) {
|
||||||
return textual;
|
return textual;
|
||||||
} else if (DEBUG && context != null && PreferenceManager
|
} else if (DEBUG && context != null && PreferenceManager
|
||||||
|
@ -868,8 +868,8 @@
|
|||||||
<string name="migration_info_6_7_message">SoundCloud has discontinued the original Top 50 charts. The corresponding tab has been removed from your main page.</string>
|
<string name="migration_info_6_7_message">SoundCloud has discontinued the original Top 50 charts. The corresponding tab has been removed from your main page.</string>
|
||||||
<string name="migration_info_7_8_title">YouTube combined trending removed</string>
|
<string name="migration_info_7_8_title">YouTube combined trending removed</string>
|
||||||
<string name="migration_info_7_8_message">YouTube has discontinued the combined trending page as of 21st July 2025. NewPipe replaced the default trending page with the trending livestreams.\n\nYou can also select different trending pages in \"Settings > Content > Content of main page\".</string>
|
<string name="migration_info_7_8_message">YouTube has discontinued the combined trending page as of 21st July 2025. NewPipe replaced the default trending page with the trending livestreams.\n\nYou can also select different trending pages in \"Settings > Content > Content of main page\".</string>
|
||||||
<string name="gaming">Gaming</string>
|
<string name="trending_gaming">Gaming trends</string>
|
||||||
<string name="music">Music</string>
|
<string name="trending_podcasts">Trending podcasts</string>
|
||||||
<string name="movies">Movies</string>
|
<string name="trending_movies">Trending movies and shows</string>
|
||||||
<string name="podcasts">Podcasts</string>
|
<string name="trending_music">Trending music</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user