diff options
author | Urban Müller | 2024-02-16 14:07:11 +0100 |
---|---|---|
committer | Urban Müller | 2024-02-16 14:07:11 +0100 |
commit | 9fd68c13a7cbd26c3eacbba42d7e5418d88ff40a (patch) | |
tree | 19b185c6cd71c73c13ffaf4463d590922361bbab /README | |
parent | dfd8582933798214d73c9ddb205d43bf2f1e3405 (diff) | |
download | itools-9fd68c13a7cbd26c3eacbba42d7e5418d88ff40a.tar.gz itools-9fd68c13a7cbd26c3eacbba42d7e5418d88ff40a.tar.bz2 itools-9fd68c13a7cbd26c3eacbba42d7e5418d88ff40a.zip |
fix docs
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 |