Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-42 committed Apr 18, 2024
1 parent ea45f79 commit b3d0f50
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/OWML.ModHelper.Menus/ModTranslations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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;
Expand All @@ -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;
}
}
Expand Down

0 comments on commit b3d0f50

Please sign in to comment.