11
# a few sample strings some of them disappeard from messages.pot during the release of 0.82
14
q(msgid "Open in File Browser"), # File/Open/
15
q(msgid "Clear Selection Marks"), # Edit/Select/
16
q(msgid "&Full Screen"), # View/
17
q(msgid "Quick Menu Access..."), # Search/
18
q(msgid "Check for Common (Beginner) Errors"), # Perl/
19
q(msgid "Find Unmatched Brace"), # Perl/
20
q(msgid "Move POD to __END__"), # Refactor/
21
q(msgid "Run Script"), # Run/
22
q(msgid "Dump the Padre object to STDOUT"), # internal
24
q("The file %s you are trying to open is %s bytes large. It is over the "), # Padre::Document
25
q("arbitrary file size limit of Padre which is currently %s. Opening this file "),
26
q("may reduce performance. Do you still want to open the file?"),
28
q(msgid "%s - Crashed while instantiating: %s"), # Padre::PluginManager
30
q(msgid "Default word wrap on for each file"), # Padre::Wx::Dialog::Preferences
31
q(msgid "Any non-word character"), #: lib/Padre/Wx/Dialog/RegexEditor.pm:78
34
plan tests => scalar @strings;
36
my $messages_pot = File::Spec->catfile( cwd(), 'share', 'locale', 'messages.pot' );
37
open my $fh, '<', $messages_pot or die "Could not open '$messages_pot' $!";
40
foreach my $str (@strings) {
41
ok grep( { $_ =~ /\Q$str/ } @messages ), "messages.pot has entry '$str'";