aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-06-22 17:21:25 +0200
committerChristian Schneppe <christian@pix-art.de>2019-06-22 17:21:25 +0200
commite3603f7c41ebef326d684bdd5883af5926d8bf28 (patch)
treefbcacd5f48fada48556fb9193f2cc7baa0c8f9e6
parent0d9f3ae619724ad75d2b42f4e30eb3955aa5379d (diff)
changed string to generated password dialog in MagicCreateActivity
fixes #296
-rw-r--r--src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java2
-rw-r--r--src/main/res/values/strings.xml1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java b/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java
index 99eb2f508..fd0e49d57 100644
--- a/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java
@@ -115,6 +115,8 @@ public class MagicCreateActivity extends XmppActivity implements TextWatcher, Ad
messasge.append(getString(R.string.password));
messasge.append(": ");
messasge.append(password);
+ messasge.append("\n\n");
+ messasge.append(getString(R.string.change_password_in_next_step));
builder.setMessage(messasge);
builder.setPositiveButton(getString(R.string.copy_to_clipboard), (dialogInterface, i) -> {
if (copyTextToClipboard(password, R.string.create_account)) {
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 5e91fe3d9..dbd45bed4 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -919,4 +919,5 @@
<string name="message_encryption">Message encryption</string>
<string name="enable_message_encryption">This chat is unencrypted. For security reasons you should enable message encryption, prefareable OMEMO. If anything isn\'t working for you, you could disbale message encryption by pressing the key lock icon.</string>
<string name="hide_warning">Hide warning</string>
+ <string name="change_password_in_next_step">You can change the generated password in the next step to your needs.</string>
</resources>