mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 13:18:26 +00:00
Adjust a couple of strings in order to include calls AND messages.
Closes #4311
This commit is contained in:
parent
13bd3c773c
commit
08be47c03e
@ -19,12 +19,9 @@
|
||||
</string>
|
||||
<string name="ApplicationPreferencesActivity_disable">Disable</string>
|
||||
<string name="ApplicationPreferencesActivity_unregistering">Unregistering</string>
|
||||
<string name="ApplicationPreferencesActivity_unregistering_from_signal_messages">Unregistering from Signal messages...</string>
|
||||
<string name="ApplicationPreferencesActivity_disable_signal_messages">Disable Signal messages?</string>
|
||||
<string name="ApplicationPreferencesActivity_this_will_disable_signal_messages">
|
||||
This will disable Signal messages by unregistering you from the server.
|
||||
You will need to re-register your phone number to use Signal messages again in the future.
|
||||
</string>
|
||||
<string name="ApplicationPreferencesActivity_unregistering_from_signal_messages_and_calls">Unregistering from Signal messages and calls...</string>
|
||||
<string name="ApplicationPreferencesActivity_disable_signal_messages_and_calls">Disable Signal messages and calls?</string>
|
||||
<string name="ApplicationPreferencesActivity_disable_signal_messages_and_calls_by_unregistering">Disable Signal messages and calls by unregistering from the server. You will need to re-register your phone number to use them 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>
|
||||
<string name="ApplicationPreferencesActivity_touch_to_change_your_default_sms_app">Touch to change your default SMS app</string>
|
||||
@ -288,7 +285,7 @@
|
||||
<string name="NotificationMmsMessageRecord_multimedia_message">Multimedia message</string>
|
||||
|
||||
<!-- MessageRecord -->
|
||||
<string name="MessageRecord_message_encrypted_with_a_legacy_protocol_version_that_is_no_longer_supported">Received a message encrypted using an old version of Signal that is no longer supported. Please ask the sender to upgrade to the most recent version and resend the message.</string>
|
||||
<string name="MessageRecord_message_encrypted_with_a_legacy_protocol_version_that_is_no_longer_supported">Received a message encrypted using an old version of Signal that is no longer supported. Please ask the sender to update to the most recent version and resend the message.</string>
|
||||
<string name="MessageRecord_left_group">You have left the group.</string>
|
||||
<string name="MessageRecord_updated_group">Updated the group.</string>
|
||||
<string name="MessageRecord_s_called_you">%s called you</string>
|
||||
@ -337,7 +334,7 @@
|
||||
|
||||
<!-- RecipientPreferencesActivity -->
|
||||
<string name="RecipientPreferenceActivity_block_this_contact_question">Block this contact?</string>
|
||||
<string name="RecipientPreferenceActivity_you_will_no_longer_receive_calls_or_messages_from_this_user">You will no longer receive calls or messages from this user.</string>
|
||||
<string name="RecipientPreferenceActivity_you_will_no_longer_receive_messages_or_calls_from_this_user">You will no longer receive messages or calls from this user.</string>
|
||||
<string name="RecipientPreferenceActivity_block">Block</string>
|
||||
<string name="RecipientPreferenceActivity_unblock_this_contact_question">Unblock this contact?</string>
|
||||
<string name="RecipientPreferenceActivity_are_you_sure_you_want_to_unblock_this_contact">Are you sure you want to unblock this contact?</string>
|
||||
@ -925,10 +922,8 @@
|
||||
<string name="preferences__default">Default</string>
|
||||
<string name="preferences__language">Language</string>
|
||||
<string name="preferences__language_summary">Language %s</string>
|
||||
<string name="preferences__signal">Signal</string>
|
||||
<string name="preferences__use_the_data_channel_for_communication_with_other_signal_users">
|
||||
Free private messaging and calling to Signal users
|
||||
</string>
|
||||
<string name="preferences__signal_messages_and_calls">Signal messages and calls</string>
|
||||
<string name="preferences__free_private_messages_and_calls">Free private messages and calls to Signal users</string>
|
||||
<string name="preferences__submit_debug_log">Submit debug log</string>
|
||||
<string name="preferences__support_wifi_calling">\'WiFi Calling\' compatibility mode</string>
|
||||
<string name="preferences__enable_if_your_device_supports_sms_mms_delivery_over_wifi">Enable if your device uses SMS/MMS delivery over WiFi (only enable when \'WiFi Calling\' is enabled on your device)</string>
|
||||
@ -1038,15 +1033,15 @@
|
||||
<!-- reminder_header -->
|
||||
<string name="reminder_header_expired_build">Your build of Signal has expired!</string>
|
||||
<string name="reminder_header_expired_build_details">Messages will no longer send successfully, please update to the most recent version.</string>
|
||||
<string name="reminder_header_expired_build_button">UPGRADE</string>
|
||||
<string name="reminder_header_expired_build_button">UPDATE</string>
|
||||
<string name="reminder_header_sms_default_title">Use as default SMS app</string>
|
||||
<string name="reminder_header_sms_default_text">Tap to make Signal your default SMS app.</string>
|
||||
<string name="reminder_header_sms_default_button">SET</string>
|
||||
<string name="reminder_header_sms_import_title">Import system SMS</string>
|
||||
<string name="reminder_header_sms_import_text">Tap to copy your phone\'s SMS messages into its encrypted database.</string>
|
||||
<string name="reminder_header_sms_import_button">IMPORT</string>
|
||||
<string name="reminder_header_push_title">Enable Signal</string>
|
||||
<string name="reminder_header_push_text">Upgrade your messaging experience.</string>
|
||||
<string name="reminder_header_push_title">Enable Signal messages and calls</string>
|
||||
<string name="reminder_header_push_text">Upgrade your communication experience.</string>
|
||||
<string name="reminder_header_push_button">ENABLE</string>
|
||||
<string name="reminder_header_invite_title">Invite to Signal</string>
|
||||
<string name="reminder_header_invite_text">Take your conversation with %1$s to the next level.</string>
|
||||
|
@ -4,8 +4,8 @@
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_toggle_push_messaging"
|
||||
android:title="@string/preferences__signal"
|
||||
android:summary="@string/preferences__use_the_data_channel_for_communication_with_other_signal_users"/>
|
||||
android:title="@string/preferences__signal_messages_and_calls"
|
||||
android:summary="@string/preferences__free_private_messages_and_calls"/>
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
|
@ -382,7 +382,7 @@ public class RecipientPreferenceActivity extends PassphraseRequiredActionBarActi
|
||||
private void handleBlock() {
|
||||
new AlertDialogWrapper.Builder(getActivity())
|
||||
.setTitle(R.string.RecipientPreferenceActivity_block_this_contact_question)
|
||||
.setMessage(R.string.RecipientPreferenceActivity_you_will_no_longer_receive_calls_or_messages_from_this_user)
|
||||
.setMessage(R.string.RecipientPreferenceActivity_you_will_no_longer_receive_messages_or_calls_from_this_user)
|
||||
.setCancelable(true)
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.setPositiveButton(R.string.RecipientPreferenceActivity_block, new DialogInterface.OnClickListener() {
|
||||
|
@ -154,7 +154,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_from_signal_messages);
|
||||
super(getActivity(), R.string.ApplicationPreferencesActivity_unregistering, R.string.ApplicationPreferencesActivity_unregistering_from_signal_messages_and_calls);
|
||||
this.checkBoxPreference = checkBoxPreference;
|
||||
}
|
||||
|
||||
@ -204,8 +204,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_signal_messages);
|
||||
builder.setMessage(R.string.ApplicationPreferencesActivity_this_will_disable_signal_messages);
|
||||
builder.setTitle(R.string.ApplicationPreferencesActivity_disable_signal_messages_and_calls);
|
||||
builder.setMessage(R.string.ApplicationPreferencesActivity_disable_signal_messages_and_calls_by_unregistering);
|
||||
builder.setNegativeButton(android.R.string.cancel, null);
|
||||
builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
@ -97,7 +97,7 @@ public class AdvancedPreferenceFragmentTest extends TextSecureEspressoTestCase<C
|
||||
loadActivity(ConversationListActivity.class, STATE_REGISTERED);
|
||||
clickAdvancedSettingAndCheckState();
|
||||
AdvancedPreferenceFragmentActions.clickTextSecureMessages();
|
||||
onView(withText(R.string.ApplicationPreferencesActivity_disable_signal_messages))
|
||||
onView(withText(R.string.ApplicationPreferencesActivity_disable_signal_messages_and_calls))
|
||||
.check(matches(isDisplayed()));
|
||||
onView(withText(android.R.string.cancel)).perform(click());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user