diff --git a/py/LunaTranslator/LunaTranslator.py b/py/LunaTranslator/LunaTranslator.py index 50def7b8..95242736 100644 --- a/py/LunaTranslator/LunaTranslator.py +++ b/py/LunaTranslator/LunaTranslator.py @@ -387,7 +387,9 @@ class MAINUI: maybehaspremt = {} skip_other_on_success = False fix_rank = globalconfig["fix_translate_rank_rank"].copy() - if "rengong" in self.translators: + if ("rengong" in self.translators) and ( + not (is_auto_run and globalconfig["rengong"]["premt"].get("manual", False)) + ): contentraw = self.analyzecontent(text_solved, optimization_params) try: res = self.translators["rengong"].translate(contentraw) @@ -399,7 +401,15 @@ class MAINUI: res and self.translators["rengong"].config["skip_other_on_success"] ) - if (not skip_other_on_success) and ("premt" in self.translators): + if ( + (not skip_other_on_success) + and ("premt" in self.translators) + and ( + not ( + is_auto_run and globalconfig["fanyi"]["premt"].get("manual", False) + ) + ) + ): contentraw = self.analyzecontent(text_solved, optimization_params) try: maybehaspremt = self.translators["premt"].translate(contentraw) diff --git a/py/files/yearsummary/yearsummary.html b/py/files/yearsummary/yearsummary.html index 637efe77..904432f0 100644 --- a/py/files/yearsummary/yearsummary.html +++ b/py/files/yearsummary/yearsummary.html @@ -13,7 +13,13 @@ .page { display: none; } + .vboxlayout{ + display: flex; flex-direction: column; + } + .hboxlayout{ + display: flex; flex-direction: row; + } .active { display: block; } @@ -44,7 +50,6 @@ .container { overflow: hide; - display: flex; padding: 10px; gap: 20px; height: 100%; @@ -64,16 +69,12 @@ .right-box { height: 100%; flex: 3; - display: flex; - flex-direction: column; gap: 20px; } /* Right Boxes (Detail boxes) */ .left-box { flex: 1; - display: flex; - flex-direction: column; gap: 20px; } @@ -131,9 +132,9 @@
-
+
-
+

今年你一共总玩了
个游戏

@@ -148,7 +149,7 @@
-
+
@@ -158,13 +159,15 @@
-
+
+

你所玩的游戏的标签

-
+
-
+
+

你所玩的游戏的开发商

-
+
Next