Rosetta's po parser is too strict
Bug #9 reported by
Carlos Perelló Marín
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Launchpad itself |
Fix Released
|
Medium
|
Carlos Perelló Marín | ||
Bug Description
We are not able to import .po files with plural forms that have a msgset with more plural translations than the ones especified for that language.
For instance, with this plural information:
Plural-Forms: nplurals=1; plural=0;\n
This msgset will break the po import:
#: rhythmdb/
#, c-format
msgid "%d song"
msgid_plural "%d songs"
msgstr[0] "%d parça"
msgstr[1] "%d parça"
| Changed in rosetta: | |
| assignee: | nobody → carlos |
| status: | New → Accepted |
| Changed in rosetta: | |
| status: | Accepted → Fixed |
| tags: | added: iso-testing |
| tags: | removed: iso-testing |
| tags: | added: id-5d9f086c55aa263ba7e2f5e5 |
To post a comment you must log in.
Mô tả lỗi
Chúng tôi không thể nhập các tệp .po có dạng số nhiều có msgset với nhiều bản dịch số nhiều hơn số bản dịch được chỉ định cho ngôn ngữ đó.
Ví dụ, với thông tin số nhiều này:
Dạng số nhiều: nplurals=1; plural=0;\n
Tập lệnh này sẽ phá vỡ lệnh nhập po:
#: nhịp điệu/ nhịp điệu. c:2216
#, c-format
msgid " %d song" msgid_plural "%d songs" msgstr[0] " %d bài hát" msgstr[1]
"%d bài hát"
Thẻ: lp-translations id-5d9f086c55aa 263ba7e2f5e5
Carlos Perelló Marín (carlos) vào ngày 2004-12-23
Đã thay đổi trong Rosetta:
người được chuyển nhượng : không ai → carlos
trạng thái : Mới → Đã chấp nhận
Carlos Perelló Marín (carlos) vào ngày 2005-04-05
Đã thay đổi trong Rosetta:
trạng thái : Đã chấp nhận → Đã sửa
Trang web QA của Ubuntu (ubuntuqa) vào ngày 2011-11-24
thẻ : đã thêm: iso-testing
Robert Collins (vô hồn) vào ngày 2011-11-24
thẻ : đã xóa: iso-testing
Francis Ginther (fginther) vào ngày 2019-10-10