Browse Source

clarify 'disabled in system settings'

B. Petersen 3 years ago
parent
commit
0a3a738693

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

@@ -62,13 +62,13 @@ class ConnectivityViewController: WebViewViewController {
         if !notificationsEnabledInDC {
         if !notificationsEnabledInDC {
             return "<span class=\"disabled dot\"></span>"
             return "<span class=\"disabled dot\"></span>"
                 .appending(title)
                 .appending(title)
-                .appending(String.localized("notifications_disabled_dc"))
+                .appending(String.localized("disabled_in_dc"))
         }
         }
 
 
         if !notificationsEnabledInSystem {
         if !notificationsEnabledInSystem {
             return "<span class=\"disabled dot\"></span>"
             return "<span class=\"disabled dot\"></span>"
                 .appending(title)
                 .appending(title)
-                .appending(String.localized("notifications_disabled"))
+                .appending(String.localized("disabled_in_system_settings"))
         }
         }
 
 
         if !hasNotifyToken {
         if !hasNotifyToken {

+ 2 - 2
deltachat-ios/en.lproj/Localizable.strings

@@ -859,8 +859,8 @@
 
 
 "perm_ios_explain_access_to_camera_denied" = "To take photos, capture videos or use the QR-Code scanner, open the system settings and enable \"Camera\".";
 "perm_ios_explain_access_to_camera_denied" = "To take photos, capture videos or use the QR-Code scanner, open the system settings and enable \"Camera\".";
 "open_settings" = "Open Settings";
 "open_settings" = "Open Settings";
-"notifications_disabled_dc" = "Disabled in Delta Chat";
-"notifications_disabled" = "Disabled in system settings";
+"disabled_in_dc" = "Disabled in Delta Chat";
+"disabled_in_system_settings" = "Disabled in system settings";
 "delayed" = "Delayed";
 "delayed" = "Delayed";
 "notifications_avg_minutes" = "On average every %1$d minutes";
 "notifications_avg_minutes" = "On average every %1$d minutes";
 "notifications_avg_hours" = "On average every %1$d hours";
 "notifications_avg_hours" = "On average every %1$d hours";

+ 2 - 2
scripts/untranslated.xml

@@ -12,8 +12,8 @@
     
     
     <string name="perm_ios_explain_access_to_camera_denied">To take photos, capture videos or use the QR-Code scanner, open the system settings and enable \"Camera\".</string>
     <string name="perm_ios_explain_access_to_camera_denied">To take photos, capture videos or use the QR-Code scanner, open the system settings and enable \"Camera\".</string>
     <string name="open_settings">Open Settings</string>
     <string name="open_settings">Open Settings</string>
-    <string name="notifications_disabled_dc">Disabled in Delta Chat</string>
-    <string name="notifications_disabled">Disabled in system settings</string>
+    <string name="disabled_in_dc">Disabled in Delta Chat</string>
+    <string name="disabled_in_system_settings">Disabled in system settings</string>
     <string name="delayed">Delayed</string>
     <string name="delayed">Delayed</string>
     <string name="notifications_avg_minutes">On average every %1$d minutes</string>
     <string name="notifications_avg_minutes">On average every %1$d minutes</string>
     <string name="notifications_avg_hours">On average every %1$d hours</string>
     <string name="notifications_avg_hours">On average every %1$d hours</string>