[Geany-devel] intltool usage question

Enrico Tröger enrico.troeger at xxxxx
Sat Aug 29 11:07:02 UTC 2009

On Sat, 29 Aug 2009 21:02:35 +1000, Lex wrote:

>> I'm still not too happy about this as it adds some overhead for a
>> rather small effort.
>> I think Nick suggested this earlier:
>> why don't we simply put the defaul labels somewhere into src/build.c
>> so that intltool grabs them as usual. And then when reading the
>> labels from the config file, we simply pass them through gettext()
>> to get them translated automatically. If I don't miss anything
>> obvious, this should have the same result but without the need for
>> an external script. The only drawback with this effort is that we
>> have the English labels itself twice (one in src/build.c, one in the
>> config file) but since they probably won't change much at all it
>> might be not such a big issue.
>That looks kinda like a maintenance nightmare keeping the strings in
>the code in line with the labels in config files, please don't go
>there for your own sakes ;-)

It depends how often the labels are added/removed/changed. Will it that


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090829/bdaa310f/attachment.pgp>

More information about the Devel mailing list