Index: /applications/editors/josm/i18n/convpreset.pl
===================================================================
--- /applications/editors/josm/i18n/convpreset.pl	(revision 36406)
+++ /applications/editors/josm/i18n/convpreset.pl	(revision 36407)
@@ -75,9 +75,9 @@
     if($line =~ /name_context=(".*?")/)
     {
-      print infoblock() . "trc($1,$gr);\n";
-    }
-    else
-    {
-      print infoblock() . "tr($gr);\n";
+      print infoblock() . "trc($1,\"$gr\");\n";
+    }
+    else
+    {
+      print infoblock() . "tr(\"$gr\");\n";
     }
   }
