Re: i8n problems
- From: Elliot Lee <sopwith redhat com>
- To: Miguel de Icaza <miguel gnu org>
- cc: chris black-sun co uk, gnome-devel-list gnome org, recipient list not shown: ;, recipient list not shown: ;
- Subject: Re: i8n problems
- Date: Thu, 18 Nov 1999 16:43:29 -0500 (EST)
On Thu, 18 Nov 1999, Miguel de Icaza wrote:
> > Also, I have some strings that are in arrays:
> >
> > gchar *message_list_titles[] = {
> > N_("Status"),
> > N_("From"),
> > N_("Subject"),
> > N_("Received"),
> > N_("mId")
> > };
>
> Just make sure that you use _() when acceswsing them:
>
> puts (_(message_list_titles [0]));
That's might not work as intended - you'll be asking the translators to
translate the string "message_list_titles [0]". I think doing
puts(gettext(message_list_titles[0]));
Is proper here.
-- Elliot
Do not meddle in the affairs of dragons,
for you are crunchy and good with ketchup.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]