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:
parent
fec9776def
commit
6b3fc3d492
@ -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,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": "Inglese (US)"
|
||||
"name": "Italiano (IT)"
|
||||
},
|
||||
"strings": {
|
||||
"username": "Username",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": "Inglese (US)"
|
||||
"name": "Italiano (IT)"
|
||||
},
|
||||
"strings": {
|
||||
"ifItWasNotYou": "Se non sei stato tu, puoi ignorare questa email.",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": "Inglese (US)"
|
||||
"name": "Italiano (IT)"
|
||||
},
|
||||
"strings": {
|
||||
"pageTitle": "Crea Un Account Jellyfin",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": ""
|
||||
"name": "Nedderdütsch (NDS)"
|
||||
},
|
||||
"strings": {
|
||||
"pageTitle": "",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": "Inglese (US)"
|
||||
"name": "Italiano (IT)"
|
||||
},
|
||||
"strings": {
|
||||
"startMessage": "",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": ""
|
||||
"name": "Nedderdütsch (NDS)"
|
||||
},
|
||||
"strings": {
|
||||
"startMessage": "",
|
||||
|
Loading…
Reference in New Issue
Block a user