xchat ja.po catalog file fix

Jeremy Messenger mezz7 at cox.net
Wed Mar 21 21:36:23 UTC 2007


On Wed, 21 Mar 2007 11:10:45 -0500, Takeharu KATO <takeharu1219 at ybb.ne.jp>  
wrote:

> Hi
>
> I found a bug in catalog file(ja.po) in xchat.
> I can not figure out original author of the software, so
> I post the patch to fix the problem to gnome at freebsd.org.
>
> Would you apply the patch.

http://www.xchat.org/files/source/2.8/patches/

It has same patch as your, so I took from there and committed it. Thanks  
for report and submit a patch. Next time, please use PR that way we don't  
lose your patch.

Cheers,
Mezz

> The problem is that when xchat is invoked, the program detect
> message format error and make it crash due to invalid format of
> message on japanese environments.
>
> This problem is caused by message line as followed.
> --
> msgstr "%C28-%C29$1/Wallops%C28-%O$t$"
> --
> $ character at the end of this line should specify variable number,
> but this line is lack of valid variable number, so this
> message line is handled as critical error by xchat.
>
> According to corresponded msgid, the problem may be fixed by using the
> catalog as followed:
> --
> msgstr "%C28-%C29$1/Wallops%C28-%O$t$2"
> --
>
>



-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-gnome mailing list