GLib.TranslateFunc
function onTranslateFunc(str: String, data: void): String { }
The type of functions which are used to translate user-visible strings, for <option>--help</option> output.
- str
the untranslated string
- data
user data specified when installing the function, e.g. in GLib.OptionGroup.prototype.set_translate_func
- Returns
a translation of the string for the current locale. The returned string is owned by GLib and must not be freed.