mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
reword 'auto-delete' and 'message deletion' to 'disappearing messages'
This commit is contained in:
@@ -25,6 +25,10 @@
|
||||
android:visible="false"
|
||||
app:showAsAction="always"/>
|
||||
|
||||
<item android:id="@+id/menu_ephemeral_messages"
|
||||
android:title="@string/ephemeral_messages"
|
||||
android:visible="false" />
|
||||
|
||||
<item android:title="@string/menu_mute"
|
||||
android:id="@+id/menu_mute_notifications"/>
|
||||
|
||||
@@ -39,8 +43,4 @@
|
||||
android:icon="?menu_map_icon"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item android:id="@+id/menu_ephemeral_messages"
|
||||
android:title="@string/autodel_title_short"
|
||||
android:visible="false" />
|
||||
|
||||
</menu>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<string name="archive">Archive</string>
|
||||
<string name="unarchive">Unarchive</string>
|
||||
<string name="mute">Mute</string>
|
||||
<string name="ephemeral_messages">Disappearing messages</string>
|
||||
<string name="save">Save</string>
|
||||
<string name="chat">Chat</string>
|
||||
<string name="media">Media</string>
|
||||
@@ -534,13 +535,13 @@
|
||||
<string name="systemmsg_subject_for_new_contact">Message from %1$s</string>
|
||||
<string name="systemmsg_failed_sending_to">Failed to send message to %1$s.</string>
|
||||
|
||||
<string name="systemmsg_ephemeral_timer_disabled">Message deletion timer is disabled.</string>
|
||||
<string name="systemmsg_ephemeral_timer_enabled">Message deletion timer is set to %1$s s.</string>
|
||||
<string name="systemmsg_ephemeral_timer_minute">Message deletion timer is set to 1 minute.</string>
|
||||
<string name="systemmsg_ephemeral_timer_hour">Message deletion timer is set to 1 hour.</string>
|
||||
<string name="systemmsg_ephemeral_timer_day">Message deletion timer is set to 1 day.</string>
|
||||
<string name="systemmsg_ephemeral_timer_week">Message deletion timer is set to 1 week.</string>
|
||||
<string name="systemmsg_ephemeral_timer_four_weeks">Message deletion timer is set to 4 weeks.</string>
|
||||
<string name="systemmsg_ephemeral_timer_disabled">Disappearing messages timer is disabled.</string>
|
||||
<string name="systemmsg_ephemeral_timer_enabled">Disappearing messages timer is set to %1$s s.</string>
|
||||
<string name="systemmsg_ephemeral_timer_minute">Disappearing messages timer is set to 1 minute.</string>
|
||||
<string name="systemmsg_ephemeral_timer_hour">Disappearing messages timer is set to 1 hour.</string>
|
||||
<string name="systemmsg_ephemeral_timer_day">Disappearing messages timer is set to 1 day.</string>
|
||||
<string name="systemmsg_ephemeral_timer_week">Disappearing messages timer is set to 1 week.</string>
|
||||
<string name="systemmsg_ephemeral_timer_four_weeks">Disappearing messages timer is set to 4 weeks.</string>
|
||||
|
||||
|
||||
<!-- screen lock -->
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:key="pref_ephemeral_messages"
|
||||
android:title="Chat auto-delete setting"/>
|
||||
android:title="Disappearing messages options"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public class EphemeralMessagesDialog {
|
||||
final int[] selectedChoice = new int[]{preselected};
|
||||
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context)
|
||||
.setTitle(R.string.ephemeral_dialog_title)
|
||||
.setTitle(R.string.ephemeral_messages)
|
||||
.setNegativeButton(R.string.cancel, null)
|
||||
.setPositiveButton(R.string.ok, (dialog, which) -> {
|
||||
final long burnAfter;
|
||||
|
||||
Reference in New Issue
Block a user