diff --git a/ecrire/inc/traduire.php b/ecrire/inc/traduire.php index 4c980f3271bd8636a10afab940700d5124c0cea8..ae5ef27ca8b207e8389c8c4d4f3a84fd62a6b51d 100644 --- a/ecrire/inc/traduire.php +++ b/ecrire/inc/traduire.php @@ -268,7 +268,7 @@ function inc_traduire_dist($ori, $lang) { if (_request('var_mode') == 'traduction') { if ($text) { - $text = '<span lang=' . $langue_retenue . ' style=background-color:#cde0ed;color:#0000ff; title=' . $ori . '(' . $langue_retenue . ')>' . $text . '</span>'; + $text = '<span lang=' . $langue_retenue . ' class=debug-traduction title=' . $ori . '(' . $langue_retenue . ')>' . $text . '</span>'; } } else { diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index cb02fdf9af7c2cf623ea80863a2a4ecb062ef41e..328dbe663195bc99d1e3751b44eeb09f6da9c8d6 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -667,7 +667,7 @@ function _L($text, $args=array(), $class=null) { } if (($GLOBALS['test_i18n'] OR (_request('var_mode') == 'traduction')) AND $class===null) - return "<blink style=color:red;>$text</blink>"; + return "<span class=erreur-traduction>$text</span>"; else return $text; } diff --git a/prive/spip_admin.css b/prive/spip_admin.css index 80659f3374e132a6a8a60e74df2ae6a4a6167d0b..739aafaee6f182d3a4aa68fcae9b0677a6ac2e0f 100644 --- a/prive/spip_admin.css +++ b/prive/spip_admin.css @@ -87,3 +87,6 @@ spip-debug-toggle {position:absolute; top:4px; right:80px; width:24px;height:20p /* Couleurs et design de la previsu */ .spip-previsu { background-color: #333; color: #eeeeee;font-size: 18px; text-transform: uppercase;position: absolute; top: 0px; left: 0px;padding: 10px 50px; background-position: 5px 5px;background-repeat: no-repeat;display:block;opacity: 0.8;-moz-opacity: 0.8;filter: alpha(opacity=80);} +/* Debug des traductions */ +.debug-traduction {background-color: #cde0ed; color:#0000ff;} +.erreur-traduction {background-color: #fbe3e4; color: #8a1f11;}