mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Moving blank smart card messages to strings.xml
This commit is contained in:
parent
0504033c6b
commit
aa75534e5b
@ -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) {
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user