1
0
Fork 1

Add missing preferences strings

This commit is contained in:
Arne 2024-10-25 11:16:07 +02:00
parent 7c1f02a3b4
commit 96e1013ff3
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="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="example_jid">username@monocles.eu</string>
<string name="view_privacy_policy">View privacy policy</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> </resources>

View file

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