summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-02-06 22:46:18 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-02-07 22:45:12 -0500
commitf540d2ab29e06e7f94af927da5f56e03da20f849 (patch)
tree06eb63d9bb7b3bf527762852cc5a95c447103488
parent6b6ccb87de4d669f66e0c1a5b9270607db16484c (diff)
downloadSMAPI-f540d2ab29e06e7f94af927da5f56e03da20f849.tar.gz
SMAPI-f540d2ab29e06e7f94af927da5f56e03da20f849.tar.bz2
SMAPI-f540d2ab29e06e7f94af927da5f56e03da20f849.zip
add locale to context trace logs
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI/Framework/SGame.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 7b6ef89b..e6ad4c63 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -17,6 +17,7 @@
* For modders:
* Asset changes are now propagated into the parsed save being loaded if applicable.
+ * Added locale to context trace logs.
* Fixed error loading custom map tilesheets in some cases.
* Fixed `Constants.SaveFolderName` and `CurrentSavePath` not available during early load stages when using `Specialised.LoadStageChanged` event.
* Fixed `LoadStage.SaveParsed` raised before the parsed save data is available.
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs
index a90e8264..9818314a 100644
--- a/src/SMAPI/Framework/SGame.cs
+++ b/src/SMAPI/Framework/SGame.cs
@@ -513,7 +513,7 @@ namespace StardewModdingAPI.Framework
else if (Context.IsWorldReady && Context.LoadStage != LoadStage.Ready)
{
// print context
- string context = $"Context: loaded saved game '{Constants.SaveFolderName}', starting {Game1.currentSeason} {Game1.dayOfMonth} Y{Game1.year}.";
+ string context = $"Context: loaded save '{Constants.SaveFolderName}', starting {Game1.currentSeason} {Game1.dayOfMonth} Y{Game1.year}, locale set to {this.ContentCore.Language}.";
if (Context.IsMultiplayer)
{
int onlineCount = Game1.getOnlineFarmers().Count();