1
0

constraint violation error handler

This commit is contained in:
Michael Hoennig
2019-04-02 18:57:25 +02:00
parent f78b92f4cb
commit 1f1794b4f8
4 changed files with 31 additions and 8 deletions

View File

@@ -123,7 +123,8 @@
"maxbytes": "Dieses Feld sollte nicht mehr als {{max}} bytes haben.",
"pattern": "Dieses Feld muss das Muster {{pattern}} erfüllen.",
"number": "Dieses Feld muss eine Zahl sein.",
"datetimelocal": "Dieses Feld muss eine Datums- und Zeitangabe enthalten."
"datetimelocal": "Dieses Feld muss eine Datums- und Zeitangabe enthalten.",
"duplicate": "Ein Wert ist doppelt zu existierenden Daten."
}
},
"error": {

View File

@@ -124,7 +124,8 @@
"pattern": "This field should follow pattern for {{ pattern }}.",
"number": "This field should be a number.",
"datetimelocal": "This field should be a date and time.",
"patternLogin": "This field can only contain letters, digits and e-mail addresses."
"patternLogin": "This field can only contain letters, digits and e-mail addresses.",
"duplicate": "This value is duplicate to existing data."
}
},
"error": {