Hi folks...
Why that when I use other language then english configured in
LC_ALL/LC_TIME and generated a monthly graph the weeks are printed in english
at the "x axis" and not in my current language configured?
I was looking at the rrd_graph.c code, and I saw that in lines 58 and
59 (rrdtool-1.0.49) are:
{3600, TMT_DAY,1, TMT_WEEK,1, TMT_WEEK,1, 7*24*3600,"Week %V"},
{3*3600, TMT_WEEK,1, TMT_MONTH,1,TMT_WEEK,2,7*24*3600,"Week %V"},
It shouldn't have to be like (?):
{3600, TMT_DAY,1, TMT_WEEK,1, TMT_WEEK,1, 7*24*3600,_("Week %V")},
{3*3600, TMT_WEEK,1, TMT_MONTH,1,TMT_WEEK,2,7*24*3600,_("Week %V")},
or something like that so the gettext() function could translate the word
"Week" to my current language?
any ideas how could I solve this??
best regards,
[]s
=================================
Felipe Piccirilo
[EMAIL PROTECTED]
System Analyst
=================================
GrupoNet Tecnologia Ltda
www.gruponet.com.br
=================================
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi