<br><br><div class="gmail_quote">2009/7/17 Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 15 Jul 2009 11:27:42 +1000, Lex wrote:<br>
<br>
(sorry for the delayed responses, I try to catch up all the other<br>
mails soon :( )<br>
<div class="im"><br>
>> In theory, we could apply this workflow to the filetype definition<br>
>> files to get localised build menu labels. But I don't really like<br>
>> this idea as it would mean we need to rename all these files and add<br>
>> rules to our both build systems to process each of these files with<br>
>> intltool.<br>
>><br>
><br>
>This workflow is what I was asking about, I have a <a href="http://filetype.latex.in" target="_blank">filetype.latex.in</a><br>
>with the appropriate key marked but intltool ignores it, is there<br>
>something somewhere else that needs to be set to make it work?<br>
<br>
</div>Did you also add it to the build system to get it preprocessed by<br>
intltool? For waf it would be adding a new build task in the build()<br>
method, similar to what the task for <a href="http://geany.desktop.in" target="_blank">geany.desktop.in</a> looks like.<br>
I'm not how to do it with autotools but it's also possible as we also<br>
process the <a href="http://geany.desktop.in" target="_blank">geany.desktop.in</a> with intltool with autotools.<br>
<div class="im"><br>
</div></blockquote><div>Will have a look later then, (my autotools aversion is well known ;-).<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
>Do we have to do it for all filetypes files or only those which need it<br>
>(latex initially).<br>
<br>
</div>If we really would go this way, it should be easy to only process these<br>
files which are necessary. But I don't like this at all.<br>
<div class="im"><br>
<br>
>If only the required files need to be renamed then it could migrate<br>
>over time as patches were submitted by individual language users and<br>
>no big upheaval needed. Note that labels in the filetype file are only<br>
>needed for filetypes where the default labels of compile, build and<br>
>execute are inappropriate or which add extra commands.<br>
><br>
>The new settings are in a different section in the filetype file and<br>
>the old filetype file settings are still read if no new section is<br>
>found, I wasn't even going to change most of the filetypes files to<br>
>the new format.<br>
><br>
><br>
>><br>
>> I'd even rather prefer to have unlocalised English labels by default<br>
>> since the user can change them now as necessary though this isn't<br>
>> really nice too.<br>
><br>
><br>
>Well this is what happens by default even if there are no<br>
>translations.  I only put the capability in the software because<br>
>localised labels are nicer, but if it turns out to be *way* too much<br>
>trouble then it will continue to work fine as is.<br>
<br>
</div>I don't expect any noticeable troubles but I just don't like the idea<br>
of preprocessing these files much. It would end up in some filetype<br>
definition files with the .in extension, some without. Additionally,<br>
the build time increases and the code to maintain.<br>
These are all not strong arguments and I'm not completely against it,<br>
just want to mention I personally don't like it too much.<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote><div>Well, I don't mind leaving it at English since thats what I use, but the facility is there if there is an easy way of using it.  As I said above I will have a quick look later on, but won't spend much time on it, help welcome.<br>
<br>Cheers<br>Lex<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><br>
Regards,<br>
Enrico<br>
<br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</div></div><br>_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
<br></blockquote></div><br>