Re: [libosinfo v3 1/4] Add translation framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 24, 2012 at 5:27 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> 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


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux