Package: glib

Function glib:option-group-set-translate-func

Lambda List

glib:option-group-set-translate-func (group func)

Arguments

group -- a g:option-group instance
func -- a g:translate-func callback function

Details

Sets the function which is used to translate user visible strings, for --help output. Different groups can use different g:translate-func functions. If the func argument is nil, strings are not translated.

If you are using GNU gettext, you only need to set the translation domain, see the g:option-group-set-translation-domain function.
 

See also

2024-11-19