diff options
author | Danilo Šegan <danilo@canonical.com> | 2009-12-19 11:42:04 +0100 |
---|---|---|
committer | Danilo Šegan <danilo@canonical.com> | 2009-12-19 11:42:04 +0100 |
commit | 7c7fa65f9682e6e56ae9b26f73d4abfb880f740e (patch) | |
tree | 0a9232a154d5c35deb654acff437116bc01996ef /intltool-update.in | |
parent | 20e5ae7fdfbb45fa39038a3ce308136710b48400 (diff) | |
download | intltool-7c7fa65f9682e6e56ae9b26f73d4abfb880f740e.tar.gz |
Improve regular expression for detecting whether a file contains different gettext calls: don't detect anything that is not known to be one.
Diffstat (limited to 'intltool-update.in')
-rw-r--r-- | intltool-update.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intltool-update.in b/intltool-update.in index af8982e..7488773 100644 --- a/intltool-update.in +++ b/intltool-update.in @@ -501,7 +501,7 @@ sub FindLeftoutFiles } ## C_ N_ NC_ Q_ and _ are the macros defined in gi8n.h - if (/(NC|[CNQ]?)_ *\(QUOTEDTEXT/) + if (/(NC_|[NCQ]_|[^_]_|$_) *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline |