diff --git a/Session/Conversations/ConversationVC+Interaction.swift b/Session/Conversations/ConversationVC+Interaction.swift index e2b0fa407..752a03861 100644 --- a/Session/Conversations/ConversationVC+Interaction.swift +++ b/Session/Conversations/ConversationVC+Interaction.swift @@ -548,21 +548,21 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc func delete(_ viewItem: ConversationViewItem) { if viewItem.interaction.interactionType() == .outgoingMessage { let alertVC = UIAlertController.init(title: nil, message: nil, preferredStyle: .actionSheet) - let deleteLocallyAction = UIAlertAction.init(title: "Delete just for me", style: .destructive) { _ in + let deleteLocallyAction = UIAlertAction.init(title: NSLocalizedString("delete_message_for_me", comment: ""), style: .destructive) { _ in self.deleteLocally(viewItem) } alertVC.addAction(deleteLocallyAction) - var title = "Delete for everyone" + var title = NSLocalizedString("delete_message_for_everyone", comment: "") if !viewItem.isGroupThread { - title = "Delete for me and \(viewItem.interaction.thread.name())" + title = String(format: NSLocalizedString("delete_message_for_me_and_recipient", comment: ""), viewItem.interaction.thread.name()) } let deleteRemotelyAction = UIAlertAction.init(title: title, style: .destructive) { _ in self.deleteForEveryone(viewItem) } alertVC.addAction(deleteRemotelyAction) - let cancelAction = UIAlertAction.init(title: "Cancel", style: .cancel, handler: nil) + let cancelAction = UIAlertAction.init(title: NSLocalizedString("TXT_CANCEL_TITLE", comment: ""), style: .cancel, handler: nil) alertVC.addAction(cancelAction) self.navigationController?.presentAlert(alertVC) } else { diff --git a/Session/Meta/Translations/de.lproj/Localizable.strings b/Session/Meta/Translations/de.lproj/Localizable.strings index 547277820..feebb8b18 100644 --- a/Session/Meta/Translations/de.lproj/Localizable.strings +++ b/Session/Meta/Translations/de.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/en.lproj/Localizable.strings b/Session/Meta/Translations/en.lproj/Localizable.strings index 658817073..834e51879 100644 --- a/Session/Meta/Translations/en.lproj/Localizable.strings +++ b/Session/Meta/Translations/en.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/es.lproj/Localizable.strings b/Session/Meta/Translations/es.lproj/Localizable.strings index 05d799d13..a82aeb4ed 100644 --- a/Session/Meta/Translations/es.lproj/Localizable.strings +++ b/Session/Meta/Translations/es.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/fa.lproj/Localizable.strings b/Session/Meta/Translations/fa.lproj/Localizable.strings index bf3e1c2bc..4a373153b 100644 --- a/Session/Meta/Translations/fa.lproj/Localizable.strings +++ b/Session/Meta/Translations/fa.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/fi.lproj/Localizable.strings b/Session/Meta/Translations/fi.lproj/Localizable.strings index b6834c6d4..5d4705c15 100644 --- a/Session/Meta/Translations/fi.lproj/Localizable.strings +++ b/Session/Meta/Translations/fi.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/fr.lproj/Localizable.strings b/Session/Meta/Translations/fr.lproj/Localizable.strings index f5636492e..64fa159e5 100644 --- a/Session/Meta/Translations/fr.lproj/Localizable.strings +++ b/Session/Meta/Translations/fr.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/hi.lproj/Localizable.strings b/Session/Meta/Translations/hi.lproj/Localizable.strings index 1ea91364a..b59f34de9 100644 --- a/Session/Meta/Translations/hi.lproj/Localizable.strings +++ b/Session/Meta/Translations/hi.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/hr.lproj/Localizable.strings b/Session/Meta/Translations/hr.lproj/Localizable.strings index 2b0328435..20fc11735 100644 --- a/Session/Meta/Translations/hr.lproj/Localizable.strings +++ b/Session/Meta/Translations/hr.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/id-ID.lproj/Localizable.strings b/Session/Meta/Translations/id-ID.lproj/Localizable.strings index b34c800a7..44e9f5bc9 100644 --- a/Session/Meta/Translations/id-ID.lproj/Localizable.strings +++ b/Session/Meta/Translations/id-ID.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/it.lproj/Localizable.strings b/Session/Meta/Translations/it.lproj/Localizable.strings index 3b195f2ae..58f6866b6 100644 --- a/Session/Meta/Translations/it.lproj/Localizable.strings +++ b/Session/Meta/Translations/it.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/ja.lproj/Localizable.strings b/Session/Meta/Translations/ja.lproj/Localizable.strings index c5fd2b856..c10681551 100644 --- a/Session/Meta/Translations/ja.lproj/Localizable.strings +++ b/Session/Meta/Translations/ja.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/nl.lproj/Localizable.strings b/Session/Meta/Translations/nl.lproj/Localizable.strings index 60b32239d..72cac9431 100644 --- a/Session/Meta/Translations/nl.lproj/Localizable.strings +++ b/Session/Meta/Translations/nl.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/pl.lproj/Localizable.strings b/Session/Meta/Translations/pl.lproj/Localizable.strings index 0f5284d4c..63682a539 100644 --- a/Session/Meta/Translations/pl.lproj/Localizable.strings +++ b/Session/Meta/Translations/pl.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings index 24741707b..ebc1676f2 100644 --- a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/ru.lproj/Localizable.strings b/Session/Meta/Translations/ru.lproj/Localizable.strings index 93b0d2325..2b0afadb0 100644 --- a/Session/Meta/Translations/ru.lproj/Localizable.strings +++ b/Session/Meta/Translations/ru.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/sk.lproj/Localizable.strings b/Session/Meta/Translations/sk.lproj/Localizable.strings index 2192e8a65..fddbe784a 100644 --- a/Session/Meta/Translations/sk.lproj/Localizable.strings +++ b/Session/Meta/Translations/sk.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/sv.lproj/Localizable.strings b/Session/Meta/Translations/sv.lproj/Localizable.strings index e2e8af60f..d31bdbff3 100644 --- a/Session/Meta/Translations/sv.lproj/Localizable.strings +++ b/Session/Meta/Translations/sv.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/th.lproj/Localizable.strings b/Session/Meta/Translations/th.lproj/Localizable.strings index fb8ed0a89..91a596780 100644 --- a/Session/Meta/Translations/th.lproj/Localizable.strings +++ b/Session/Meta/Translations/th.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings index 4211bf8b1..56434b367 100644 --- a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings +++ b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings index bdab93cd3..7069eca80 100644 --- a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@"; diff --git a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings index 11e3f4d32..810008f5b 100644 --- a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings @@ -550,3 +550,6 @@ "vc_conversation_settings_notify_for_mentions_only_explanation" = "When enabled, you'll only be notified for messages mentioning you."; "view_conversation_title_notify_for_mentions_only" = "Notifying for Mentions Only"; "message_deleted" = "This message has been deleted"; +"delete_message_for_me" = "Delete just for me"; +"delete_message_for_everyone" = "Delete for everyone"; +"delete_message_for_me_and_recipient" = "Delete for me and %@";