Skip to content
Snippets Groups Projects
Commit 13756295 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

contact: validation of duplicated entry

parent e230c028
No related branches found
No related tags found
No related merge requests found
...@@ -21,5 +21,5 @@ if (personId && organisationId) ...@@ -21,5 +21,5 @@ if (personId && organisationId)
.andPrepare("CONTACT.ORGANISATION_ID", organisationId) .andPrepare("CONTACT.ORGANISATION_ID", organisationId)
.buildSql("select CONTACT.CONTACTID from CONTACT")); .buildSql("select CONTACT.CONTACTID from CONTACT"));
if (alreadyExistantContactId != "") 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
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
<key>Show all contracts</key> <key>Show all contracts</key>
<value>Alle Verträge anzeigen</value> <value>Alle Verträge anzeigen</value>
</entry> </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> <entry>
<key>Communication data</key> <key>Communication data</key>
<value>Kommunikationsdaten</value> <value>Kommunikationsdaten</value>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment