diff --git a/entity/Document_entity/onValidation.js b/entity/Document_entity/onValidation.js index 53b827644e99ed8153516c39ff120f4a55c392c3..d5ffa9354aebb5aeda26f25633f9262bb18292a3 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 b1e9c45fd04c10da89d571eac12e23f973b3fe3b..b1fd0a4070a32f67238cb19604cdf877165750ea 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>