Translate chanopt output
This commit is contained in:
parent
6cbcc73a79
commit
60b3b43f3e
|
@ -76,11 +76,11 @@ chanopt_value (guint8 val)
|
||||||
switch (val)
|
switch (val)
|
||||||
{
|
{
|
||||||
case SET_OFF:
|
case SET_OFF:
|
||||||
return "OFF";
|
return _("OFF");
|
||||||
case SET_ON:
|
case SET_ON:
|
||||||
return "ON";
|
return _("ON");
|
||||||
case SET_DEFAULT:
|
case SET_DEFAULT:
|
||||||
return "{unset}";
|
return _("{unset}");
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
@ -123,8 +123,10 @@ chanopt_command (session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!quiet)
|
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>"),
|
sess->server->network ? server_get_network (sess->server, TRUE) : _("<none>"),
|
||||||
|
_("Channel"),
|
||||||
sess->session_name[0] ? sess->session_name : _("<none>"));
|
sess->session_name[0] ? sess->session_name : _("<none>"));
|
||||||
|
|
||||||
while (i < sizeof (chanopt) / sizeof (channel_options))
|
while (i < sizeof (chanopt) / sizeof (channel_options))
|
||||||
|
|
Loading…
Reference in New Issue