Second iteration of source generated localized strings

- Strs renamed to strs
- Generic params will now default to object instead of string for convenient argument passing
- Many strings changed to use generated properties
This commit is contained in:
Kwoth
2021-07-24 20:41:07 +02:00
parent 34d0f66466
commit 70288f7670
63 changed files with 410 additions and 363 deletions

View File

@@ -88,7 +88,7 @@ namespace NadekoBot.Modules.Utility
var embed = _eb.Create()
.WithOkColor()
.WithTitle(GetText("reminder_list"));
.WithTitle(GetText(strs.reminder_list));
List<Reminder> rems;
using (var uow = _db.GetDbContext())
@@ -113,7 +113,7 @@ namespace NadekoBot.Modules.Utility
}
else
{
embed.WithDescription(GetText("reminders_none"));
embed.WithDescription(GetText(strs.reminders_none));
}
embed.AddPaginatedFooter(page + 1, null);