From 1375629550d0dd2a7b214479e7ff1fd836375704 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Mon, 25 Mar 2019 19:16:21 +0100 Subject: [PATCH] contact: validation of duplicated entry --- .../entityfields/organisation_id/onValidation.js | 2 +- language/_____LANGUAGE_de/_____LANGUAGE_de.aod | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/entity/Contact_entity/entityfields/organisation_id/onValidation.js b/entity/Contact_entity/entityfields/organisation_id/onValidation.js index dc76ba738bc..1f8c6d2abee 100644 --- a/entity/Contact_entity/entityfields/organisation_id/onValidation.js +++ b/entity/Contact_entity/entityfields/organisation_id/onValidation.js @@ -21,5 +21,5 @@ if (personId && organisationId) .andPrepare("CONTACT.ORGANISATION_ID", organisationId) .buildSql("select CONTACT.CONTACTID from CONTACT")); if (alreadyExistantContactId != "") - result.string(translate.text("The combination of person and organisation does already exist and can not be created once more.")); + result.string(translate.text("This combination of person and organisation does already exist and can not be created once more.")); } \ No newline at end of file diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod index 38c7fc4a484..c1f94617e2d 100644 --- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod +++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod @@ -50,6 +50,10 @@ <key>Show all contracts</key> <value>Alle Verträge anzeigen</value> </entry> + <entry> + <key>This combination of person and organisation does already exist and can not be created once more.</key> + <value>Diese Kombination aus Person und Organisation existiert bereits und kann daher nicht nocht ein mal angelegt werden.</value> + </entry> <entry> <key>Communication data</key> <value>Kommunikationsdaten</value> -- GitLab