Templates in Rosetta ignore duplicates (Fix proposed)

Bug #67590 reported by Erdal Ronahi
4
Affects Status Importance Assigned to Milestone
openoffice.org-l10n (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Problem:
Translations of strings that have duplicates appear untranslated in Ubuntu. This affects especially very visible strings and makes Rosetta unusable as a primary infrastructure for translating OpenOffice.org See bug #60570 for details.

Reason:
Upstream has been using the msgid_comments (as described in http://translate.sourceforge.net/wiki/toolkit/duplicates_duplicatestyle) for the POT templates for OpenOffice.org since about a year. Rosetta doesn't. One example, the "Open..." string from the main menu is
msgid "~Open"
in Rosetta, but
msgid "_: GenericCommands.xcu#..GenericCommands.UserInterface.Commands..uno_Open."
"Label.value.text\n"
"~Open..."
upstream. msgmerge is not able to merge the different strings together.

Proposed fix:
Create the templates for OOo in Rosetta using the --duplicates=msgid_comment option in oo2po.

Revision history for this message
Erdal Ronahi (erdalronahi) wrote :

Alternatively, do not use the POTs from upstream when merging back from Rosetta into Ubuntu, but use

--duplicates=merge

when creating the POT from en-US.sdf before merging the translations from Rosetta with them.

Changed in openoffice.org-l10n:
assignee: nobody → doko
Revision history for this message
Matthias Klose (doko) wrote :

the templates are now imported per directory, there should be no more duplicates. closing.

Changed in openoffice.org-l10n:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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