Overview

Packages

  • Cli

Classes

  • Horde_Cli
  • Horde_Cli_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Cli_Translation

Horde_Cli_Translation is the translation wrapper class for Horde_Cli.

Horde_Translation
Extended by Horde_Cli_Translation
Package: Cli
Author: Jan Schneider jan@horde.org
Located at Horde/Cli/Translation.php
Methods summary
public static string
# t( mixed $message )

Returns the translation of a message.

Returns the translation of a message.

Returns

string

The string translation, or the original string if no translation exists.

Var

string $message The string to translate.
public static string
# ngettext( string $singular, string $plural, integer $number )

Returns the plural translation of a message.

Returns the plural translation of a message.

Parameters

$singular
The singular version to translate.
$plural
The plural version to translate.
$number
The number that determines singular vs. plural.

Returns

string

The string translation, or the original string if no translation exists.

API documentation generated by ApiGen