summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeapo <mohamed@zenadi.com>2017-08-10 21:15:10 +0200
committerzeapo <mohamed@zenadi.com>2017-08-10 21:15:10 +0200
commit2ca8f94cb7ed4617cf309b26e1defb2f99e197f4 (patch)
treed8bbd190d883612ab10bcdb4d23d49060a3f2f8f
parentbf1b67ea6a255866be9765f3096c91e2236f2eaf (diff)
extract string resource and fix phrasing
-rw-r--r--app/src/main/res/layout/git_passphrase_layout.xml2
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/res/layout/git_passphrase_layout.xml b/app/src/main/res/layout/git_passphrase_layout.xml
index d82a0b55..602a9aa4 100644
--- a/app/src/main/res/layout/git_passphrase_layout.xml
+++ b/app/src/main/res/layout/git_passphrase_layout.xml
@@ -27,7 +27,7 @@
android:layout_marginRight="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
- android:text="Remember until the application is closed"
+ android:text="@string/remember_the_passphase"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/sshkey_passphrase" />
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index e39cb6f5..a73b5ef5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -209,4 +209,5 @@
<string name="git_push_other_error">Remote rejected non-fast-forward push. Check receive.denyNonFastForwards variable in config file of destination repository.</string>
<string name="jgit_error_push_dialog_text">Error occurred during the push operation:</string>
<string name="ssh_key_clear_passphrase">Clear ssh-key saved passphrase</string>
+ <string name="remember_the_passphase">Remember the passphase</string>
</resources>