Use a list for night themes
Also remove unused strings
This commit is contained in:
parent
22b2f52f8c
commit
a85e8a29ff
7 changed files with 116 additions and 78 deletions
|
|
@ -176,21 +176,33 @@
|
|||
|
||||
<!-- THEMES -->
|
||||
<string name="theme_key" translatable="false">theme</string>
|
||||
<string name="night_theme_key" translatable="false">night_theme</string>
|
||||
<string name="light_theme_key" translatable="false">light_theme</string>
|
||||
<string name="dark_theme_key" translatable="false">dark_theme</string>
|
||||
<string name="black_theme_key" translatable="false">black_theme</string>
|
||||
<string name="auto_device_theme_key" translatable="false">auto_device_theme</string>
|
||||
<string name="default_theme_value" translatable="false">@string/dark_theme_key</string>
|
||||
<string name="default_night_theme_value" translatable="false">@string/dark_theme_key</string>
|
||||
<string-array name="theme_values_list" translatable="false">
|
||||
<item>@string/light_theme_key</item>
|
||||
<item>@string/dark_theme_key</item>
|
||||
<item>@string/black_theme_key</item>
|
||||
<item>@string/auto_device_theme_key</item>
|
||||
</string-array>
|
||||
<string-array name="theme_description_list" translatable="false">
|
||||
<item>@string/light_theme_title</item>
|
||||
<item>@string/dark_theme_title</item>
|
||||
<item>@string/black_theme_title</item>
|
||||
<item>@string/auto_device_theme_title</item>
|
||||
</string-array>
|
||||
<string-array name="night_theme_values_list" translatable="false">
|
||||
<item>@string/dark_theme_key</item>
|
||||
<item>@string/black_theme_key</item>
|
||||
</string-array>
|
||||
<string-array name="night_theme_description_list" translatable="false">
|
||||
<item>@string/dark_theme_title</item>
|
||||
<item>@string/black_theme_title</item>
|
||||
</string-array>
|
||||
<string name="use_device_theme_key" translatable="false">use_device_theme_key</string>
|
||||
|
||||
<!-- Caption Size -->
|
||||
<string name="caption_settings_key" translatable="false">caption_settings_key</string>
|
||||
|
|
|
|||
|
|
@ -79,11 +79,10 @@
|
|||
<string name="default_audio_format_title">Default audio format</string>
|
||||
<string name="default_video_format_title">Default video format</string>
|
||||
<string name="theme_title">Theme</string>
|
||||
<string name="night_theme_title">Night Theme</string>
|
||||
<string name="light_theme_title">Light</string>
|
||||
<string name="dark_theme_title">Dark</string>
|
||||
<string name="black_theme_title">Black</string>
|
||||
<string name="device_dark_theme_title">Device theme (Dark)</string>
|
||||
<string name="device_black_theme_title">Device theme (Black)</string>
|
||||
<string name="popup_remember_size_pos_title">Remember popup properties</string>
|
||||
<string name="popup_remember_size_pos_summary">Remember last size and position of popup</string>
|
||||
<string name="use_inexact_seek_title">Use fast inexact seek</string>
|
||||
|
|
@ -711,6 +710,7 @@
|
|||
<string name="paid_content">This content is only available to users who have paid, so it cannot be streamed or downloaded by NewPipe.</string>
|
||||
<string name="featured">Featured</string>
|
||||
<string name="radio">Radio</string>
|
||||
<string name="follow_device_theme_title">Follow device theme</string>
|
||||
<string name="follow_device_theme_summary">The app theme will follow your device theme. It may not work for devices below Android 10.</string>
|
||||
<string name="auto_device_theme_title">Automatic (device theme)</string>
|
||||
<string name="night_theme_summary">Select your favorite night theme — %s</string>
|
||||
<string name="select_night_theme_toast">You can select your favorite night theme below</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue