summary refs log tree commit diff stats
path: root/src/common/chanopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/chanopt.c')
-rw-r--r--src/common/chanopt.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/chanopt.c b/src/common/chanopt.c
index cfa41ba1..56d1b1eb 100644
--- a/src/common/chanopt.c
+++ b/src/common/chanopt.c
@@ -76,11 +76,11 @@ chanopt_value (guint8 val)
 	switch (val)
 	{
 	case SET_OFF:
-		return "OFF";
+		return _("OFF");
 	case SET_ON:
-		return "ON";
+		return _("ON");
 	case SET_DEFAULT:
-		return "{unset}";
+		return _("{unset}");
 	default:
 		g_assert_not_reached ();
 	}
@@ -123,8 +123,10 @@ chanopt_command (session *sess, char *tbuf, char *word[], char *word_eol[])
 	}
 
 	if (!quiet)
-		PrintTextf (sess, "\002Network\002: %s \002Channel\002: %s\n",
+		PrintTextf (sess, "\002%s\002: %s \002%s\002: %s\n",
+						_("Network"),
 						sess->server->network ? server_get_network (sess->server, TRUE) : _("<none>"),
+						_("Channel"),
 						sess->session_name[0] ? sess->session_name : _("<none>"));
 
 	while (i < sizeof (chanopt) / sizeof (channel_options))