error message i18n handling
[old-projects.git] / philter / philter / locales / philter.en.inc.php
1 <?php
2 /********************************************************************************
3 * i18n file
4 *
5 * This file is part of the philter distribution
6 * Copyright: See COPYING files that comes with this distribution
7 ********************************************************************************/
8
9 $philter->config['i18n'] = Array(
10 // index.php
11 'up' => 'Up',
12 'dn' => 'Down',
13 'del' => 'Delete',
14 'submit' => 'Submit',
15
16 'del_email_q' => 'Do you really want to delete this email address ?',
17
18 'new_action' => 'New Action',
19 'new_match' => 'New Match',
20
21 'global_title' => 'Global configuration',
22
23 'pool_title' => 'Redirection addresses Pool',
24 'pool_err_already' => ' is already in the Email Pool',
25 'pool_err_not_valid' => ' is not a valid email',
26 'pool_err_active' => 'This email is still in use and can\'t be deleted !',
27 'pool_err_need_one' => 'you must have at least one active email !',
28
29 'filter_title' => 'Individuals Rules',
30 'filter_list_title' => 'Filter List',
31 'filter_err_empty' => 'You cannot add an empty rule',
32 'new_rule' => '[ new rule ]',
33
34 'filter_rule_conf' => 'Global Options',
35 'rule_name' => 'Name of this rule',
36 'all_matches' => 'each match must be true',
37 'one_match' => 'only one match need to be true',
38 'blocking_rule' => 'stop after this rule if matched',
39
40 'filter_matches_list' => 'Matches List',
41 'filter_actions_list' => 'Actions List',
42
43 // include/email.php
44 'your_email' => 'your email ...',
45 'email' => 'Email',
46 'active' => 'Active',
47 'apply_changes' => 'Apply Changes',
48 'add' => 'Add'
49 );
50
51
52 $handle = opendir('locales/plugins/');
53 while(($file = readdir($handle)) !== false)
54 if(preg_match("/^.*\.en\.inc\.php$/",$file))
55 require_once('locales/plugins/'.$file);
56 closedir($handle);
57 // PHP 4.3.0 required !!!
58 // foreach(glob("include/plugins/*.en.inc.php") as $file) require_once($file);
59
60
61 /********************************************************************************
62 * $Id$
63 * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
64 ********************************************************************************/
65 ?>