mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
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:
@@ -23,8 +23,8 @@ namespace NadekoBot.Modules.Xp
|
||||
public async Task XpReset(ulong userId)
|
||||
{
|
||||
var embed = _eb.Create()
|
||||
.WithTitle(GetText("reset"))
|
||||
.WithDescription(GetText("reset_user_confirm"));
|
||||
.WithTitle(GetText(strs.reset))
|
||||
.WithDescription(GetText(strs.reset_user_confirm));
|
||||
|
||||
if (!await PromptUserConfirmAsync(embed).ConfigureAwait(false))
|
||||
return;
|
||||
@@ -40,8 +40,8 @@ namespace NadekoBot.Modules.Xp
|
||||
public async Task XpReset()
|
||||
{
|
||||
var embed = _eb.Create()
|
||||
.WithTitle(GetText("reset"))
|
||||
.WithDescription(GetText("reset_server_confirm"));
|
||||
.WithTitle(GetText(strs.reset))
|
||||
.WithDescription(GetText(strs.reset_server_confirm));
|
||||
|
||||
if (!await PromptUserConfirmAsync(embed).ConfigureAwait(false))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user