[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: crash with korean po file

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: Thu, 11 Sep 2008 23:56:06 +0200

On Thu, Sep 11, 2008 at 11:13:25PM +0200, Jens Seidel wrote:
> On Thu, Sep 11, 2008 at 06:49:48PM +0200, Stefan Küng wrote:
> > #: ../libsvn_ra_neon/util.c:248
> > #, fuzzy, c-format
> > #| msgid "Error parsing %s property on '%s': '%s'"
> > msgid "Error setting property '%s': "
> > msgstr "'%s'에 대한 %s 속성을 분석하던 중 오류 발생: '%s'"
>
> The translation isn't used as this message is marked "fuzzy". That's
> just a guess of msgmerge from other existing translations to simplify
> translators work.

The guess comes from: "Error parsing %s property on '%s': '%s'" which
has indeed three %s and is similar.

> Until msgfmt is called with option -f (which would be a bad idea) fuzzy
> strings are ignored. Using a --check* option per default as proposed is
> nevertheless a good idea (I thought is is the default).
>
> So you have another problem!?

I think I know what happened:

I created this PO file via option --previous of msgmerge which adds "#|"
style of comments. This is useful, as you now have only to integrate
the differences of the old and new msgid into the msgstr. Here it's
nearly useless but there are large help messages in which sometime only
a few characters change ...

The problem is probably that you used on older gettext version (at least
2 years old) which does not support --previous and seems to be confused
by the comment "#|". Since gettext could even introduce further comment
types (e.g. "#:") the fuzzy state should not be ignored if an
unrecognized comment is found (why should it? in this case it is considered
as normal comment). So it could be an ordinary bug in your old gettext
version.

I know that Cygwin provides only an old package but that's the problem
if you work with proprietary systems: They do not ship useful software
and other stuff you obtain in not recent enough :-))

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-12 00:07:57 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.