From e9b8df46181bc9996cb2690acbb98971454b5b2a Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 20 Jun 2020 12:29:08 -0400 Subject: fix reload_i18n not reloading content pack translations --- docs/release-notes.md | 1 + src/SMAPI/Framework/SCore.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 2bb4dc84..b25defa8 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -17,6 +17,7 @@ * Mods which use the `[HarmonyPatch(type)]` attribute now work crossplatform. Previously SMAPI couldn't rewrite types in custom attributes for compatibility. * Fixed `BadImageFormatException` error detection. * Fixed black maps on Android for mods which use `.tmx` files. + * Fixed `reload_i18n` command not reloading content pack translations. * For the web UI: * Added GitHub licenses to mod compatibility list. diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 90435f54..2b04b1dc 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -1280,7 +1280,7 @@ namespace StardewModdingAPI.Framework /// Reload translations for all mods. private void ReloadTranslations() { - this.ReloadTranslations(this.ModRegistry.GetAll(contentPacks: false)); + this.ReloadTranslations(this.ModRegistry.GetAll()); } /// Reload translations for the given mods. -- cgit