diff -rupN intltool/intltool-extract.in intltool-new/intltool-extract.in --- intltool/intltool-extract.in 2014-12-04 23:21:52.084705000 +0000 +++ intltool-new/intltool-extract.in 2014-12-04 23:23:49.443446418 +0000 @@ -838,7 +838,7 @@ sub traverse_qtdesigner { my %attrs = %{ $attrs_ref }; if ($nodename eq 'string' and !exists $attrs{"notr"}) { # Preserve whitespace. Deal with it ourselves, below. - my $message = getXMLstring($content, 1); + my $message = entity_decode(getXMLstring($content, 1)); # We strip leading and trailing whitespace but # preserve whitespace within (e.g. newlines) diff -rupN intltool/tests/results/extract-qtdesigner.ui.h intltool-new/tests/results/extract-qtdesigner.ui.h --- intltool/tests/results/extract-qtdesigner.ui.h 2014-12-04 23:21:52.084705000 +0000 +++ intltool-new/tests/results/extract-qtdesigner.ui.h 2014-12-04 23:25:30.979446918 +0000 @@ -1,11 +1,11 @@ char *s = N_("Form"); /* TRANSLATORS: this is the main title of the authentication dialog */ char *s = N_("This is a translatable title"); -char *s = N_("<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">\n" - "<html><head><meta name="qrichtext" content="1" /><title>HTML document extraction test</title><style type="text/css">\n" +char *s = N_("\n" + "HTML document extraction test\n" + "

Once upon a time, in a galaxy far, far away...

"); /* TRANSLATORS: refers to the action of accepting something */ char *s = C_("Button", "O K"); char *s = C_("WelcomeDialog", "Don't show me this message in the future");