TranslatorAction Class Reference
[Plugins_generic_translator]

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 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.

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

Referenced by TranslatorHandler.export().

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.

References getEmailTemplates().

Referenced by TranslatorHandler.check().

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.

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