Fixed smp string
This commit is contained in:
parent
cc9224b758
commit
ccef094388
@ -592,7 +592,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
if (seconds == 0)
|
if (seconds == 0)
|
||||||
await ReplyConfirmLocalized("max_playtime_none").ConfigureAwait(false);
|
await ReplyConfirmLocalized("max_playtime_none").ConfigureAwait(false);
|
||||||
else
|
else
|
||||||
await ReplyConfirmLocalized("max_playtime_set").ConfigureAwait(false);
|
await ReplyConfirmLocalized("max_playtime_set", seconds).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
|
@ -69,7 +69,7 @@ namespace NadekoBot.Modules
|
|||||||
LogManager.GetCurrentClassLogger().Warn(lowerModuleTypeName + "_" + key + " key is missing from " + cultureInfo + " response strings. PLEASE REPORT THIS.");
|
LogManager.GetCurrentClassLogger().Warn(lowerModuleTypeName + "_" + key + " key is missing from " + cultureInfo + " response strings. PLEASE REPORT THIS.");
|
||||||
text = NadekoBot.ResponsesResourceManager.GetString(lowerModuleTypeName + "_" + key, _usCultureInfo) ?? $"Error: dkey {lowerModuleTypeName + "_" + key} not found!";
|
text = NadekoBot.ResponsesResourceManager.GetString(lowerModuleTypeName + "_" + key, _usCultureInfo) ?? $"Error: dkey {lowerModuleTypeName + "_" + key} not found!";
|
||||||
if (string.IsNullOrWhiteSpace(text))
|
if (string.IsNullOrWhiteSpace(text))
|
||||||
return "I cant tell if you command is executed, because there was an error printing out the response. Key '" +
|
return "I can't tell you is the command executed, because there was an error printing out the response. Key '" +
|
||||||
lowerModuleTypeName + "_" + key + "' " + "is missing from resources. Please report this.";
|
lowerModuleTypeName + "_" + key + "' " + "is missing from resources. Please report this.";
|
||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
|
Loading…
Reference in New Issue
Block a user