Skip to content

Commit

Permalink
ci: update front i18n checker
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyzyykk committed Feb 27, 2025
1 parent c09dfb8 commit 8ae2b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/front_i18n_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def process_file_line_by_line(file_path, translation_keys):
issues = []

# Match $t(...) and i18n.global.t(...)
wrapped_pattern = re.compile(r"(?:\$t|i18n\.global\.t)\(['\"]([^'\"]*?)['\"]\)")
wrapped_pattern = re.compile(r"(?:\$t|i18n\.global\.t|i18n\.global\.k)\(['\"]([^'\"]*?)['\"]\)")
# Match Chinese
chinese_pattern = re.compile(r"[\u4e00-\u9fff]")
# Match comments
Expand Down

0 comments on commit 8ae2b12

Please sign in to comment.