| 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 | |
| 25 | 'filter_title' => 'Individuals Rules', |
| 26 | 'filter_list_title' => 'Filter List', |
| 27 | 'new_rule' => '[ new rule ]', |
| 28 | |
| 29 | 'filter_rule_conf' => 'Global Options', |
| 30 | 'rule_name' => 'Name of this rule : ', |
| 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 | |
| 46 | |
| 47 | $handle = opendir('locales/plugins/'); |
| 48 | while(($file = readdir($handle)) !== false) |
| 49 | if(preg_match("/^.*\.en\.inc\.php$/",$file)) |
| 50 | require_once('locales/plugins/'.$file); |
| 51 | closedir($handle); |
| 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 | ?> |