mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-06-08 00:06:11 +01:00
Include source origin in string key name.
This should help eliminate string duplicates, as well as provide visibility into where strings in a resource file are being used.
This commit is contained in:
@@ -69,7 +69,8 @@ public class PassphraseCreateActivity extends PassphraseActivity {
|
||||
String passphraseRepeat = this.passphraseRepeatEdit.getText().toString();
|
||||
|
||||
if (!passphrase.equals(passphraseRepeat)) {
|
||||
Toast.makeText(getApplicationContext(), R.string.passphrases_dont_match_exclamation,
|
||||
Toast.makeText(getApplicationContext(),
|
||||
R.string.PassphraseCreateActivity_passphrases_dont_match_exclamation,
|
||||
Toast.LENGTH_SHORT).show();
|
||||
this.passphraseEdit.setText("");
|
||||
this.passphraseRepeatEdit.setText("");
|
||||
@@ -97,8 +98,8 @@ public class PassphraseCreateActivity extends PassphraseActivity {
|
||||
|
||||
public void generate() {
|
||||
progressDialog = new ProgressDialog(PassphraseCreateActivity.this);
|
||||
progressDialog.setTitle(R.string.generating_keypair);
|
||||
progressDialog.setMessage(getString(R.string.generating_a_local_encryption_keypair));
|
||||
progressDialog.setTitle(R.string.PassphraseCreateActivity_generating_keypair);
|
||||
progressDialog.setMessage(getString(R.string.PassphraseCreateActivity_generating_a_local_encryption_keypair));
|
||||
progressDialog.setCancelable(false);
|
||||
progressDialog.setIndeterminate(true);
|
||||
progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
|
||||
|
||||
Reference in New Issue
Block a user