Il giorno ven, 02/03/2007 alle 13.48 +0100, Luca Ferretti ha scritto:
> Il giorno ven, 02/03/2007 alle 02.11 +0100, Michael Biebl ha scritto:
> Michael, I'm not so much confidant with library localization, but from
> [1]
>
> For use in a library, must include glib/gi18n-lib.h after
> defining the GETTEXT_PACKAGE macro suitably for your library:
>
> #define GETTEXT_PACKAGE "gtk20"
> #include <glib/gi18n-lib.h>
>
> I'm going to merge your patch with this info..
Checked. It works. Simply replace gi18n.h with gi18n-lib.h in your
patch. The GETTEXT_PACKAGE define come from config.h
Using gi18n-lib.h the _() macro became
#define _(String) dgettext (GETTEXT_PACKAGE, String)
so future external applications can use it with no i18n pain.
Now the real issue are bad messages (from a l10n point of view[1]) in
libtracker-gtk, in new tracker-search-tool and in tracker-preferences.
Here are a lot of malformed messages (markups, plurals, splitted
sentences). If you are right, it's better fix translatable strings
before add them to POTFILES.in. I'll report on this later
[1] http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list