Răsfoiți Sursa

extract string and reword

tobiaskaminsky 7 ani în urmă
părinte
comite
f3c3e1ca80

+ 2 - 2
src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.java

@@ -303,9 +303,9 @@ public class SetupEncryptionDialogFragment extends DialogFragment {
 
             if (privateKey == null) {
                 // first show info
-                textView.setText("During setup you will have to note down a mnemonic which allows to setup E2E on other devices.\nPlease only proceed if you are in a safe location and able to note the mnemonic.");
+                textView.setText(R.string.end_to_end_encryption_setup_info);
                 positiveButton.setVisibility(View.VISIBLE);
-                positiveButton.setText(R.string.common_next);
+                positiveButton.setText(R.string.end_to_end_encryption_confirm_button);
                 negativeButton.setVisibility(View.VISIBLE);
 
                 keyResult = KEY_INFO;

+ 1 - 0
src/main/res/values/strings.xml

@@ -775,4 +775,5 @@
     <string name="end_to_end_encryption_error_revoking_keys">Error revoking keys</string>
     <string name="end_to_end_encryption_storing_keys">Storing keys</string>
     <string name="end_to_end_encryption_storing_keys_on_server">Storing keys on server</string>
+    <string name="end_to_end_encryption_setup_info">You will have to note down a secret 12 word phrase which allows you to set up encryption on other devices.\nPlease only continue if you are in a safe location and able to note down the phrase.</string>
 </resources>