Browse Source

【2025】【综合】多语补充,退出裁剪模式自动关闭属性面板

niehaoyu 4 days ago
parent
commit
ddd136b52e

+ 1 - 1
PDF Office/PDF Master/Class/ChromiumTabs/KMBrowserWindowController+CreateFile.swift

@@ -363,7 +363,7 @@ extension KMBrowserWindowController {
                         infoString = infoString.appendingFormat("%@\n", errorDic![key] as! CVarArg)
                     }
                 }
-                alert.informativeText = KMLocalizedString("Please install Microsoft Office to create PDFs from Office files", comment: "")
+                alert.informativeText = KMLocalizedString("Failed to open the Office document. Please install Microsoft Office first.", comment: "")
                 alert.messageText = KMLocalizedString("Failed to Create PDF", comment: "")
                 alert.addButton(withTitle: KMLocalizedString("OK", comment: ""))
                 alert.runModal()

+ 1 - 1
PDF Office/PDF Master/KMClass/KMNPDFPageEdit/KMNThumbnailView/KMNThumbnailBaseViewController+Action.swift

@@ -1235,7 +1235,7 @@ extension KMNThumbnailBaseViewController {
                             infoString = infoString.appendingFormat("%@\n", errorDic![key] as! CVarArg)
                         }
                     }
-                    alert.informativeText = KMLocalizedString("Please install Microsoft Office to create PDFs from Office files")
+                    alert.informativeText = KMLocalizedString("Failed to open the Office document. Please install Microsoft Office first.")
                     alert.messageText = KMLocalizedString("Failed to Create PDF", comment: "")
                     alert.addButton(withTitle: KMLocalizedString("OK"))
                     alert.runModal()

+ 6 - 0
PDF Office/PDF Master/KMClass/KMPDFViewController/KMMainViewController.swift

@@ -2053,6 +2053,12 @@ struct KMNMWCFlags {
             
             toolbarManager.edit_crop_Property.state = .normal
             
+            if viewManager.showRightSide == true && SettingsManager.sharedInstance.autoExpandPropertyPanel == false {
+                viewManager.showRightSide = false
+                
+                refreshToolbarRightViewInfo()
+            }
+            
             alertTipViewController.showInView(listView: listView, subView: infoSplitCenterView)
             alertTipViewController.reloadAlertUIFrame()
             

+ 1 - 1
PDF Office/PDF Master/KMClass/Tools/Tool/KMNConvertTool.swift

@@ -57,7 +57,7 @@ class KMNConvertTool: NSObject {
                         infoString = infoString.appendingFormat("%@\n", errorDic![key] as! CVarArg)
                     }
                 }
-                alert.informativeText = KMLocalizedString("Please install Microsoft Office to create PDFs from Office files", comment: "")
+                alert.informativeText = KMLocalizedString("Failed to open the Office document. Please install Microsoft Office first.", comment: "")
                 alert.messageText = KMLocalizedString("Failed to Create PDF", comment: "")
                 alert.addButton(withTitle: KMLocalizedString("OK", comment: ""))
                 alert.runModal()

+ 10 - 0
PDF Office/PDF Master/Strings/ar.lproj/Localizable.strings

@@ -5171,3 +5171,13 @@
 "Are you sure you want to delete the selected image files?"="هل أنت متأكد أنك تريد حذف ملفات الصور المحددة؟";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="اكتب نصًا هنا لتخصيص الرأس والتذييل، أو انقر فوق الزر + لإدراج رقم التاريخ/الصفحة.";
 "Typing text here to customize Bates, or click + button to insert."="كتابة نص هنا لتخصيص بيتس، أو انقر فوق زر + لإدراجه.";
+"None"="لا أحد";
+"Arrow Open"="السهم مفتوح";
+"Arrow Close"="إغلاق السهم";
+"Square"="مربع";
+"Oval"="بيضاوي";
+"Diamond"="الماس";
+"Butt"="بعقب";
+"Slash"="خفض";
+"R Open Arrow"="ص فتح السهم";
+"R Close Arrow"="R إغلاق السهم";

+ 10 - 0
PDF Office/PDF Master/Strings/de.lproj/Localizable.strings

@@ -3617,3 +3617,13 @@
 "Are you sure you want to delete the selected image files?"="Sind Sie sicher, dass Sie die ausgewählten Bilddateien löschen möchten?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Geben Sie hier Text ein, um Kopf- und Fußzeile anzupassen, oder klicken Sie auf die Schaltfläche „+“, um Datum/Seitenzahl einzufügen.";
 "Typing text here to customize Bates, or click + button to insert."="Geben Sie hier Text ein, um Bates anzupassen, oder klicken Sie zum Einfügen auf die Schaltfläche „+“.";
