Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Git::I18N(3)	      User Contributed Perl Documentation	  Git::I18N(3)

NAME
       Git::I18N - Perl	interface to Git's Gettext localizations

SYNOPSIS
	       use Git::I18N;

	       print __("Welcome to Git!\n");

	       printf __("The following	error occurred:	%s\n"),	$error;

	       printf __n("commited %d file\n",	"commited %d files\n", $files),	$files;

DESCRIPTION
       Git's internal Perl interface to	gettext	via Locale::Messages. If
       Locale::Messages	can't be loaded	(it's not a core module) we provide
       stub passthrough	fallbacks.

       This is a distilled interface to	gettext, see "info '(gettext)Perl'"
       for the full interface. This module implements only a small part	of it.

FUNCTIONS
   __($)
       Locale::Messages's gettext function if all goes well, otherwise our
       passthrough fallback function.

   __n($$$)
       Locale::Messages's ngettext function or passthrough fallback function.

   N__($)
       No-operation that only returns its argument. Use	this if	you want
       xgettext	to extract the text to the pot template	but do not want	to
       trigger retrival	of the translation at run time.

AUTHOR
       Avar ArnfjA<paragraph>rA<degree>	Bjarmason <avarab@gmail.com>

COPYRIGHT
       Copyright 2010 Avar ArnfjA<paragraph>rA<degree> Bjarmason
       <avarab@gmail.com>

perl v5.24.1			  2017-06-24			  Git::I18N(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Git::I18N&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help