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:
@@ -39,12 +39,12 @@ namespace NadekoBot.Modules.Permissions
|
||||
var embed = _eb.Create().WithOkColor();
|
||||
|
||||
if (blockedModule.Any())
|
||||
embed.AddField(GetText("blocked_modules")
|
||||
embed.AddField(GetText(strs.blocked_modules)
|
||||
, string.Join("\n", _service.BlockedModules)
|
||||
, false);
|
||||
|
||||
if (blockedCommands.Any())
|
||||
embed.AddField(GetText("blocked_commands")
|
||||
embed.AddField(GetText(strs.blocked_commands)
|
||||
, string.Join("\n", _service.BlockedCommands)
|
||||
, false);
|
||||
|
||||
|
Reference in New Issue
Block a user