[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Some catalogs are broken (ja ru sv)



Hello,

While working in the po directory, I noticed that some po files are broken.
In ru and ja, there is some entries where the C formating is not the same in
english and in translation. Note that it will produce a segfault when using
these messages.
In sv, gettext is quite unhappy because the Language-Team is not provided in
the headers.

In attachement, you'll find patches for all problems. I did only mark the
faulty translations as fuzzy, so that translators can fix it themselves, and
so that gettext ignore these translations until then, and I did put Peter
Karlson as language team too, since I dunno which team he uses.

I made separate patches hoping that it will help to not break the encoding
of those files, but the safest way could be to do the changes yourself,
since I'm not sure the encoding used by mutt will be safe enough to
transfere the patches. It's quite easy to fix. Just run
msgfmt -o /dev/null ru.po
from the po dir, change the faulty entry like that:
-#, c-format
+#, c-format, fuzzy
and iterate.

Thanks for committing, Mt.

-- 
Un clavier azerty en vaut deux.
Index: ja.po
===================================================================
RCS file: /cvs/dpkg/dpkg/po/ja.po,v
retrieving revision 1.19
diff -u -r1.19 ja.po
--- ja.po	6 May 2002 16:18:16 -0000	1.19
+++ ja.po	9 Sep 2002 08:59:49 -0000
@@ -18,7 +18,7 @@
 msgstr ""
 "Project-Id-Version: 1.6.7\n"
 "POT-Creation-Date: 2001-07-16 02:32+0200\n"
-"PO-Revision-Date: 2000-03-04 14:39+09:00\n"
+"PO-Revision-Date: 2002-09-09 10:51+0200\n"
 "Last-Translator: Keita Maehara <maehara@debian.org>\n"
 "Language-Team: Debian Japanease List <debian-japanese@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -3217,7 +3217,7 @@
 msgstr "¥Õ¥¡¥¤¥ë `%.250s' ¤Ï²õ¤ì¤Æ¤¤¤Þ¤¹ - %.250s Ť¬ null ¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£"
 
 #: dpkg-deb/extract.c:79 split/info.c:43
-#, c-format
+#, c-format, fuzzy
 msgid "file `%.250s' is corrupt - bad digit (code %d) in %s"
 msgstr ""
 "¥Õ¥¡¥¤¥ë `%.250s' ¤Ï²õ¤ì¤Æ¤¤¤Þ¤¹ - %3$s ¤Ë¤¢¤ë¿ô»ú(¥³¡¼¥É %2$d)¤ÏÉÔÀµ¤Ç¤¹¡£"
@@ -4036,7 +4036,7 @@
 msgstr "OK\n"
 
 #: utils/md5sum.c:278
-#, c-format
+#, c-format, fuzzy
 msgid "%s: %d of %d file(s) failed MD5 check\n"
 msgstr "%s: %3$d ¥Õ¥¡¥¤¥ëÃæ %2$d ¥Õ¥¡¥¤¥ë¤¬ MD5 ¥Á¥§¥Ã¥¯¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£\n"
 
Index: ru.po
===================================================================
RCS file: /cvs/dpkg/dpkg/po/ru.po,v
retrieving revision 1.17
diff -u -r1.17 ru.po
--- ru.po	1 Jun 2002 20:04:53 -0000	1.17
+++ ru.po	9 Sep 2002 09:00:04 -0000
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: dpkg 1.10\n"
 "POT-Creation-Date: 2001-07-16 02:32+0200\n"
-"PO-Revision-Date: $Date: 2002/06/01 20:04:53 $\n"
+"PO-Revision-Date: 2002-09-09 10:52+0200\n"
 "Last-Translator: Alexey Mahotkin <alexm@hsys.msk.ru>\n"
 "Language-Team: ru <debian-russian@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -1902,7 +1902,7 @@
 msgstr "dpkg: `%s' ÎÅ ÎÁÊÄÅÎ × ËÁÔÁÌÏÇÁÈ, ÕËÁÚÁÎÎÙÈ × PATH.\n"
 
 #: main/help.c:109
-#, c-format
+#, c-format, fuzzy
 msgid ""
 "%d expected program(s) not found on PATH.\n"
 "NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin."
@@ -4321,7 +4321,7 @@
 msgstr ""
 
 #: dselect/method.cc:160
-#, c-format
+#, c-format, fuzzy
 msgid "unable to ignore signal %d before running %.250s"
 msgstr "ÎÅ ÕÄÁÌÏÓØ ÉÇÎÏÒÉÒÏ×ÁÔØ ÓÉÇÎÁÌ %s ÐÅÒÅÄ ÚÁÐÕÓËÏÍ %.250s"
 
Index: sv.po
===================================================================
RCS file: /cvs/dpkg/dpkg/po/sv.po,v
retrieving revision 1.60
diff -u -r1.60 sv.po
--- sv.po	7 Jul 2002 17:21:04 -0000	1.60
+++ sv.po	9 Sep 2002 08:59:32 -0000
@@ -7,8 +7,9 @@
 msgstr ""
 "Project-Id-Version: dpkg 1.10\n"
 "POT-Creation-Date: 2002-07-07 18:19+0100\n"
-"PO-Revision-Date: 2002-07-07 18:20+0100\n"
+"PO-Revision-Date: 2002-09-09 10:53+0200\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
+"Language-Team: Peter Karlsson <peterk@debian.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=iso-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"

Reply to: