Fixed smp string

This commit is contained in:
Kwoth 2017-03-01 21:42:20 +01:00
parent cc9224b758
commit ccef094388
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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;