aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed.zenadi@gmail.com>2014-10-31 14:23:36 +0100
committerMohamed Zenadi <mohamed.zenadi@gmail.com>2014-10-31 14:23:36 +0100
commitcff7c7e6063492e6b52eb7e74b4ea628e8e7ecbc (patch)
treed5123f6ba92589fb0ed3f476153818243f5278fa /app/src/main/res
parentf3899041603293acf615d4d4349e6871c971d810 (diff)
parentd5e4ddc939abfea29852558a8a85409fef9eaf5a (diff)
Merge pull request #29 from iAmiAdam/String-Bash
Hard coded strings replaced with resources in PasswordStore
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/menu/pwdstore.xml4
-rw-r--r--app/src/main/res/values/strings.xml21
2 files changed, 22 insertions, 3 deletions
diff --git a/app/src/main/res/menu/pwdstore.xml b/app/src/main/res/menu/pwdstore.xml
index bfb3ad0c..220bd49b 100644
--- a/app/src/main/res/menu/pwdstore.xml
+++ b/app/src/main/res/menu/pwdstore.xml
@@ -24,8 +24,8 @@
<item android:id="@+id/refresh"
android:title="Refresh list"
- android:showAsAction="never"
- android:icon="@drawable/ico_sync"/>
+ pwstore:showAsAction="never"
+ android:icon="@drawable/ic_action_refresh"/>
<item android:id="@+id/user_pref"
android:title="Settings"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 07c6b3fd..7fc3cbac 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -13,7 +13,20 @@
<string name="dialog_delete">Delete directory</string>
<string name="dialog_do_not_delete">Cancel</string>
<string name="title_activity_git_clone">Clone repository</string>
+
+ <!-- Password Store -->
+ <string name="creation_dialog_text">Please clone or create a new repository below before trying to add a password or any synchronization operation.</string>
+ <string name="store_git">/store/.git</string>
+ <string name="key_dialog_text">You have to select your "PGP-Key ID" before initializing the repository</string>
+ <string name="connection_dialog_text">Which connection method do you prefer?</string>
+ <string name="delete_dialog_text">Are you sure you want to delete the password /"</string>
+ <!-- git commits -->
+ <string name="initialization_commit_text">[ANDROID PwdStore] Initialized store with keyID: </string>
+ <string name="add_commit_text">[ANDROID PwdStore] Add </string>
+ <string name="remove_commit_text">[ANDROID PwdStore] Remove </string>
+ <string name="from_store"> from store.</string>
+
<!-- Clone fragment -->
<string name="clone_fragment_text">Welcome to Password Store\n\n In this screen you can either create a new repository or clone your git repository onto your device.</string>
<string name="clone">Clone existing</string>
@@ -43,6 +56,12 @@
<!-- DECRYPT Layout -->
<string name="crypto_category">Category</string>
<string name="action_search">Search</string>
-
+
+ <!-- Misc -->
+ <string name="dialog_ok">OK</string>
+ <string name="dialog_yes">Yes</string>
+ <string name="dialog_no">No</string>
+ <string name="dialog_positive">On my way...</string>
+ <string name="dialog_negative">Nah... later</string>
</resources>