From 3febc7894f585918dfa753aae74c67183cecac9c Mon Sep 17 00:00:00 2001
From: "b.ulrich" <b.ulrich@adito.de>
Date: Tue, 22 Dec 2020 11:21:01 +0100
Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20xRM][TicketNr.:?=
 =?UTF-8?q?=201068555][Serienbrief=20-=20Preview/Tab=20Empf=C3=A4nger=20-?=
 =?UTF-8?q?=20Meldung=20"Aktion=20nicht=20unterst=C3=BCtzt"=20obwohl=20odt?=
 =?UTF-8?q?=20vorhanden]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 entity/Document_entity/onValidation.js         | 3 ++-
 language/_____LANGUAGE_de/_____LANGUAGE_de.aod | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/entity/Document_entity/onValidation.js b/entity/Document_entity/onValidation.js
index 53b827644e..d5ffa9354a 100644
--- a/entity/Document_entity/onValidation.js
+++ b/entity/Document_entity/onValidation.js
@@ -1,3 +1,4 @@
+import("system.translate");
 import("system.neon");
 import("system.result");
 import("system.vars");
@@ -8,6 +9,6 @@ if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
 
     if(bindata == null || bindata == "")
     {
-        result.string("Dont forget to upload a file");
+        result.string(translate.text("Dont forget to upload a file"));
     }
 }
\ No newline at end of file
diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
index b1e9c45fd0..b1fd0a4070 100644
--- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
+++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
@@ -106,6 +106,10 @@
       <key>Radius Search</key>
       <value>Umkreissuche</value>
     </entry>
+    <entry>
+      <key>Dont forget to upload a file</key>
+      <value>Datei hochladen nicht vergessen</value>
+    </entry>
     <entry>
       <key>Discussion</key>
       <value>Diskussion</value>
@@ -8381,7 +8385,6 @@ Bitte Datumseingabe prüfen</value>
     </entry>
     <entry>
       <key>Subcategory</key>
-      <value>Unterkategorie</value>
     </entry>
     <entry>
       <key>The radius has to be at least %0.</key>
@@ -10000,9 +10003,6 @@ Bitte Datumseingabe prüfen</value>
     <entry>
       <key>My campaigns</key>
     </entry>
-    <entry>
-      <key>Subcategory</key>
-    </entry>
     <entry>
       <key>Campaign costs</key>
     </entry>
-- 
GitLab