From c4e39152cf1796748cdb6166b38713af09e14b6e Mon Sep 17 00:00:00 2001 From: Toom Date: Tue, 19 Nov 2019 18:17:26 +0200 Subject: [PATCH] Fix "wmllint: no translatables" magic comment --- data/tools/wmllint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tools/wmllint b/data/tools/wmllint index a9e7d0318ec2..a404e2cf0667 100755 --- a/data/tools/wmllint +++ b/data/tools/wmllint @@ -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: