Re: [G2R] Translation of .schemas files in core modules



ons, 2002-07-31 kl. 16:33 skrev Zbigniew Chyla:
> On Wed, 2002-07-31 at 15:37:08, Kjartan Maraas wrote:
> 
> > Better solutions are welcome and I think they have to surface quickly if
> > they are to be in the 2.0.1 release.
> 
> Use mixture of both patches:
> 
> @@ -1140,8 +1140,9 @@ static int
>  create_help_entries (GtkMenuShell *menu_shell, GnomeUIInfo *uiinfo, gint pos)
>  {
>  	gchar *path;
> +	gchar *title = N_("_Contents");
>  
> -	uiinfo->widget = gtk_image_menu_item_new_with_mnemonic (L_("_Contents"));
> +	uiinfo->widget = gtk_image_menu_item_new_with_mnemonic (L_(title));
>  	uiinfo->hint = g_strdup (_("View help for this application"));
>  
>  	setup_image_menu_item (uiinfo->widget, GNOME_APP_PIXMAP_STOCK, GTK_STOCK_HELP);

It's all so much clearer now :)

Thanks a bunch. I'll attach it to the bugreport.

Cheers
Kjartan



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