forked from enlightenment/enlightenment
e clock settings: full is full, and let all those date reprensentations be i18n-able.
SVN revision: 81692
This commit is contained in:
parent
61c0727d6b
commit
7dcc5a91a8
|
@ -98,11 +98,11 @@ _todaystr_eval(Instance *inst, char *buf, int bufsz)
|
||||||
if (tm)
|
if (tm)
|
||||||
{
|
{
|
||||||
if (inst->cfg->show_date == 1)
|
if (inst->cfg->show_date == 1)
|
||||||
strftime(buf, bufsz, "%a, %e %b, %Y", (const struct tm *)tm);
|
strftime(buf, bufsz, _("%A, %e %B, %Y"), (const struct tm *)tm);
|
||||||
else if (inst->cfg->show_date == 2)
|
else if (inst->cfg->show_date == 2)
|
||||||
strftime(buf, bufsz, "%a, %x", (const struct tm *)tm);
|
strftime(buf, bufsz, _("%a, %x"), (const struct tm *)tm);
|
||||||
else if (inst->cfg->show_date == 3)
|
else if (inst->cfg->show_date == 3)
|
||||||
strftime(buf, bufsz, "%x", (const struct tm *)tm);
|
strftime(buf, bufsz, _("%x"), (const struct tm *)tm);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
buf[0] = 0;
|
buf[0] = 0;
|
||||||
|
|
Loading…
Reference in New Issue