diff options
Diffstat (limited to 'src/fe-gtk/servlistgui.c')
-rw-r--r-- | src/fe-gtk/servlistgui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index dc19ab8f..b22330ac 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -1707,7 +1707,7 @@ servlist_open_edit (GtkWidget *parent, ircnet *net) editwindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width (GTK_CONTAINER (editwindow), 4); - g_snprintf (buf, sizeof (buf), _("Edit %s - "DISPLAY_NAME), net->name); + g_snprintf (buf, sizeof (buf), _("Edit %s - %s"), net->name, _(DISPLAY_NAME)); gtk_window_set_title (GTK_WINDOW (editwindow), buf); gtk_window_set_default_size (GTK_WINDOW (editwindow), netedit_win_width, netedit_win_height); gtk_window_set_transient_for (GTK_WINDOW (editwindow), GTK_WINDOW (parent)); @@ -1970,10 +1970,12 @@ servlist_open_networks (void) GtkTreeModel *model; GtkListStore *store; GtkCellRenderer *renderer; + char buf[128]; servlist = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width (GTK_CONTAINER (servlist), 4); - gtk_window_set_title (GTK_WINDOW (servlist), _("Network List - "DISPLAY_NAME)); + g_snprintf(buf, sizeof(buf), _("Network List - %s"), _(DISPLAY_NAME)); + gtk_window_set_title (GTK_WINDOW (servlist), buf); gtk_window_set_default_size (GTK_WINDOW (servlist), netlist_win_width, netlist_win_height); gtk_window_set_role (GTK_WINDOW (servlist), "servlist"); gtk_window_set_type_hint (GTK_WINDOW (servlist), GDK_WINDOW_TYPE_HINT_DIALOG); |