xchat ja.po catalog file fix

Takeharu KATO takeharu1219 at ybb.ne.jp
Wed Mar 21 16:37:21 UTC 2007


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.

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"
--


-------------- next part --------------
diff -Nupr xchat-2.8.0.orig/po/ja.po xchat-2.8.0/po/ja.po
--- xchat-2.8.0.orig/po/ja.po	Wed Mar 21 23:16:17 2007
+++ xchat-2.8.0/po/ja.po	Wed Mar 21 23:17:25 2007
@@ -1104,7 +1104,7 @@ msgstr "%C22*%O$t$1 はモードを %B %
 
 #: src/common/textevents.h:318
 msgid "%C28-%C29$1/Wallops%C28-%O$t$2"
-msgstr "%C28-%C29$1/Wallops%C28-%O$t$"
+msgstr "%C28-%C29$1/Wallops%C28-%O$t$2"
 
 #: src/common/textevents.h:321
 #, fuzzy


More information about the freebsd-gnome mailing list