diff --git a/ecrire/inc/traduire.php b/ecrire/inc/traduire.php index 63c294635dba065fb91ad474a15230945447f41b..1e1e771511e6f5e7d4acfc318e54b8d647871cb8 100644 --- a/ecrire/inc/traduire.php +++ b/ecrire/inc/traduire.php @@ -124,6 +124,10 @@ function inc_traduire_dist($ori, $lang) { $text = inc_traduire_dist($ori, 'fr'); } + // Supprimer la mention <NEW> ou <MODIF> + if ($text[0] === '<') + $text = str_replace(array('<NEW>', '<MODIF>'), array(), $text); + $deja_vu[$lang][$ori] = $text; return $text;