Re: Does YOUR language have an entry in GDM?



On Mon, Feb 23, 2004 at 03:08:01PM +0100, Danilo Segan wrote:
> Index: gdmlanguages.c
> ===================================================================
> RCS file: /cvs/gnome/gdm2/gui/gdmlanguages.c,v
> retrieving revision 1.32
> diff -u -r1.32 gdmlanguages.c
> --- gdmlanguages.c	19 Feb 2004 10:56:10 -0000	1.32
> +++ gdmlanguages.c	23 Feb 2004 13:54:21 -0000
> @@ -168,7 +168,11 @@
>  	/*Note translate the N-Z to the N-Z you used in the group label */
>  	{ N_("N-Z|Russian"), "ru_RU", "русский", 0 },
>  	/*Note translate the N-Z to the N-Z you used in the group label */
> -	{ N_("N-Z|Serbian"), "sr_YU", "", 0 },
> +	{ N_("N-Z|Serbian"), "sr_CS", "српски", 0 },
> +	/*Note translate the N-Z to the N-Z you used in the group label */
> +	{ N_("N-Z|Serbian (Latin)"), "sr_CS.UTF-8@Latn", "srpski (latinica)", 0 },
> +	/*Note translate the N-Z to the N-Z you used in the group label */
> +	{ N_("N-Z|Serbian (iyekavian)"), "sr_CS.UTF-8@ije", "српски (ијекавски)", 0 },
>  	/*Note translate the N-Z to the N-Z you used in the group label */
>  	{ N_("N-Z|Slovak"), "sk_SK", "Slovenský", 0 },
>  	/*Note translate the N-Z to the N-Z you used in the group label */

Both sr_YU and sr_CS should be listed here so they both work.  Only the one
that's set up will be shown, but the above should really still call sr_YU
'Serbian' instead of just 'sr_YU' which would happen with the above patch.

Also the others need to then be fixed to do the search by first
stripping the charset.  The charset is not important to the language name.
I will fix this later, feel free to file a bug.  Basically the above needs
to be then changed to sr_CS@Latn, but of course gdm needs to be fixed first.

George

-- 
George <jirka@5z.com>
   A conference is a gathering of important people who singly can do 
   nothing but together can decide that nothing can be done.
                       -- Fred Allen



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