wmllint: added base_names and help_text to the list of translatable keys
This commit is contained in:
parent
d3516a1d35
commit
33e03a5b8b
1 changed files with 8 additions and 8 deletions
|
@ -1002,16 +1002,16 @@ scenario_to_filename = {}
|
|||
# Attributes that should have translation marks
|
||||
def is_translatable(key):
|
||||
translatables = (
|
||||
"abbrev", "cannot_use_message", "caption", "current_player",
|
||||
"abbrev", "base_names", "cannot_use_message", "caption", "current_player",
|
||||
"currently_doing_description", "description", "description_inactive",
|
||||
"editor_name", "end_text", "difficulty_descriptions", "female_message",
|
||||
"female_name_inactive", "female_names", "female_text", "help_topic_text",
|
||||
"label", "male_message", "male_names", "male_text", "message", "name",
|
||||
"name_inactive", "new_game_title", "note", "option_description",
|
||||
"option_name", "order", "plural_name", "prefix", "set_description",
|
||||
"source", "story", "summary", "victory_string", "defeat_string",
|
||||
"gold_carryover_string", "notes_string", "text", "title", "title2",
|
||||
"tooltip", "translator_comment", "user_team_name"
|
||||
"female_name_inactive", "female_names", "female_text", "help_text",
|
||||
"help_topic_text", "label", "male_message", "male_names", "male_text",
|
||||
"message", "name", "name_inactive", "new_game_title", "note",
|
||||
"option_description", "option_name", "order", "plural_name", "prefix",
|
||||
"set_description", "source", "story", "summary", "victory_string",
|
||||
"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_"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue