-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathexceptions.php
62 lines (57 loc) · 2.16 KB
/
exceptions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/**
*
* Board Rules extension for the phpBB Forum Software package.
* French translation by ForumsFaciles (http://www.forumsfaciles.fr) & Galixte (http://www.galixte.com)
*
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
/*
* These are errors which can be triggered by sending invalid data to the
* boardrules extension API.
*
* These errors will never show to a user unless they are either modifying
* the core boardrules extension code OR unless they are writing an extension
* which makes calls to this extension.
*
* Translators: Feel free to not translate these language strings
*/
$lang = array_merge($lang, array(
'EXCEPTION_FIELD_MISSING' => 'Un champ obligatoire est manquant',
'EXCEPTION_INVALID_ARGUMENT' => 'Argument incorrect spécifié pour `%1$s`. Motif : %2$s',
'EXCEPTION_OUT_OF_BOUNDS' => 'Le champ `%1$s` a reçu une donnée incohérente',
'EXCEPTION_TOO_LONG' => 'La donnée saisie était plus longue que la longueur maximale possible.',
'EXCEPTION_NOT_UNIQUE' => 'La donnée n’était pas unique.',
'EXCEPTION_UNEXPECTED_VALUE' => 'Le champ `%1$s` a reçu une donnée inattendue. Motif : %2$s',
'EXCEPTION_ILLEGAL_CHARACTERS' => 'La donnée contenait des caractères interdits.',
// Translators: do not change this
'EXCEPTION_WRONG_DATA_LANG' => $lang['WRONG_DATA_LANG'],
));