+"None"="Keiner";
+"Arrow Open"="Pfeil öffnen";
+"Arrow Close"="Pfeil schließen";
+"Square"="Quadrat";
+"Oval"="Oval";
+"Diamond"="Diamant";
+"Butt"="Hintern";
+"Slash"="Schrägstrich";
+"R Open Arrow"="R Pfeil öffnen";
+"R Close Arrow"="R Pfeil schließen";

+ 10 - 0
PDF Office/PDF Master/Strings/es.lproj/Localizable.strings

@@ -3538,3 +3538,13 @@
 "Are you sure you want to delete the selected image files?"="¿Está seguro de que desea eliminar los archivos de imagen seleccionados?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Escriba texto aquí para personalizar el encabezado y pie de página, o haga clic en el botón + para insertar la fecha/el número de página.";
 "Typing text here to customize Bates, or click + button to insert."="Escriba texto aquí para personalizar Bates o haga clic en el botón + para insertar.";
+"None"="Ninguno";
+"Arrow Open"="Flecha abierta";
+"Arrow Close"="Flecha Cerrar";
+"Square"="Cuadrado";
+"Oval"="Oval";
+"Diamond"="Diamante";
+"Butt"="Culata";
+"Slash"="Barra oblicua";
+"R Open Arrow"="R Flecha abierta";
+"R Close Arrow"="R Cerrar flecha";

+ 10 - 0
PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings

@@ -3568,3 +3568,13 @@
 "Are you sure you want to delete the selected image files?"="Êtes-vous sûr de vouloir supprimer les fichiers image sélectionnés ?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Tapez du texte ici pour personnaliser l'en-tête et le pied de page, ou cliquez sur le bouton + pour insérer la date/le numéro de page.";
 "Typing text here to customize Bates, or click + button to insert."="Tapez du texte ici pour personnaliser Bates, ou cliquez sur le bouton + pour l'insérer.";
+"None"="Aucun";
+"Arrow Open"="Flèche ouverte";
+"Arrow Close"="Flèche Fermer";
+"Square"="Carré";
+"Oval"="Ovale";
+"Diamond"="Diamant";
+"Butt"="Bout";
+"Slash"="Sabrer";
+"R Open Arrow"="R Flèche ouverte";
+"R Close Arrow"="R Flèche de fermeture";

+ 10 - 0
PDF Office/PDF Master/Strings/it.lproj/Localizable.strings

@@ -3496,3 +3496,13 @@
 "Are you sure you want to delete the selected image files?"="Sei sicuro di voler eliminare i file immagine selezionati?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Digitare qui il testo per personalizzare intestazione e piè di pagina oppure fare clic sul pulsante + per inserire data/numero di pagina.";
 "Typing text here to customize Bates, or click + button to insert."="Digitare il testo qui per personalizzare Bates oppure fare clic sul pulsante + per inserirlo.";
+"None"="Nessuno";
+"Arrow Open"="Freccia aperta";
+"Arrow Close"="Freccia Chiudi";
+"Square"="Piazza";
+"Oval"="Ovale";
+"Diamond"="Diamante";
+"Butt"="Culo";
+"Slash"="Barra";
+"R Open Arrow"="R Freccia aperta";
+"R Close Arrow"="R Chiudi freccia";

+ 10 - 0
PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings

@@ -3775,3 +3775,13 @@
 "Are you sure you want to delete the selected image files?"="選択した画像ファイルを削除してもよろしいですか?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="ここにテキストを入力してヘッダーとフッターをカスタマイズするか、+ ボタンをクリックして日付/ページ番号を挿入します。";
 "Typing text here to customize Bates, or click + button to insert."="ここにテキストを入力してベイツをカスタマイズするか、+ ボタンをクリックして挿入します。";
+"None"="なし";
+"Arrow Open"="矢印が開く";
+"Arrow Close"="矢印を閉じる";
+"Square"="四角";
+"Oval"="楕円形";
+"Diamond"="ダイヤモンド";
+"Butt"="お尻";
+"Slash"="スラッシュ";
+"R Open Arrow"="R 開いた矢印";
+"R Close Arrow"="R閉じる矢印";

+ 10 - 0
PDF Office/PDF Master/Strings/nl.lproj/Localizable.strings

@@ -3261,3 +3261,13 @@
 "Are you sure you want to delete the selected image files?"="Weet u zeker dat u de geselecteerde afbeeldingsbestanden wilt verwijderen?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Typ hier tekst om de kop- en voettekst aan te passen, of klik op de knop + om het datum-/paginanummer in te voegen.";
 "Typing text here to customize Bates, or click + button to insert."="Typ hier tekst om Bates aan te passen, of klik op de knop + om in te voegen.";
