Move theme options string array to different files to make internationalization easier

This commit is contained in:
Rafael Caetano 2022-12-07 19:41:48 +00:00
parent 6ee4777301
commit 906c5a2507
5 changed files with 12 additions and 20 deletions

View File

@ -253,12 +253,7 @@
<string name="background_add_wrong_orientation">Latar belakang ditambahkan tetapi tidak terlihat untuk orientasi yang dipilih.</string>
<string name="background_add_processing_failed">Gagal memproses gambar latar yang dipilih. Pastikan tidak rusak.</string>
<string-array name="theme_options" tools:ignore="InconsistentArrays">
<item>@string/theme_option_light</item>
<item>@string/theme_option_dark</item>
</string-array>
<string-array name="fast_forward_speed_multiplier_options" tools:ignore="InconsistentArrays">
<string-array name="fast_forward_speed_multiplier_options">
<item>Unlimited</item>
<item>1.5x</item>
<item>2x</item>

View File

@ -253,12 +253,7 @@
<string name="background_add_wrong_orientation">Фон добавлен, но не отображается в выбранной ориентации.</string>
<string name="background_add_processing_failed">Не удалось обработать выбранное изображение. Убедитесь, что файл не повреждён.</string>
<string-array name="theme_options" tools:ignore="InconsistentArrays">
<item>@string/theme_option_light</item>
<item>@string/theme_option_dark</item>
</string-array>
<string-array name="fast_forward_speed_multiplier_options" tools:ignore="InconsistentArrays">
<string-array name="fast_forward_speed_multiplier_options">
<item>Без ограничения</item>
<item>1.5x</item>
<item>2x</item>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="theme_options">
<resources xmlns:tools="http://schemas.android.com/tools">
<string-array name="theme_options" tools:ignore="InconsistentArrays">
<item>@string/theme_option_light</item>
<item>@string/theme_option_dark</item>
<item>@string/theme_option_system_default</item>

View File

@ -287,12 +287,7 @@
<string name="background_add_wrong_orientation">Background added but it\'s not visible for the selected orientation.</string>
<string name="background_add_processing_failed">Failed to process the selected background image. Make sure it\'s not corrupted.</string>
<string-array name="theme_options" tools:ignore="InconsistentArrays">
<item>@string/theme_option_light</item>
<item>@string/theme_option_dark</item>
</string-array>
<string-array name="fast_forward_speed_multiplier_options" tools:ignore="InconsistentArrays">
<string-array name="fast_forward_speed_multiplier_options">
<item>Unlimited</item>
<item>1.5x</item>
<item>2x</item>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<string-array name="theme_options" tools:ignore="InconsistentArrays">
<item>@string/theme_option_light</item>
<item>@string/theme_option_dark</item>
</string-array>
</resources>