3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 05:49:25 +01:00

Update translation backend stuff a little more

This commit is contained in:
Daniel Oaks 2018-01-23 17:22:39 +10:00
parent e29f3b1a02
commit 099fd7c08f
2 changed files with 5 additions and 3 deletions

View File

@ -2243,6 +2243,7 @@ var (
https://oragono.io/ https://oragono.io/
https://github.com/oragono/oragono https://github.com/oragono/oragono
https://crowdin.com/project/oragono
`, "\n") `, "\n")
infoString2 = strings.Split(` Daniel Oakley, DanielOaks, <daniel@danieloaks.net> infoString2 = strings.Split(` Daniel Oakley, DanielOaks, <daniel@danieloaks.net>
Shivaram Lingamneni, slingamn, <slingamn@cs.stanford.edu> Shivaram Lingamneni, slingamn, <slingamn@cs.stanford.edu>
@ -2267,7 +2268,7 @@ func infoHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
} }
client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Oragono is released under the MIT license.")) client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Oragono is released under the MIT license."))
client.Send(nil, server.name, RPL_INFO, client.nick, "") client.Send(nil, server.name, RPL_INFO, client.nick, "")
client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on <3")) client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on")+" <3")
client.Send(nil, server.name, RPL_INFO, client.nick, "") client.Send(nil, server.name, RPL_INFO, client.nick, "")
client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Core Developers:")) client.Send(nil, server.name, RPL_INFO, client.nick, client.t("Core Developers:"))
for _, line := range infoString2 { for _, line := range infoString2 {
@ -2278,6 +2279,6 @@ func infoHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
for _, line := range infoString3 { for _, line := range infoString3 {
client.Send(nil, server.name, RPL_INFO, client.nick, line) client.Send(nil, server.name, RPL_INFO, client.nick, line)
} }
client.Send(nil, server.name, RPL_ENDOFINFO, client.nick, "End of /INFO") client.Send(nil, server.name, RPL_ENDOFINFO, client.nick, client.t("End of /INFO"))
return false return false
} }

View File

@ -46,6 +46,7 @@
"Could not successfully save new K-LINE: %s": "Could not successfully save new K-LINE: %s", "Could not successfully save new K-LINE: %s": "Could not successfully save new K-LINE: %s",
"Credential type is not supported": "Credential type is not supported", "Credential type is not supported": "Credential type is not supported",
"End of /HELPOP": "End of /HELPOP", "End of /HELPOP": "End of /HELPOP",
"End of /INFO": "End of /INFO",
"End of /WHOIS list": "End of /WHOIS list", "End of /WHOIS list": "End of /WHOIS list",
"End of LIST": "End of LIST", "End of LIST": "End of LIST",
"End of MOTD command": "End of MOTD command", "End of MOTD command": "End of MOTD command",
@ -103,7 +104,7 @@
"Server notice masks": "Server notice masks", "Server notice masks": "Server notice masks",
"Sorry, I don't know that command": "Sorry, I don't know that command", "Sorry, I don't know that command": "Sorry, I don't know that command",
"Syntax: REGISTER <channel>": "Syntax: REGISTER <channel>", "Syntax: REGISTER <channel>": "Syntax: REGISTER <channel>",
"Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on <3": "Thanks to Jeremy Latt for founding Ergonomadic, the project this is based on <3", "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",
"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 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", "There was no such nickname": "There was no such nickname",
"They aren't on that channel": "They aren't on that channel", "They aren't on that channel": "They aren't on that channel",