|
static QTransString FX::QTrans::tr |
( |
const char * |
context, |
|
|
const char * |
text, |
|
|
const char * |
hint = 0 | |
|
) |
| | [static] |
- Returns:
- The human language translated version of the text
- Parameters:
-
| context | Usually the classname of where you are calling from |
| text | The string to be translated in English. This must be a literal as its address is used to calculate which translation file to use. |
| hint | Usually unused, needed to resolve ambiguities eg; masculine/feminine genders when translating from gender neutral English. Never write "m" or "f" - instead if it refers to a box, use "box" - thus it doesn't matter if a box is masculine or feminine. |
Begins a translation of the text based upon the currently set user language.
|