PDA

View Full Version : colors in the language pack



vortex32
07-30-2011, 09:42 AM
During the translation i found some places where error messages warning and so on have the colour #FF0000 this should be in the CSS. As fast i finish this translation i will note here where they can be found.

vortex32
08-01-2011, 08:04 AM
GC_return.php
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
--------------------------------------------------------------------------------------------------------------------

ridexbuilder
08-01-2011, 10:31 AM
GC_return.php
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
--------------------------------------------------------------------------------------------------------------------

Might be better as:


define('TEXT_DATE_AVAILABLE', '<span class="stock_arrival">This product will be in stock on %s.</span>');

pgmarshall
08-01-2011, 11:52 PM
It would be best to open a bug report and post them in there. Regards,

vortex32
08-02-2011, 06:25 AM
as i sayed mostly there are warnings attention remark ect

Can i replace it withe this

define('TEXT_DATE_AVAILABLE', '<span class="warning">This product will be in stock on %s.</span>');

and everytime the color is red

Other example address_book.php

define('TEXT_MAXIMUM_ENTRIES', '<span class="warning"><b>REMARQUE:</b></span> un nombre maximum de %s d\'adresses sont autorisées.');

ridexbuilder
08-02-2011, 07:22 AM
as i sayed mostly there are warnings attention remark ect

Can i replace it withe this

define('TEXT_DATE_AVAILABLE', '<span class="warning">This product will be in stock on %s.</span>');

and everytime the color is red

Other example address_book.php

define('TEXT_MAXIMUM_ENTRIES', '<span class="warning"><b>REMARQUE:</b></span> un nombre maximum de %s d\'adresses sont autorisées.');
I would say 'Yes' but the first one could be

define('TEXT_DATE_AVAILABLE', '<span class="notice">This product will be in stock on %s.</span>');

vortex32
08-03-2011, 05:05 AM
0000948 I corrected it in all languages with the CSS the French files are translated or corrected use <span class="notice">