error message i18n handling
[old-projects.git] / philter / philter / locales / philter.en.inc.php
CommitLineData
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',
f0a83324
PH
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 !',
d821a8ac
PH
28
29 'filter_title' => 'Individuals Rules',
30 'filter_list_title' => 'Filter List',
f0a83324 31 'filter_err_empty' => 'You cannot add an empty rule',
d821a8ac
PH
32 'new_rule' => '[ new rule ]',
33
34 'filter_rule_conf' => 'Global Options',
a33c86a6 35 'rule_name' => 'Name of this rule',
d821a8ac
PH
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
5ae3e923
PH
51
52$handle = opendir('locales/plugins/');
d821a8ac
PH
53while(($file = readdir($handle)) !== false)
54 if(preg_match("/^.*\.en\.inc\.php$/",$file))
5ae3e923 55 require_once('locales/plugins/'.$file);
d821a8ac 56closedir($handle);
d821a8ac
PH
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?>