Skip to content

Commit 8dd3fd7

Browse files
authored
Update exceptions.php
1 parent 036849d commit 8dd3fd7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

language/fr/exceptions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if (empty($lang) || !is_array($lang))
2121
{
22-
$lang = array();
22+
$lang = [];
2323
}
2424

2525
// DEVELOPERS PLEASE NOTE
@@ -35,7 +35,7 @@
3535
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
3636
//
3737
// Some characters you may want to copy&paste:
38-
// ’ » “ ” …
38+
// ’ « » “ ” …
3939
//
4040

4141
/*
@@ -48,12 +48,12 @@
4848
*
4949
* Translators: Feel free to not translate these language strings
5050
*/
51-
$lang = array_merge($lang, array(
51+
$lang = array_merge($lang, [
5252
'EXCEPTION_FIELD_MISSING' => 'Un champ obligatoire est manquant',
5353
'EXCEPTION_INVALID_ARGUMENT' => 'Argument spécifié incorrect pour `%1$s`. Motif : %2$s',
5454
'EXCEPTION_OUT_OF_BOUNDS' => 'Le champ `%1$s` a reçu une donnée incohérente',
5555
'EXCEPTION_TOO_LONG' => 'La donnée saisie était plus longue que la longueur maximale possible.',
5656
'EXCEPTION_NOT_UNIQUE' => 'La donnée n’était pas unique.',
5757
'EXCEPTION_UNEXPECTED_VALUE' => 'Le champ `%1$s` a reçu une donnée inattendue. Motif : %2$s',
5858
'EXCEPTION_ILLEGAL_CHARACTERS' => 'La donnée contenait des caractères interdits.',
59-
));
59+
]);

0 commit comments

Comments
 (0)