diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,11 +107,11 @@ use T() to translate a label. Unknown labels are reported using it::error() Example: echo T('hello') . ' ' . Q($customer->name); - echo ET('chainletter', 'name' => Q($customer->name)); + echo T('chainletter', 'name' => $customer->name); Functions: new it_text($config) -- read texts. usually called implicitly - T($label) -- return translated $label + T($label, $values) -- return translated $label w/ quoted values replaced ET($label, $values) -- return translated $label w/ values replaced T_lang() -- returns current language T_set_language($language) -- sets a new language |