--- orage-4.3.90.2.orig/panel-plugin/orageclock.c +++ orage-4.3.90.2/panel-plugin/orageclock.c @@ -81,17 +81,20 @@ static gboolean oc_get_time(Clock *clock) { time_t t; - char tmp[OC_MAX_LINE_LENGTH]; + char *tmp = NULL; + char date_s[OC_MAX_LINE_LENGTH]; int i; static gint mday = -1; + char *localeformat = NULL; time(&t); localtime_r(&t, &clock->now); for (i = 0; i < OC_MAX_LINES; i++) { if (clock->line[i].show) { - strftime(tmp, OC_MAX_LINE_LENGTH-1, clock->line[i].data->str - , &clock->now); + localeformat = g_locale_from_utf8(clock->line[i].data->str, -1, NULL, NULL, NULL); + strftime(date_s, OC_MAX_LINE_LENGTH-1, localeformat, &clock->now); + tmp = g_locale_to_utf8(date_s, -1, NULL, NULL, NULL); /* gtk_label_set_text call takes almost * 100 % of the time wasted in this procedure * */ --- orage-4.3.90.2.orig/po/ja.po +++ orage-4.3.90.2/po/ja.po @@ -107,7 +107,7 @@ #. #: ../panel-plugin/orageclock.c:61 msgid "%A %d %B %Y/%V" -msgstr "%Y年 %B%d日%A (%V週目)" +msgstr "%x (%a) /%Vweek" #. to avoid timing problems when updating entry #. Create file chooser