Ok, I've delved deeper into the mysteries of gettext -- it's actually kinda
neat.  It seems the POTFILES.in file is in need of an update, which could
actually be automated like this:

INTLDIRS=../app
for DIR in $INTLDIRS; do
  grep _\( $DIR/*.c | cut -d: -f1 | uniq | cut -d/ -f2- > POTFILES.in
done

AFAICT, adding i18n to the other subdirs (objects/*, lib) is but to add
intl.h and then _(tify them.  Worked for line.c.  For some reason, the
translations for the right-button menu and the preferences dialog aren't
used, even after updating POTFILES.  I also get a *lot* of critical
warnings (Widget != NULL) when I make a new diagram with Danish or
Norwegian translation.  Everything still works, it just blasts out
warnings.  The Swedish translation doesn't suffer from this problem.
And:  Is there some way to specify where to load translations from so I
don't have to install Dia when I want to test the changes?

-Lars

-- 
Lars R. Clausen ([EMAIL PROTECTED])                      H�rdgrim of Numenor
echo '[  bottles of beer]sa[  bottle of beer]sb[  take one down, pass it around
]sd[ on the wall]sc[no more]se99snlc[lalnpsnPplalnp1-snpldPln1=ylnpsnPp[]pst
ln0<x]sx[salblnpsnPplblnpsnpldPleplaPlcpq]sylxx' | dc

Reply via email to