Rosetta's po parser is too strict

Bug #9 reported by Carlos Perelló Marín
8
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/rhythmdb.c:2216
#, 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
Revision history for this message
Mã Nhật Thiên (manhatthien98) wrote :

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-5d9f086c55aa263ba7e2f5e5
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

Revision history for this message
Mã Nhật Thiên (manhatthien98) wrote :

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-5d9f086c55aa263ba7e2f5e5

Revision history for this message
Guruprasad (lgp171188) wrote :

Hi, we do not speak or understand the language you have posted in as we are an English-only team. If you have an issue, please create report a new bug with all the relevant details in English and do not re-open this very old, resolved bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.