浏览代码

use connected/not-connected wording for the service

B. Petersen 3 年之前
父节点
当前提交
2b2ffa92b1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      deltachat-ios/Controller/ConnectivityViewController.swift

+ 2 - 2
deltachat-ios/Controller/ConnectivityViewController.swift

@@ -74,7 +74,7 @@ class ConnectivityViewController: WebViewViewController {
         if !hasNotifyToken {
             return "<span class=\"red dot\"></span>"
                 .appending(title)
-                .appending("Service error")
+                .appending(String.localized("connectivity_not_connected"))
         }
 
         let timestamps = UserDefaults.standard.array(forKey: Constants.Keys.notificationTimestamps) as? [Double]
@@ -84,7 +84,7 @@ class ConnectivityViewController: WebViewViewController {
             // (in case of errors, it usually converts to an error sooner or later)
             return "<span class=\"green dot\"></span>"
                 .appending(title)
-                .appending(String.localized("on"))
+                .appending(String.localized("connectivity_connected"))
         }
 
         var averageDelta: Double = 0