[api.defaultError]: update message
This commit is contained in:
parent
1ed9e02f98
commit
ad55e5c345
|
@ -381,7 +381,7 @@ func (s *Session) handleTribeCommand(ctx *commandCtx, m *discordgo.MessageCreate
|
||||||
ctx.localizer.MustLocalize(&i18n.LocalizeConfig{
|
ctx.localizer.MustLocalize(&i18n.LocalizeConfig{
|
||||||
MessageID: message.ApiDefaultError,
|
MessageID: message.ApiDefaultError,
|
||||||
DefaultMessage: message.FallbackMsg(message.ApiDefaultError,
|
DefaultMessage: message.FallbackMsg(message.ApiDefaultError,
|
||||||
"{{.Mention}} Couldn't fetch data from the API, please try again later."),
|
"{{.Mention}} Can't fetch data from the API at the moment, please try again later."),
|
||||||
TemplateData: map[string]interface{}{
|
TemplateData: map[string]interface{}{
|
||||||
"Mention": m.Author.Mention(),
|
"Mention": m.Author.Mention(),
|
||||||
},
|
},
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
"cron.conqueredVillages.title": "Conquered villages",
|
"cron.conqueredVillages.title": "Conquered villages",
|
||||||
"cron.checkEnnoblements.msgLine": "{{.NewOwner}} [{{.NewOwnerTribe}}] has conquered {{.Village}} (Old owner: {{.OldOwner}} [{{.OldOwnerTribe}}])",
|
"cron.checkEnnoblements.msgLine": "{{.NewOwner}} [{{.NewOwnerTribe}}] has conquered {{.Village}} (Old owner: {{.OldOwner}} [{{.OldOwnerTribe}}])",
|
||||||
|
|
||||||
"api.defaultError": "{{.Mention}} Couldn't fetch data from the API, please try again later.",
|
"api.defaultError": "{{.Mention}} Can't fetch data from the API at the moment, please try again later.",
|
||||||
|
|
||||||
"pagination.labelDisplayedPage": "Page: {{.Page}} of {{.MaxPage}}",
|
"pagination.labelDisplayedPage": "Page: {{.Page}} of {{.MaxPage}}",
|
||||||
|
|
||||||
|
|
Reference in New Issue