<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=windows-1251"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
06.10.2011 20:19, Frank Lanitz пишет:
<blockquote
 cite="mid:20111006181925.1c7bd18bfbd0c2867de8c2d9@frank.uvena.de"
 type="cite">
  <pre wrap="">On Wed, 05 Oct 2011 17:30:23 +0400
Alexander Petukhov <a class="moz-txt-link-rfc2396E" href="mailto:devel@apetukhov.ru"><devel@apetukhov.ru></a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">just wanted to add more info:

to easily see the effect try addons plugin and it's context menu "Open 
URI" and "Copy URI" menu items.

Until some svn update, IIRC translations of my debugger and possibly 
other plugins were more
complete, from some point I noticed that some strings become 
untranslated but then I decided
that it was a bug in my plugin, and didn't pay much attention to it.
    </pre>
  </blockquote>
  <pre wrap="">
It looks a bit like its related to position of including of
geanyplugin.h. I guess I've fixed it for geany VC but needs some
further investigation. 

Cheers, 
Frank 
  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Geany-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a>
<a class="moz-txt-link-freetext" href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a>
  </pre>
</blockquote>
as I discovered the point is that you have to include config.h in every
file that contains translatable strings, actually #define
GETTEXT_PACKAGE "geany-plugins" is the only line that is needed from
it. Previosuly it worked without it somehow.<br>
<br>
if GETTEXT_PACKAGE is not defined, textdomain(NULL) returns NULL, i.e.
there is no textdomain set, with GETTEXT_PACKAGE it returns "messages"
while I expected to see "geany-plugins" here.<br>
<br>
I tried to understand how i18n is realized in Geany but I couldn't find
any textdomain call in Geany sources.<br>
<br>
2Enrico: every plugin that do not include config.h in a file with
strings seems to be untranslated now. As I mentioned above it worked
without it earlier so I suppose other plugins can also miss this
include and therefore be untranslated but I didn't check.<br>
<br>
So two ways so far:<br>
<br>
1. include config.h everywhere it is nessesary<br>
2. look up what has been broken till 0.20<br>
<br>
which one to use?<br>
<br>
E-gards,<br>
Alexander<br>
<br>
<br>
</body>
</html>