App-Bernard
view release on metacpan or search on metacpan
lib/App/Bernard.pm view on Meta::CPAN
the source alphabet and C<"Latn"> as the target
alphabet. In other words, you can't yet undo
a transliteration into Shavian. This may be
added one day.
This entire option is not yet implemented.
=head2 -n <file>, --names <file>
This switch only makes sense with gettext .po files.
It means that the msgids in the file are not English
strings, but identifiers, and that the English strings
are in the .po file whose name is supplied. This is
often found in Nokia catalogues.
This is not yet implemented.
=head2 -c, --check
Runs the resulting file through C<"msgfmt -c"> to check
its validity.
lib/App/Bernard/Filetype/TextXGettextTranslation.pm view on Meta::CPAN
if ($should_change) {
$item->{'flags'}->{'fuzzy'} = 1;
for my $key (keys %{$item}) {
if ($key =~ /^msgstr/) {
undef $item->{$key};
}
}
if (defined $item->{'msgid_plural'}) {
$item->{'msgstr[0]'} = $transliterate->($item->{'msgid'});
$item->{'msgstr[1]'} = $transliterate->($item->{'msgid_plural'});
} else {
$item->{'msgstr'} = $transliterate->($item->{'msgid'});
}
}
}
$rebuilder->($item);
};
my $dater = Locale::PO::Callback::set_date($maybe_transliterate);
my $lcp = Locale::PO::Callback->new($dater);
t/basic/input-basic.po view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 1975-01-30 00:00 +0000\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: test <test@example.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "This will not be affected"
msgstr "because it has a translation"
msgid "This will be affected, because it's empty"
msgstr ""
#, fuzzy
msgid "This will be affected"
msgstr "because it's marked fuzzy"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and "
"also because it's empty"
msgstr ""
t/basic/output-stdout view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 2010-05-21 05:04 -0400\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: Shavian <ubuntu-l10n-en-shaw@launchpad.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
msgid "This will not be affected"
msgstr "because it has a translation"
#, fuzzy
msgid "This will be affected, because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð, ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
#, fuzzy
msgid "This will be affected"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and also because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð ðð´ð ðð¦ððªð ð¦ð'ð ðð³ðð¦, ð¯ ð·ð¤ðð´ ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
t/basic_-i/input-basic.po view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 1975-01-30 00:00 +0000\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: test <test@example.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "This will not be affected"
msgstr "because it has a translation"
msgid "This will be affected, because it's empty"
msgstr ""
#, fuzzy
msgid "This will be affected"
msgstr "because it's marked fuzzy"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and "
"also because it's empty"
msgstr ""
t/basic_-i/output-basic.po view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 2010-05-21 05:04 -0400\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: Shavian <ubuntu-l10n-en-shaw@launchpad.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
msgid "This will not be affected"
msgstr "because it has a translation"
#, fuzzy
msgid "This will be affected, because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð, ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
#, fuzzy
msgid "This will be affected"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and also because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð ðð´ð ðð¦ððªð ð¦ð'ð ðð³ðð¦, ð¯ ð·ð¤ðð´ ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
t/basic_-o/input-basic.po view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 1975-01-30 00:00 +0000\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: test <test@example.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "This will not be affected"
msgstr "because it has a translation"
msgid "This will be affected, because it's empty"
msgstr ""
#, fuzzy
msgid "This will be affected"
msgstr "because it's marked fuzzy"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and "
"also because it's empty"
msgstr ""
t/basic_-o/output-result.po view on Meta::CPAN
msgid ""
msgstr ""
"Project-Id-Version: Demo of a .po file\n"
"PO-Revision-Date: 2010-05-21 05:04 -0400\n"
"Last-Translator: Thomas Thurman <marnanel@cpan.org>\n"
"Language-Team: Shavian <ubuntu-l10n-en-shaw@launchpad.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
msgid "This will not be affected"
msgstr "because it has a translation"
#, fuzzy
msgid "This will be affected, because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð, ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
#, fuzzy
msgid "This will be affected"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð"
#, fuzzy
#: src/test.c:177
msgid ""
"This will be affected both because it's fuzzy, and also because it's empty"
msgstr "ðð¦ð ð¢ð¦ð¤ ðð° ð©ðð§ððð©ð ðð´ð ðð¦ððªð ð¦ð'ð ðð³ðð¦, ð¯ ð·ð¤ðð´ ðð¦ððªð ð¦ð'ð ð§ð¥ððð¦"
( run in 1.047 second using v1.01-cache-2.11-cpan-ceb78f64989 )