Code

Translations. Adding no-pango-format flag to a string and check-markup fix for python...
[inkscape.git] / po / check-markup
index 459e7e2e7b6692019305d5f1f7a8ac0f7bd27355..eaf2cdf353bddafeb91ace8ec41a48299ccc978c 100755 (executable)
@@ -209,11 +209,10 @@ ENTRY: while(<>) {
        if (m{\n\#(?:,\ [-a-z0-9+])*,\ (no-)?pango-format[,\n]}) {
            $is_pango_format = ( defined($1) ? 0 : 2 );
        }
-       if (m{\n\#:\ \.\./share/extensions/[-a-zA-Z0-9_]+\.inx(?:\.h)?:}) {
+       if (m{\n\#:\ \.\./share/extensions/[-a-zA-Z0-9_]+\.(?:inx|py)(?:\.h)?:}) {
            $is_pango_format = 0;
        }
 
-
        if (m{\A
                ${com}*
                (?:msgctxt\ ${str}\s*\n)?