[Android] Use a proper string for the remote access dark theme
Nicolas Pomepuy
git at videolan.org
Wed Feb 28 10:33:47 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Feb 12 09:05:42 2024 +0100| [74b6eadc46e0fd3ab157c6ac129c875d6d35f043] | committer: Nicolas Pomepuy
Use a proper string for the remote access dark theme
> https://code.videolan.org/videolan/vlc-android/commit/74b6eadc46e0fd3ab157c6ac129c875d6d35f043
---
application/resources/src/main/res/values/strings.xml | 1 +
.../src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index 80d2277a1e..0715670a61 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -338,6 +338,7 @@
<string name="screen_orientation_landscape_sensor">Landscape (sensor)</string>
<string name="screen_orientation_last_locked">Last locked orientation</string>
<string name="enable_black_theme">Black theme</string>
+ <string name="dark_theme">Dark theme</string>
<string name="theme_auto">Auto theme</string>
<string name="subtitle_text_encoding">Subtitle text encoding</string>
<string name="subtitle_preferred_language">Preferred subtitle language</string>
diff --git a/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt b/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
index 1453cf09f1..195cbf4df9 100644
--- a/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
+++ b/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
@@ -92,6 +92,6 @@ object TranslationMapping {
VIDEO_GROUP_BY_FOLDER(R.string.video_min_group_length_folder),
VIDEO_GROUP_BY_NAME(R.string.video_min_group_length_name),
PLAY_ALL(R.string.play_all),
- DARK_THEME(R.string.enable_black_theme),
+ DARK_THEME(R.string.dark_theme),
}
}
\ No newline at end of file
More information about the Android
mailing list