moved key editing beta warning into strings.xml

Update issue 39
added:
<string name="keyEditingIsBeta">Key editing is still kind of beta.</string>
This commit is contained in:
Thialfihar 2010-08-22 10:51:24 +00:00
parent 453c8e2fb9
commit 12d9bb8dee
2 changed files with 3 additions and 1 deletions

View File

@ -209,6 +209,7 @@
<string name="keyNotFound">Couldn\'t find key %08X.</string>
<string name="keysFound">Found %s key(s).</string>
<string name="unknownSignatureKeyTouchToLookUp">Unknown signature, touch to look up key.</string>
<string name="keyEditingIsBeta">Key editing is still kind of beta.</string>
<!-- error_lowerCase: phrases, no punctuation, all lowercase,
they will be put after "errorMessage", e.g. "Error: file not found" -->

View File

@ -125,7 +125,8 @@ public class EditKeyActivity extends BaseActivity implements OnClickListener {
updatePassPhraseButtonText();
Toast.makeText(this, "Warning: Key editing is still kind of beta.", Toast.LENGTH_LONG).show();
Toast.makeText(this, getString(R.string.warningMessage, getString(R.string.keyEditingIsBeta)),
Toast.LENGTH_LONG).show();
}
private long getMasterKeyId() {