aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane D'Alu <sdalu@sdalu.com>2017-01-02 16:21:23 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-01-02 16:21:23 +0100
commit982f641142ec681e2eed2183561f3d717d568633 (patch)
treee7dc62a03c8351921578bcf4463bcfa1cac0bda1
parent8d5473a54362b7e9d6ecb47968ee065dd08be3c5 (diff)
added missing internatinalisation for pwgen (#256)
-rw-r--r--app/src/main/res/layout/fragment_pwgen.xml6
-rw-r--r--app/src/main/res/values/strings.xml2
2 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
index 6c04fb95..c3dad4bf 100644
--- a/app/src/main/res/layout/fragment_pwgen.xml
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -80,7 +80,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
- android:text="Length"
+ android:text="@string/pwgen_length"
android:textAppearance="?android:attr/textAppearanceSmall" />
<EditText
@@ -95,11 +95,11 @@
android:id="@+id/pronounceable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Pronounceable" />
+ android:text="@string/pwgen_pronounceable" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
-</ScrollView> \ No newline at end of file
+</ScrollView>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 1767eae6..ba377a0b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -137,10 +137,12 @@
<!-- pwgen fragment -->
<string name="pwgen_generate">Generate</string>
<string name="pwgen_include">Include</string>
+ <string name="pwgen_length">Length</string>
<string name="pwgen_numerals">Numerals</string>
<string name="pwgen_symbols">Symbols</string>
<string name="pwgen_uppercase">Uppercase</string>
<string name="pwgen_ambiguous">Ambiguous</string>
+ <string name="pwgen_pronounceable">Pronounceable</string>
<!-- ssh keygen fragment -->
<string name="ssh_keygen_length">Length</string>