[api.defaultError]: update message

This commit is contained in:
Dawid Wysokiński 2021-01-13 20:48:19 +01:00
parent 1ed9e02f98
commit ad55e5c345
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ func (s *Session) handleTribeCommand(ctx *commandCtx, m *discordgo.MessageCreate
ctx.localizer.MustLocalize(&i18n.LocalizeConfig{
MessageID: 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{}{
"Mention": m.Author.Mention(),
},

View File

@ -105,7 +105,7 @@
"cron.conqueredVillages.title": "Conquered villages",
"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}}",