From ba1efa90fefa775509b2c4f589a49465ade8f032 Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 7 Jul 2018 14:47:04 +0100 Subject: [PATCH] Translate widget options. --- src/system/widgets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/widgets.c b/src/system/widgets.c index 8d57c79..a38c73e 100644 --- a/src/system/widgets.c +++ b/src/system/widgets.c @@ -456,6 +456,8 @@ static void createOptions(Widget *w, char *options) option = strtok(options, ";"); while (option) { + option = _(option); + w->options[i] = malloc(strlen(option) + 1); strcpy(w->options[i], option);