Fix "wmllint: no translatables" magic comment
This commit is contained in:
parent
20753a8fd1
commit
c4e39152cf
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue