Update "TextSecure messages" preferences strings

Fixes #3253
Closes #3254

//FREEBIE
This commit is contained in:
Geonu Kang 2015-05-25 01:27:35 +09:00 committed by Moxie Marlinspike
parent 86c607a211
commit 0cf9206170
2 changed files with 8 additions and 8 deletions

View File

@ -21,11 +21,11 @@
</string>
<string name="ApplicationPreferencesActivity_disable">Disable</string>
<string name="ApplicationPreferencesActivity_unregistering">Unregistering...</string>
<string name="ApplicationPreferencesActivity_unregistering_for_data_based_communication">Unregistering for data based communication</string>
<string name="ApplicationPreferencesActivity_disable_push_messages">Disable push messages?</string>
<string name="ApplicationPreferencesActivity_this_will_disable_push_messages">
This will disable push messages by unregistering you from the server.
You will need to re-register your phone number to use push messages again in the future.
<string name="ApplicationPreferencesActivity_unregistering_from_textsecure_messages">Unregistering from TextSecure messages</string>
<string name="ApplicationPreferencesActivity_disable_textsecure_messages">Disable TextSecure messages?</string>
<string name="ApplicationPreferencesActivity_this_will_disable_textsecure_messages">
This will disable TextSecure messages by unregistering you from the server.
You will need to re-register your phone number to use TextSecure messages again in the future.
</string>
<string name="ApplicationPreferencesActivity_error_connecting_to_server">Error connecting to server!</string>
<string name="ApplicationPreferencesActivity_sms_enabled">SMS Enabled</string>

View File

@ -133,7 +133,7 @@ public class AdvancedPreferenceFragment extends PreferenceFragment {
private final CheckBoxPreference checkBoxPreference;
public DisablePushMessagesTask(final CheckBoxPreference checkBoxPreference) {
super(getActivity(), R.string.ApplicationPreferencesActivity_unregistering, R.string.ApplicationPreferencesActivity_unregistering_for_data_based_communication);
super(getActivity(), R.string.ApplicationPreferencesActivity_unregistering, R.string.ApplicationPreferencesActivity_unregistering_from_textsecure_messages);
this.checkBoxPreference = checkBoxPreference;
}
@ -178,8 +178,8 @@ public class AdvancedPreferenceFragment extends PreferenceFragment {
if (((CheckBoxPreference)preference).isChecked()) {
AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(getActivity());
builder.setIconAttribute(R.attr.dialog_info_icon);
builder.setTitle(R.string.ApplicationPreferencesActivity_disable_push_messages);
builder.setMessage(R.string.ApplicationPreferencesActivity_this_will_disable_push_messages);
builder.setTitle(R.string.ApplicationPreferencesActivity_disable_textsecure_messages);
builder.setMessage(R.string.ApplicationPreferencesActivity_this_will_disable_textsecure_messages);
builder.setNegativeButton(android.R.string.cancel, null);
builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override