Commit ac167311 authored by Pierre Dittgen's avatar Pierre Dittgen

Fix messages

parent d2462828
......@@ -250,7 +250,11 @@ def french_siren_value(err, schema):
def compare_columns_value(err, schema):
return u_err(err, 'Comparaison de colonne', err['message'])
return u_err(err, 'Comparaison de colonnes', err['message'])
def sum_columns_value(err, schema):
return u_err(err, 'Somme de colonnes', err['message'])
def cohesive_columns_value(err, schema):
......@@ -356,6 +360,7 @@ ERROR_MESSAGE_FUNC = {
'french-siret-value': french_siret_value,
'french-siren-value': french_siren_value,
'compare-columns-value': compare_columns_value,
'sum-columns-value': sum_columns_value,
'cohesive-columns-value': cohesive_columns_value,
'year-interval-value': year_interval_value,
......@@ -400,7 +405,8 @@ ERROR_MESSAGE_DEFAULT_TITLE = {
# Validata custom checks
'french-siret-value': 'n° siret invalide',
'french-siren-value': 'n° siren invalide',
'compare-columns-value': 'comparaison de colonne invalide',
'compare-columns-value': 'comparaison de colonnes invalide',
'sum-columns-value': 'somme de colonnes invalide',
'cohesive-columns-value': 'cohérence entre colonnes',
'year-interval-value': 'année ou période',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment