projects
/
old-projects.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3f9136
)
fr i18n bugfixes
author
Pierre Habouzit
<madcoder@debian.org>
Wed, 10 Sep 2003 16:42:48 +0000
(16:42 +0000)
committer
Pierre Habouzit
<madcoder@debian.org>
Wed, 10 Sep 2003 16:42:48 +0000
(16:42 +0000)
philter/philter/include/filter.inc.php
patch
|
blob
|
blame
|
history
philter/philter/index.php
patch
|
blob
|
blame
|
history
philter/philter/locales/philter.en.inc.php
patch
|
blob
|
blame
|
history
philter/philter/locales/philter.fr.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/philter/philter/include/filter.inc.php
b/philter/philter/include/filter.inc.php
index
7b4c38f
..
ce95d9d
100644
(file)
--- a/
philter/philter/include/filter.inc.php
+++ b/
philter/philter/include/filter.inc.php
@@
-82,7
+82,7
@@
class Filter {
}
function to_js() {
}
function to_js() {
- $res = "filter[0] = { all: 1, block:1, name:'
[ new rule ]
', matches: [], actions: [] };\n";
+ $res = "filter[0] = { all: 1, block:1, name:'
"._i18n('new_rule')."
', matches: [], actions: [] };\n";
foreach($this->rules as $id=>$rule)
$res .= "filter[$id] = ".$rule->to_js().";\n";
foreach($this->rules as $id=>$rule)
$res .= "filter[$id] = ".$rule->to_js().";\n";
diff --git
a/philter/philter/index.php
b/philter/philter/index.php
index
0ba4f99
..
f2a13d1
100644
(file)
--- a/
philter/philter/index.php
+++ b/
philter/philter/index.php
@@
-108,7
+108,7
@@
echo $mail_pool->to_form();
<tr class="impair"><th><?php i18n('filter_rule_conf');?>
</th></tr><tr class="impair"><td>
<input type="hidden" value="0" id="ruleId" name="rule[id]" />
<tr class="impair"><th><?php i18n('filter_rule_conf');?>
</th></tr><tr class="impair"><td>
<input type="hidden" value="0" id="ruleId" name="rule[id]" />
- Name of this rule :
+ <?php i18n('rule_name'); ?>
<input type="text" size="60" value="" id="ruleName" name="rule[name]"
onfocus="text_onfocus(this,'<?php i18n('new_rule');?>')"
onblur="text_onblur(this,'<?php i18n('new_rule');?>')" />
<input type="text" size="60" value="" id="ruleName" name="rule[name]"
onfocus="text_onfocus(this,'<?php i18n('new_rule');?>')"
onblur="text_onblur(this,'<?php i18n('new_rule');?>')" />
diff --git
a/philter/philter/locales/philter.en.inc.php
b/philter/philter/locales/philter.en.inc.php
index
18a0663
..
d58da15
100644
(file)
--- a/
philter/philter/locales/philter.en.inc.php
+++ b/
philter/philter/locales/philter.en.inc.php
@@
-27,6
+27,7
@@
$philter->config['i18n'] = Array(
'new_rule' => '[ new rule ]',
'filter_rule_conf' => 'Global Options',
'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',
'all_matches' => 'each match must be true',
'one_match' => 'only one match need to be true',
'blocking_rule' => 'stop after this rule if matched',
diff --git
a/philter/philter/locales/philter.fr.inc.php
b/philter/philter/locales/philter.fr.inc.php
index
d2d8fb9
..
b65f60f
100644
(file)
--- a/
philter/philter/locales/philter.fr.inc.php
+++ b/
philter/philter/locales/philter.fr.inc.php
@@
-8,7
+8,7
@@
$philter->config['i18n'] = Array(
// index.php
$philter->config['i18n'] = Array(
// index.php
- 'up' => 'Haut'
+ 'up' => 'Haut'
,
'dn' => 'Bas',
'del' => 'Suppr.',
'submit' => 'Valider',
'dn' => 'Bas',
'del' => 'Suppr.',
'submit' => 'Valider',
@@
-27,6
+27,7
@@
$philter->config['i18n'] = Array(
'new_rule' => '[ nvlle règle ]',
'filter_rule_conf' => 'Options globales',
'new_rule' => '[ nvlle règle ]',
'filter_rule_conf' => 'Options globales',
+ 'rule_name' => 'Nom pour cette règle : ',
'all_matches' => 'chaque critère doit être validé',
'one_match' => 'un unique critère vérifié suffit',
'blocking_rule' => 'arrêter de filtrer après cette règle si applicable',
'all_matches' => 'chaque critère doit être validé',
'one_match' => 'un unique critère vérifié suffit',
'blocking_rule' => 'arrêter de filtrer après cette règle si applicable',