aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorحسين <zidhussein@gmail.com>2018-08-20 10:13:38 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2018-08-20 11:13:38 +0200
commit30d4d5342ff6cdcc7d1adbd0be34bea4b1aa1a96 (patch)
tree339952842096fc9478a8bc9e459235e428bd117c /app/src/main/res/values
parent65ef17727c5ae9e845381807b90af34eff8a7a53 (diff)
change the sort order of password items (#421)
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/arrays.xml10
-rw-r--r--app/src/main/res/values/strings.xml4
2 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 36037083..44698c41 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -8,4 +8,14 @@
<item>ssh://</item>
<item>https://</item>
</string-array>
+ <string-array name="sort_order_entries">
+ <item>@string/pref_folder_first_sort_order</item>
+ <item>@string/pref_file_first_sort_order</item>
+ <item>@string/pref_type_independent_sort_order</item>
+ </string-array>
+ <string-array name="sort_order_values">
+ <item>FOLDER_FIRST</item>
+ <item>FILE_FIRST</item>
+ <item>INDEPENDENT</item>
+ </string-array>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1d9422bb..96e028e5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -123,6 +123,10 @@
<string name="ssh_key_error_dialog_text">Message : \n</string>
<string name="pref_recursive_filter">Recursive filtering</string>
<string name="pref_recursive_filter_hint">Recursively find passwords of the current directory.</string>
+ <string name="pref_sort_order_title">Password sort order</string>
+ <string name="pref_folder_first_sort_order">Folders First</string>
+ <string name="pref_file_first_sort_order">Files First</string>
+ <string name="pref_type_independent_sort_order">Type Independent</string>
<string name="pref_autofill_title">Autofill</string>
<string name="pref_autofill_enable_title">Enable autofill</string>
<string name="pref_autofill_enable_msg">Tap OK to go to Accessibility settings. There, tap Password Store under Services then tap the switch in the top right to turn it on or off.</string>