intltool r726 - trunk



Author: dobey
Date: Mon Feb 25 18:14:34 2008
New Revision: 726
URL: http://svn.gnome.org/viewvc/intltool?rev=726&view=rev

Log:
2008-02-25  Rodney Dawes  <dobey pwns gmail com>

	* intltool-extract.in.in (type_glade):
	Handle the col tag when extracting strings, for GTK+ ui files

	Fixes #517559



Modified:
   trunk/ChangeLog
   trunk/intltool-extract.in.in

Modified: trunk/intltool-extract.in.in
==============================================================================
--- trunk/intltool-extract.in.in	(original)
+++ trunk/intltool-extract.in.in	Mon Feb 25 18:14:34 2008
@@ -764,7 +764,7 @@
     }
 
     ## handle new glade files
-    while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) {
+    while ($input =~ /<(property|atkproperty|col)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) {
 	$messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/;
         if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) {
 	   $comments{entity_decode($3)} = entity_decode($2) ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]