From f2e25875c868473ae4091023dd014769911b3fba 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: Sat, 10 Aug 2024 03:23:49 +0800 Subject: [PATCH] ex --- .../LunaTranslator/gui/setting_display_ui.py | 13 +++ .../LunaTranslator/gui/translatorUI.py | 32 +++--- .../LunaTranslator/gui/usefulwidget.py | 101 +++++------------- .../files/defaultconfig/config.json | 1 + LunaTranslator/files/lang/ar.json | 3 +- LunaTranslator/files/lang/cht.json | 3 +- LunaTranslator/files/lang/cs.json | 3 +- LunaTranslator/files/lang/de.json | 3 +- LunaTranslator/files/lang/en.json | 3 +- LunaTranslator/files/lang/es.json | 3 +- LunaTranslator/files/lang/fr.json | 3 +- LunaTranslator/files/lang/it.json | 3 +- LunaTranslator/files/lang/ja.json | 3 +- LunaTranslator/files/lang/ko.json | 3 +- LunaTranslator/files/lang/nl.json | 3 +- LunaTranslator/files/lang/pl.json | 3 +- LunaTranslator/files/lang/pt.json | 3 +- LunaTranslator/files/lang/ru.json | 3 +- LunaTranslator/files/lang/sv.json | 3 +- LunaTranslator/files/lang/th.json | 3 +- LunaTranslator/files/lang/tr.json | 3 +- LunaTranslator/files/lang/uk.json | 3 +- LunaTranslator/files/lang/vi.json | 3 +- LunaTranslator/files/lang/zh.json | 3 +- plugins/CMakeLists.txt | 2 +- 25 files changed, 103 insertions(+), 106 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_ui.py b/LunaTranslator/LunaTranslator/gui/setting_display_ui.py index bce0ad88..9ae392de 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_display_ui.py +++ b/LunaTranslator/LunaTranslator/gui/setting_display_ui.py @@ -432,15 +432,24 @@ def mainuisetting(self): name="keepontopbutton", ), "", + "", + "", + "", + "", + ], + [ "自动调整高度", D_getsimpleswitch(globalconfig, "adaptive_height"), "", + ], + [ "任务栏中显示", D_getsimpleswitch( globalconfig, "showintab", callback=lambda _: gobject.baseobject.setshowintab(), ), + "", ], [ "鼠标穿透窗口", @@ -452,6 +461,10 @@ def mainuisetting(self): name="mousetransbutton", ), "", + "增强效果", + D_getsimpleswitch(globalconfig, "mousetransparent_ex"), + ], + [ "自动隐藏窗口", D_getsimpleswitch(globalconfig, "autodisappear"), "", diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index de4c881c..5f7751d1 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -29,7 +29,7 @@ from gui.setting_about import doupdate from gui.dialog_memory import dialog_memory from gui.textbrowser import Textbrowser from gui.rangeselect import rangeselct_function -from gui.usefulwidget import resizableframeless, isinrect, getQMessageBox, LIconLabel +from gui.usefulwidget import resizableframeless, getQMessageBox, LIconLabel from gui.edittext import edittrans from gui.dialog_savedgame import browserdialog, dialog_savedgame_integrated from gui.dynalang import LDialog @@ -993,15 +993,15 @@ class QUnFrameWindow(resizableframeless): hwnd = int(self.winid) while globalconfig["mousetransparent"]: cursor_pos = self.mapFromGlobal(QCursor.pos()) - if isinrect( - cursor_pos, - [ - self.titlebar.x(), - self.titlebar.x() + self.titlebar.width(), - self.titlebar.y(), - self.titlebar.y() + self.titlebar.height(), - ], + usegeo = self.titlebar.geometry() + btn: QWidget = self.titlebar.buttons["mousetransbutton"] + if ( + globalconfig["mousetransparent_ex"] + and (not btn.isVisible()) + and (btn.reflayout is not None) ): + usegeo = btn.geometry() + if usegeo.contains(cursor_pos): windows.SetWindowLong( hwnd, @@ -1127,7 +1127,6 @@ class QUnFrameWindow(resizableframeless): self.set_color_transparency() def checkisentered(self): - onlychecktitle = globalconfig["mousetransparent"] hwnd = windows.GetForegroundWindow() hwndpid = windows.GetWindowThreadProcessId(hwnd) ismyprocbutnotmainuiforeground = hwndpid == os.getpid() and hwnd != int( @@ -1135,11 +1134,20 @@ class QUnFrameWindow(resizableframeless): ) onlychecktitle = ( globalconfig["toolviswhenenter"] - or onlychecktitle + or globalconfig["mousetransparent"] or ismyprocbutnotmainuiforeground ) if onlychecktitle: - return self.titlebar.geometry().contains(self.mapFromGlobal(QCursor.pos())) + usegeo = self.titlebar.geometry() + btn: QWidget = self.titlebar.buttons["mousetransbutton"] + if ( + globalconfig["mousetransparent"] + and globalconfig["mousetransparent_ex"] + and (not btn.isVisible()) + and (btn.reflayout is not None) + ): + usegeo = btn.geometry() + return usegeo.contains(self.mapFromGlobal(QCursor.pos())) else: return self.geometry().contains(QCursor.pos()) diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index 26419eb6..cb7a046e 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -320,12 +320,6 @@ def getQMessageBox( cancelcallback() -def isinrect(pos, rect): - x, y = pos.x(), pos.y() - x1, x2, y1, y2 = rect - return x >= x1 and x <= x2 and y <= y2 and y >= y1 - - def makerect(_): x, y, w, h = _ return [x, x + w, y, y + h] @@ -651,58 +645,18 @@ class resizableframeless(saveposwindow): self._corner_drag_youshang = False def resizeEvent(self, e): - + pad = self._padding + w = self.width() + h = self.height() if self._move_drag == False: - self._right_rect = [ - self.width() - self._padding, - self.width() + self._padding, - self._padding, - self.height() - self._padding, - ] - self._left_rect = [ - -self._padding, - self._padding, - self._padding, - self.height() - self._padding, - ] - self._bottom_rect = [ - self._padding, - self.width() - self._padding, - self.height() - self._padding, - self.height() + self._padding, - ] - self._top_rect = [ - self._padding, - self.width() - self._padding, - -self._padding, - self._padding, - ] - self._corner_youxia = [ - self.width() - self._padding, - self.width() + self._padding, - self.height() - self._padding, - self.height() + self._padding, - ] - self._corner_zuoxia = [ - -self._padding, - self._padding, - self.height() - self._padding, - self.height() + self._padding, - ] - - self._corner_youshang = [ - self.width() - self._padding, - self.width() + self._padding, - -self._padding, - self._padding, - ] - - self._corner_zuoshang = [ - -self._padding, - self._padding, - -self._padding, - self._padding, - ] + self._right_rect = QRect(w - pad, pad, 2 * pad, h) + self._left_rect = QRect(-pad, pad, 2 * pad, h) + self._bottom_rect = QRect(pad, h - pad, w, 2 * pad) + self._top_rect = QRect(pad, -pad, w, 2 * pad) + self._corner_youxia = QRect(w - pad, h - pad, 2 * pad, 2 * pad) + self._corner_zuoxia = QRect(-pad, h - pad, 2 * pad, 2 * pad) + self._corner_youshang = QRect(w - pad, -pad, 2 * pad, 2 * pad) + self._corner_zuoshang = QRect(-pad, -pad, 2 * pad, 2 * pad) super().resizeEvent(e) def mousePressEvent(self, event: QMouseEvent): @@ -714,21 +668,22 @@ class resizableframeless(saveposwindow): self.startx = gpos.x() self.starth = self.height() self.startw = self.width() - if isinrect(event.pos(), self._corner_youxia): + pos = event.pos() + if self._corner_youxia.contains(pos): self._corner_drag_youxia = True - elif isinrect(event.pos(), self._right_rect): + elif self._right_rect.contains(pos): self._right_drag = True - elif isinrect(event.pos(), self._left_rect): + elif self._left_rect.contains(pos): self._left_drag = True - elif isinrect(event.pos(), self._top_rect): + elif self._top_rect.contains(pos): self._top_drag = True - elif isinrect(event.pos(), self._bottom_rect): + elif self._bottom_rect.contains(pos): self._bottom_drag = True - elif isinrect(event.pos(), self._corner_zuoxia): + elif self._corner_zuoxia.contains(pos): self._corner_drag_zuoxia = True - elif isinrect(event.pos(), self._corner_youshang): + elif self._corner_youshang.contains(pos): self._corner_drag_youshang = True - elif isinrect(event.pos(), self._corner_zuoshang): + elif self._corner_zuoshang.contains(pos): self._corner_drag_zuoshang = True else: self._move_drag = True @@ -742,21 +697,21 @@ class resizableframeless(saveposwindow): pos = event.pos() gpos = QCursor.pos() - if isinrect(pos, self._corner_youxia): + if self._corner_youxia.contains(pos): self.setCursor(Qt.CursorShape.SizeFDiagCursor) - elif isinrect(pos, self._corner_zuoshang): + elif self._corner_zuoshang.contains(pos): self.setCursor(Qt.CursorShape.SizeFDiagCursor) - elif isinrect(pos, self._corner_zuoxia): + elif self._corner_zuoxia.contains(pos): self.setCursor(Qt.CursorShape.SizeBDiagCursor) - elif isinrect(pos, self._corner_youshang): + elif self._corner_youshang.contains(pos): self.setCursor(Qt.CursorShape.SizeBDiagCursor) - elif isinrect(pos, self._bottom_rect): + elif self._bottom_rect.contains(pos): self.setCursor(Qt.CursorShape.SizeVerCursor) - elif isinrect(pos, self._top_rect): + elif self._top_rect.contains(pos): self.setCursor(Qt.CursorShape.SizeVerCursor) - elif isinrect(pos, self._right_rect): + elif self._right_rect.contains(pos): self.setCursor(Qt.CursorShape.SizeHorCursor) - elif isinrect(pos, self._left_rect): + elif self._left_rect.contains(pos): self.setCursor(Qt.CursorShape.SizeHorCursor) else: self.setCursor(Qt.CursorShape.ArrowCursor) diff --git a/LunaTranslator/files/defaultconfig/config.json b/LunaTranslator/files/defaultconfig/config.json index ba276ff4..d8a93a93 100644 --- a/LunaTranslator/files/defaultconfig/config.json +++ b/LunaTranslator/files/defaultconfig/config.json @@ -838,6 +838,7 @@ }, "disappear_delay_tool": 1, "mousetransparent": false, + "mousetransparent_ex": false, "adaptive_height": true, "backtransparent": false, "showtranexception": true, diff --git a/LunaTranslator/files/lang/ar.json b/LunaTranslator/files/lang/ar.json index 5dbcb8cc..a3788099 100644 --- a/LunaTranslator/files/lang/ar.json +++ b/LunaTranslator/files/lang/ar.json @@ -853,5 +853,6 @@ "字符串替换": "سلسلة استبدال", "转义": "هروب", "游戏已存在,是否重复添加?": "اللعبة موجودة بالفعل ، هل تريد تكرار ذلك ؟", - "点击消息后退出并开始更新": "انقر على رسالة الخروج والبدء في تحديث" + "点击消息后退出并开始更新": "انقر على رسالة الخروج والبدء في تحديث", + "增强效果": "تعزيز تأثير" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/cht.json b/LunaTranslator/files/lang/cht.json index db00429c..1a7db9f4 100644 --- a/LunaTranslator/files/lang/cht.json +++ b/LunaTranslator/files/lang/cht.json @@ -853,5 +853,6 @@ "字符串替换": "字串取代", "转义": "跳脫", "游戏已存在,是否重复添加?": "遊戲已存在,是否重複新增?", - "点击消息后退出并开始更新": "點擊消息後退出並開始更新" + "点击消息后退出并开始更新": "點擊消息後退出並開始更新", + "增强效果": "增强效果" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/cs.json b/LunaTranslator/files/lang/cs.json index d1e72252..d78bac9a 100644 --- a/LunaTranslator/files/lang/cs.json +++ b/LunaTranslator/files/lang/cs.json @@ -853,5 +853,6 @@ "字符串替换": "Náhrada řetězce", "转义": "Útěk", "游戏已存在,是否重复添加?": "Hra již existuje, chtěli byste ji znovu přidat?", - "点击消息后退出并开始更新": "Klikněte na zprávu pro ukončení a spuštění aktualizace" + "点击消息后退出并开始更新": "Klikněte na zprávu pro ukončení a spuštění aktualizace", + "增强效果": "Zvýšený efekt" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/de.json b/LunaTranslator/files/lang/de.json index 9ec6e997..de9edffc 100644 --- a/LunaTranslator/files/lang/de.json +++ b/LunaTranslator/files/lang/de.json @@ -853,5 +853,6 @@ "字符串替换": "Zeichenfolgenersatz", "转义": "Flucht", "游戏已存在,是否重复添加?": "Das Spiel existiert bereits, möchtest du es noch einmal hinzufügen?", - "点击消息后退出并开始更新": "Klicken Sie auf die Nachricht, um zu beenden und mit der Aktualisierung zu beginnen" + "点击消息后退出并开始更新": "Klicken Sie auf die Nachricht, um zu beenden und mit der Aktualisierung zu beginnen", + "增强效果": "Verstärkte Wirkung" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/en.json b/LunaTranslator/files/lang/en.json index 1748d57f..1f403e7b 100644 --- a/LunaTranslator/files/lang/en.json +++ b/LunaTranslator/files/lang/en.json @@ -853,5 +853,6 @@ "字符串替换": "String replacement", "转义": "Escaping", "游戏已存在,是否重复添加?": "The game already exists, would you like to add it again?", - "点击消息后退出并开始更新": "Click on the message to exit and start updating" + "点击消息后退出并开始更新": "Click on the message to exit and start updating", + "增强效果": "Enhanced effect" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/es.json b/LunaTranslator/files/lang/es.json index 5f4a5784..2ec11c7b 100644 --- a/LunaTranslator/files/lang/es.json +++ b/LunaTranslator/files/lang/es.json @@ -853,5 +853,6 @@ "字符串替换": "Reemplazo de cadenas", "转义": "Transliteración", "游戏已存在,是否重复添加?": "¿El juego ya existe, ¿ se repite la adición?", - "点击消息后退出并开始更新": "Haga clic en el mensaje para salir y comenzar la actualización" + "点击消息后退出并开始更新": "Haga clic en el mensaje para salir y comenzar la actualización", + "增强效果": "Mejorar el efecto" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/fr.json b/LunaTranslator/files/lang/fr.json index 897db346..61ed0e53 100644 --- a/LunaTranslator/files/lang/fr.json +++ b/LunaTranslator/files/lang/fr.json @@ -853,5 +853,6 @@ "字符串替换": "Remplacement de chaîne", "转义": "échappement", "游戏已存在,是否重复添加?": "Le jeu existe déjà, y a - t - il des ajouts répétés?", - "点击消息后退出并开始更新": "Quitter et commencer la mise à jour après avoir cliqué sur le message" + "点击消息后退出并开始更新": "Quitter et commencer la mise à jour après avoir cliqué sur le message", + "增强效果": "Effet amélioré" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/it.json b/LunaTranslator/files/lang/it.json index 42eb73c7..bf92a685 100644 --- a/LunaTranslator/files/lang/it.json +++ b/LunaTranslator/files/lang/it.json @@ -853,5 +853,6 @@ "字符串替换": "Sostituzione stringa", "转义": "Scappare", "游戏已存在,是否重复添加?": "Il gioco esiste già, vuoi aggiungerlo di nuovo?", - "点击消息后退出并开始更新": "Clicca sul messaggio per uscire e iniziare l'aggiornamento" + "点击消息后退出并开始更新": "Clicca sul messaggio per uscire e iniziare l'aggiornamento", + "增强效果": "Effetto potenziato" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ja.json b/LunaTranslator/files/lang/ja.json index 593b1e72..4b8b6088 100644 --- a/LunaTranslator/files/lang/ja.json +++ b/LunaTranslator/files/lang/ja.json @@ -853,5 +853,6 @@ "字符串替换": "文字列置換", "转义": "エスケープ", "游戏已存在,是否重复添加?": "ゲームは既に存在します。追加を繰り返しますか?", - "点击消息后退出并开始更新": "メッセージをクリックして終了し、更新を開始" + "点击消息后退出并开始更新": "メッセージをクリックして終了し、更新を開始", + "增强效果": "きょうかこうか" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ko.json b/LunaTranslator/files/lang/ko.json index 62b23f42..7926832d 100644 --- a/LunaTranslator/files/lang/ko.json +++ b/LunaTranslator/files/lang/ko.json @@ -853,5 +853,6 @@ "字符串替换": "문자열 대체", "转义": "전의", "游戏已存在,是否重复添加?": "게임이 이미 존재합니다. 다시 추가하시겠습니까?", - "点击消息后退出并开始更新": "메시지 클릭 후 종료 및 업데이트 시작" + "点击消息后退出并开始更新": "메시지 클릭 후 종료 및 업데이트 시작", + "增强效果": "향상된 효과" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/nl.json b/LunaTranslator/files/lang/nl.json index e4da7ba7..ac905039 100644 --- a/LunaTranslator/files/lang/nl.json +++ b/LunaTranslator/files/lang/nl.json @@ -853,5 +853,6 @@ "字符串替换": "Vervanging van tekenreeks", "转义": "Ontsnappen", "游戏已存在,是否重复添加?": "Het spel bestaat al, wil je het opnieuw toevoegen?", - "点击消息后退出并开始更新": "Klik op het bericht om te sluiten en te beginnen met updaten" + "点击消息后退出并开始更新": "Klik op het bericht om te sluiten en te beginnen met updaten", + "增强效果": "Verbeterd effect" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/pl.json b/LunaTranslator/files/lang/pl.json index 44c8e14a..6fd20483 100644 --- a/LunaTranslator/files/lang/pl.json +++ b/LunaTranslator/files/lang/pl.json @@ -853,5 +853,6 @@ "字符串替换": "Zastąpienie ciągu", "转义": "Ucieczka", "游戏已存在,是否重复添加?": "Gra już istnieje, chcesz dodać ją ponownie?", - "点击消息后退出并开始更新": "Kliknij na wiadomość, aby wyjść i rozpocząć aktualizację" + "点击消息后退出并开始更新": "Kliknij na wiadomość, aby wyjść i rozpocząć aktualizację", + "增强效果": "Wzmocniony efekt" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/pt.json b/LunaTranslator/files/lang/pt.json index 09b78eb3..8dc53387 100644 --- a/LunaTranslator/files/lang/pt.json +++ b/LunaTranslator/files/lang/pt.json @@ -853,5 +853,6 @@ "字符串替换": "Substituição de strings", "转义": "Escapar", "游戏已存在,是否重复添加?": "O jogo já existe, você gostaria de adicioná-lo novamente?", - "点击消息后退出并开始更新": "Clique na mensagem para sair e iniciar a atualização" + "点击消息后退出并开始更新": "Clique na mensagem para sair e iniciar a atualização", + "增强效果": "Efeito melhorado" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ru.json b/LunaTranslator/files/lang/ru.json index a8d292e4..f1fcfab3 100644 --- a/LunaTranslator/files/lang/ru.json +++ b/LunaTranslator/files/lang/ru.json @@ -853,5 +853,6 @@ "字符串替换": "Замена строки", "转义": "Транслитерация", "游戏已存在,是否重复添加?": "Игра уже существует, добавляется ли повторно?", - "点击消息后退出并开始更新": "Выйти после нажатия на сообщение и начать обновление" + "点击消息后退出并开始更新": "Выйти после нажатия на сообщение и начать обновление", + "增强效果": "Усиление эффекта" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/sv.json b/LunaTranslator/files/lang/sv.json index d4960e6d..8f3fb2c6 100644 --- a/LunaTranslator/files/lang/sv.json +++ b/LunaTranslator/files/lang/sv.json @@ -853,5 +853,6 @@ "字符串替换": "Strängersättning", "转义": "Flykt", "游戏已存在,是否重复添加?": "Spelet finns redan, vill du lägga till det igen?", - "点击消息后退出并开始更新": "Klicka på meddelandet för att avsluta och börja uppdatera" + "点击消息后退出并开始更新": "Klicka på meddelandet för att avsluta och börja uppdatera", + "增强效果": "Förbättrad effekt" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/th.json b/LunaTranslator/files/lang/th.json index 6bfe24aa..13eb6c36 100644 --- a/LunaTranslator/files/lang/th.json +++ b/LunaTranslator/files/lang/th.json @@ -853,5 +853,6 @@ "字符串替换": "การแทนที่สตริง", "转义": "แปลความหมาย", "游戏已存在,是否重复添加?": "มีเกมอยู่แล้วคุณต้องการเพิ่มซ้ำหรือไม่?", - "点击消息后退出并开始更新": "ออกจากข้อความและเริ่มต้นการปรับปรุง" + "点击消息后退出并开始更新": "ออกจากข้อความและเริ่มต้นการปรับปรุง", + "增强效果": "เพิ่มประสิทธิภาพ" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/tr.json b/LunaTranslator/files/lang/tr.json index d0b97c60..556f4c86 100644 --- a/LunaTranslator/files/lang/tr.json +++ b/LunaTranslator/files/lang/tr.json @@ -853,5 +853,6 @@ "字符串替换": "String Replacement", "转义": "Kaçmak", "游戏已存在,是否重复添加?": "Oyun zaten var, tekrar eklemek ister misiniz?", - "点击消息后退出并开始更新": "Çıkmak ve güncellenmeye başlamak için mesajı tıklayın" + "点击消息后退出并开始更新": "Çıkmak ve güncellenmeye başlamak için mesajı tıklayın", + "增强效果": "Yükselmiş etki" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/uk.json b/LunaTranslator/files/lang/uk.json index ea05cb43..8c1d583e 100644 --- a/LunaTranslator/files/lang/uk.json +++ b/LunaTranslator/files/lang/uk.json @@ -853,5 +853,6 @@ "字符串替换": "Заміна рядків", "转义": "Бег", "游戏已存在,是否重复添加?": "Гра вже існує, бажаєте додати її знову?", - "点击消息后退出并开始更新": "Натисніть повідомлення для виходу і запуску оновлення" + "点击消息后退出并开始更新": "Натисніть повідомлення для виходу і запуску оновлення", + "增强效果": "Покращений ефект" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/vi.json b/LunaTranslator/files/lang/vi.json index 66e8089f..e532ddab 100644 --- a/LunaTranslator/files/lang/vi.json +++ b/LunaTranslator/files/lang/vi.json @@ -853,5 +853,6 @@ "字符串替换": "Thay thế chuỗi", "转义": "Thoát", "游戏已存在,是否重复添加?": "Trò chơi đã tồn tại, có được thêm nhiều lần không?", - "点击消息后退出并开始更新": "Thoát sau khi nhấp vào tin nhắn và bắt đầu cập nhật" + "点击消息后退出并开始更新": "Thoát sau khi nhấp vào tin nhắn và bắt đầu cập nhật", + "增强效果": "Hiệu ứng nâng cao" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/zh.json b/LunaTranslator/files/lang/zh.json index dc6ee9d8..7fc21738 100644 --- a/LunaTranslator/files/lang/zh.json +++ b/LunaTranslator/files/lang/zh.json @@ -853,5 +853,6 @@ "字符串替换": "", "转义": "", "游戏已存在,是否重复添加?": "", - "点击消息后退出并开始更新": "" + "点击消息后退出并开始更新": "", + "增强效果": "" } \ No newline at end of file diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 51fe7beb..0902cdee 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 23) -set(VERSION_PATCH 7) +set(VERSION_PATCH 8) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)