Opened 4 years ago

Closed 3 years ago

#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)

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 (8)

comment:1 Changed 4 years ago by jagd

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

comment:2 Changed 4 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:3 Changed 4 years ago by szabgab

  • Description modified (diff)

comment:4 Changed 4 years ago by szabgab

  • Resolution set to fixed
  • Status changed from new to closed

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 3 years 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 3 years ago by zenogantner

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 3 years ago by zenogantner

For example, "&Full Screen" vanishes in r15875. This could mean some change before that has triggered the problem?

r15872 changes "&Full Screen" to "Full Sc&reen".

So xgettext is not the problem here.

I will just fix the test cases.

comment:8 Changed 3 years ago by zenogantner

  • Resolution set to fixed
  • Status changed from reopened to closed

fixed in r15914

Note: See TracTickets for help on using tickets.