+"None"="Geen";
+"Arrow Open"="Pijl geopend";
+"Arrow Close"="Pijl Sluiten";
+"Square"="Vierkant";
+"Oval"="Ovaal";
+"Diamond"="Diamant";
+"Butt"="Kont";
+"Slash"="Snij";
+"R Open Arrow"="R Openpijl";
+"R Close Arrow"="R Sluitenpijl";

+ 10 - 0
PDF Office/PDF Master/Strings/pl.lproj/Localizable.strings

@@ -3375,3 +3375,13 @@
 "Are you sure you want to delete the selected image files?"="Czy na pewno chcesz usunąć wybrane pliki obrazów?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Wpisz tutaj tekst, aby dostosować nagłówek i stopkę, lub kliknij przycisk +, aby wstawić datę/numer strony.";
 "Typing text here to customize Bates, or click + button to insert."="Wpisz tutaj tekst, aby dostosować Bates, lub kliknij przycisk +, aby go wstawić.";
+"None"="Nic";
+"Arrow Open"="Strzałka otwarta";
+"Arrow Close"="Strzałka Zamknij";
+"Square"="Kwadrat";
+"Oval"="Owalny";
+"Diamond"="Diament";
+"Butt"="Krupon";
+"Slash"="Ciąć";
+"R Open Arrow"="R Otwórz strzałkę";
+"R Close Arrow"="R Strzałka zamykająca";

+ 10 - 0
PDF Office/PDF Master/Strings/pt.lproj/Localizable.strings

@@ -5168,3 +5168,13 @@
 "Are you sure you want to delete the selected image files?"="Tem certeza de que deseja excluir os arquivos de imagem selecionados?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Digite o texto aqui para personalizar o cabeçalho e rodapé ou clique no botão + para inserir a data/número da página.";
 "Typing text here to customize Bates, or click + button to insert."="Digite o texto aqui para personalizar Bates ou clique no botão + para inserir.";
+"None"="Nenhum";
+"Arrow Open"="Seta aberta";
+"Arrow Close"="Seta Fechar";
+"Square"="Quadrado";
+"Oval"="Oval";
+"Diamond"="Diamante";
+"Butt"="Bunda";
+"Slash"="Barra";
+"R Open Arrow"="R Seta aberta";
+"R Close Arrow"="R Seta Fechar";

+ 10 - 0
PDF Office/PDF Master/Strings/ru.lproj/Localizable.strings

@@ -3439,3 +3439,13 @@
 "Are you sure you want to delete the selected image files?"="Вы уверены, что хотите удалить выбранные файлы изображений?";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="Введите текст здесь, чтобы настроить верхний и нижний колонтитулы, или нажмите кнопку +, чтобы вставить дату/номер страницы.";
 "Typing text here to customize Bates, or click + button to insert."="Введите текст здесь, чтобы настроить Бейтса, или нажмите кнопку +, чтобы вставить.";
+"None"="Никто";
+"Arrow Open"="Стрелка Открыть";
+"Arrow Close"="Стрелка Закрыть";
+"Square"="Квадрат";
+"Oval"="Овал";
+"Diamond"="Алмаз";
+"Butt"="Задница";
+"Slash"="Слэш";
+"R Open Arrow"="R Открытая стрелка";
+"R Close Arrow"="R Стрелка закрытия";

+ 11 - 0
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -4694,3 +4694,14 @@
 "Press any key on the keyboard to exit touchpad mode."="点击任意按键,退出手绘板模式。";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="在此处输入页眉&页脚内容,或点击 + 号来插入日期/页码。";
 "Typing text here to customize Bates, or click + button to insert."="在此处输入贝茨码内容,或点击 + 号插入。";
+"Failed to Create PDF" = "创建PDF失败";
+"None"="无";
+"Arrow Open"="开口箭头";
+"Arrow Close"="闭合箭头";
+"Square"="方形";
+"Oval"="椭圆形";
+"Diamond"="菱形";
+"Butt"="方头";
+"Slash"="斜线箭头";
+"R Open Arrow"="右开箭头";
+"R Close Arrow"="右闭合箭头";

+ 11 - 0
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4592,3 +4592,14 @@
 "Press any key on the keyboard to exit touchpad mode."="點選任何按鍵,退出手繪板模式。";
 "Typing text here to customize header&footer, or click + button to insert Date/Page number."="在此輸入頁首&頁尾內容,或點選 + 號來插入日期/頁碼。";
 "Typing text here to customize Bates, or click + button to insert."="在此輸入貝茨碼內容,或點選 + 號插入。";
+"Failed to Create PDF" = "創建PDF失敗";
+"None"="無";
+"Arrow Open"="開口箭頭";
+"Arrow Close"="閉合箭頭";
+"Square"="方形";
+"Oval"="橢圓形";
+"Diamond"="菱形";
+"Butt"="方頭";
+"Slash"="斜線箭頭";
+"R Open Arrow"="右開箭頭";
+"R Close Arrow"="右閉合箭頭";