Commit bf3ac9ce authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Modifying the rule for the conference dates (add the case 3 Dec 2012)

parent 24e4da9d
......@@ -163,7 +163,7 @@
'Date of defense: 13 Dec 2011': 'Date de la soutenance: 13 Dec 2011',
'Date of submission to a publisher: 2011-12-13 or 2011-12': 'Date de soumission à un éditeur : 2011-12-13 ou 2011-12',
'Dates': 'Dates',
'Dates of the conference = 9-10 Oct 2012 or 29 Oct - 3 Nov 2012': 'Dates de la conférence : 9-10 Oct 2012 ou 29 Oct - 3 Nov 2012',
'Dates of the conference: 9-10 Oct 2012 or 29 Oct - 3 Nov 2012 or 3 Dec 2012': 'Dates de la conférence : 9-10 Oct 2012 ou 29 Oct - 3 Nov 2012 ou 3 Dec 2012',
'db': 'db',
'Defense': 'Soutenance',
'Define the range of years in which the harvesters can be ran. It starts with the given value and ends with the current year.': "Défini les années pour lesquelles les moissonneurs peuvent être éxecutés. Le début de la période est la valeur donnée. La fin de la période est l'année courrante.",
......@@ -290,8 +290,8 @@
'Invalid': 'Non conforme',
"Invalid database table '%s'": "Invalid database table '%s'",
'Invalid email': 'Invalid email',
'Invalid expression': 'Expression non conforme',
'invalid expression': 'expression non conforme',
'Invalid expression': 'Expression non conforme',
'Invalid keyword argument': 'Invalid keyword argument',
'Invalid list of record identifiers': "La liste des identifiants n'est pas valide",
'Invalid login': 'Invalid login',
......
......@@ -9,7 +9,7 @@ tp_authors_institute = \
T("List of authors belonging to your institute, separated by comma: P.-Y. Doe, J. Smith")
tp_conference_dates = \
T("Dates of the conference = 9-10 Oct 2012 or 29 Oct - 3 Nov 2012")
T("Dates of the conference: 9-10 Oct 2012 or 29 Oct - 3 Nov 2012 or 3 Dec 2012")
tp_conference_title = \
T("The title of the conference. Use the latex syntax for symbol: $\\alpha$")
......
......@@ -16,12 +16,14 @@ on field contents.
REG_COLLABORATION = r'^[A-Za-z0-9\-/, ]+([Cc]ollaboration|[Cc]onsortium|[Gg]roup)[s]?$'
# Conference dates
# - 3 Dec 2012
# - 10-14 Dec 2012
# - 28 Jun - 4 Jul 2012
#
reg1 = r'\d{1,2}-\d{1,2} [A-Z][a-z]{2} \d{4}'
reg2 = r'\d{1,2} [A-Z][a-z]{2} - \d{1,2} [A-Z][a-z]{2} \d{4}'
REG_CONF_DATES = r'%s|%s' % (reg1, reg2)
reg1 = r'\d{1,2} [A-Z][a-z]{2} \d{4}'
reg2 = r'\d{1,2}-\d{1,2} [A-Z][a-z]{2} \d{4}'
reg3 = r'\d{1,2} [A-Z][a-z]{2} - \d{1,2} [A-Z][a-z]{2} \d{4}'
REG_CONF_DATES = r'%s|%s|%s' % (reg1, reg2, reg3)
# Defence date
# - 30 Dec 2012
......
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