Skip to content

Commit

Permalink
Close #106: Thanks @byezero! (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mctalian authored Sep 12, 2024
1 parent a5fc948 commit 55a64c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .scripts/missing_translation_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def compare_translations(reference_dict, target_dict, locale):
def main():
locale_dir = "locale"
output_directory = ".scripts/.output"
ignored_files = ["main.lua"]

# Create output_directory if it doesn't exist
if not os.path.exists(output_directory):
Expand All @@ -113,6 +114,8 @@ def main():

# Compare each locale with the reference
for locale_file in locale_files:
if locale_file in ignored_files:
continue
if locale_file != reference_file:
target_dict = load_lua_file(f"{locale_dir}/{locale_file}")
markdown_report, extra_keys = compare_translations(
Expand Down
2 changes: 2 additions & 0 deletions locale/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,5 @@ L["UIParent"] = true
L["PlayerFrame"] = "玩家框架"
L["Minimap"] = "小地图"
L["BagBar"] = "背包栏"
L["Disable Row Highlight"] = "禁用行高亮"
L["DisableRowHighlightDesc"] = "如果选中,当你再次拾取相同的物品并且数量更新时,不再高亮显示该行。"

0 comments on commit 55a64c4

Please sign in to comment.