mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
Migrate settings to PreferenceFragmentCompat
Includes code from https://github.com/consp1racy/android-support-preference License: Apache License v2.0
This commit is contained in:
15
briar-android/res/values/arrays.xml
Normal file
15
briar-android/res/values/arrays.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="boolean_array">
|
||||
<item>true</item>
|
||||
<item>false</item>
|
||||
</string-array>
|
||||
<string-array name="bt_setting_names">
|
||||
<item>@string/bluetooth_setting_enabled</item>
|
||||
<item>@string/bluetooth_setting_disabled</item>
|
||||
</string-array>
|
||||
<string-array name="tor_mobile_setting_names">
|
||||
<item>@string/tor_mobile_setting_enabled</item>
|
||||
<item>@string/tor_mobile_setting_disabled</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -17,11 +17,12 @@
|
||||
<color name="briar_primary">#2D3E50</color>
|
||||
<color name="briar_primary_dark">#0f1720</color>
|
||||
<color name="briar_accent">#2D3E50</color>
|
||||
<color name="briar_accent_dark">#0f1720</color>
|
||||
|
||||
<color name="briar_text_link">#75ab0d</color>
|
||||
<color name="briar_green_light">#95d220</color>
|
||||
<color name="briar_green_dark">#75ab0d</color>
|
||||
<color name="briar_text_primary">#333333</color>
|
||||
<color name="briar_text_primary">#808080</color>
|
||||
<color name="briar_text_primary_inverse">#ffffff</color>
|
||||
|
||||
<!-- this is needed as preference_category_material layout uses this color as the text color -->
|
||||
|
||||
@@ -96,18 +96,17 @@
|
||||
<item quantity="other">%d new forum posts.</item>
|
||||
</plurals>
|
||||
<string name="settings_title">Settings</string>
|
||||
<string name="bluetooth_setting_title">BLUETOOTH</string>
|
||||
<string name="network_settings_title">Networks</string>
|
||||
<string name="bluetooth_setting">Connect via Bluetooth</string>
|
||||
<string name="bluetooth_setting_enabled">Whenever contacts are nearby</string>
|
||||
<string name="bluetooth_setting_disabled">Only when adding contacts</string>
|
||||
<string name="tor_wifi_setting_title">TOR</string>
|
||||
<string name="tor_wifi_setting">Connect via Tor</string>
|
||||
<string name="tor_wifi_setting_enabled">Only when using Wi-Fi</string>
|
||||
<string name="tor_wifi_setting_disabled">When using Wi-Fi or mobile data</string>
|
||||
<string name="panic_setting">Panic Button Setup</string>
|
||||
<string name="panic_setting_title">PANIC BUTTON</string>
|
||||
<string name="tor_mobile_setting">Connect via Tor</string>
|
||||
<string name="tor_mobile_setting_enabled">When using Wi-Fi or mobile data</string>
|
||||
<string name="tor_mobile_setting_disabled">Only when using Wi-Fi</string>
|
||||
<string name="panic_setting">Panic button setup</string>
|
||||
<string name="panic_setting_title">Panic button</string>
|
||||
<string name="panic_setting_hint">Configure how Briar will react when you use a panic button app</string>
|
||||
<string name="notification_settings_title">NOTIFICATIONS</string>
|
||||
<string name="notification_settings_title">Notifications</string>
|
||||
<string name="notify_private_messages_setting">Show alerts for private messages</string>
|
||||
<string name="notify_forum_posts_setting">Show alerts for forum posts</string>
|
||||
<string name="notify_vibration_setting">Vibrate</string>
|
||||
|
||||
Reference in New Issue
Block a user