This commit is contained in:
Yukino_fox
2026-04-11 12:13:34 +08:00
26 changed files with 3160 additions and 696 deletions
+36 -4
View File
@@ -358,7 +358,7 @@
"leaderboard": "Leaderboard",
"settlements": "Settlements",
"reasons": "Reasons",
"autoScore": "Auto Score",
"autoScore": "Automation",
"rewardExchange": "Reward Exchange",
"rewardSettings": "Reward Settings",
"settings": "Settings",
@@ -758,7 +758,7 @@
"name": "Name"
},
"autoScore": {
"title": "Auto Score Management",
"title": "Automation Management",
"name": "Automation Name",
"namePlaceholder": "e.g. Daily Check-in Points",
"nameRequired": "Please enter automation name",
@@ -772,6 +772,7 @@
"addTrigger": "Add Rule",
"addAction": "Add Action",
"whenTriggered": "When the following rules trigger",
"triggerScheduleHint": "Note: whether a rule runs is still scheduled by the interval trigger. Tags, SQL, and AND / OR / NOT only decide which students are matched for that run.",
"triggeredActions": "Actions triggered when rules are met",
"addAutomation": "Add Automation",
"updateAutomation": "Update Automation",
@@ -785,6 +786,7 @@
"fetchFailed": "Failed to get automation",
"unsupportedLogic": "Saving currently supports AND-only conditions. OR / NOT logic is not wired to backend persistence yet",
"triggerRequired": "Please add at least one trigger",
"intervalTriggerRequired": "Please add at least one interval trigger, otherwise the rule will never run automatically",
"actionRequired": "Please add at least one action",
"createSuccess": "Automation created successfully",
"updateSuccess": "Automation updated successfully",
@@ -814,12 +816,38 @@
"tagNamesPlaceholder": "e.g. excellent_student,class_monitor",
"triggerIntervalTime": "Interval Time",
"triggerStudentTag": "Student Tag",
"triggerStudentScore": "Student Score",
"triggerStudentScoreGreater": "Student Score Greater Than",
"triggerStudentSql": "Custom SQL Condition",
"triggerStudentSqlPlaceholder": "Enter student SQL or a WHERE condition",
"actionAddScore": "Add Score",
"actionAddTag": "Add Tag",
"intervalAmountPlaceholder": "Enter interval amount",
"actionSettleScore": "Settle Score",
"actionSettleScoreHint": "No parameters required",
"cooldownMinutes": "Cooldown (minutes)",
"maxStudentsPerRun": "Max Students Per Run",
"maxRunsPerDay": "Max Runs Per Day",
"maxScoreDeltaPerDay": "Max Score Delta Per Day",
"filterGroups": "Filter by Group",
"filterGrades": "Filter by Grade",
"filterMinScore": "Min Current Score",
"filterMaxScore": "Max Current Score",
"filterRecentEventDays": "Recent Event Days",
"filterMinRecentEventCount": "Min Recent Event Count",
"batchLogs": "Execution Logs",
"batchId": "Batch",
"batchRollback": "Rollback",
"batchRolledBack": "Rolled Back",
"batchRollbackConfirm": "Confirm rollback this execution batch?",
"batchRollbackSuccess": "Batch rollback succeeded",
"batchRollbackFailed": "Batch rollback failed",
"intervalAmountPlaceholder": "Enter interval time",
"intervalUnitMonth": "month(s) later",
"intervalUnitDay": "day(s) later",
"intervalUnitMinute": "minute(s) later",
"intervalPartDay": "Days",
"intervalPartHour": "Hours",
"intervalPartMinute": "Minutes",
"minutesPlaceholder": "Enter minutes",
"minutes": "minutes",
"tagsPlaceholder": "Enter tag name",
@@ -827,7 +855,11 @@
"tagNamePlaceholder": "Enter tag name",
"reasonPlaceholder": "Enter reason",
"relationAnd": "AND",
"relationOr": "OR"
"relationOr": "OR",
"operatorContains": "Contains",
"relationNot": "Not",
"openFile": "Open File",
"openFileFailed": "Failed to open automation file"
},
"triggers": {
"studentTag": {
+40 -8
View File
@@ -358,7 +358,7 @@
"leaderboard": "排行榜",
"settlements": "结算历史",
"reasons": "理由管理",
"autoScore": "自动加分",
"autoScore": "自动",
"rewardExchange": "奖励兑换",
"rewardSettings": "奖励设置",
"settings": "系统设置",
@@ -758,7 +758,7 @@
"name": "姓名"
},
"autoScore": {
"title": "自动化加分管理",
"title": "自动化管理",
"name": "自动化名称",
"namePlaceholder": "例如:每日签到加分",
"nameRequired": "请输入自动化名称",
@@ -772,6 +772,7 @@
"addTrigger": "添加规则",
"addAction": "添加行动",
"whenTriggered": "当以下规则触发时",
"triggerScheduleHint": "提示:规则是否执行仍由“间隔时间”触发器决定,标签、SQL、AND / OR / NOT 仅用于筛选本次命中的学生。",
"triggeredActions": "满足规则时触发的行动",
"addAutomation": "添加自动化",
"updateAutomation": "更新自动化",
@@ -785,6 +786,7 @@
"fetchFailed": "获取自动化失败",
"unsupportedLogic": "当前版本保存规则时仅支持 AND 条件,OR / NOT 逻辑暂未接入后端存储",
"triggerRequired": "请至少添加一个触发器",
"intervalTriggerRequired": "请至少添加一个“间隔时间”触发器,否则规则不会自动执行",
"actionRequired": "请至少添加一个行动",
"createSuccess": "自动化创建成功",
"updateSuccess": "自动化更新成功",
@@ -812,20 +814,50 @@
"operationNoteLabel": "操作说明(可选)",
"triggerIntervalTime": "间隔时间",
"triggerStudentTag": "学生标签",
"triggerStudentScore": "学生分数",
"triggerStudentScoreGreater": "学生分数大于",
"triggerStudentSql": "自定义 SQL 条件",
"triggerStudentSqlPlaceholder": "输入筛选学生的 SQL 或 WHERE 条件",
"actionAddScore": "加分",
"actionAddTag": "添加标签",
"intervalAmountPlaceholder": "请输入间隔数量",
"intervalUnitMonth": "个月后",
"intervalUnitDay": "天后",
"intervalUnitMinute": "分钟后",
"actionSettleScore": "结算分数",
"actionSettleScoreHint": "无需参数",
"cooldownMinutes": "冷却时间(分钟)",
"maxStudentsPerRun": "单次最多学生数",
"maxRunsPerDay": "每日最多执行次数",
"maxScoreDeltaPerDay": "每日最多积分变动",
"filterGroups": "按分组筛选",
"filterGrades": "按年级筛选",
"filterMinScore": "最低当前积分",
"filterMaxScore": "最高当前积分",
"filterRecentEventDays": "最近事件天数",
"filterMinRecentEventCount": "最近事件最少次数",
"batchLogs": "执行日志",
"batchId": "批次",
"batchRollback": "回滚",
"batchRolledBack": "已回滚",
"batchRollbackConfirm": "确认回滚这个执行批次?",
"batchRollbackSuccess": "批次回滚成功",
"batchRollbackFailed": "批次回滚失败",
"intervalAmountPlaceholder": "请输入间隔时间",
"intervalUnitMonth": "个月",
"intervalUnitDay": "天",
"intervalUnitMinute": "分钟",
"intervalPartDay": "天",
"intervalPartHour": "小时",
"intervalPartMinute": "分钟",
"minutesPlaceholder": "请输入分钟数",
"minutes": "分钟",
"tagsPlaceholder": "请输入标签名称",
"scorePlaceholder": "请输入分数",
"tagNamePlaceholder": "请输入标签名称",
"reasonPlaceholder": "请输入理由",
"relationAnd": "且",
"relationOr": "或"
"relationAnd": "且",
"relationOr": "或",
"operatorContains": "包含",
"relationNot": "非",
"openFile": "打开文件",
"openFileFailed": "打开自动化文件失败"
},
"triggers": {
"studentTag": {