Commit | Line | Data |
---|---|---|
d821a8ac PH |
1 | <?php |
2 | /******************************************************************************** | |
5ae3e923 | 3 | * i18n file |
d821a8ac PH |
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 | ||
5ae3e923 PH |
16 | 'del_email_q' => 'Do you really want to delete this email address ?', |
17 | ||
d821a8ac PH |
18 | 'new_action' => 'New Action', |
19 | 'new_match' => 'New Match', | |
20 | ||
21 | 'global_title' => 'Global configuration', | |
22 | ||
23 | 'pool_title' => 'Redirection addresses Pool', | |
24 | ||
25 | 'filter_title' => 'Individuals Rules', | |
26 | 'filter_list_title' => 'Filter List', | |
27 | 'new_rule' => '[ new rule ]', | |
28 | ||
29 | 'filter_rule_conf' => 'Global Options', | |
e4f6db07 | 30 | 'rule_name' => 'Name of this rule : ', |
d821a8ac PH |
31 | 'all_matches' => 'each match must be true', |
32 | 'one_match' => 'only one match need to be true', | |
33 | 'blocking_rule' => 'stop after this rule if matched', | |
34 | ||
35 | 'filter_matches_list' => 'Matches List', | |
36 | 'filter_actions_list' => 'Actions List', | |
37 | ||
38 | // include/email.php | |
39 | 'your_email' => 'your email ...', | |
40 | 'email' => 'Email', | |
41 | 'active' => 'Active', | |
42 | 'apply_changes' => 'Apply Changes', | |
43 | 'add' => 'Add' | |
44 | ); | |
45 | ||
5ae3e923 PH |
46 | |
47 | $handle = opendir('locales/plugins/'); | |
d821a8ac PH |
48 | while(($file = readdir($handle)) !== false) |
49 | if(preg_match("/^.*\.en\.inc\.php$/",$file)) | |
5ae3e923 | 50 | require_once('locales/plugins/'.$file); |
d821a8ac | 51 | closedir($handle); |
d821a8ac PH |
52 | // PHP 4.3.0 required !!! |
53 | // foreach(glob("include/plugins/*.en.inc.php") as $file) require_once($file); | |
54 | ||
55 | ||
56 | /******************************************************************************** | |
57 | * $Id$ | |
58 | * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100: | |
59 | ********************************************************************************/ | |
60 | ?> |