2
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-08-22 10:09:39 +00:00

Update the names of YT kiosks

This commit is contained in:
Stypox 2025-07-31 23:10:47 +02:00
parent d96c0aebb1
commit b7b836e941
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
3 changed files with 10 additions and 9 deletions

View File

@ -53,13 +53,13 @@ public final class KioskTranslator {
case "Radio":
return c.getString(R.string.radio);
case "trending_gaming":
return c.getString(R.string.gaming);
return c.getString(R.string.trending_gaming);
case "trending_music":
return c.getString(R.string.music);
return c.getString(R.string.trending_music);
case "trending_movies_and_shows":
return c.getString(R.string.movies);
return c.getString(R.string.trending_movies);
case "trending_podcasts_episodes":
return c.getString(R.string.podcasts);
return c.getString(R.string.trending_podcasts);
default:
return kioskId;
}

View File

@ -388,9 +388,10 @@ public final class Localization {
* {@code parsed != null} and the relevant setting is enabled, {@code textual} will
* be appended to the returned string for debugging purposes.
*/
@Nullable
public static String relativeTimeOrTextual(@Nullable final Context context,
@Nullable final DateWrapper parsed,
final String textual) {
@Nullable final String textual) {
if (parsed == null) {
return textual;
} else if (DEBUG && context != null && PreferenceManager

View File

@ -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_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="gaming">Gaming</string>
<string name="music">Music</string>
<string name="movies">Movies</string>
<string name="podcasts">Podcasts</string>
<string name="trending_gaming">Gaming trends</string>
<string name="trending_podcasts">Trending podcasts</string>
<string name="trending_movies">Trending movies and shows</string>
<string name="trending_music">Trending music</string>
</resources>