updates.
[silc.git] / apps / irssi / src / fe-common / silc / module-formats.c
index c70ff98d66b79f8defdaebced1c417e8c08e3091..d542ccc63237edaa0802709cb6edb14f30f8ba3e 100644 (file)
@@ -31,22 +31,88 @@ FORMAT_REC fecommon_silc_formats[] = {
        { "channel_founder_you", "You are channel founder on {channel $0}", 1, { 0 } },
        { "channel_founder", "channel founder on {channel $0} is: {channick_hilight $1}", 2, { 0, 0 } },
        { "channel_topic", "Topic for {channel $0} is: $1", 2, { 0, 0 } },
+       { "channel_topic_not_set", "Topic for {channel $0} not set", 1, { 0 } },
        { "cmode", "channel mode/{channel $0} {mode $1} by {nick $2}", 3, { 0, 0, 0 } },
        { "cumode", "channel user mode/{channel $0}/{nick $1} {mode $2} by {nick $3}", 4, { 0, 0, 0, 0 } },
-       { "action", "{action $0}", 1, { 0 } },
-       { "notice", "{notice $0}", 1, { 0 } },
-       { "ownaction", "{ownaction $0}", 1, { 0 } },
-       { "ownnotice", "{ownnotice $0}", 1, { 0 } },
+       { "action", "{action $0-}", 2, { 0, 0 } },
+       { "notice", "{notice $0-}", 2, { 0, 0 } },
+       { "ownaction", "{ownaction $0-}", 2, { 0, 0 } },
+       { "ownnotice", "{ownnotice $0-}", 2, { 0, 0 } },
+       { "invite_list", "channel {channel $0} invite list: $1", 2, { 0, 0 } },
+       { "no_invite_list", "channel {channel $0} invite list not set", 1, { 0 } },
+       { "ban_list", "channel {channel $0} ban list: $1", 2, { 0, 0 } },
+       { "no_ban_list", "channel {channel $0} ban list not set", 1, { 0 } },
+       { "inviting", "Inviting {nick $0} to channel {channel $1}", 2, { 0, 0 } },
+       { "kicked_you", "You have been kicked off channel {channel $0} ($1)", 2, { 0, 0 } },
+       { "kicked", "{nick $0} has been kicked off channel {channel $1} ($2)", 3, { 0, 0, 0 } },
+       { "killed_you", "You have been killed from the SILC Network", 0 },
+       { "killed", "{nick $0} has been killed from the SILC Network ($1)", 2, { 0, 0 } },
 
-       /* WHOIS and WHOWAS messages */
+       /* WHOIS, WHOWAS and USERS (alias WHO) messages */
        { NULL, "Who Queries", 0 },
 
-       { "whois", "{nick $0} {nickhost $1}%: realname : $2", 3, { 0, 0, 0 } },
+       { "whois", "{nick $0} {nickhost $1@$2}%: nickname : $3 ($4)", 5, { 0, 0, 0, 0, 0 } },
+       { "whois_realname", " realname : $0", 1, { 0 } },
        { "whois_channels", " channels : $0", 1, { 0 } },
        { "whois_modes", " modes    : $0", 1, { 0 } },
        { "whois_idle", " idle     : $0", 1, { 0 } },
        { "whowas", "{nick $0} was {nickhost $1} ($2)", 3, { 0, 0, 0 } },
+       { "users_header", "Users on {channelhilight $0}", 1, { 0 } },
+       { "users", " %|{nick $[!20]0} $[!5]1 $2 {comment {hilight $3}}", 4, { 0, 0, 0, 0 } },
+
+       /* Key management and key agreement */
+       { NULL, "Key Management And Key Agreement", 0 },
+
+       { "channel_private_key_add", "Private key set to channel {channel $0}", 1, { 0 } },
+       { "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 } },
+       { "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 } },
+       { "key_agreement_request", "{nick $0} wants to perform key agreement", 1, { 0 } },
+       { "key_agreement_request_host", "{nick $0} wants to perform key agreement on {nickhost $1} port {hilight $2}", 3, { 0, 0, 0 } },
+       { "key_agreement_negotiate", "Starting key agreement with {nick $0}", 1, { 0 } },
+       { "key_agreement_privmsg", "The private messages with the {nick $0} are now protected with the private key", 1, { 0 } },
+       { "key_agreement_ok", "Key agreement completed successfully with {nick $0}", 1, { 0 } },
+       { "key_agreement_error", "Error occurred during key agreement with {nick $0}", 1, { 0 } },
+       { "key_agreement_failure", "Key agreement failed with {nick $0}", 1, { 0 } },
+       { "key_agreement_timeout", "Timeout during key agreement. The key agreement was not performed with {nick $0}", 1, { 0 } },
+       { "pubkey_received", "Received {hilight $0} public key", 1, { 0 } },
+       { "pubkey_fingerprint", "Fingerprint for the {hilight $0} key is %: $1", 2, { 0, 0 } },
+       { "pubkey_unsupported", "We don't support {hilight $0} public key type {hilight $1}", 2, { 0, 0 } },
+       { "pubkey_discard", "Will not accept the {hilight $0} key", 1, { 0 } },
+       { "pubkey_accept", "Would you like to accept the key (y/n)? ", 0 },
+       { "pubkey_accept_anyway", "Would you like to accept the key anyway (y/n)? ", 0 },
+       { "pubkey_could_not_load", "Could not load your local copy of the {hilight $0} key", 1, { 0 } },
+       { "pubkey_malformed", "Your local copy of the {hilight $0} key is malformed", 1, { 0 } },
+       { "pubkey_no_match", "{hilight $0} key does not match with your local copy", 1, { 0 } },
+       { "pubkey_maybe_expired", "It is possible that the key has expired or changed", 0 },
+       { "pubkey_mitm_attach", "It is also possible that someone is performing man-in-the-middle attack", 0 },
+       { "getkey_notkey", "Server did not return any public key", 0 },
+
+       /* Misc messages */
+       { NULL, "Misc", 0 },
+
+       { "server_oper", "You are now {hilight server operator}", 0 },
+       { "router_oper", "You are now {hilight SILC operator}", 0 },
+       { "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 } },
+       { "ke_bad_version", "You are running 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_incorrect_signature", "Incorrect signature", 0 },
+       { "ke_invalid_cookie", "Invalid cookie", 0 },
+       { "auth_failed", "Authentication failed", 0 },
+       { "set_away", "You have meen marked as being away (away message: {hilight $0})", 1, { 0 } },
+       { "unset_away", "You are no longer marked as being away", 0 },
+       { "auth_meth_unresolved", "Could not resolve authentication method to use, assume no authentication", 0 },
 
        { NULL, NULL, 0 }
 };
-