[virt-tools-list] [libosinfo v3 1/4] Add translation framework

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Oct 24 15:10:11 UTC 2012


On Wed, Oct 24, 2012 at 5:27 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> On Wed, Oct 24, 2012 at 12:02:28AM +0300, Zeeshan Ali (Khattak) wrote:
>> @@ -23,6 +23,7 @@
>>   */
>>
>>  #include <config.h>
>> +#include <glib/gi18n-lib.h>
>>
>>  #include <osinfo/osinfo.h>
>>
>> @@ -70,6 +71,11 @@ osinfo_loader_class_init (OsinfoLoaderClass *klass)
>>  {
>>      GObjectClass *g_klass = G_OBJECT_CLASS (klass);
>>
>> +    bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
>> +#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
>> +    bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
>> +#endif
>
> HAVE_BIND_TEXTDOMAIN_CODESET does not seem to be defined anywhere as the
> preprocessed C file does not contain this call even if
> bind_textdomain_codeset declaration is present.

I did exactly what you told me to do. :) I thought this comes from
gettext. I guess I'm missing some configure check for this?

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the virt-tools-list mailing list