Changed (almost) all responses to make them use the new system instead of raw strings

- Fixed many invalid string keys
This commit is contained in:
Kwoth
2021-07-30 22:42:10 +02:00
parent 4484732f5d
commit 919bedeae6
80 changed files with 883 additions and 859 deletions

View File

@@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Games
ctx.Channel.Id, arg);
if(poll is null)
{
await ReplyErrorLocalizedAsync("poll_invalid_input").ConfigureAwait(false);
await ReplyErrorLocalizedAsync(strs.poll_invalid_input).ConfigureAwait(false);
return;
}
if (_service.StartPoll(poll))
@@ -52,7 +52,7 @@ namespace NadekoBot.Modules.Games
}
else
{
await ReplyErrorLocalizedAsync("poll_already_running").ConfigureAwait(false);
await ReplyErrorLocalizedAsync(strs.poll_already_running).ConfigureAwait(false);
}
}