control: found 594197 1.5.4-1 ii poedit 1.5.4-1 amd64 gettext catalog editor
Hi, On Tue, Nov 05, 2013 at 12:18:57PM +0100, intrigeri wrote: > Hi, > > Osamu Aoki wrote (24 Aug 2010 14:13:42 GMT) : > > po file such as one containing: > > > #: cmdline/apt-get.cc:1653 > > #, fuzzy > > msgid "" > > "The following package is automatically installed and is no longer > > required:" > > msgid_plural "" > > "The following packages were automatically installed and are no longer " > > "required:" > > msgstr[0] "" > > "以下のパッケージが自動でインストールされましたが、もう必要とされていません:" > > msgstr[1] "" > > "以下のパッケージが自動でインストールされましたが、もう必要とされていません:" > > > poedit fails to parse and display. This happens when source has set of > > strings. Yes. It display 2 English source but only one Japanese translation. > Can you reproduce this issue with the latest version of poedit one may > find in Debian? Since current ja.po in apt is missing msgstr[1], I created attached short example. (Japanese text replaced with English for ease of testing.) You see only msgstr[0] is shown in Form0. No Form1 as I expected. I also get annoying syntax error message for "Plural-Forms: Plural-Forms: nplurals=1; plural=0;\n". Please test attached example to reproduce my experience. Osamu
# Japanese mesasges for apt. # Copyright (C) 2001 Free Software Foundation, Inc. # Project Vine, Daisuke SUZUKI <dais...@linux.or.jp>, 2001-2002 # Debian Project, Masato Taruishi <t...@debian.org>, 2002 # Debian Project, Keita Maehara <maeh...@debian.org>, 2003 # Debian Project, Kenshi Muto <km...@debian.org>, 2004-2012 msgid "" msgstr "" "Project-Id-Version: apt 0.9.9.4\n" "Report-Msgid-Bugs-To: APT Development Team <de...@lists.debian.org>\n" "POT-Creation-Date: 2013-10-15 21:22+0200\n" "PO-Revision-Date: 2013-11-06 00:45+0900\n" "Last-Translator: Kenshi Muto <km...@debian.org>\n" "Language-Team: Debian Japanese List <debian-japan...@lists.debian.org>\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 1.5.4\n" #: apt-private/private-install.cc:506 #, fuzzy msgid "" "The following package was automatically installed and is no longer required:" msgid_plural "" "The following packages were automatically installed and are no longer " "required:" msgstr[0] "TRANSLATION for SINGLE:" msgstr[1] "TRANSLATION for PLURAL:"