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

@@ -38,7 +38,7 @@ namespace NadekoBot.Modules.Searches
{
if (!_service.WowJokes.Any())
{
await ReplyErrorLocalizedAsync("jokes_not_loaded").ConfigureAwait(false);
await ReplyErrorLocalizedAsync(strs.jokes_not_loaded).ConfigureAwait(false);
return;
}
var joke = _service.WowJokes[new NadekoRandom().Next(0, _service.WowJokes.Count)];
@@ -50,7 +50,7 @@ namespace NadekoBot.Modules.Searches
{
if (!_service.WowJokes.Any())
{
await ReplyErrorLocalizedAsync("magicitems_not_loaded").ConfigureAwait(false);
await ReplyErrorLocalizedAsync(strs.magicitems_not_loaded).ConfigureAwait(false);
return;
}
var item = _service.MagicItems[new NadekoRandom().Next(0, _service.MagicItems.Count)];