mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add asm controls
add explaining autocrypt text
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_margin="0dp"
|
||||
android:background="@color/amber_50"
|
||||
android:padding="0dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/preferences_autocrypt__explain"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:background="?pref_divider"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1157,6 +1157,7 @@
|
||||
<string name="preferences_chats__message_text_size">Message font size</string>
|
||||
<string name="preferences_events__contact_joined_signal">Contact joined Delta Chat</string>
|
||||
<string name="preferences_notifications__priority">Priority</string>
|
||||
<string name="preferences_other">Other</string>
|
||||
<string name="preferences_backup__export_explain">A backup helps you to set up a new installation on this or on another device.\n\nThe backup will contain all messages, contacts and chats and your end-to-end Autocrypt setup. Keep the backup file in a safe place or delete it as soon as possible.</string>
|
||||
<string name="preferences_backup__export_start_button">Start backup</string>
|
||||
<string name="preferences_backup__backup_written_to_x">Backup written successfully to %1$s</string>
|
||||
@@ -1169,6 +1170,10 @@
|
||||
<string name="preferences_managekeys__import_explain">Import secret keys from \"%1$s\"?\n\n• Existing secret keys will not be deleted\n\n• The last imported key will be used as the new default key unless it has the word \"legacy\" in its filename</string>
|
||||
<string name="preferences_managekeys__secret_keys_exported_to_x">Secret keys written successfully to \"%1$s\".</string>
|
||||
<string name="preferences_managekeys__secret_keys_imported_from_x">Secret keys imported from \"%1$s\".</string>
|
||||
<string name="preferences_autocrypt">Autocrypt</string>
|
||||
<string name="preferences_autocrypt__send_asm">Send Autocrypt Setup Message</string>
|
||||
<string name="preferences_autocrypt__prefer_e2ee">Prefer end-to-end encryption</string>
|
||||
<string name="preferences_autocrypt__explain">Autocrypt is a new and open specification for automatic end-to-end email encryption.\n\nYour end-to-end setup is created automatically as needed and you can transfer it between devices with Autocrypt Setup Messages.</string>
|
||||
|
||||
|
||||
<!-- **************************************** -->
|
||||
|
||||
@@ -1,12 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<Preference android:key="pref_backup"
|
||||
android:title="@string/preferences__backup"/>
|
||||
<PreferenceCategory android:key="media_download" android:title="@string/preferences_autocrypt">
|
||||
<Preference android:key="pref_send_autocrypt_setup_message"
|
||||
android:title="@string/preferences_autocrypt__send_asm"/>
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_prefer_e2ee"
|
||||
android:title="@string/preferences_autocrypt__prefer_e2ee"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference android:key="pref_manage_keys"
|
||||
android:title="@string/preferences__manage_keys"/>
|
||||
<PreferenceCategory android:layout="@layout/preference_divider_explain_autocrypt"/>
|
||||
|
||||
<Preference android:key="pref_submit_debug_logs"
|
||||
android:title="@string/preferences__submit_debug_log"/>
|
||||
<PreferenceCategory android:key="media_download" android:title="@string/preferences_other">
|
||||
<Preference android:key="pref_backup"
|
||||
android:title="@string/preferences__backup"/>
|
||||
|
||||
<Preference android:key="pref_manage_keys"
|
||||
android:title="@string/preferences__manage_keys"/>
|
||||
|
||||
<Preference android:key="pref_submit_debug_logs"
|
||||
android:title="@string/preferences__submit_debug_log"/>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user