summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMatthew Wong <wongma@protonmail.ch>2015-07-11 12:22:56 -0400
committerMatthew Wong <wongma@protonmail.ch>2015-07-11 12:22:56 -0400
commit5c46fea58d36b28e7ac4a1b744f3973c0e12ad50 (patch)
treecbc713ad99925d88bf0ecc7636e9d9a62a2ff400 /app/src/main/res
parent9b61c6991347e10606051b6d790b8d9e52dc3ba7 (diff)
Use string resources
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_pwgen.xml10
-rw-r--r--app/src/main/res/values/strings.xml8
2 files changed, 13 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
index 3fd8bd51..072a78a9 100644
--- a/app/src/main/res/layout/fragment_pwgen.xml
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -39,7 +39,7 @@
android:id="@+id/include"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Include"
+ android:text="@string/pwgen_include"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_marginBottom="8dp"/>
@@ -47,26 +47,26 @@
android:id="@+id/numerals"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Numerals"/>
+ android:text="@string/pwgen_numerals"/>
<CheckBox
android:id="@+id/symbols"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Symbols"/>
+ android:text="@string/pwgen_symbols"/>
<CheckBox
android:id="@+id/uppercase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Uppercase"/>
+ android:text="@string/pwgen_uppercase"/>
<CheckBox
android:id="@+id/ambiguous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Ambiguous"/>
+ android:text="@string/pwgen_ambiguous"/>
</LinearLayout>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a8db99ff..a9b03151 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -114,6 +114,14 @@
<string name="pref_recursive_filter">Recursive filtering</string>
<string name="pref_recursive_filter_hint">Recursively find passwords of the current directory.</string>
+ <!-- pwgen fragment -->
+ <string name="pwgen_generate">Generate</string>
+ <string name="pwgen_include">Include</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>
+
<!-- Misc -->
<string name="dialog_ok">OK</string>
<string name="dialog_yes">Yes</string>