extractor.php is likely to produces following output for duplicate entries:

#: modules/contact/contact.module:89;101
msgid "Contact"
msgstr ""

But the correct format of duplicated entries that xgettext generated should be:

#: modules/contact/contact.module:89 modules/contact/contact.module:89
msgid "Contact"
msgstr ""

The wrongly fomatted line-number will confuse msgmerge a lot. I would like we just put the line-numbers as:

#: modules/contact/contact.module:89
msgid "Contact"
msgstr ""

#: modules/contact/contact.module:101
msgid "Contact"
msgstr ""

Translators will invoke msguniq himself. Or, we could do it in extractor.php ourself.

Comments

fundawang’s picture

Also, extractor.php often put 'fuzzy' tag at the end of some line, which obsolete wrong. Becasue '#, fuzzy' tag should be placed seperatedly.

fundawang’s picture

Is this issue to be resolved?

sun’s picture

Status: Active » Closed (won't fix)

This module was a module in Drupal core since Drupal 6. It is going to be replaced with an alternative implementation developed by the i18n team.