From: Ævar Arnfjörð Bjarmason Date: Fri, 10 Sep 2010 19:10:36 +0000 (+0000) Subject: gettext docs: the Git::I18N Perl interface X-Git-Tag: ko-pu~10^2~43 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=583d6a8bee0ddacfddd1e9f068af41c0d8207a41;p=git.git gettext docs: the Git::I18N Perl interface 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 --- diff --git a/po/README b/po/README index a93c88dfd..66ab35f32 100644 --- a/po/README +++ b/po/README @@ -168,3 +168,14 @@ Shell: 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.