From 8c4d64bf4f315251ad81b0ffbc07ca88577f7176 Mon Sep 17 00:00:00 2001 From: acli Date: Sun, 23 Jan 2005 06:49:08 +0000 Subject: [PATCH] I think I know where the spurious leading spaces are from now But there is no fix yet --- misc/translator/xgettext.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl index a3d65ed847..b793867f29 100755 --- a/misc/translator/xgettext.pl +++ b/misc/translator/xgettext.pl @@ -461,8 +461,9 @@ xgettext(1)'s sort option. This will result in translation strings inside the generated PO file spuriously moving about when tmpl_process3.pl calls msgmerge(1) to update the PO file. -It sometimes generates strings with spurious leading spaces, +If a Javascript string has leading spaces, it will +generate strings with spurious leading spaces, leading to failure to match the strings when actually generating -translated files. The cause of this is not yet known. +translated files. =cut