File/nasmail/functions/gettext.php

Description

SquirrelMail internal gettext functions

Alternate to the system's built-in gettext. Loads wrappers to php-gettext classes.

Includes
 include_once (SM_PATH.'class/l10n.class.php') (line 19)

Load classes and other functions

 include_once (SM_PATH.'functions/ngettext.php') (line 20)
Functions
bindtextdomain (line 49)

Alternative php bindtextdomain function

Sets path to directory containing domain translations

string bindtextdomain (string $domain, string $dir)
  • string $domain: gettext domain name
  • string $dir: directory that contains all translations
dgettext (line 87)

Alternative php dgettext function

string dgettext (string $domain, string $str)
  • string $domain: Gettext domain
  • string $str: English string
textdomain (line 68)

Alternative php textdomain function

Sets default domain name

string textdomain ([string $name = false])
  • string $name: gettext domain name
_ (line 30)

Alternative php gettext function (short form)

string _ (string $str)
  • string $str: English string

Documentation generated on Sun, 22 Nov 2009 17:36:35 +0200 by phpDocumentor 1.4.3