Re: [Setup-tool-hackers] Can It cause errors?
- From: jacob berkman <jacob ximian com>
- To: Chema Celorio <chema ximian com>
- Cc: Carlos Perelló Marín <carlos gnome-db org>, Setup Tool Hackers <setup-tool-hackers helixcode com>
- Subject: Re: [Setup-tool-hackers] Can It cause errors?
- Date: 22 May 2001 19:30:40 -0400
On 22 May 2001 16:22:48 -0500, Chema Celorio wrote:
> Carlos Perelló Marín wrote:
> > Will you have any problem?
>
> no, sounds like a good idea.
> Hoever a better solution would be to have :
>
> const XstBootType boot_type[2][] = {
> {"WindowsNT", _("Windows NT)},
> {"dos", _("dos")},
> ...
> {"unknown", _("Unknown)},
> };
arghhhhhhh.
this is *not* C. this is GNU "C".
you have to use N_() when initializing static strings.
and you don't need the two things here - you can use the untranslated
version internally and the translated one to the user.
jacob
--
In the afterlife, a cute .signature will only get you so far.
_______________________________________________
setup-tool-hackers maillist - setup-tool-hackers@ximian.com
http://lists.ximian.com/mailman/listinfo/setup-tool-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]