Re: [gnome-network] [PATH] Tooltips and statusbar messages in Nettool



Hi :),

Just a little nitpick:

netinfo->stbar_text = g_strdup_printf (_("Getting information of %s on %s"),
                                       g_ascii_strcasecmp (user, "") != 0 ? user : "all users",
                                       g_ascii_strcasecmp (host, "") != 0 ? host : "localhost");

this kind of splitted strings is a pain for being translated (and "all
users isn't being translated :), I'd suggest more something like:

if (g_ascii_strcasecmp (user, "") != 0)
  netinfo->stbar_text = g_strdup_printf (_("Getting information of %s on \"%s\"),
                                         user,
                                         g_ascii_strcasecmp (host, "") != 0 ? host : "localhost");
else
  netinfo->stbar_text = g_strdup_printf (_("Getting information of all users on \"%s\"),
                                         g_ascii_strcasecmp (host, "") != 0 ? host : "localhost");


	Regards

On Wed, 2004-06-23 at 21:58 +0200, Carlos Garcia Campos wrote:
> Hi all, 
> 
> attached is a patch that adds tooltips and status bar messages in gnome-
> nettool.  
> 
> Ok to commit?
> 
> Greetings,
> _______________________________________________
> gnome-network-list mailing list
> gnome-network-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-network-list



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