浏览代码

fix localization

cyberta 4 年之前
父节点
当前提交
c544fc0ad7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Chat/Views/ChatEditingBar.swift

+ 1 - 1
deltachat-ios/Chat/Views/ChatEditingBar.swift

@@ -43,7 +43,7 @@ public class ChatEditingBar: UIView, InputItem {
             view.setImage(UIImage(systemName: "trash"), for: .normal)
             view.setImage(UIImage(systemName: "trash"), for: .normal)
             view.tintColor = .systemBlue
             view.tintColor = .systemBlue
         } else {
         } else {
-            view.setTitle("delete", for: .normal)
+            view.setTitle(String.localized("delete"), for: .normal)
             view.setTitleColor(.systemBlue, for: .normal)
             view.setTitleColor(.systemBlue, for: .normal)
         }
         }
         view.translatesAutoresizingMaskIntoConstraints = false
         view.translatesAutoresizingMaskIntoConstraints = false