Fix[strings]: un-hardcode category strings

This commit is contained in:
Mathias Boulay 2023-10-13 23:13:12 +02:00
parent ba158d97b2
commit f91390519c
7 changed files with 14 additions and 7 deletions

View File

@ -338,4 +338,11 @@
<string name="notif_error_occured">An error has occurred</string>
<string name="notif_error_occured_desc">Click to see more details</string>
<string name="fabric_dl_only_stable">Show only stable versions</string>
<string name="preference_category_gestures">Gestures</string>
<string name="preference_category_buttons">Buttons</string>
<string name="preference_category_experimental_settings">Experimental fuckury</string>
<string name="preference_category_java_tweaks">Java Tweaks</string>
<string name="preference_category_main_categories">Categories</string>
<string name="preference_category_miscellaneous">Miscellaneous settings</string>
<string name="preference_category_video">Video settings</string>
</resources>

View File

@ -14,7 +14,7 @@
</Preference>
<PreferenceCategory
android:title="Gestures ">
android:title="@string/preference_category_gestures">
<androidx.preference.SwitchPreferenceCompat
android:defaultValue="false"
@ -42,7 +42,7 @@
</PreferenceCategory>
<PreferenceCategory
android:title="Buttons">
android:title="@string/preference_category_buttons">
<net.kdt.pojavlaunch.prefs.CustomSeekBarPreference
android:key="buttonscale"

View File

@ -2,7 +2,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app2="http://schemas.android.com/apk/res-auto">
<net.kdt.pojavlaunch.prefs.BackButtonPreference/>
<PreferenceCategory android:title="Experimental fuckury">
<PreferenceCategory android:title="@string/preference_category_experimental_settings">
<SwitchPreferenceCompat
android:key="dump_shaders"

View File

@ -4,7 +4,7 @@
<net.kdt.pojavlaunch.prefs.BackButtonPreference/>
<PreferenceCategory android:title="Java Tweaks">
<PreferenceCategory android:title="@string/preference_category_java_tweaks">
<net.kdt.pojavlaunch.prefs.RuntimeManagerPreference
android:summary="@string/multirt_subtitle"
android:title="@string/multirt_title"/>

View File

@ -10,7 +10,7 @@
<net.kdt.pojavlaunch.prefs.BackButtonPreference/>
<PreferenceCategory
android:title="Categories"
android:title="@string/preference_category_main_categories"
>
<Preference

View File

@ -4,7 +4,7 @@
<net.kdt.pojavlaunch.prefs.BackButtonPreference/>
<PreferenceCategory android:title="Miscellaneous settings">
<PreferenceCategory android:title="@string/preference_category_miscellaneous">
<SwitchPreference
android:defaultValue="true"
android:icon="@drawable/ic_setting_hash_verification"

View File

@ -4,7 +4,7 @@
<net.kdt.pojavlaunch.prefs.BackButtonPreference/>
<PreferenceCategory android:title="Video settings" >
<PreferenceCategory android:title="@string/preference_category_video" >
<androidx.preference.ListPreference
android:title="@string/mcl_setting_category_renderer"
android:key="renderer"