[Rt-commit] r17355 - rt/3.8/trunk/sbin

clkao at bestpractical.com clkao at bestpractical.com
Thu Dec 25 05:38:24 EST 2008


Author: clkao
Date: Thu Dec 25 05:38:24 2008
New Revision: 17355

Modified:
   rt/3.8/trunk/sbin/merge-rosetta.pl

Log:
deal with quoted strings properly.

Modified: rt/3.8/trunk/sbin/merge-rosetta.pl
==============================================================================
--- rt/3.8/trunk/sbin/merge-rosetta.pl	(original)
+++ rt/3.8/trunk/sbin/merge-rosetta.pl	Thu Dec 25 05:38:24 2008
@@ -43,7 +43,7 @@
     # don't want empty vales to override ours.
     # don't want fuzzy flag as when uploading to rosetta again it's not accepted by rosetta.
     foreach my $msgid ($ext->msgids) {
-        my $entry = $po_orig->{"\"$msgid\""} or next;
+        my $entry = $po_orig->{Locale::PO->quote($msgid)} or next;
         my $msgstr = $entry->dequote($entry->{msgstr}) or next;
         $ext->set_msgstr($msgid, $msgstr)
             if $ext->msgstr($msgid) eq '' && $msgstr;


More information about the Rt-commit mailing list