Public Member Functions

TranslatorAction Class Reference
[Plugins_generic_translator]

Perform various tasks related to translation. More...

List of all members.

Public Member Functions

 export ($locale)
 testEmails ($locale, $referenceLocale)
 testLocale ($locale, $referenceLocale)

Detailed Description

Perform various tasks related to translation.

Definition at line 17 of file TranslatorAction.inc.php.


Member Function Documentation

TranslatorAction.export ( locale  ) 

Export the locale files to the browser as a tarball. Requires /bin/tar for operation.

Definition at line 22 of file TranslatorAction.inc.php.

TranslatorAction.testEmails ( locale,
referenceLocale 
)

Test the emails in the supplied locale against those in the supplied reference locale.

Parameters:
$locale string
$referenceLocale string
Returns:
array List of errors

Definition at line 170 of file TranslatorAction.inc.php.

TranslatorAction.testLocale ( locale,
referenceLocale 
)

Test all locale files for the supplied locale against the supplied reference locale, returning an array of errors.

Parameters:
$locale string Name of locale to test
$referenceLocale string Name of locale to test against
Returns:
array

Definition at line 134 of file TranslatorAction.inc.php.


The documentation for this class was generated from the following file: