[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] localize hobbit
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] localize hobbit
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Wed, 13 Apr 2005 21:14:37 +0200
- References: <1113418679.24399.85.camel@viper.rhi.hi.is>
- User-agent: Mutt/1.5.5.1i
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