Skip to content

Commit

Permalink
Fix "wmllint: no translatables" magic comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ProditorMagnus authored and Elvish-Hunter committed Nov 19, 2019
1 parent 20753a8 commit c4e3915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/wmllint
Expand Up @@ -2203,7 +2203,7 @@ def global_sanity_check(filename, lines):
for num, line in enumerate(lines, start=1):
if "#textdomain" in line:
textdomains.append(num)
elif "wmllint: no translatables":
elif "wmllint: no translatables" in line:
no_text = True
if not no_text:
if not textdomains:
Expand Down

0 comments on commit c4e3915

Please sign in to comment.