X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Ftraduire.php;h=1bb4cc9d2e541361fbab6734e6b664e34edae265;hp=e1788567ccdf280b161548a30206cd479b349f2c;hb=e847eea4a82a7396dd0abf860f9b30d654f38629;hpb=d686c3e22e97dd46ef42bcd0f138c65083f8f232 diff --git a/www/ecrire/inc/traduire.php b/www/ecrire/inc/traduire.php index e178856..1bb4cc9 100644 --- a/www/ecrire/inc/traduire.php +++ b/www/ecrire/inc/traduire.php @@ -190,7 +190,10 @@ function inc_traduire_dist($ori, $lang) { if ($text) { $classe = 'debug-traduction' . ($module_retenu == 'ecrire' ? '-prive' : ''); $text = '' . $text . ''; - $text = str_replace($module_retenu, "*$module_retenu*", $text); + $text = str_replace( + array("$module_retenu:", "$module_retenu|"), + array("*$module_retenu*:", "*$module_retenu*|"), + $text); } } else {