From 583d6a8bee0ddacfddd1e9f068af41c0d8207a41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Fri, 10 Sep 2010 19:10:36 +0000 Subject: [PATCH] gettext docs: the Git::I18N Perl interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- po/README | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- 2.30.2