summary refs log tree commit diff stats
path: root/src/fe-gtk/banlist.c
diff options
context:
space:
mode:
authorChase Patterson <robert@rcpatterson.net>2017-09-15 17:36:02 -0400
committerTingPing <tingping@tingping.se>2017-09-15 19:18:29 -0400
commit18b741804c7e9d92dbe13960ac5cc89d912bb616 (patch)
treee28a19e653130165c6f96241e36741a06e33862e /src/fe-gtk/banlist.c
parentd9351978958dcf137cdf2979d7614ac7a63da367 (diff)
Use localized "HexChat" in window titles
Also allow rearranging of "HexChat" in window titles
Diffstat (limited to 'src/fe-gtk/banlist.c')
-rw-r--r--src/fe-gtk/banlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-gtk/banlist.c b/src/fe-gtk/banlist.c
index 99a99277..9e844f24 100644
--- a/src/fe-gtk/banlist.c
+++ b/src/fe-gtk/banlist.c
@@ -436,8 +436,8 @@ banlist_do_refresh (banlist_info *banl)
 	{
 		GtkListStore *store;
 
-		g_snprintf (tbuf, sizeof tbuf, "Ban List (%s, %s) - ",
-						sess->channel, sess->server->servername);
+		g_snprintf (tbuf, sizeof tbuf, "Ban List (%s, %s) - %s",
+						sess->channel, sess->server->servername, _(DISPLAY_NAME));
 		mg_set_title (banl->window, tbuf);
 
 		store = get_store (sess);
@@ -805,8 +805,8 @@ banlist_opengui (struct session *sess)
 	/* Force on the checkmark in the "Bans" box */
 	banl->checked = 1<<MODE_BAN;
 
-	g_snprintf (tbuf, sizeof tbuf, _("Ban List (%s) - "DISPLAY_NAME),
-					sess->server->servername);
+	g_snprintf (tbuf, sizeof tbuf, _("Ban List (%s) - %s"),
+					sess->server->servername, _(DISPLAY_NAME));
 
 	banl->window = mg_create_generic_tab ("BanList", tbuf, FALSE,
 					TRUE, banlist_closegui, banl, 700, 300, &vbox, sess->server);