<?php
/********************************************************************************
-* include/core.inc.php : The include file for using Philter Core
-* --------------------
+* i18n file
*
* This file is part of the philter distribution
* Copyright: See COPYING files that comes with this distribution
'del' => 'Delete',
'submit' => 'Submit',
+ 'del_email_q' => 'Do you really want to delete this email address ?',
+
'new_action' => 'New Action',
'new_match' => 'New Match',
'global_title' => 'Global configuration',
'pool_title' => 'Redirection addresses Pool',
-
+ 'pool_err_already' => ' is already in the Email Pool',
+ 'pool_err_not_valid' => ' is not a valid email',
+ 'pool_err_active' => 'This email is still in use and can\'t be deleted !',
+ 'pool_err_need_one' => 'you must have at least one active email !',
+
+ 'filter_adv' => 'Advanced interface',
+ 'filter_adv_txt' => 'Click here to have access to the advanced filtering options. <strong>Be
+ careful :</strong> thie functionnality is designed for advanced users and could lead to
+ mail losses',
+ 'filter_sync' => 'Write your filter ...',
+ 'filter_sync_txt' => '<p class="normal">If you are OK with your filter, you can sumbit it.
+ <stong>Be careful:</stong> this operation cannot be canceled !<br />
+ If you are not happy with it, you can cancel your modifications and leave the filter un
+ modified</p>',
+ 'filter_valid' => 'Validate your filter',
+ 'filter_cancel' => 'Cancel your modifications',
'filter_title' => 'Individuals Rules',
'filter_list_title' => 'Filter List',
+ 'filter_err_empty' => 'You cannot add an empty rule',
'new_rule' => '[ new rule ]',
'filter_rule_conf' => 'Global Options',
+ 'rule_name' => 'Name of this rule',
'all_matches' => 'each match must be true',
'one_match' => 'only one match need to be true',
'blocking_rule' => 'stop after this rule if matched',
'add' => 'Add'
);
-$handle = opendir('locales/plugins');
+
+$handle = opendir('locales/plugins/');
while(($file = readdir($handle)) !== false)
if(preg_match("/^.*\.en\.inc\.php$/",$file))
- require_once('include/plugins/'.$file);
+ require_once('locales/plugins/'.$file);
closedir($handle);
-
// PHP 4.3.0 required !!!
// foreach(glob("include/plugins/*.en.inc.php") as $file) require_once($file);