diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index a2f1aa660b..fec13d564f 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1160,12 +1160,12 @@ static char *get_token_value(struct gui_wps *gwps, case WPS_TOKEN_RTC_WEEKDAY_NAME: /* a: abbreviated weekday name (Sun..Sat) */ - snprintf(buf, buf_size, "%s",str(dayname[tm->tm_wday])); + snprintf(buf, buf_size, "%s",str(LANG_WEEKDAY_SUNDAY + tm->tm_wday)); return buf; case WPS_TOKEN_RTC_MONTH_NAME: /* b: abbreviated month name (Jan..Dec) */ - snprintf(buf, buf_size, "%s",str(monthname[tm->tm_mon])); + snprintf(buf, buf_size, "%s",str(LANG_MONTH_JANUARY + tm->tm_mon)); return buf; case WPS_TOKEN_RTC_DAY_OF_WEEK_START_MON: |