-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathexceptions.php
More file actions
46 lines (42 loc) · 1.39 KB
/
exceptions.php
File metadata and controls
46 lines (42 loc) · 1.39 KB
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
<?php
/**
*
* Reputation System extension for the phpBB Forum Software package.
* French translation by Galixte (http://www.galixte.com)
*
* @copyright (c) 2014 Lukasz Kaczynski
* @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:
// ’ « » “ ” …
//
$lang = array_merge($lang, array(
'EXCEPTION_FIELD_MISSING' => 'Champ obligatoire manquant',
'EXCEPTION_INVALID_ARGUMENT' => 'L’argument spécifié pour `%1$s` est invalide. Raison : %2$s.',
'EXCEPTION_INVALID_TYPE' => 'Ce type de réputation n’existe pas',
'EXCEPTION_OUT_OF_BOUNDS' => 'Le champ `%1$s` a reçu des données au-delà de ses limites',
));