Translate widget options.
This commit is contained in:
parent
23a588f2ef
commit
ba1efa90fe
|
@ -456,6 +456,8 @@ static void createOptions(Widget *w, char *options)
|
||||||
option = strtok(options, ";");
|
option = strtok(options, ";");
|
||||||
while (option)
|
while (option)
|
||||||
{
|
{
|
||||||
|
option = _(option);
|
||||||
|
|
||||||
w->options[i] = malloc(strlen(option) + 1);
|
w->options[i] = malloc(strlen(option) + 1);
|
||||||
strcpy(w->options[i], option);
|
strcpy(w->options[i], option);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue