From 060acdc7d01018d3d1e0fe484e14670d7513340c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:54:50 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/gui/selecthook.py | 8 ++++++-- LunaTranslator/LunaTranslator/gui/setting_textinput.py | 10 ---------- LunaTranslator/files/lang/ar.json | 4 ++-- LunaTranslator/files/lang/cht.json | 4 ++-- LunaTranslator/files/lang/en.json | 4 ++-- LunaTranslator/files/lang/es.json | 4 ++-- LunaTranslator/files/lang/fr.json | 4 ++-- LunaTranslator/files/lang/it.json | 4 ++-- LunaTranslator/files/lang/ja.json | 4 ++-- LunaTranslator/files/lang/ko.json | 4 ++-- LunaTranslator/files/lang/pl.json | 4 ++-- LunaTranslator/files/lang/ru.json | 4 ++-- LunaTranslator/files/lang/th.json | 4 ++-- LunaTranslator/files/lang/tr.json | 4 ++-- LunaTranslator/files/lang/uk.json | 4 ++-- LunaTranslator/files/lang/vi.json | 4 ++-- LunaTranslator/files/lang/zh.json | 2 +- 17 files changed, 35 insertions(+), 41 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/selecthook.py b/LunaTranslator/LunaTranslator/gui/selecthook.py index 8e50da2e..90b05b41 100644 --- a/LunaTranslator/LunaTranslator/gui/selecthook.py +++ b/LunaTranslator/LunaTranslator/gui/selecthook.py @@ -4,7 +4,7 @@ from collections import OrderedDict from traceback import print_exc import qtawesome, windows, winsharedutils, gobject from myutils.config import savehook_new_data, static_data, globalconfig, _TR -from myutils.utils import checkchaos, get_time_stamp +from myutils.utils import checkchaos, get_time_stamp, dynamiclink from gui.dialog_savedgame import dialog_setting_game from gui.usefulwidget import ( closeashidewindow, @@ -614,9 +614,13 @@ class hookselect(closeashidewindow): self.searchtext = QLineEdit() self.searchtextlayout.addWidget(self.searchtext) self.searchtextbutton = LPushButton("搜索包含文本的条目") - + __ = LPushButton("找不到文本?") + __.clicked.connect( + lambda: os.startfile(dynamiclink("{main_server}/Resource/game_support")) + ) self.searchtextbutton.clicked.connect(self.searchtextfunc) self.searchtextlayout.addWidget(self.searchtextbutton) + self.searchtextlayout.addWidget(__) ################### self.ttCombomodelmodel2 = LStandardItemModel() self.tttable2 = TableViewW() diff --git a/LunaTranslator/LunaTranslator/gui/setting_textinput.py b/LunaTranslator/LunaTranslator/gui/setting_textinput.py index 6d182244..3594b4ef 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_textinput.py +++ b/LunaTranslator/LunaTranslator/gui/setting_textinput.py @@ -50,19 +50,9 @@ def __create2(self): return self.selecthookbutton -def gamesupport(): - __ = LPushButton("不支持的游戏?") - __.clicked.connect( - lambda: os.startfile(dynamiclink("{main_server}/Resource/game_support")) - ) - return __ - - def gethookgrid(self): grids = [ - [(gamesupport, 0)], - [], [ "选择游戏", functools.partial(__create, self), diff --git a/LunaTranslator/files/lang/ar.json b/LunaTranslator/files/lang/ar.json index e6029c08..a63b4e71 100644 --- a/LunaTranslator/files/lang/ar.json +++ b/LunaTranslator/files/lang/ar.json @@ -754,7 +754,6 @@ "按钮颜色": "زر اللون", "按钮大小": "حجم الزر", "软件显示语言": "عرض برامج اللغة", - "不支持的游戏?": "لا تدعم اللعبة ؟", "填充颜色": "ملء اللون", "阴影强度": "كثافة الظل", "阴影半径": "مكان الظل", @@ -823,5 +822,6 @@ "无缩放": "لا تحجيم", "总是检测": "دائما الكشف", "动态检测": "دينامية اختبار", - "从不检测": "لم تكتشف" + "从不检测": "لم تكتشف", + "找不到文本?": "لا يمكن العثور على النص ؟" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/cht.json b/LunaTranslator/files/lang/cht.json index 3cd9c945..23af05a5 100644 --- a/LunaTranslator/files/lang/cht.json +++ b/LunaTranslator/files/lang/cht.json @@ -754,7 +754,6 @@ "按钮颜色": "按鈕顏色", "按钮大小": "按鈕大小", "软件显示语言": "軟體顯示語言", - "不支持的游戏?": "不支援的遊戲?", "填充颜色": "填充顏色", "阴影强度": "陰影強度", "阴影半径": "陰影半徑", @@ -823,5 +822,6 @@ "无缩放": "無縮放", "总是检测": "總是檢測", "动态检测": "動態檢測", - "从不检测": "從不檢測" + "从不检测": "從不檢測", + "找不到文本?": "找不到文字?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/en.json b/LunaTranslator/files/lang/en.json index 5fb34592..13cb9560 100644 --- a/LunaTranslator/files/lang/en.json +++ b/LunaTranslator/files/lang/en.json @@ -753,7 +753,6 @@ "按钮颜色": "Button Color", "按钮大小": "Button Size", "软件显示语言": "Software Display Language", - "不支持的游戏?": "Unsupported Games?", "填充颜色": "Fill Color", "阴影强度": "Shadow Intensity", "阴影半径": "Shadow Radius", @@ -823,5 +822,6 @@ "无缩放": "No scaling", "总是检测": "Always checking", "动态检测": "Dynamic detection", - "从不检测": "Never detect" + "从不检测": "Never detect", + "找不到文本?": "Can't find text?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/es.json b/LunaTranslator/files/lang/es.json index 9221bddf..d28077cb 100644 --- a/LunaTranslator/files/lang/es.json +++ b/LunaTranslator/files/lang/es.json @@ -754,7 +754,6 @@ "按钮颜色": "Color del botón", "按钮大小": "Tamaño del botón", "软件显示语言": "Lenguaje de visualización de software", - "不支持的游戏?": "¿Juegos no soportados?", "填充颜色": "Color de relleno", "阴影强度": "Intensidad de la sombra", "阴影半径": "Radio de sombra", @@ -823,5 +822,6 @@ "无缩放": "Sin zoom", "总是检测": "Siempre detectado", "动态检测": "Detección dinámica", - "从不检测": "Nunca detectar" + "从不检测": "Nunca detectar", + "找不到文本?": "¿No se puede encontrar el texto?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/fr.json b/LunaTranslator/files/lang/fr.json index c97ccbd9..40c76b4c 100644 --- a/LunaTranslator/files/lang/fr.json +++ b/LunaTranslator/files/lang/fr.json @@ -754,7 +754,6 @@ "按钮颜色": "Couleur du bouton", "按钮大小": "Taille du bouton", "软件显示语言": "Langue d'affichage du logiciel", - "不支持的游戏?": "Un jeu non supporté?", "填充颜色": "Couleur de remplissage", "阴影强度": "Intensité de l'ombre", "阴影半径": "Rayon d'ombre", @@ -823,5 +822,6 @@ "无缩放": "Pas de zoom", "总是检测": "Toujours détecter", "动态检测": "Détection dynamique", - "从不检测": "Jamais détecté" + "从不检测": "Jamais détecté", + "找不到文本?": "Vous ne trouvez pas le texte?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/it.json b/LunaTranslator/files/lang/it.json index f0ee8507..2ce9237c 100644 --- a/LunaTranslator/files/lang/it.json +++ b/LunaTranslator/files/lang/it.json @@ -754,7 +754,6 @@ "按钮颜色": "Colore pulsante", "按钮大小": "Dimensione pulsante", "软件显示语言": "Linguaggio di visualizzazione del software", - "不支持的游戏?": "Giochi non supportati?", "填充颜色": "colore di riempimento", "阴影强度": "Intensità ombra", "阴影半径": "Raggio ombra", @@ -823,5 +822,6 @@ "无缩放": "Nessuna scala", "总是检测": "Controllo sempre", "动态检测": "Rilevamento dinamico", - "从不检测": "Non rilevare mai" + "从不检测": "Non rilevare mai", + "找不到文本?": "Non trovi il messaggio?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ja.json b/LunaTranslator/files/lang/ja.json index 6a412b18..04602361 100644 --- a/LunaTranslator/files/lang/ja.json +++ b/LunaTranslator/files/lang/ja.json @@ -754,7 +754,6 @@ "按钮颜色": "ボタンの色", "按钮大小": "ボタンサイズ", "软件显示语言": "ソフトウェア表示言語", - "不支持的游戏?": "サポートされていないゲーム?", "填充颜色": "塗りつぶしカラーぬりつぶしからー", "阴影强度": "シャドウ強度", "阴影半径": "シャドウ半径", @@ -823,5 +822,6 @@ "无缩放": "ズームなし", "总是检测": "常に検出", "动态检测": "どうてきけんしゅつ", - "从不检测": "検出しない" + "从不检测": "検出しない", + "找不到文本?": "テキストが見つかりませんか?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ko.json b/LunaTranslator/files/lang/ko.json index 7a65db66..f9e49fb7 100644 --- a/LunaTranslator/files/lang/ko.json +++ b/LunaTranslator/files/lang/ko.json @@ -754,7 +754,6 @@ "按钮颜色": "버튼 색상", "按钮大小": "버튼 크기", "软件显示语言": "소프트웨어 디스플레이 언어", - "不支持的游戏?": "지원되지 않는 게임?", "填充颜色": "채우기 색상", "阴影强度": "그림자 강도", "阴影半径": "그림자 반지름", @@ -823,5 +822,6 @@ "无缩放": "줌 없음", "总是检测": "항상 테스트", "动态检测": "동적 체크", - "从不检测": "테스트하지 않음" + "从不检测": "테스트하지 않음", + "找不到文本?": "텍스트를 찾을 수 없습니까?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/pl.json b/LunaTranslator/files/lang/pl.json index 19e6243e..bd8d69f1 100644 --- a/LunaTranslator/files/lang/pl.json +++ b/LunaTranslator/files/lang/pl.json @@ -754,7 +754,6 @@ "按钮颜色": "Kolor przycisku", "按钮大小": "Rozmiar przycisku", "软件显示语言": "Język wyświetlania oprogramowania", - "不支持的游戏?": "Niewspierane gry?", "填充颜色": "kolor wypełnienia", "阴影强度": "Intensywność cienia", "阴影半径": "Promień cienia", @@ -823,5 +822,6 @@ "无缩放": "Brak skalowania", "总是检测": "Zawsze sprawdzam", "动态检测": "Wykrywanie dynamiczne", - "从不检测": "Nigdy nie wykrywaj" + "从不检测": "Nigdy nie wykrywaj", + "找不到文本?": "Nie możesz znaleźć smsa?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ru.json b/LunaTranslator/files/lang/ru.json index 31e021a0..fc2f84a0 100644 --- a/LunaTranslator/files/lang/ru.json +++ b/LunaTranslator/files/lang/ru.json @@ -754,7 +754,6 @@ "按钮颜色": "Цвет кнопки", "按钮大小": "Размер кнопки", "软件显示语言": "Язык отображения программного обеспечения", - "不支持的游戏?": "Не поддерживаемые игры?", "填充颜色": "Цвет заполнения", "阴影强度": "Интенсивность тени", "阴影半径": "Радиус тени", @@ -823,5 +822,6 @@ "无缩放": "Нет масштабирования", "总是检测": "Всегда проверяйте", "动态检测": "Динамический контроль", - "从不检测": "Никогда не проверяю." + "从不检测": "Никогда не проверяю.", + "找不到文本?": "Не удалось найти текст?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/th.json b/LunaTranslator/files/lang/th.json index d7307f18..887170e6 100644 --- a/LunaTranslator/files/lang/th.json +++ b/LunaTranslator/files/lang/th.json @@ -754,7 +754,6 @@ "按钮颜色": "สีปุ่ม", "按钮大小": "ขนาดปุ่ม", "软件显示语言": "ภาษาการแสดงผลของซอฟต์แวร์", - "不支持的游戏?": "เกมที่ไม่สนับสนุน?", "填充颜色": "เติมสี", "阴影强度": "ความเข้มเงา", "阴影半径": "รัศมีเงา", @@ -823,5 +822,6 @@ "无缩放": "ไม่มีการซูม", "总是检测": "ตรวจจับเสมอ", "动态检测": "การตรวจจับแบบไดนามิก", - "从不检测": "ไม่เคยตรวจจับ" + "从不检测": "ไม่เคยตรวจจับ", + "找不到文本?": "ไม่พบข้อความ?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/tr.json b/LunaTranslator/files/lang/tr.json index ef84fb26..63df8383 100644 --- a/LunaTranslator/files/lang/tr.json +++ b/LunaTranslator/files/lang/tr.json @@ -754,7 +754,6 @@ "按钮颜色": "Düğme rengi", "按钮大小": "Düğme ölçüsi", "软件显示语言": "Yazılım Gösterim Dili", - "不支持的游戏?": "Desteklenmeyen oyunlar mı?", "填充颜色": "doldurum rengi", "阴影强度": "Gölge şiddeti", "阴影半径": "Gölge Yardımcısı", @@ -823,5 +822,6 @@ "无缩放": "Yerleştirme yok", "总是检测": "Her zaman kontrol ediyor", "动态检测": "Dinamik tanıma", - "从不检测": "Asla tanıma" + "从不检测": "Asla tanıma", + "找不到文本?": "Mesaj bulamıyor musun?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/uk.json b/LunaTranslator/files/lang/uk.json index d69c7d22..07ac784a 100644 --- a/LunaTranslator/files/lang/uk.json +++ b/LunaTranslator/files/lang/uk.json @@ -754,7 +754,6 @@ "按钮颜色": "Колір кнопок", "按钮大小": "Розмір кнопки", "软件显示语言": "Мова показу програмного забезпечення", - "不支持的游戏?": "Непідтримувані гри?", "填充颜色": "колір заповнення", "阴影强度": "Інтензитет тіні", "阴影半径": "Радіус тіні", @@ -823,5 +822,6 @@ "无缩放": "Без масштабу", "总是检测": "Завжди перевіряється", "动态检测": "Динамічне виявлення", - "从不检测": "Ніколи не визначити" + "从不检测": "Ніколи не визначити", + "找不到文本?": "Не вдалося знайти текст?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/vi.json b/LunaTranslator/files/lang/vi.json index c1948694..ae831e5f 100644 --- a/LunaTranslator/files/lang/vi.json +++ b/LunaTranslator/files/lang/vi.json @@ -754,7 +754,6 @@ "按钮颜色": "Màu nút", "按钮大小": "Kích thước nút", "软件显示语言": "Ngôn ngữ hiển thị phần mềm", - "不支持的游戏?": "Trò chơi không được hỗ trợ?", "填充颜色": "Màu tô", "阴影强度": "Cường độ bóng", "阴影半径": "Bán kính bóng", @@ -823,5 +822,6 @@ "无缩放": "Không phóng to", "总是检测": "Luôn phát hiện", "动态检测": "Phát hiện động", - "从不检测": "Không bao giờ phát hiện" + "从不检测": "Không bao giờ phát hiện", + "找不到文本?": "Không tìm thấy văn bản?" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/zh.json b/LunaTranslator/files/lang/zh.json index d2ddc55f..411dd4cc 100644 --- a/LunaTranslator/files/lang/zh.json +++ b/LunaTranslator/files/lang/zh.json @@ -759,7 +759,7 @@ "按钮颜色": "", "按钮大小": "", "软件显示语言": "", - "不支持的游戏?": "", + "找不到文本?": "", "填充颜色": "", "阴影强度": "", "阴影半径": "",