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

crash with korean po file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 11 Sep 2008 18:49:48 +0200

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

Received on 2008-09-11 18:50:13 CEST

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