Closed (fixed)
Project:
Devel
Version:
6.x-1.x-dev
Component:
devel
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2009 at 19:23 UTC
Updated:
20 Sep 2009 at 20:10 UTC
When trying to process you pot files with gettext there are duplicates detected ending with a fatal error. Please remove the correcponding entry.
web/sites/all/modules/devel/translations/devel.pot:777: duplicate message definition...
web/sites/all/modules/devel/translations/devel.pot:27: ...this is the location of the first definition
containing actually:
#: devel_node_access.module:37
msgid ""
msgstr ""
Comments
Comment #1
avpadernoThe problem is caused by the code passing an empty string to
t(). An empty string is always an empty string in every language; it doesn't make sense to uset()in these cases.Comment #2
avpadernoI am changing the issue title to reflect what the actual problem is.
Comment #3
salvisOops, this is a left-over template line. I'll remove it tonight. Thanks for the analysis, KiamLaLuno!
I'm about to post an update to DNA with quite a few new strings, so if that happens to be your interest, then please wait for the commit. Also, I'm not sure how moshe handles the .pot file. Your best bet is to extract your own fresh version from the module using the potx module. Thanks in advance for looking into translating Devel!
Comment #4
salvishttp://drupal.org/cvs?commit=259508
I've also updated the .pot file, which was 9 months old, so you can use that one. Give it up to 12h to be repackaged.