summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorreroman <reroman@users.noreply.github.com>2019-02-03 05:22:12 -0600
committerMohamed Zenadi <zeapo@users.noreply.github.com>2019-02-03 12:22:12 +0100
commita819343c747b2ce022c5a5c7810979a62a213dc5 (patch)
tree0f9bf561db5d963886b3f1ced8cc74ab2db0481f /app/src/main/res
parent723a40a216fbb9530317ec377db3ce1b042623f4 (diff)
Allow to create passwords without lowercase letters. (#478)
* Clipboard now is cleared after manual copy * Spanish translation added * Spanish translations for commit messages updated * Now can generate passwords free of lowercase (for example only numbers, uppercase or symbols) Also it makes sure that uppercase is included when the generated char is ambiguous and discarded
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-es/strings.xml3
-rw-r--r--app/src/main/res/values/strings.xml3
3 files changed, 14 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
index b5293920..eab23f7c 100644
--- a/app/src/main/res/layout/fragment_pwgen.xml
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -62,10 +62,10 @@
android:text="@string/pwgen_uppercase" />
<CheckBox
- android:id="@+id/ambiguous"
+ android:id="@+id/lowercase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/pwgen_ambiguous" />
+ android:text="@string/pwgen_lowercase" />
</LinearLayout>
@@ -97,6 +97,12 @@
android:layout_height="wrap_content"
android:text="@string/pwgen_pronounceable" />
+ <CheckBox
+ android:id="@+id/ambiguous"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/pwgen_ambiguous" />
+
</LinearLayout>
</LinearLayout>
</LinearLayout>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 392be07f..84d1f7b9 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -166,8 +166,11 @@
<string name="pwgen_numerals">Números</string>
<string name="pwgen_symbols">Símbolos</string>
<string name="pwgen_uppercase">Mayúsculas</string>
+ <string name="pwgen_lowercase">Minúsculas</string>
<string name="pwgen_ambiguous">Caracteres ambiguos</string>
<string name="pwgen_pronounceable">Pronunciable</string>
+ <string name="pwgen_no_chars_error">No se han incluído caracteres</string>
+ <string name="pwgen_length_too_short_error">Longitud demasiado corta para el criterio seleccionado</string>
<!-- ssh keygen fragment -->
<string name="ssh_keygen_length">Longitud</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 0b1afda1..ba0fed4c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -180,8 +180,11 @@
<string name="pwgen_numerals">Numerals</string>
<string name="pwgen_symbols">Symbols</string>
<string name="pwgen_uppercase">Uppercase</string>
+ <string name="pwgen_lowercase">Lowercase</string>
<string name="pwgen_ambiguous">Ambiguous</string>
<string name="pwgen_pronounceable">Pronounceable</string>
+ <string name="pwgen_no_chars_error">No characters included</string>
+ <string name="pwgen_length_too_short_error">Length too short for selected criteria</string>
<!-- ssh keygen fragment -->
<string name="ssh_keygen_length">Length</string>