浏览代码

adapt string formatting

cyberta 5 年之前
父节点
当前提交
99f24f6e2d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 {