e clock settings: full is full, and let all those date reprensentations be i18n-able.

SVN revision: 81692
This commit is contained in:
Chidambar Zinnoury 2012-12-25 16:43:23 +00:00
parent 61c0727d6b
commit 7dcc5a91a8
1 changed files with 3 additions and 3 deletions

View File

@ -98,11 +98,11 @@ _todaystr_eval(Instance *inst, char *buf, int bufsz)
if (tm)
{
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)
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)
strftime(buf, bufsz, "%x", (const struct tm *)tm);
strftime(buf, bufsz, _("%x"), (const struct tm *)tm);
}
else
buf[0] = 0;