ergochat / ergo

A modern IRC server (daemon/ircd) written in Go.
https://ergo.chat/
MIT License
2.28k stars 181 forks source link

/language command & other small issues ?!? #438

Open bogdomania opened 5 years ago

bogdomania commented 5 years ago

Using just /language, without any given params, it returns(after using /language <code>, so this should be translated):

[02.03.2019 18:08] [Error] LANGUAGE: This command requires more parameters.

With /language ro set and working, I do get some mixed en / ro messages, from the ircd, not only for /language, but also for HistServ and more, meaning that not all ircd strings are translatable yet via Crowdin. Anyway, for /help language I get:

[02.03.2019 18:10] [704] LANGUAGE LANGUAGE <code> { <code>}

(see above message) you guys got an extra space, between { and <, this is not a typo

[02.03.2019 18:10] [705] LANGUAGE Sets your preferred languages to the given ones. [02.03.2019 18:10] [706] LANGUAGE Sfârșit /HELPOP

Let's say that I'm new to IRC (or a network using Oragono ircd... or any other ircd that implements this) It would be great that /help language would also list (in any given way) the languages available for use. I know that RO and EN and EL are available, since I translate the strings on Crowdin, thus I get so see what languages are to be used. But a new user would be clueless. Any toughts on this?

Speaking of, HexChat is somewhat helpful by delivering this info:

but other clients won't.

Some other stuff that isn't translated, is :

  • KLINE [ANDKILL] [MYSELF] [duration] [ON ] [reason [| oper reason]]
  • KLINE LIST
  • Bans a mask from connecting to the server. If the duration is given then only for that
  • long. The reason is shown to the user themselves, but everyone else will see a standard
  • message. The oper reason is shown to operators getting info about the KLINEs that exist.

more messages here, for not polluting, I left them out

  • Sfârșit /HELPOP

This is also not translatable, yet, as more other stuff, like, if I /NS help or /CS help, etc. I get the short desc. string in en, instead of my language of choice.

slingamn commented 5 years ago

Thanks very much, I'll go through these later and diagnose.

The /NS help issue is #407.