Addec multiple channel private key support to Irssi SILC client.
[silc.git] / apps / irssi / src / fe-common / silc / module-formats.c
index 4a8ec1288b9e82ef9eb2093ebabd5db8f1b48954..6ac3306f20b9d3efe41801fcaab49fa664a86fc2 100644 (file)
@@ -68,6 +68,7 @@ FORMAT_REC fecommon_silc_formats[] = {
        { "channel_private_key_nomode", "Private key mode is not set on channel {channel $0}", 1, { 0 } },
        { "channel_private_key_error", "Could not add private key to channel {channel $0}", 1, { 0 } },
        { "channel_private_key_list", "Channel {channel $0} private keys%:  Cipher           Hmac             Key", 1, { 0 } },
+       { "channel_private_change", "You are using private key n:o $0 on {channel $1}", 2, { 1, 0 } },
        { "private_key_list", "Private message keys%:  Client                         Cipher         Key", 0 },
        { "private_key_list_nick", "Private message keys with {nick $0}%:  Client                         Cipher         Key", 1, { 0 } },
        { "key_agreement", "Requesting key agreement with {nick $0}", 1, { 0 } },
@@ -104,14 +105,14 @@ FORMAT_REC fecommon_silc_formats[] = {
        { "list_header", "  Channel                              Users   Topic", 0 },
        { "list", "  %|{channelhilight $[36]0} {hilight $[7]1} $2", 3, { 0, 0, 0 } },
        { "bad_nick", "Bad nickname {hilight $0}", 1, { 0 } },
-       { "unknown_notify", "Unknown notify type {hilight $0}", 1, { 0 } },
+       { "unknown_notify", "Unknown notify type {hilight $0}", 1, { 1 } },
        { "ke_bad_version", "You are running an incompatible client version (it may be too old or too new) ", 0 },
-       { "ke_unsupported_public_key", "Server does not support your public key type", 0 },
-       { "ke_unknown_group", "Server does not support one of your proposed KE group", 0 },
-       { "ke_unknown_cipher", "Server does not support one of your proposed cipher", 0 },
-       { "ke_unknown_pkcs", "Server does not support one of your proposed PKCS", 0 },
-       { "ke_unknown_hash_function", "Server does not support one of your proposed hash function", 0 },
-       { "ke_unknown_hmac", "Server does not support one of your proposed HMAC", 0 },
+       { "ke_unsupported_public_key", "Remote does not trust/support your public key", 0 },
+       { "ke_unknown_group", "Remote does not support one of your proposed KE group", 0 },
+       { "ke_unknown_cipher", "Remote does not support one of your proposed cipher", 0 },
+       { "ke_unknown_pkcs", "Remote does not support one of your proposed PKCS", 0 },
+       { "ke_unknown_hash_function", "Remote does not support one of your proposed hash function", 0 },
+       { "ke_unknown_hmac", "Remote does not support one of your proposed HMAC", 0 },
        { "ke_incorrect_signature", "Incorrect signature", 0 },
        { "ke_invalid_cookie", "Invalid cookie", 0 },
        { "auth_failed", "Authentication failed", 0 },