Add missing preferences strings

This commit is contained in:
Arne 2024-10-25 11:16:07 +02:00
parent 63eeca81e8
commit d32afb8858
2 changed files with 26 additions and 15 deletions

View file

@ -1289,4 +1289,15 @@
<string name="xmpp_network_description">The XMPP network is powered by a protocol called XMPP. It is a decentralized network, which means no one owns or controls the whole thing. It is a federated network which means anyone can run a XMPP service. Messages to other XMPP users are per default end-to-end encrypted with OMEMO.\\n\\nAddresses are called XMPP IDs and look similar to email addresses:</string>
<string name="example_jid">username@monocles.eu</string>
<string name="view_privacy_policy">View privacy policy</string>
<string name="pref_theme_title">Theme</string>
<string name="follow_system_dark_mode">Follow system dark mode</string>
<string name="custom_theme_is_dark">Custom theme is dark</string>
<string name="color_match">Color match</string>
<string name="stay_true_to_my_color_inputs">Stay true to my color inputs</string>
<string name="custom_primary_color">Custom primary color</string>
<string name="custom_secondary_color">Custom secondary color</string>
<string name="custom_tertiary_color">Custom tertiary color</string>
<string name="custom_background_color">Custom background color</string>
<string name="compose_using_rich_text">Compose using rich text</string>
<string name="compose_using_rich_text_summary">The message editor will show formatting as you type</string>
</resources>

View file

@ -13,70 +13,70 @@
android:entryValues="@array/themes_values"
android:icon="@drawable/ic_dark_mode_24dp"
android:key="theme"
android:title="Theme"
android:title="@string/pref_theme_title"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:icon="@drawable/ic_dark_mode_24dp"
android:key="custom_theme_automatic"
android:title="Follow System Dark Mode" />
android:title="@string/follow_system_dark_mode" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_dark_mode_24dp"
android:key="custom_theme_dark"
android:title="Custom Theme is Dark" />
android:title="@string/custom_theme_is_dark" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_palette_24dp"
android:key="custom_theme_color_match"
android:title="Color Match"
android:summary="Stay true to my color inputs" />
android:title="@string/color_match"
android:summary="@string/stay_true_to_my_color_inputs" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_theme_primary"
android:title="Custom Primary Color"
android:title="@string/custom_primary_color"
android:defaultValue="@color/md_theme_light_primary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_theme_primary_dark"
android:title="Custom Secondary Color"
android:title="@string/custom_secondary_color"
android:defaultValue="@color/md_theme_light_secondary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_theme_accent"
android:title="Custom Tertiary Color"
android:title="@string/custom_tertiary_color"
android:defaultValue="@color/md_theme_light_tertiary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_theme_background_primary"
android:title="Custom Background Color"
android:title="@string/custom_background_color"
android:defaultValue="@color/md_theme_light_surface"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_dark_theme_primary"
android:title="Custom Primary Color"
android:title="@string/custom_primary_color"
android:defaultValue="@color/md_theme_dark_primary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_dark_theme_primary_dark"
android:title="Custom Secondary Color"
android:title="@string/custom_secondary_color"
android:defaultValue="@color/md_theme_dark_secondary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_dark_theme_accent"
android:title="Custom Tertiary Color"
android:title="@string/custom_tertiary_color"
android:defaultValue="@color/md_theme_dark_tertiary"
app:colorpicker_showAlpha="false" />
<com.rarepebble.colorpicker.ColorPreference
android:icon="@drawable/ic_palette_24dp"
android:key="custom_dark_theme_background_primary"
android:title="Custom Background Color"
android:title="@string/custom_background_color"
android:defaultValue="@color/md_theme_dark_surface"
app:colorpicker_showAlpha="false" />
</PreferenceCategory>>
@ -220,8 +220,8 @@
android:icon="@drawable/ic_format_size_24dp"
android:defaultValue="@bool/compose_rich_text"
android:key="compose_rich_text"
android:summary="The message editor will show formatting as you type"
android:title="Compose using rich text" />
android:summary="@string/compose_using_rich_text_summary"
android:title="@string/compose_using_rich_text" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_keyboard_options">
<SwitchPreferenceCompat