Moving blank smart card messages to strings.xml

This commit is contained in:
Joey Castillo 2015-05-13 17:04:01 -04:00
parent 0504033c6b
commit aa75534e5b
2 changed files with 4 additions and 2 deletions

View File

@ -152,8 +152,8 @@ public class CreateKeyActivity extends BaseNfcActivity {
} }
} else { } else {
AlertDialog.Builder builder = new AlertDialog.Builder(this); AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("Blank Smart Card / Yubikey Detected") builder.setTitle(R.string.first_time_blank_smartcard_title)
.setMessage("Would you like to generate a smart card compatible key?") .setMessage(R.string.first_time_blank_smartcard_message)
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() { .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int button) { public void onClick(DialogInterface dialog, int button) {

View File

@ -1222,6 +1222,8 @@
<string name="first_time_import_key">"Import key from file"</string> <string name="first_time_import_key">"Import key from file"</string>
<string name="first_time_yubikey">"Use YubiKey NEO"</string> <string name="first_time_yubikey">"Use YubiKey NEO"</string>
<string name="first_time_skip">"Skip Setup"</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 --> <!-- unsorted -->
<string name="section_certifier_id">"Certifier"</string> <string name="section_certifier_id">"Certifier"</string>