wmllint: Fix type_tree being considered translatable
This commit is contained in:
parent
f2de11b483
commit
6ebfa8b377
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ def is_translatable(key):
|
|||
"defeat_string", "gold_carryover_string", "notes_string", "text", "title",
|
||||
"title2", "tooltip", "translator_comment", "user_team_name"
|
||||
)
|
||||
return key in translatables or key.startswith(("type_", "range_"))
|
||||
return key in translatables or (key.startswith(("type_", "range_")) and key != "type_tree")
|
||||
|
||||
# This is a list of mainline campaigns, used to convert UMC from
|
||||
# "data/campaigns" to "data/add-ons" while not clobbering mainline.
|
||||
|
|
Loading…
Add table
Reference in a new issue