TranslatorAction Class Reference

Perform various tasks related to translation. More...

List of all members.

Public Member Functions

 determineReferenceFilename ($locale, $filename)
 export ($locale)
 getEmailFileMap ($locale)
 getEmailTemplates ($locale)
 getLocaleFiles ($locale)
 getMiscLocaleFiles ($locale)
 isLocaleFile ($locale, $filename)
 testEmails ($locale, $referenceLocale)
 testLocale ($locale, $referenceLocale)

Detailed Description

Perform various tasks related to translation.

Definition at line 17 of file

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

References getEmailFileMap(), getLocaleFiles(), and getMiscLocaleFiles().

Referenced by TranslatorHandler.export().

TranslatorAction.testEmails ( locale,

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

$locale string
$referenceLocale string
array List of errors

Definition at line 170 of file

References getEmailTemplates().

Referenced by TranslatorHandler.check().

TranslatorAction.testLocale ( locale,

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 134 of file

Referenced by TranslatorHandler.check().

The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7