Explorar el Código

adapt string formatting

cyberta hace 5 años
padre
commit
99f24f6e2d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      deltachat-ios/Controller/GroupChatDetailViewController.swift

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

@@ -116,7 +116,8 @@ extension GroupChatDetailViewController: UITableViewDelegate, UITableViewDataSou
     func tableView(_: UITableView, viewForHeaderInSection section: Int) -> UIView? {
         if section == sectionConfig {
             let header = ContactDetailHeader()
-            header.updateDetails(title: chat.name, subtitle: String.localizedStringWithFormat(NSLocalizedString("n_members", comment: ""), chat.contactIds.count))
+            header.updateDetails(title: chat.name,
+                                 subtitle: String.localizedStringWithFormat(String.localized("n_members"), chat.contactIds.count))
             if let img = chat.profileImage {
                 header.setImage(img)
             } else {