Re: [Tracker] *-private.h files



2008/1/7, Jaap A. Haitsma <jaap haitsma org>:

One other thing I noticed concerning coding style. In tracker applet
you assign all translatable strings to global variables. I've haven't
seen that in any other GNOME projects. I also think (correct me if I'm
wrong) that it's not that handy to do it like this for translators and
programmers, because you have too look at where the variable get
assigned and where it''s being used. If you just put the string where
you use it in the code you just have to look at one place

Agreed. While translating I found it easier if the string is at its
original context. If the sentence is ambigious it's easier to find the
spot in the source code and understand what is actually meant.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]