summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorFelix Bechstein <f@ub0r.de>2017-07-16 16:41:47 +0200
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-07-16 16:41:47 +0200
commit6ce31056c987b8fd73513d5b4eebc8d0d763a7a2 (patch)
treeb133cca40f1068b72cf9ae4aefd1a970d82e638c /app/src/main/res
parent8e6ab25572571080eae228599af069f78b5ea750 (diff)
Show extra content w/o copy password, fixes #288 (#317)
Show extra content even if password is not copied to clipboard. Add toggle to preferences as well.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values-de/strings.xml2
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/preference.xml5
3 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 561c9307..6b1161d1 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -171,6 +171,8 @@
<string name="refresh_list">Aktualisieren</string>
<string name="show_password_pref_title">Zeige das Password</string>
<string name="show_password_pref_summary">Soll das entschlüsselte Passwort sichtbar sein? Dies deaktiviert nicht das Kopieren.</string>
+ <string name="show_extra_content_pref_title">Zeige weiteren Inhalt</string>
+ <string name="show_extra_content_pref_summary">Soll weiterer Inhalt sichtbar sein?</string>
<string name="toast_password_copied">Passwort befindet sich zum Einfügen in der Zwischenablage</string>
<string name="pwd_generate_button">Generieren</string>
<string name="category_string">"Kategorie: "</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8c5e2102..444bbf08 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -179,6 +179,8 @@
<string name="git_push">Push to remote</string>
<string name="show_password_pref_title">Show the password</string>
<string name="show_password_pref_summary">Control the visibility of the passwords once decrypted, this does not disable the password copy</string>
+ <string name="show_extra_content_pref_title">Show extra content</string>
+ <string name="show_extra_content_pref_summary">Control the visibility of the extra content once decrypted</string>
<string name="toast_password_copied">Password copied into the clipboard</string>
<string name="pwd_generate_button">Generate</string>
<string name="category_string">"Category: "</string>
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index ec740836..cd072353 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -54,6 +54,11 @@
android:key="show_password" />
<CheckBoxPreference
android:defaultValue="true"
+ android:title="@string/show_extra_content_pref_title"
+ android:summary="@string/show_extra_content_pref_summary"
+ android:key="show_extra_content" />
+ <CheckBoxPreference
+ android:defaultValue="true"
android:dialogTitle="@string/pref_copy_dialog_title"
android:key="copy_on_decrypt"
android:summary="@string/pref_copy_dialog_title"