From 382918235999c32cceba1c0e558a2b3e5fc2b8b3 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 1 Apr 2018 18:32:11 +1000 Subject: [PATCH] Update example translations and add nickserv translation file --- languages/example-help.lang.json | 2 +- languages/example-irc.lang.json | 58 ++++++++++++++++++++++++---- languages/example-nickserv.lang.json | 13 +++++++ 3 files changed, 64 insertions(+), 9 deletions(-) create mode 100644 languages/example-nickserv.lang.json diff --git a/languages/example-help.lang.json b/languages/example-help.lang.json index 9d155c5a..eec4bbc1 100644 --- a/languages/example-help.lang.json +++ b/languages/example-help.lang.json @@ -1,6 +1,6 @@ { "= Help Topics =\n\nCommands:\n%s\n\nRPL_ISUPPORT Tokens:\n%s\n\nInformation:\n%s": "= Help Topics =\n\nCommands:\n%s\n\nRPL_ISUPPORT Tokens:\n%s\n\nInformation:\n%s", - "== Channel Modes ==\n\nOragono supports the following channel modes:\n\n +b | Client masks that are banned from the channel (e.g. *!*@127.0.0.1)\n +e | Client masks that are exempted from bans.\n +I | Client masks that are exempted from the invite-only flag.\n +i | Invite-only mode, only invited clients can join the channel.\n +k | Key required when joining the channel.\n +l | Client join limit for the channel.\n +m | Moderated mode, only privileged clients can talk on the channel.\n +n | No-outside-messages mode, only users that are on the channel can send\n | messages to it.\n +r | Only registered users can talk in the channel.\n +s | Secret mode, channel won't show up in /LIST or whois replies.\n +t | Only channel opers can modify the topic.\n\n= Prefixes =\n\n +q (~) | Founder channel mode.\n +a (&) | Admin channel mode.\n +o (@) | Operator channel mode.\n +h (%) | Halfop channel mode.\n +v (+) | Voice channel mode.": "== Channel Modes ==\n\nOragono supports the following channel modes:\n\n +b | Client masks that are banned from the channel (e.g. *!*@127.0.0.1)\n +e | Client masks that are exempted from bans.\n +I | Client masks that are exempted from the invite-only flag.\n +i | Invite-only mode, only invited clients can join the channel.\n +k | Key required when joining the channel.\n +l | Client join limit for the channel.\n +m | Moderated mode, only privileged clients can talk on the channel.\n +n | No-outside-messages mode, only users that are on the channel can send\n | messages to it.\n +r | Only registered users can talk in the channel.\n +s | Secret mode, channel won't show up in /LIST or whois replies.\n +t | Only channel opers can modify the topic.\n\n= Prefixes =\n\n +q (~) | Founder channel mode.\n +a (&) | Admin channel mode.\n +o (@) | Operator channel mode.\n +h (%) | Halfop channel mode.\n +v (+) | Voice channel mode.", + "== Channel Modes ==\n\nOragono supports the following channel modes:\n\n +b | Client masks that are banned from the channel (e.g. *!*@127.0.0.1)\n +e | Client masks that are exempted from bans.\n +I | Client masks that are exempted from the invite-only flag.\n +i | Invite-only mode, only invited clients can join the channel.\n +k | Key required when joining the channel.\n +l | Client join limit for the channel.\n +m | Moderated mode, only privileged clients can talk on the channel.\n +n | No-outside-messages mode, only users that are on the channel can send\n | messages to it.\n +R | Only registered users can talk in the channel.\n +s | Secret mode, channel won't show up in /LIST or whois replies.\n +t | Only channel opers can modify the topic.\n\n= Prefixes =\n\n +q (~) | Founder channel mode.\n +a (&) | Admin channel mode.\n +o (@) | Operator channel mode.\n +h (%) | Halfop channel mode.\n +v (+) | Voice channel mode.": "== Channel Modes ==\n\nOragono supports the following channel modes:\n\n +b | Client masks that are banned from the channel (e.g. *!*@127.0.0.1)\n +e | Client masks that are exempted from bans.\n +I | Client masks that are exempted from the invite-only flag.\n +i | Invite-only mode, only invited clients can join the channel.\n +k | Key required when joining the channel.\n +l | Client join limit for the channel.\n +m | Moderated mode, only privileged clients can talk on the channel.\n +n | No-outside-messages mode, only users that are on the channel can send\n | messages to it.\n +R | Only registered users can talk in the channel.\n +s | Secret mode, channel won't show up in /LIST or whois replies.\n +t | Only channel opers can modify the topic.\n\n= Prefixes =\n\n +q (~) | Founder channel mode.\n +a (&) | Admin channel mode.\n +o (@) | Operator channel mode.\n +h (%) | Halfop channel mode.\n +v (+) | Voice channel mode.", "== Server Notice Masks ==\n\nOragono supports the following server notice masks for operators:\n\n a | Local announcements.\n c | Local client connections.\n j | Local channel actions.\n k | Local kills.\n n | Local nick changes.\n o | Local oper actions.\n q | Local quits.\n t | Local /STATS usage.\n u | Local client account actions.\n x | Local X-lines (DLINE/KLINE/etc).\n\nTo set a snomask, do this with your nickname:\n\n /MODE +s \n\nFor instance, this would set the kill, oper, account and xline snomasks on dan:\n\n /MODE dan +s koux": "== Server Notice Masks ==\n\nOragono supports the following server notice masks for operators:\n\n a | Local announcements.\n c | Local client connections.\n j | Local channel actions.\n k | Local kills.\n n | Local nick changes.\n o | Local oper actions.\n q | Local quits.\n t | Local /STATS usage.\n u | Local client account actions.\n x | Local X-lines (DLINE/KLINE/etc).\n\nTo set a snomask, do this with your nickname:\n\n /MODE +s \n\nFor instance, this would set the kill, oper, account and xline snomasks on dan:\n\n /MODE dan +s koux", "== User Modes ==\n\nOragono supports the following user modes:\n\n +a | User is marked as being away. This mode is set with the /AWAY command.\n +i | User is marked as invisible (their channels are hidden from whois replies).\n +o | User is an IRC operator.\n +R | User only accepts messages from other registered users. \n +s | Server Notice Masks (see help with /HELPOP snomasks).\n +Z | User is connected via TLS.": "== User Modes ==\n\nOragono supports the following user modes:\n\n +a | User is marked as being away. This mode is set with the /AWAY command.\n +i | User is marked as invisible (their channels are hidden from whois replies).\n +o | User is an IRC operator.\n +R | User only accepts messages from other registered users. \n +s | Server Notice Masks (see help with /HELPOP snomasks).\n +Z | User is connected via TLS.", "@+client-only-tags TAGMSG {,}\n\nSends the given client-only tags to the given targets as a TAGMSG. See the IRCv3\nspecs for more info: http://ircv3.net/specs/core/message-tags-3.3.html": "@+client-only-tags TAGMSG {,}\n\nSends the given client-only tags to the given targets as a TAGMSG. See the IRCv3\nspecs for more info: http://ircv3.net/specs/core/message-tags-3.3.html", diff --git a/languages/example-irc.lang.json b/languages/example-irc.lang.json index 42e271a6..38d6412b 100644 --- a/languages/example-irc.lang.json +++ b/languages/example-irc.lang.json @@ -1,6 +1,10 @@ { "%d IRC Operators online": "%d IRC Operators online", "%d channels formed": "%d channels formed", + "*** $bChanServ HELP$b ***": "*** $bChanServ HELP$b ***", + "*** $bEnd of ChanServ HELP$b ***": "*** $bEnd of ChanServ HELP$b ***", + "*** $bEnd of NickServ HELP$b ***": "*** $bEnd of NickServ HELP$b ***", + "*** $bNickServ HELP$b ***": "*** $bNickServ HELP$b ***", "*** Could not find your username": "*** Could not find your username", "*** Found your username": "*** Found your username", "*** Got a malformed username, ignoring": "*** Got a malformed username, ignoring", @@ -8,14 +12,21 @@ "- %s Message of the day - ": "- %s Message of the day - ", "Account already exists": "Account already exists", "Account created": "Account created", + "Account created, pending verification; verification code has been sent to %s:%s": "Account created, pending verification; verification code has been sent to %s:%s", + "Account does not exist": "Account does not exist", "Account name is not valid": "Account name is not valid", + "Account registration has been disabled": "Account registration has been disabled", "Account registration is disabled": "Account registration is disabled", + "Account: %s": "Account: %s", "Actual user@host, Actual IP": "Actual user@host, Actual IP", "Added D-Line for %s": "Added D-Line for %s", "Added K-Line for %s": "Added K-Line for %s", "Added temporary (%[1]s) D-Line for %[2]s": "Added temporary (%[1]s) D-Line for %[2]s", "Added temporary (%[1]s) K-Line for %[2]s": "Added temporary (%[1]s) K-Line for %[2]s", + "Additional grouped nick: %s": "Additional grouped nick: %s", + "An account already exists for your certificate fingerprint": "An account already exists for your certificate fingerprint", "Authentication successful": "Authentication successful", + "Bad password": "Bad password", "Ban - %[1]s - added by %[2]s - %[3]s": "Ban - %[1]s - added by %[2]s - %[3]s", "Ban - %s - added by %s - %s": "Ban - %s - added by %s - %s", "Callback namespace is not supported": "Callback namespace is not supported", @@ -29,21 +40,27 @@ "Cannot resume connection, old nickname contains spaces": "Cannot resume connection, old nickname contains spaces", "Cannot send to channel": "Cannot send to channel", "Channel %s successfully registered": "Channel %s successfully registered", + "Channel does not exist": "Channel does not exist", "Channel doesn't have roleplaying mode available": "Channel doesn't have roleplaying mode available", "Channel list is full": "Channel list is full", "Channel name is not valid": "Channel name is not valid", "Channel registration is not enabled": "Channel registration is not enabled", "Channel renamed: %s": "Channel renamed: %s", "Client reconnected": "Client reconnected", + "Command error. Please report this to the developers": "Command error. Please report this to the developers", + "Command restricted": "Command restricted", "Contributors and Former Developers:": "Contributors and Former Developers:", "Core Developers:": "Core Developers:", "Could not apply mode changes: +%s": "Could not apply mode changes: +%s", + "Could not find given client": "Could not find given client", + "Could not login with your TLS certificate or supplied username/password": "Could not login with your TLS certificate or supplied username/password", "Could not parse IP address or CIDR network": "Could not parse IP address or CIDR network", "Could not register": "Could not register", "Could not remove ban [%s]": "Could not remove ban [%s]", "Could not set or change nickname: %s": "Could not set or change nickname: %s", "Could not successfully save new D-LINE: %s": "Could not successfully save new D-LINE: %s", "Could not successfully save new K-LINE: %s": "Could not successfully save new K-LINE: %s", + "Could not ungroup nick": "Could not ungroup nick", "Credential type is not supported": "Credential type is not supported", "End of /HELPOP": "End of /HELPOP", "End of /INFO": "End of /INFO", @@ -55,29 +72,34 @@ "End of WHOWAS": "End of WHOWAS", "End of list": "End of list", "Erroneous nickname": "Erroneous nickname", + "Error reserving nickname": "Error reserving nickname", + "Error while unregistering account": "Error while unregistering account", "Fake source must be a valid nickname": "Fake source must be a valid nickname", "First param must be a mask or channel": "First param must be a mask or channel", + "GHOSTed by %s": "GHOSTed by %s", "HELPOP \n\nGet an explanation of , or \"index\" for a list of help topics.": "HELPOP \n\nGet an explanation of , or \"index\" for a list of help topics.", "Help not found": "Help not found", "I have %[1]d clients and %[2]d servers": "I have %[1]d clients and %[2]d servers", "Insufficient oper privs": "Insufficient oper privs", "Invalid CAP subcommand": "Invalid CAP subcommand", + "Invalid username": "Invalid username", "JOIN 0 is not allowed": "JOIN 0 is not allowed", "Language preferences have been set": "Language preferences have been set", "Languages are not supported by this server": "Languages are not supported by this server", + "Login has been disabled": "Login has been disabled", "MOTD File is missing": "MOTD File is missing", "Malformed username": "Malformed username", "Mask isn't valid": "Mask isn't valid", - "NickServ is not yet implemented, sorry! To register an account, check /HELPOP REG": "NickServ is not yet implemented, sorry! To register an account, check /HELPOP REG", "Nickname is already in use": "Nickname is already in use", + "Nickname is reserved by a different account": "Nickname is reserved by a different account", "No DLINEs have been set!": "No DLINEs have been set!", "No command given": "No command given", "No masks given": "No masks given", "No nickname given": "No nickname given", "No such channel": "No such channel", "No such nick": "No such nick", - "No such server": "No such server", "No topic is set": "No topic is set", + "No username supplied": "No username supplied", "Not enough parameters": "Not enough parameters", "Only channel founders can change registered channels": "Only channel founders can change registered channels", "Oragono is released under the MIT license.": "Oragono is released under the MIT license.", @@ -87,6 +109,8 @@ "Permission Denied - You're not an IRC operator": "Permission Denied - You're not an IRC operator", "Proxied IP address is not valid: [%s]": "Proxied IP address is not valid: [%s]", "Received malformed line": "Received malformed line", + "Registered at: %s": "Registered at: %s", + "Registration requires a valid e-mail address": "Registration requires a valid e-mail address", "Rehashing": "Rehashing", "Remote servers not yet supported": "Remote servers not yet supported", "Removed D-Line for %s": "Removed D-Line for %s", @@ -94,17 +118,21 @@ "SASL authentication aborted": "SASL authentication aborted", "SASL authentication failed": "SASL authentication failed", "SASL authentication failed, you are not connecting with a certificate": "SASL authentication failed, you are not connecting with a certificate", - "SASL authentication failed: Bad account name": "SASL authentication failed: Bad account name", "SASL authentication failed: Invalid auth blob": "SASL authentication failed: Invalid auth blob", "SASL authentication failed: Invalid b64 encoding": "SASL authentication failed: Invalid b64 encoding", "SASL authentication failed: Passphrase too long": "SASL authentication failed: Passphrase too long", "SASL authentication failed: authcid and authzid should be the same": "SASL authentication failed: authcid and authzid should be the same", - "SASL authentication successful": "SASL authentication successful", "SASL message too long": "SASL message too long", "Server notice masks": "Server notice masks", - "Sorry, I don't know that command": "Sorry, I don't know that command", - "Syntax: REGISTER ": "Syntax: REGISTER ", + "Successfully grouped nick %s with your account": "Successfully grouped nick %s with your account", + "Successfully op'd in channel %s": "Successfully op'd in channel %s", + "Successfully ungrouped nick %s with your account": "Successfully ungrouped nick %s with your account", + "Successfully unregistered account %s": "Successfully unregistered account %s", + "Syntax: $bOP #channel [nickname]$b": "Syntax: $bOP #channel [nickname]$b", + "Syntax: $bREGISTER #channel$b": "Syntax: $bREGISTER #channel$b", "Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on": "Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on", + "That nickname is already reserved by someone else": "That nickname is already reserved by someone else", + "That nickname is not registered": "That nickname is not registered", "There are %[1]d users and %[2]d invisible on %[3]d server(s)": "There are %[1]d users and %[2]d invisible on %[3]d server(s)", "There was no such nickname": "There was no such nickname", "They aren't on that channel": "They aren't on that channel", @@ -113,10 +141,16 @@ "This server is in debug mode and is logging all user I/O. If you do not wish for everything you send to be readable by the server owner(s), please disconnect.": "This server is in debug mode and is logging all user I/O. If you do not wish for everything you send to be readable by the server owner(s), please disconnect.", "This server was created %s": "This server was created %s", "Timestamp is not in 2006-01-02T15:04:05.999Z format, ignoring it": "Timestamp is not in 2006-01-02T15:04:05.999Z format, ignoring it", + "To verify your account, issue one of these commands:": "To verify your account, issue one of these commands:", + "Translators:": "Translators:", "Unknown command": "Unknown command", + "Unknown command. To see available commands, run /CS HELP": "Unknown command. To see available commands, run /CS HELP", + "Unknown command. To see available commands, run /NS HELP": "Unknown command. To see available commands, run /NS HELP", + "Unknown command. To see available commands, run /cs HELP": "Unknown command. To see available commands, run /cs HELP", "Unknown subcommand": "Unknown subcommand", "User doesn't have roleplaying mode enabled": "User doesn't have roleplaying mode enabled", - "VERIFY is not yet implemented": "VERIFY is not yet implemented", + "Verification code: %s": "Verification code: %s", + "Verify your account on %s": "Verify your account on %s", "WEBIRC command is not usable from your address or incorrect password given": "WEBIRC command is not usable from your address or incorrect password given", "Welcome to the Internet Relay Network %s": "Welcome to the Internet Relay Network %s", "You are banned from this server (%s)": "You are banned from this server (%s)", @@ -124,18 +158,26 @@ "You are not using a TLS certificate": "You are not using a TLS certificate", "You are now an IRC operator": "You are now an IRC operator", "You are now logged in as %s": "You are now logged in as %s", + "You can't GHOST yourself (try /QUIT instead)": "You can't GHOST yourself (try /QUIT instead)", + "You can't ungroup your primary nickname (try unregistering your account instead)": "You can't ungroup your primary nickname (try unregistering your account instead)", + "You don't own that nick": "You don't own that nick", "You have been banned from this server (%s)": "You have been banned from this server (%s)", "You have been marked as being away": "You have been marked as being away", + "You have too many nicks reserved already (you can remove some with /NS DROP)": "You have too many nicks reserved already (you can remove some with /NS DROP)", "You may not reregister": "You may not reregister", "You must be an oper on the channel to register it": "You must be an oper on the channel to register it", + "You must be logged in to op on a channel": "You must be logged in to op on a channel", "You must be logged in to register a channel": "You must be logged in to register a channel", + "You must be the channel founder to op": "You must be the channel founder to op", + "You need to either supply a passphrase or be connected via TLS with a client cert": "You need to either supply a passphrase or be connected via TLS with a client cert", "You need to register before you can use that command": "You need to register before you can use that command", - "You need to run a command": "You need to run a command", "You specified too many languages": "You specified too many languages", "You're already logged into an account": "You're already logged into an account", "You're already opered-up!": "You're already opered-up!", "You're not a channel operator": "You're not a channel operator", + "You're not logged into an account": "You're not logged into an account", "You're not on that channel": "You're not on that channel", + "You're now logged in as %s": "You're now logged in as %s", "Your host is %[1]s, running version %[2]s": "Your host is %[1]s, running version %[2]s", "are supported by this server": "are supported by this server", "can speak these languages": "can speak these languages", diff --git a/languages/example-nickserv.lang.json b/languages/example-nickserv.lang.json new file mode 100644 index 00000000..ba5996af --- /dev/null +++ b/languages/example-nickserv.lang.json @@ -0,0 +1,13 @@ +{ + "NickServ lets you register and login to an account.\n\nTo see in-depth help for a specific NickServ command, try:\n $b/NS HELP $b\n\nHere are the commands you can use:\n%s": "NickServ lets you register and login to an account.\n\nTo see in-depth help for a specific NickServ command, try:\n $b/NS HELP $b\n\nHere are the commands you can use:\n%s", + "Syntax: $bDROP [nickname]$b\n\nDROP de-links the given (or your current) nickname from your user account.": "Syntax: $bDROP [nickname]$b\n\nDROP de-links the given (or your current) nickname from your user account.", + "Syntax: $bGHOST $b\n\nGHOST disconnects the given user from the network if they're logged in with the\nsame user account, letting you reclaim your nickname.": "Syntax: $bGHOST $b\n\nGHOST disconnects the given user from the network if they're logged in with the\nsame user account, letting you reclaim your nickname.", + "Syntax: $bGROUP$b\n\nGROUP links your current nickname with your logged-in account, preventing other\nusers from changing to it (or forcing them to rename).": "Syntax: $bGROUP$b\n\nGROUP links your current nickname with your logged-in account, preventing other\nusers from changing to it (or forcing them to rename).", + "Syntax: $bHELP [command]$b\n\nHELP returns information on the given command.": "Syntax: $bHELP [command]$b\n\nHELP returns information on the given command.", + "Syntax: $bIDENTIFY [password]$b\n\nIDENTIFY lets you login to the given username using either password auth, or\ncertfp (your client certificate) if a password is not given.": "Syntax: $bIDENTIFY [password]$b\n\nIDENTIFY lets you login to the given username using either password auth, or\ncertfp (your client certificate) if a password is not given.", + "Syntax: $bINFO [username]$b\n\nINFO gives you information about the given (or your own) user account.": "Syntax: $bINFO [username]$b\n\nINFO gives you information about the given (or your own) user account.", + "Syntax: $bREGISTER [password]$b\n\nREGISTER lets you register a user account. If the server allows anonymous\nregistration, you can send an asterisk (*) as the email address.\n\nIf the password is left out, your account will be registered to your TLS client\ncertificate (and you will need to use that certificate to login in future).": "Syntax: $bREGISTER [password]$b\n\nREGISTER lets you register a user account. If the server allows anonymous\nregistration, you can send an asterisk (*) as the email address.\n\nIf the password is left out, your account will be registered to your TLS client\ncertificate (and you will need to use that certificate to login in future).", + "Syntax: $bSADROP $b\n\nSADROP foribly de-links the given nickname from the attached user account.": "Syntax: $bSADROP $b\n\nSADROP foribly de-links the given nickname from the attached user account.", + "Syntax: $bUNREGISTER [username]$b\n\nUNREGISTER lets you delete your user account (or the given one, if you're an\nIRC operator with the correct permissions).": "Syntax: $bUNREGISTER [username]$b\n\nUNREGISTER lets you delete your user account (or the given one, if you're an\nIRC operator with the correct permissions).", + "Syntax: $bVERIFY $b\n\nVERIFY lets you complete an account registration, if the server requires email\nor other verification.": "Syntax: $bVERIFY $b\n\nVERIFY lets you complete an account registration, if the server requires email\nor other verification." +}