https://bugzilla.redhat.com/show_bug.cgi?id=867938
Bug ID: 867938 QA Contact: noriko@redhat.com Severity: unspecified Version: unspecified Priority: unspecified CC: trans-ja@lists.fedoraproject.org Assignee: noriko@redhat.com Summary: The anaconda (master branch) japanese translation is causing build errors Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: bcl@redhat.com Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: Japanese [ja] Product: Fedora Localization
Description of problem: The translation for: #: pyanaconda/ui/gui/spokes/lib/resize.py:169 #, python-format msgid "<b>%s disk; %s reclaimable space</b> (in filesystems)" msgid_plural "<b>%s disks; %s reclaimable space</b> (in filesystems)" msgstr[0] ""
failed to build. I removed the translation and pushed the change back to transifex in order to proceed. I had the same problem with a previous build.
https://bugzilla.redhat.com/show_bug.cgi?id=867938
--- Comment #1 from Brian C. Lane bcl@redhat.com --- #: pyanaconda/ui/gui/spokes/lib/resize.py:169 #, python-format msgid "<b>%s disk; %s reclaimable space</b> (in filesystems)" msgid_plural "<b>%s disks; %s reclaimable space</b> (in filesystems)" msgstr[0] "" "<b>%s 個のディスク; %s つの獲得可能領域</b> (ファイルシステム内)\n" "<b>%s 個のディスク群; %s つの獲得可能領域</b> (ファイルシステム内)\n" "\n" " "
is what keeps appearing in ja.po and causing this error: ja.po:2601: number of format specifications in 'msgid_plural' and 'msgstr[0]' does not match /usr/bin/msgfmt: found 1 fatal error
https://bugzilla.redhat.com/show_bug.cgi?id=867938
Noriko Mizumoto noriko@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(bcl@redhat.com)
--- Comment #2 from Noriko Mizumoto noriko@redhat.com --- Hi Brian
Plural format for Japanese is different from European language. We do not have plural. Could you check if anaconda PO contains correct format for Japanese? Japanese format is: nplurals=1; plural=0
https://bugzilla.redhat.com/show_bug.cgi?id=867938
Brian C. Lane bcl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(bcl@redhat.com) |
--- Comment #3 from Brian C. Lane bcl@redhat.com --- yes, po/ja.po has:
"Plural-Forms: nplurals=1; plural=0;\n"
And the latest version of the translation look like: msgstr[0] "<b>%s 個のディスク; %s つの獲得可能領域</b> (ファイルシステム内)\n<b>%s 個のディスク群; %s つの獲得可能領域</b> (ファイルシステム内)\n\n "
https://bugzilla.redhat.com/show_bug.cgi?id=867938
--- Comment #4 from Noriko Mizumoto noriko@redhat.com --- okay, modified the file by deliting duplicate string. It should now read;
#: pyanaconda/ui/gui/spokes/lib/resize.py:169 #, python-format msgid "<b>%s disk; %s reclaimable space</b> (in filesystems)" msgid_plural "<b>%s disks; %s reclaimable space</b> (in filesystems)" msgstr[0] "<b>%s 個のディスク; %s つの獲得可能領域</b> (ファイルシステム内) "
Could you please try build once again? Thanks
https://bugzilla.redhat.com/show_bug.cgi?id=867938
Piotr Drąg piotrdrag@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bcl@redhat.com, | |piotrdrag@gmail.com Flags| |needinfo?(bcl@redhat.com)
https://bugzilla.redhat.com/show_bug.cgi?id=867938
bcl@redhat.com bcl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED Flags|needinfo?(bcl@redhat.com) |
--- Comment #5 from bcl@redhat.com bcl@redhat.com --- I think we can safely close this now :)
https://bugzilla.redhat.com/show_bug.cgi?id=867938
Piotr Drąg piotrdrag@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-05-09 14:58:24
trans-ja@lists.fedoraproject.org