inline-ttl: create ttl choice customization setting activity

This commit is contained in:
Vincent Breitmoser
2015-11-17 00:58:22 +01:00
parent 31cc083163
commit 1754a88ac3
14 changed files with 541 additions and 73 deletions

View File

@@ -1,34 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="passphrase_cache_ttl_entries" translatable="false">
<item>@string/choice_15secs</item>
<item>@string/choice_1min</item>
<item>@string/choice_3mins</item>
<item>@string/choice_5mins</item>
<item>@string/choice_10mins</item>
<item>@string/choice_20mins</item>
<item>@string/choice_40mins</item>
<item>@string/choice_1hour</item>
<item>@string/choice_2hours</item>
<item>@string/choice_4hours</item>
<item>@string/choice_8hours</item>
<item>@string/choice_forever</item>
</string-array>
<string-array name="passphrase_cache_ttl_values" translatable="false">
<item>15</item>
<item>60</item>
<item>180</item>
<item>300</item>
<item>600</item>
<item>1200</item>
<item>2400</item>
<item>3600</item>
<item>7200</item>
<item>14400</item>
<item>28800</item>
<item>-1</item>
</string-array>
<string-array name="pref_proxy_type_entries" translatable="false">
<item>@string/pref_proxy_type_choice_http</item>
<item>@string/pref_proxy_type_choice_socks</item>

View File

@@ -18,6 +18,7 @@
<string name="title_preferences">"Settings"</string>
<string name="title_api_registered_apps">"Apps"</string>
<string name="title_key_server_preference">"OpenPGP keyservers"</string>
<string name="title_cache_ttl_preference">"Customize 'Remember' Choices"</string>
<string name="title_change_passphrase">"Change Password"</string>
<string name="title_share_fingerprint_with">"Share fingerprint with…"</string>
<string name="title_share_key">"Share key with…"</string>
@@ -157,7 +158,7 @@
<string name="label_encryption_algorithm">"Encryption algorithm"</string>
<string name="label_hash_algorithm">"Hash algorithm"</string>
<string name="label_symmetric">"Encrypt with password"</string>
<string name="label_passphrase_cache_ttl">"Remember time"</string>
<string name="label_passphrase_cache_ttl">"Customize 'Remember' Choices"</string>
<string name="label_passphrase_cache_subs">"Remember passwords by subkey"</string>
<string name="label_message_compression">"Text compression"</string>
<string name="label_file_compression">"File compression"</string>
@@ -1709,5 +1710,14 @@
<string name="title_edit_identities">"Edit Identities"</string>
<string name="title_edit_subkeys">"Edit Subkeys"</string>
<string name="btn_search_for_query">"Search for\n'%s'"</string>
<string name="cache_ttl_five_minutes">"Five Minutes"</string>
<string name="cache_ttl_one_hour">"One Hour"</string>
<string name="cache_ttl_three_hours">"Three Hours"</string>
<string name="cache_ttl_one_day">"One Day"</string>
<string name="cache_ttl_three_days">"Three Days"</string>
<string name="settings_cache_select_three">"Pick up to three"</string>
<string name="setting_cache_select_default">"and one default"</string>
<string name="settings_cache_ttl_at_least_one">"At least one item must be selected!"</string>
<string name="settings_cache_ttl_max_three">"Can\'t select more than three items!"</string>
</resources>