1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

lang: correct language names

Low German/Saxon (NDS) is empty entirely, which caused discord lang
registration to error, so i've just filled in the name. Somebody
directly translated "English (US)" into italian instead of putting
Italian in italian, corrected that. Use some common sense!
This commit is contained in:
Harvey Tindall 2023-06-23 13:09:26 +01:00
parent fec9776def
commit 6b3fc3d492
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
7 changed files with 11 additions and 10 deletions

View File

@ -342,6 +342,7 @@ func (d *DiscordDaemon) registerCommands() {
commands[1].Options[0].Choices = make([]*dg.ApplicationCommandOptionChoice, len(d.app.storage.lang.Telegram))
i := 0
for code := range d.app.storage.lang.Telegram {
d.app.debug.Printf("Registering choice \"%s\":\"%s\"\n", d.app.storage.lang.Telegram[code].Meta.Name, code)
commands[1].Options[0].Choices[i] = &dg.ApplicationCommandOptionChoice{
Name: d.app.storage.lang.Telegram[code].Meta.Name,
Value: code,

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": "Inglese (US)"
"name": "Italiano (IT)"
},
"strings": {
"username": "Username",

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": "Inglese (US)"
"name": "Italiano (IT)"
},
"strings": {
"ifItWasNotYou": "Se non sei stato tu, puoi ignorare questa email.",

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": "Inglese (US)"
"name": "Italiano (IT)"
},
"strings": {
"pageTitle": "Crea Un Account Jellyfin",

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": ""
"name": "Nedderdütsch (NDS)"
},
"strings": {
"pageTitle": "",

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": "Inglese (US)"
"name": "Italiano (IT)"
},
"strings": {
"startMessage": "",

View File

@ -1,6 +1,6 @@
{
"meta": {
"name": ""
"name": "Nedderdütsch (NDS)"
},
"strings": {
"startMessage": "",