diff options
author | Robert Bruce Park <robru@gottengeography.ca> | 2012-08-07 16:10:10 -0500 |
---|---|---|
committer | Robert Bruce Park <robru@gottengeography.ca> | 2012-08-07 16:10:10 -0500 |
commit | c508b32832bb8939f3bb274c7eb0af04a18ba5dd (patch) | |
tree | ee2ae00c4b6da10a0cae7f186c6924d2f9cce4b1 | |
parent | a4c6775b120d48278dc10234c326878ab42a035b (diff) | |
download | intltool-c508b32832bb8939f3bb274c7eb0af04a18ba5dd.tar.gz |
Support translatable='yes' in glade XML
-rw-r--r-- | intltool-extract.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intltool-extract.in b/intltool-extract.in index 5afc292..60dea88 100644 --- a/intltool-extract.in +++ b/intltool-extract.in @@ -847,7 +847,7 @@ sub type_glade { } ## handle new glade files - while ($input =~ /<(\w+)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*context\s*=\s*"([^"]*)")?(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { + while ($input =~ /<(\w+)\s+[^>]*translatable\s*=\s*["']yes["'](?:\s+[^>]*context\s*=\s*"([^"]*)")?(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { if (!($4 =~ /^(window|label)[0-9]+$/)) { my $message = entity_decode($4); if (defined($2)) { |