ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | toString (Translations $translations) |
{@parentDoc}. More... | |
static | convertString ($value) |
Convert a string to its PO representation. More... | |
![]() | |
static | toFile (Translations $translations, $file) |
Saves the translations in a file. More... | |
![]() | |
static | toFile (Translations $translations, $file) |
Saves the translations in a file. More... | |
static | toString (Translations $translations) |
Generates a string with the translations ready to save in a file. More... | |
Static Private Member Functions | |
static | multilineQuote ($string) |
Escapes and adds double quotes to a string. More... | |
static | addLines (array &$lines, $name, $value) |
Add one or more lines depending whether the string is multiline or not. More... | |
|
staticprivate |
Add one or more lines depending whether the string is multiline or not.
array | &$lines | |
string | $name | |
string | $value |
Definition at line 101 of file Po.php.
References $name, and Gettext\Generators\Po\multilineQuote().
Referenced by Gettext\Generators\Po\toString().
|
static |
Convert a string to its PO representation.
string | $value |
Definition at line 123 of file Po.php.
Referenced by Gettext\Generators\Po\multilineQuote().
|
staticprivate |
Escapes and adds double quotes to a string.
string | $string |
Definition at line 78 of file Po.php.
References Gettext\Generators\Po\convertString().
Referenced by Gettext\Generators\Po\addLines().
|
static |
{@parentDoc}.
Implements Gettext\Generators\GeneratorInterface.
Definition at line 12 of file Po.php.
References $comment, $name, Gettext\Generators\Po\addLines(), date, and Gettext\Translations\getHeaders().