Use localized "HexChat" in window titles

Also allow rearranging of "HexChat" in window titles
This commit is contained in:
Chase Patterson
2017-09-15 17:36:02 -04:00
committed by TingPing
parent d935197895
commit 18b741804c
68 changed files with 2714 additions and 2682 deletions

View File

@@ -2288,8 +2288,10 @@ static GtkWidget *
setup_window_open (void)
{
GtkWidget *wid, *win, *vbox, *hbox, *hbbox;
char buf[128];
win = gtkutil_window_new (_("Preferences - "DISPLAY_NAME), "prefs", 0, 600, 2);
g_snprintf(buf, sizeof(buf), _("Preferences - %s"), _(DISPLAY_NAME));
win = gtkutil_window_new (buf, "prefs", 0, 600, 2);
vbox = gtk_vbox_new (FALSE, 5);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);