瀏覽代碼

fix 'Add to Home Screen' key (#1686)

bjoern 2 年之前
父節點
當前提交
89d1d2938d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      deltachat-ios/Controller/WebxdcViewController.swift
  2. 1 1
      deltachat-ios/Helper/ShortcutManager.swift

+ 1 - 1
deltachat-ios/Controller/WebxdcViewController.swift

@@ -279,7 +279,7 @@ class WebxdcViewController: WebViewViewController {
         let alert = UIAlertController(title: webxdcName,
                                       message: nil,
                                       preferredStyle: .safeActionSheet)
-        let addToHomescreenAction = UIAlertAction(title: String.localized("add_to_home"), style: .default, handler: addToHomeScreen(_:))
+        let addToHomescreenAction = UIAlertAction(title: String.localized("add_to_home_screen"), style: .default, handler: addToHomeScreen(_:))
         alert.addAction(addToHomescreenAction)
         if sourceCodeUrl != nil {
             let sourceCodeAction = UIAlertAction(title: String.localized("source_code"), style: .default, handler: openUrl(_:))

+ 1 - 1
deltachat-ios/Helper/ShortcutManager.swift

@@ -214,7 +214,7 @@ public class ShortcutManager {
             } else {
                  var div = document.createElement('div');
                  var header = document.createElement('h2');
-                 header.append('\(String.localized("add_to_home"))');
+                 header.append('\(String.localized("add_to_home_screen"))');
                  div.appendChild(header);
                  document.body.appendChild(div);