Ticket #1132 (closed defect: fixed)
missing strings in 'messages.pot'
| Reported by: | jagd | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | message.pot update_pot_file locale | Cc: |
Description (last modified by szabgab) (diff)
on my system, the file messages.pot, which was generated from update_pot_file.pl, missed many texts.
It seems all the strings from the Perl menu are gone.
Now this file on the trunk is also incomplete :(
Change History
comment:2 Changed 2 years ago by szabgab
Added a test in r13767 that checks certain things in the messages.pot file to reduce the risk for this coming back.
comment:4 Changed 2 years ago by szabgab
- Status changed from new to closed
- Resolution set to fixed
See also http://mail.perlide.org/pipermail/padre-dev/2011-February/002455.html
Apparently using 0.17 on Ubuntu 10.4 works well but using
xgettext 0.18.1 on Ununtu 10.10 causes the issue.
In r13858 I restricted the usage to 0.17, hopefully this will help us avoid the problem.
On the current svn server (running Ubuntu 8.04) we also have xgettext 0.17 and it seems to
work correctly.
comment:5 Changed 22 months ago by zenogantner
The same (or a very similar) error has returned on Padre trunk.
Now it happens also with xgettext 0.17.
Output of the test suite:
t/16_messages.t ............ 1/15 # Failed test 'messages.pot has entry 'msgid "&Full Screen"'' # at t/16_messages.t line 41. # Failed test 'messages.pot has entry 'msgid "Quick Menu Access..."'' # at t/16_messages.t line 41. # Failed test 'messages.pot has entry 'msgid "Check for Common (Beginner) Errors"'' # at t/16_messages.t line 41. # Failed test 'messages.pot has entry 'msgid "Find Unmatched Brace"'' # at t/16_messages.t line 41. # Failed test 'messages.pot has entry 'msgid "Move POD to __END__"'' # at t/16_messages.t line 41. # Failed test 'messages.pot has entry 'msgid "Run Script"'' # at t/16_messages.t line 41. # Looks like you failed 6 tests of 15. t/16_messages.t ............ Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/15 subtests
The tests fail both with the messages.pot from SVN and a locally created one (with xgettext 0.17).
comment:6 Changed 22 months ago by zenogantner
- Status changed from closed to reopened
- Resolution fixed deleted

sorry, forgot to paste this:
$ perl -MWx -e"printf(qq(Wx Version=($Wx::VERSION) %s unicode=(%s)\n), Wx::wxVERSION_STRING(), Wx::wxUNICODE())"
==>
Wx Version=(::VERSION) wxWidgets 2.8.11 unicode=(1)
on Fedora 14