summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a141f7)
raw | patch | inline | side by side (parent: 6a141f7)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Fri, 10 Sep 2010 19:10:36 +0000 (19:10 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:58:19 +0000 (07:58 +0000) |
Change po/README's "Marking strings for translation" section so that
it covers the Git::I18N Perl interface.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
it covers the Git::I18N Perl interface.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
po/README | patch | blob | history |
diff --git a/po/README b/po/README
index a93c88dfd0bef5aee2dbaaf9553942bc2ca8bc7e..66ab35f3235b67dbec7b56103230ae046dbc3afa 100644 (file)
--- a/po/README
+++ b/po/README
command to be translated) for examples is also useful:
git log --reverse -p --grep=gettextize git-am.sh
+
+Perl:
+
+ - The Git::I18N module provides a limited subset of the
+ Locale::Messages functionality, e.g.:
+
+ use Git::I18N;
+ print __("Welcome to Git!\n");
+ printf __("The following error occured: %s\n"), $error;
+
+ Run `perldoc perl/Git/I18N.pm` for more info.