+ if (_request('var_mode') == 'traduction') {
+ if ($text) {
+ $classe = 'debug-traduction' . ($module_retenu == 'ecrire' ? '-prive' : '');
+ $text = '<span lang=' . $langue_retenue . ' class=' . $classe . ' title=' . $ori_complet . '(' . $langue_retenue . ')>' . $text . '</span>';
+ $text = str_replace(
+ array("$module_retenu:", "$module_retenu|"),
+ array("*$module_retenu*:", "*$module_retenu*|"),
+ $text);
+ }
+ }
+ else {
+ $deja_vu[$lang][$ori] = $text;
+ }