From b3d0f507531e30375d740aed2f2ceb336400d28c Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 18 Apr 2024 15:31:42 -0400 Subject: [PATCH] Remove debug prints --- src/OWML.ModHelper.Menus/ModTranslations.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/OWML.ModHelper.Menus/ModTranslations.cs b/src/OWML.ModHelper.Menus/ModTranslations.cs index 3ef496e2..e8edc610 100644 --- a/src/OWML.ModHelper.Menus/ModTranslations.cs +++ b/src/OWML.ModHelper.Menus/ModTranslations.cs @@ -47,7 +47,7 @@ private void Init() } catch (Exception ex) { - _console.WriteLine(ex.ToString(), MessageType.Error); + _console.WriteLine($"Failed to initialize mod option translations {ex}", MessageType.Error); } } @@ -58,8 +58,6 @@ public string GetLocalizedString(string key) Init(); } - _console.WriteLine($"{_translationTable == null} {string.Join(", ", _translationTable.Keys)}", MessageType.Error); - try { if (key == null) return null; @@ -86,7 +84,7 @@ public string GetLocalizedString(string key) } catch (Exception ex) { - _console.WriteLine(ex.ToString(), MessageType.Error); + _console.WriteLine($"Failed to load options translation: {ex}", MessageType.Error); return key; } }