Skip to content

Commit

Permalink
翻译文本
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Dec 31, 2024
1 parent 22e553d commit 7f12faa
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
14 changes: 13 additions & 1 deletion src/main/resources/lang/en_us/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,4 +545,16 @@ SQLITE_VACUUM_BACKUP_COMPLETED: "SQLite database file backup completed, preparin
SQLITE_VACUUM_BACKUP_FAILED: "SQLite database file backup failed, unable to perform vacuum operation. This may be due to insufficient disk space, IO errors, or insufficient permissions. Please check the error message."
SQLITE_VACUUM_IN_PROGRESS: "Vacuuming SQLite database in progress, do not close PeerBanHelper as it may cause database corruption! [In Progress]...."
SQLITE_VACUUM_SUCCESS: "SQLite database vacuumed successfully, original file size: {} vacuumed file size: {}"
MODULE_PTR_MATCH_PTR_RULE: "Match PTR rule: {}"
MODULE_PTR_MATCH_PTR_RULE: "Match PTR rule: {}"

MATCH_CONDITION_PORT_MATCH: "Port Match"
MATCH_CONDITION_BOOLEAN: "Boolean"
MATCH_CONDITION_BOOLEAN_BY_INTEGER: "Boolean (by Integer)"
MATCH_CONDITION_BOOLEAN_BY_STRING: "Boolean (by String)"
MATCH_STRING_CONTAINS: "String Contains: {}"
MATCH_STRING_ENDS_WITH: "String EndsWith: {}"
MATCH_STRING_EQUALS: "String Equals: {}"
MATCH_STRING_LENGTH: "String Length: {}"
MATCH_STRING_REGEX: "String Regex: {}"
MODULE_IBL_COMMENT_UNKNOWN: "Not Provided"
JSON_MATCHER_NOT_MET: "Condition not meet: {} on {}"
2 changes: 1 addition & 1 deletion src/main/resources/lang/messages_fallback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ MATCH_CONDITION_BOOLEAN_BY_INTEGER: "布尔值 (整数转换)"
MATCH_CONDITION_BOOLEAN_BY_STRING: "布尔值 (字符串转换)"
MATCH_STRING_CONTAINS: "字符串包含: {}"
MATCH_STRING_ENDS_WITH: "字符串结尾: {}"
MATCH_STRING_EQUALS: "字符串结尾: {}"
MATCH_STRING_EQUALS: "字符串匹配: {}"
MATCH_STRING_LENGTH: "字符串长度: {}"
MATCH_STRING_REGEX: "字符串正则表达式: {}"
MODULE_IBL_COMMENT_UNKNOWN: "未提供"
Expand Down
14 changes: 13 additions & 1 deletion src/main/resources/lang/zh_cn/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -542,4 +542,16 @@ SQLITE_VACUUM_BACKUP_COMPLETED: "SQLite 数据库文件备份完成,准备进
SQLITE_VACUUM_BACKUP_FAILED: "SQLite 数据库文件备份失败,无法进行真空操作,这可能是由于磁盘空间不足,IO 错误或者权限不足导致的,请检查错误信息。"
SQLITE_VACUUM_IN_PROGRESS: "正在对 SQLite 数据库进行真空操作,请勿关闭 PeerBanHelper 否则将可能导致数据库损坏! 【进行中】...."
SQLITE_VACUUM_SUCCESS: "SQLite 数据库已成功真空,原文件大小: {} 真空后文件大小: {}"
MODULE_PTR_MATCH_PTR_RULE: "匹配 PTR 规则: {}"
MODULE_PTR_MATCH_PTR_RULE: "匹配 PTR 规则: {}"

MATCH_CONDITION_PORT_MATCH: "端口匹配"
MATCH_CONDITION_BOOLEAN: "布尔值"
MATCH_CONDITION_BOOLEAN_BY_INTEGER: "布尔值 (整数转换)"
MATCH_CONDITION_BOOLEAN_BY_STRING: "布尔值 (字符串转换)"
MATCH_STRING_CONTAINS: "字符串包含: {}"
MATCH_STRING_ENDS_WITH: "字符串结尾: {}"
MATCH_STRING_EQUALS: "字符串匹配: {}"
MATCH_STRING_LENGTH: "字符串长度: {}"
MATCH_STRING_REGEX: "字符串正则表达式: {}"
MODULE_IBL_COMMENT_UNKNOWN: "未提供"
JSON_MATCHER_NOT_MET: "表达式未满足: {} 于 {} 上"

0 comments on commit 7f12faa

Please sign in to comment.