diff --git a/data/tools/wmllint b/data/tools/wmllint index da962de4152..d7682de0bbe 100755 --- a/data/tools/wmllint +++ b/data/tools/wmllint @@ -2043,7 +2043,7 @@ def global_sanity_check(filename, lines): if markcheck and not value.startswith("$") and not value.startswith("{") and not re.match(" +", value) and not has_tr_mark and '""' not in line and not ("wmllint: ignore" in comment or "wmllint: noconvert" in comment): print('"%s", line %d: %s needs translation mark' \ % (filename, i+1, key)) - lines[i] = lines[i].replace('=', "=_ ") + lines[i] = lines[i].replace('=', "=_ ", 1) nv = sentence_end.sub(" ", value) if nv != value: print('"%s", line %d: double space after sentence end' \