[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: Barry Scott <barry_at_barrys-emacs.org>
Date: Thu, 11 Sep 2008 18:59:31 +0100

I'd suggest the svn build is changed to use

msgfmt --check-format

which will error out on this class of problem.

Barry

On Sep 11, 2008, at 17:49, Stefan Küng wrote:

> Hi,
>
> The korean po file in 1.5.x
> (https://svn.collab.net/repos/svn/branches/1.5.x/subversion/po/ko.po)
> has invalid translations in it which causes Subversion (and of course
> TSVN) to crash. From crash reports sent for TSVN I know that at least
> the translation for
>
> #: ../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'"
>
> is completely wrong: it has three '%s' in it while the original text
> only has one. This causes the printf statement to crash.
>
>
>
> The translation is fixed on trunk, but the commit which fixed this
> also
> changed a lot of other translated strings (r32303). So I think simply
> backporting that commit won't work (I honestly don't know since I
> don't
> understand the language).
>
> What would be the best way to deal with this? Simply change that
> specific translation to
>
> #: ../libsvn_ra_neon/util.c:248
> #, c-format
> msgid "Error setting property '%s': "
> msgstr ""
>
> So it is marked as 'not translated'?
>
> This invalid tranlated string causes about 70% of all crash reports I
> get for the latest TSVN version, so I think this should get fixed
> before
> the next release.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>

---------------------------------------------------------------------
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-11 20:00:12 CEST

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