Changeset 893:27fed157954d
- Timestamp:
- 10/22/12 13:02:48 (13 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
locales/en/plugins.po
r759 r893 99 99 msgstr "" 100 100 101 msgid "Global IP (used for all blogs)" 102 msgstr "" 103 101 104 msgid "Add" 102 105 msgstr "" … … 108 111 msgstr "" 109 112 113 msgid "Local IPs (used only for this blog)" 114 msgstr "" 115 116 msgid "Global IPs (used only for this blog)" 117 msgstr "" 118 110 119 msgid "Checks sender IP address against DNSBL servers" 111 120 msgstr "" … … 146 155 msgstr "" 147 156 157 msgid "Global word (used for all blogs)" 158 msgstr "" 159 148 160 msgid "No word in list." 149 161 msgstr "" 150 162 151 163 msgid "List of bad words" 164 msgstr "" 165 166 msgid "Local words (used only for this blog)" 167 msgstr "" 168 169 msgid "Global words (used for all blogs)" 152 170 msgstr "" 153 171 -
locales/fr/plugins.po
r865 r893 104 104 msgstr "IP globale" 105 105 106 msgid "Global IP (used for all blogs)" 107 msgstr "IP globale (valable pour tous les blogs)" 108 106 109 msgid "Add" 107 110 msgstr "Ajouter" … … 113 116 msgstr "Liste IP" 114 117 118 msgid "Local IPs (used only for this blog)" 119 msgstr "IP locales (valables seulement pour ce blog)" 120 121 msgid "Global IPs (used for all blogs)" 122 msgstr "IP globales (valables pour tous les blogs)" 123 115 124 msgid "Checks sender IP address against DNSBL servers" 116 125 msgstr "Contrôle l'adresse IP de l'émetteur via les serveurs DNSBL" … … 151 160 msgstr "Mot global" 152 161 162 msgid "Global word (used for all blogs)" 163 msgstr "Mot global (valable pour tous les blogs)" 164 153 165 msgid "No word in list." 154 166 msgstr "Aucun mot dans la liste." … … 156 168 msgid "List of bad words" 157 169 msgstr "Liste de mots interdits" 170 171 msgid "Local words (used only for this blog)" 172 msgstr "Mots locaux (valables seulement pour ce blog)" 173 174 msgid "Global words (used for all blogs)" 175 msgstr "Mots globaux (valables pour tous les blogs)" 158 176 159 177 msgid "Delete selected words" -
plugins/antispam/filters/class.dc.filter.ip.php
r536 r893 130 130 if ($core->auth->isSuperAdmin()) { 131 131 $res .= '<label class="classic" for="globalip_'.$type.'">'.form::checkbox(array('globalip', 'globalip_'.$type),1).' '. 132 __('Global IP ').'</label> ';132 __('Global IP (used for all blogs)').'</label> '; 133 133 } 134 134 … … 152 152 '<div style="'.$this->style_list.'">'; 153 153 154 $res_global = ''; 155 $res_local = ''; 154 156 while ($rs->fetch()) 155 157 { … … 166 168 } 167 169 168 $ res .=170 $item = 169 171 '<p style="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'. 170 172 form::checkbox(array('delip[]',$type.'-ip-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_ip).' '. 171 173 html::escapeHTML($pattern). 172 174 '</label></p>'; 173 } 175 176 if ($rs->blog_id) { 177 // local list 178 if ($res_local == '') { 179 $res_local = '<h4>'.__('Local IPs (used only for this blog)').'</h4>'; 180 } 181 $res_local .= $item; 182 } else { 183 // global list 184 if ($res_global == '') { 185 $res_global = '<h4>'.__('Global IPs (used for all blogs)').'</h4>'; 186 } 187 $res_global .= $item; 188 } 189 } 190 $res .= $res_local.$res_global; 191 174 192 $res .= 175 193 '</div>'. -
plugins/antispam/filters/class.dc.filter.words.php
r536 r893 124 124 if ($core->auth->isSuperAdmin()) { 125 125 $res .= '<label class="classic" for="globalsw">'.form::checkbox('globalsw',1).' '. 126 __('Global word ').'</label> ';126 __('Global word (used for all blogs)').'</label> '; 127 127 } 128 128 … … 145 145 '<div style="'.$this->style_list.'">'; 146 146 147 $res_global = ''; 148 $res_local = ''; 147 149 while ($rs->fetch()) 148 150 { … … 154 156 } 155 157 156 $res .= 157 '<p style="'.$p_style.'"><label class="classic" for="word-'.$rs->rule_id.'">'. 158 form::checkbox(array('swd[]', 'word-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_word).' '. 159 html::escapeHTML($rs->rule_content). 160 '</label></p>'; 161 } 158 $item = '<p style="'.$p_style.'"><label class="classic" for="word-'.$rs->rule_id.'">'. 159 form::checkbox(array('swd[]', 'word-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_word).' '. 160 html::escapeHTML($rs->rule_content). 161 '</label></p>'; 162 163 if ($rs->blog_id) { 164 // local list 165 if ($res_local == '') { 166 $res_local = '<h4>'.__('Local words (used only for this blog)').'</h4>'; 167 } 168 $res_local .= $item; 169 } else { 170 // global list 171 if ($res_global == '') { 172 $res_global = '<h4>'.__('Global words (used for all blogs)').'</h4>'; 173 } 174 $res_global .= $item; 175 } 176 } 177 $res .= $res_local.$res_global; 162 178 163 179 $res .=
Note: See TracChangeset
for help on using the changeset viewer.