summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-09-18 17:52:48 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-09-18 17:52:48 -0400
commit8b2fd0bab715622208df256b8066361b32a3b209 (patch)
tree4b5af5b0b61c7dfa841e208a5d1dfa6623975a9e /src/SMAPI/Framework
parentfa40aa020502f01998110fd74f6f5994492b8e0f (diff)
downloadSMAPI-8b2fd0bab715622208df256b8066361b32a3b209.tar.gz
SMAPI-8b2fd0bab715622208df256b8066361b32a3b209.tar.bz2
SMAPI-8b2fd0bab715622208df256b8066361b32a3b209.zip
fix translation issues not shown as warnings
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r--src/SMAPI/Framework/SCore.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 00e608c1..33edc698 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -1114,11 +1114,11 @@ namespace StardewModdingAPI.Framework
if (jsonHelper.ReadJsonFileIfExists(file.FullName, out IDictionary<string, string> data))
translations[locale] = data;
else
- metadata.LogAsMod($"Mod's i18n/{locale}.json file couldn't be parsed.");
+ metadata.LogAsMod($"Mod's i18n/{locale}.json file couldn't be parsed.", LogLevel.Warn);
}
catch (Exception ex)
{
- metadata.LogAsMod($"Mod's i18n/{locale}.json file couldn't be parsed: {ex.GetLogSummary()}");
+ metadata.LogAsMod($"Mod's i18n/{locale}.json file couldn't be parsed: {ex.GetLogSummary()}", LogLevel.Warn);
}
}
}