From e71de4a48d94a7e3f4b851dfcba95dafed659b3f Mon Sep 17 00:00:00 2001
From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at>
Date: Thu, 15 Jul 2021 11:21:04 +0200
Subject: [PATCH] Added missing stages to GUILabels

---
 VECTO3GUI2020/Properties/GUILabels.Designer.cs           | 9 +++++++++
 VECTO3GUI2020/Properties/GUILabels.resx                  | 3 +++
 .../Reader/Impl/XMLDeclarationMultistageInputReader.cs   | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/VECTO3GUI2020/Properties/GUILabels.Designer.cs b/VECTO3GUI2020/Properties/GUILabels.Designer.cs
index 0046ad3e2e..a0bbf92d1f 100644
--- a/VECTO3GUI2020/Properties/GUILabels.Designer.cs
+++ b/VECTO3GUI2020/Properties/GUILabels.Designer.cs
@@ -95,5 +95,14 @@ namespace VECTO3GUI2020.Properties {
                 return ResourceManager.GetString("NewPrimaryAndInterimJob", resourceCulture);
             }
         }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to No Manufacturing Steps.
+        /// </summary>
+        public static string no_manufacturing_stages {
+            get {
+                return ResourceManager.GetString("no manufacturing stages", resourceCulture);
+            }
+        }
     }
 }
diff --git a/VECTO3GUI2020/Properties/GUILabels.resx b/VECTO3GUI2020/Properties/GUILabels.resx
index f3cd931147..c045f7d379 100644
--- a/VECTO3GUI2020/Properties/GUILabels.resx
+++ b/VECTO3GUI2020/Properties/GUILabels.resx
@@ -129,4 +129,7 @@
   <data name="NewCompleteJob" xml:space="preserve">
     <value>New Complete Job</value>
   </data>
+  <data name="no manufacturing stages" xml:space="preserve">
+    <value>No Manufacturing Steps</value>
+  </data>
 </root>
\ No newline at end of file
diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLDeclarationMultistageInputReader.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLDeclarationMultistageInputReader.cs
index 987ccd5d86..5e24e13149 100644
--- a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLDeclarationMultistageInputReader.cs
+++ b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/Reader/Impl/XMLDeclarationMultistageInputReader.cs
@@ -144,7 +144,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.Reader.Impl
 			get
 			{
 				if (ManufacturingStages.IsNullOrEmpty()) {
-					_invalidEntries.Add("There are no Manufacturing Steps");
+					_invalidEntries.Add("no manufacturing stages");
 					return false;
 				}
 
-- 
GitLab