Perform various tasks related to translation. More...
Public Member Functions | |
| export ($locale) | |
| testEmails ($locale, $referenceLocale) | |
| testLocale ($locale, $referenceLocale) | |
Perform various tasks related to translation.
Definition at line 16 of file TranslatorAction.inc.php.
| TranslatorAction.export | ( | $ | locale | ) |
Export the locale files to the browser as a tarball. Requires tar for operation (configured in config.inc.php).
Definition at line 21 of file TranslatorAction.inc.php.
| TranslatorAction.testEmails | ( | $ | locale, | |
| $ | referenceLocale | |||
| ) |
Test the emails in the supplied locale against those in the supplied reference locale.
| $locale | string | |
| $referenceLocale | string |
Definition at line 178 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.
| $locale | string Name of locale to test | |
| $referenceLocale | string Name of locale to test against |
Definition at line 135 of file TranslatorAction.inc.php.
1.7.1