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:
@@ -342,6 +342,7 @@ func (d *DiscordDaemon) registerCommands() {
|
|||||||
commands[1].Options[0].Choices = make([]*dg.ApplicationCommandOptionChoice, len(d.app.storage.lang.Telegram))
|
commands[1].Options[0].Choices = make([]*dg.ApplicationCommandOptionChoice, len(d.app.storage.lang.Telegram))
|
||||||
i := 0
|
i := 0
|
||||||
for code := range d.app.storage.lang.Telegram {
|
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{
|
commands[1].Options[0].Choices[i] = &dg.ApplicationCommandOptionChoice{
|
||||||
Name: d.app.storage.lang.Telegram[code].Meta.Name,
|
Name: d.app.storage.lang.Telegram[code].Meta.Name,
|
||||||
Value: code,
|
Value: code,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "Inglese (US)"
|
"name": "Italiano (IT)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"username": "Username",
|
"username": "Username",
|
||||||
@@ -28,4 +28,4 @@
|
|||||||
},
|
},
|
||||||
"notifications": {},
|
"notifications": {},
|
||||||
"quantityStrings": {}
|
"quantityStrings": {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "Inglese (US)"
|
"name": "Italiano (IT)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"ifItWasNotYou": "Se non sei stato tu, puoi ignorare questa email.",
|
"ifItWasNotYou": "Se non sei stato tu, puoi ignorare questa email.",
|
||||||
@@ -49,4 +49,4 @@
|
|||||||
"clickBelow": "",
|
"clickBelow": "",
|
||||||
"confirmEmail": ""
|
"confirmEmail": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "Inglese (US)"
|
"name": "Italiano (IT)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"pageTitle": "Crea Un Account Jellyfin",
|
"pageTitle": "Crea Un Account Jellyfin",
|
||||||
@@ -48,4 +48,4 @@
|
|||||||
"plural": "Deve avere almeno {n} caratteri speciali"
|
"plural": "Deve avere almeno {n} caratteri speciali"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": ""
|
"name": "Nedderdütsch (NDS)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"pageTitle": "",
|
"pageTitle": "",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "Inglese (US)"
|
"name": "Italiano (IT)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"startMessage": "",
|
"startMessage": "",
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
"languageSet": "",
|
"languageSet": "",
|
||||||
"discordDMs": ""
|
"discordDMs": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": ""
|
"name": "Nedderdütsch (NDS)"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"startMessage": "",
|
"startMessage": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user