[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu-devel
Subject: Re: [kde-edu-devel] my little script now works like a charm
From: Jason Harris <kstars () 30doradus ! org>
Date: 2002-01-21 15:45:11
[Download RAW message or body]
Hi Carsten,
This is a great solution. We haven't implemented it yet, because our data
files don't use "Name=" in front of the translatable string. So, we'll have
to tweak the script a bit, we just haven't gotten to it yet (but we
definitely will).
cheers,
Jason
On Sunday 20 January 2002 13:15, Carsten Niehaus wrote:
> Hi again.
>
> This is esp. adressed to KStarsdevels:
>
> In my Makefile.am I've written these lines:
>
> elementnames:
> cd $(srcdir); \
> rm -f kazium_i18n.cpp; \
> echo "#if 0" >> kalzium_i18n.cpp ;\
> egrep 'Name=' kalziumrc | sed -e 's#^Name=\(.*\)#i18n(\"\1\")#'
> >> kalzium_i18n.cpp
> echo "#endif" >> kalzium_i18n.cpp
>
> By typing "make elementnames" you will get the file kalzium_i18n.cpp with
> all Strings behind 'Name=' in the file kalziumrc.
> Jason: You can copy this code and only change s/kalzium/kstars and
> s/kalziumrc/cities.dat or something like that.
>
> Perhaps this info is of more general use.
>
> Carsten
> _______________________________________________
> kde-edu-devel mailing list
> kde-edu-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-edu-devel
--
KStars: A K Desktop Planetarium
http://kstars.sourceforge.net
_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic