[hobbit] localize hobbit
Henrik Stoerner
henrik at hswn.dk
Wed Apr 13 21:14:37 CEST 2005
On Wed, Apr 13, 2005 at 06:57:59PM +0000, Jon Bjorn Njalsson wrote:
> I know this post has very little to do with hobbit's functionality but
> mabe you can help me. I?m trying to translate a few words in hobbit that
> are displayed under trends. So far I have been able to change everything
> but week (week 09, week10 ..etc. Does anyone know how to change this
> text into uge (danish) or vika (icelandic) ?
I think you'll need to look into the RRDtool library to change that.
<checking> Yes, the rrdtool-1.0.49/src/rrd_graph.c has a table near
the top where this text is defined.
<snip>
{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"},
<snap>
It may be possible to change this by defining an "x-axis" parameter
for the rrdgraph() function (you could do this in hobbitgraph.c), but
the man-page describes this as being "complex". So I haven't tried
doing it.
Henrik
More information about the Xymon
mailing list