|
Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
|
Add a translation to term. More...
Namespaces | |
| namespace | Lwt |
Functions | |
| add_new_term_transl ($text, $lang, $data) | |
| edit_term_transl ($wid, $new_trans) | |
Add a translation to term.
| add_new_term_transl | ( | $text, | |
| $lang, | |||
| $data | |||
| ) |
Add the translation for a new term.
| string | $text | Associated text |
| int | $lang | Language ID |
| string | $data | Translation |
@global string $tbpref Database table prefix
| edit_term_transl | ( | $wid, | |
| $new_trans | |||
| ) |
Edit the translation for an existing term.
| int | $wid | Word ID |
| string | $new_trans | New translation |
@global string $tbpref Database table prefix