intltool-extract hardcode " for glade attributes

Bug #1027631 reported by Christophe Fergeau
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
intltool
New
Undecided
Unassigned

Bug Description

If a glade file uses translatable='yes' to mark something as translatable, intltool-extract won't find this string while translatable="yes" will work.
type_glade() does:
 while ($input =~ /<(\w+)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*context\s*=\s*"([^"]*)")?(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) {
ie "yes" is hardcoded and 'yes' is not accepted. The 'parsing' of the context and comments attributes have the same issue.

Revision history for this message
Christophe Fergeau (teuf-gnome) wrote :

So this bug is
- older than #1034153
- has more details that #1034153.
yet it's marked as a duplicate of #1034153 ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.