From 42f49b02ab3b0b92ca4395ed7eda913f3768e059 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 24 Apr 2022 01:35:19 +0200 Subject: [PATCH] Add synonyms for imported --- UI/ImportFlow/ImportViewerGui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ImportFlow/ImportViewerGui.ts b/UI/ImportFlow/ImportViewerGui.ts index 2c427bd9c5..718b63117c 100644 --- a/UI/ImportFlow/ImportViewerGui.ts +++ b/UI/ImportFlow/ImportViewerGui.ts @@ -339,7 +339,7 @@ class ImportInspector extends VariableUiElement { status = "already_mapped" } else if (lastComment.indexOf("invalid") >= 0 || lastComment.indexOf("incorrecto") >= 0) { status = "invalid" - } else if (lastComment.indexOf("imported") >= 0) { + } else if (["imported","erbij","toegevoegd"].some(keyword => lastComment.indexOf(keyword) >= 0)) { status = "imported" } else { status = "closed"