Use string from strings.xml

This commit is contained in:
Miroojin Bakshi 2014-03-06 01:27:35 +05:30
parent a7a8f0a78e
commit 127ab0fd81
2 changed files with 2 additions and 1 deletions

View File

@ -269,6 +269,6 @@ class ExpiryDatePickerDialog extends DatePickerDialog {
}
//Set permanent title.
public void setTitle(CharSequence title) {
super.setTitle("Set date");
super.setTitle(getContext().getString(R.string.expiry_date_dialog_title));
}
}

View File

@ -130,6 +130,7 @@
<string name="label_send_key">Upload key to selected keyserver after certification</string>
<string name="label_fingerprint">Fingerprint</string>
<string name="select_keys_button_default">Select</string>
<string name="expiry_date_dialog_title">Set expiry date</string>
<plurals name="select_keys_button">
<item quantity="one">%d selected</item>