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
Comment #1
fundawang commentedAlso, extractor.php often put 'fuzzy' tag at the end of some line, which obsolete wrong. Becasue '#, fuzzy' tag should be placed seperatedly.
Comment #2
fundawang commentedIs this issue to be resolved?
Comment #3
sunThis 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.