wmllint: added female_text to the translatable keys
Also removed a few wmllint directives that I placed to handle female_text.
This commit is contained in:
parent
2cd4298f7b
commit
2c5763216b
3 changed files with 7 additions and 11 deletions
|
@ -104,9 +104,7 @@
|
|||
variable=second_unit
|
||||
find_vacant=no
|
||||
text= _ "stunned"
|
||||
# wmllint: markcheck off
|
||||
female_text= _ "female^stunned"
|
||||
# wmllint: markcheck on
|
||||
red,green,blue=196,196,128
|
||||
[/unstore_unit]
|
||||
|
||||
|
|
|
@ -26,9 +26,7 @@
|
|||
variable=second_unit
|
||||
find_vacant=no
|
||||
text= _ "stunned"
|
||||
# wmllint: markcheck off
|
||||
female_text= _ "female^stunned"
|
||||
# wmllint: markcheck on
|
||||
red,green,blue=196,196,128
|
||||
[/unstore_unit]
|
||||
|
||||
|
|
|
@ -988,13 +988,13 @@ def is_translatable(key):
|
|||
"abbrev", "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", "help_topic_text", "label",
|
||||
"male_message", "male_names", "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_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