From 87b48441f85897d90373092704694af9ab6a91fc Mon Sep 17 00:00:00 2001 From: Boris Nikolaev Date: Mon, 16 Feb 2026 12:19:53 +0300 Subject: [PATCH] fix error messages --- dq8chr2glb/ChrFile.cs | 2 +- dq8chr2glb/TM2Format/TM2Format.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dq8chr2glb/ChrFile.cs b/dq8chr2glb/ChrFile.cs index 65139ef..b8a12ef 100644 --- a/dq8chr2glb/ChrFile.cs +++ b/dq8chr2glb/ChrFile.cs @@ -191,7 +191,7 @@ public class ChrFile } catch (Exception e) { - Context.current.errors.Add(new Error(file.name, "Error then process text file", e)); + Context.current.errors.Add(new Error(file.name, "Error while process text file", e)); } } diff --git a/dq8chr2glb/TM2Format/TM2Format.cs b/dq8chr2glb/TM2Format/TM2Format.cs index caf4f9f..2057ca9 100644 --- a/dq8chr2glb/TM2Format/TM2Format.cs +++ b/dq8chr2glb/TM2Format/TM2Format.cs @@ -73,7 +73,7 @@ public static class TM2Format } catch (Exception e) { - Context.current.errors.Add(new Error(currentFile.name, "Error then import texture", e)); + Context.current.errors.Add(new Error(currentFile.name, "Error while import texture", e)); palette = null; }