Преглед изворни кода

use term 'disappearing messages'

B. Petersen пре 4 година
родитељ
комит
2e142d3c4b

+ 1 - 1
deltachat-ios/Controller/ContactDetailViewController.swift

@@ -28,7 +28,7 @@ class ContactDetailViewController: UITableViewController {
 
     private lazy var ephemeralMessagesCell: UITableViewCell = {
         let cell = UITableViewCell(style: .default, reuseIdentifier: nil)
-        cell.textLabel?.text = String.localized("pref_ephemeral_messages")
+        cell.textLabel?.text = String.localized("ephemeral_messages")
         cell.selectionStyle = .none
         cell.accessoryType = .disclosureIndicator
         return cell

+ 1 - 1
deltachat-ios/Controller/GroupChatDetailViewController.swift

@@ -92,7 +92,7 @@ class GroupChatDetailViewController: UIViewController {
 
     private lazy var ephemeralMessagesCell: UITableViewCell = {
         let cell = UITableViewCell(style: .default, reuseIdentifier: nil)
-        cell.textLabel?.text = String.localized("pref_ephemeral_messages")
+        cell.textLabel?.text = String.localized("ephemeral_messages")
         cell.selectionStyle = .none
         cell.accessoryType = .disclosureIndicator
         return cell

+ 1 - 1
deltachat-ios/Controller/SettingsEphemeralMessageController.swift

@@ -34,7 +34,7 @@ class SettingsEphemeralMessageController: UITableViewController {
         self.chatId = chatId
         super.init(style: .grouped)
         self.currentIndex = self.options.index(of: dcContext.getChatEphemeralTimer(chatId: chatId)) ?? 0
-        self.title = String.localized("pref_ephemeral_messages")
+        self.title = String.localized("ephemeral_messages")
         hidesBottomBarWhenPushed = true
 
     }

+ 0 - 1
deltachat-ios/en.lproj/Localizable.strings

@@ -675,4 +675,3 @@
 "a11y_voice_message_hint_ios" = "After recording double-tap to send. To discard the recording scrub left-right with two fingers.";
 "login_error_no_internet_connection" = "No internet connection, can\'t log in to your server.";
 "share_account_not_configured" = "Account is not configured.";
-"pref_ephemeral_messages" = "Self-destructing messages";

+ 0 - 1
tools/untranslated.xml

@@ -8,5 +8,4 @@
     <string name="a11y_voice_message_hint_ios">After recording double-tap to send. To discard the recording scrub left-right with two fingers.</string>
     <string name="login_error_no_internet_connection">No internet connection, can\'t log in to your server.</string>
     <string name="share_account_not_configured">Account is not configured.</string>
-    <string name="pref_ephemeral_messages">Self-destructing messages</string>
 </resources>