Refactor: Translate remaining English logs and comments to Chinese

This commit is contained in:
SXP-Simon
2026-02-08 21:44:31 +08:00
parent ba1bcfd80a
commit d0ffc739b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ class ConfigManager:
default_path = data_path / "plugin_data" / plugin_name / "reports"
return self.config.get("pdf_output_dir", str(default_path))
except Exception:
# Fallback for older versions or import errors
# 针对旧版本或导入错误的后备方案
return self.config.get(
"pdf_output_dir",
"data/plugins/astrbot_plugin_qq_group_daily_analysis/reports",
+1 -1
View File
@@ -50,7 +50,7 @@ class PlatformAdapterFactory:
except Exception:
# 记录异常,但不崩溃
import logging
logging.getLogger(__name__).error(f"Error creating adapter for {platform_name}", exc_info=True)
logging.getLogger(__name__).error(f"{platform_name} 创建适配器时出错", exc_info=True)
return None
@classmethod