migration localized, only 2 responses, won't localize console output
This commit is contained in:
parent
be8ca3b45d
commit
b24e68c24c
@ -51,12 +51,12 @@ namespace NadekoBot.Modules.Administration
|
||||
break;
|
||||
}
|
||||
}
|
||||
await Context.Channel.SendMessageAsync("🆙 **Migration done.**").ConfigureAwait(false);
|
||||
await ReplyConfirmLocalized("migration_done").ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_log.Error(ex);
|
||||
await Context.Channel.SendMessageAsync("⚠️ **Error while migrating, check `logs` for more informations.**").ConfigureAwait(false);
|
||||
await ReplyErrorLocalized("migration_error").ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
18
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
18
src/NadekoBot/Resources/ResponseStrings.Designer.cs
generated
@ -690,6 +690,24 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Migration done!.
|
||||
/// </summary>
|
||||
public static string adminsitration_migration_done {
|
||||
get {
|
||||
return ResourceManager.GetString("adminsitration_migration_done", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Error while migrating, check bot's console for more information..
|
||||
/// </summary>
|
||||
public static string adminsitration_migration_error {
|
||||
get {
|
||||
return ResourceManager.GetString("adminsitration_migration_error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Presence Updates.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user