aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2015-05-13 17:04:01 -0400
committerJoey Castillo <jose.castillo@gmail.com>2015-05-13 17:56:17 -0400
commitaa75534e5b622baf39717de7d3a7a4fd4020adf7 (patch)
treec3ae7b4f52bb8e45423bc1a701109062e93d6a2f /OpenKeychain/src/main
parent0504033c6b8a607594042579562f4a654ca41510 (diff)
downloadopen-keychain-aa75534e5b622baf39717de7d3a7a4fd4020adf7.tar.gz
open-keychain-aa75534e5b622baf39717de7d3a7a4fd4020adf7.tar.bz2
open-keychain-aa75534e5b622baf39717de7d3a7a4fd4020adf7.zip
Moving blank smart card messages to strings.xml
Diffstat (limited to 'OpenKeychain/src/main')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyActivity.java4
-rw-r--r--OpenKeychain/src/main/res/values/strings.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyActivity.java
index 45451bf38..68a809b69 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyActivity.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyActivity.java
@@ -152,8 +152,8 @@ public class CreateKeyActivity extends BaseNfcActivity {
}
} else {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
- builder.setTitle("Blank Smart Card / Yubikey Detected")
- .setMessage("Would you like to generate a smart card compatible key?")
+ builder.setTitle(R.string.first_time_blank_smartcard_title)
+ .setMessage(R.string.first_time_blank_smartcard_message)
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int button) {
diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml
index d8cc845aa..f5f58d01e 100644
--- a/OpenKeychain/src/main/res/values/strings.xml
+++ b/OpenKeychain/src/main/res/values/strings.xml
@@ -1222,6 +1222,8 @@
<string name="first_time_import_key">"Import key from file"</string>
<string name="first_time_yubikey">"Use YubiKey NEO"</string>
<string name="first_time_skip">"Skip Setup"</string>
+ <string name="first_time_blank_smartcard_title">"Blank Smart Card / Yubikey Detected"</string>
+ <string name="first_time_blank_smartcard_message">"Would you like to generate a smart card compatible key?"</string>
<!-- unsorted -->
<string name="section_certifier_id">"Certifier"</string>