nearly duplicate colour verification messages

XMLWordPrintable

      in some cases we are making translators' work harder :

      ./include/classes/validators/CColorValidator.php: $this->setError(_s('Colour "%1$s" is not correct: expecting hexadecimal colour code (6 symbols).', $color));
      ./include/validate.inc.php: info(_s('Critical error. Colour "%1$s" is not correct: expecting hexadecimal colour code (6 symbols).', $caption));
      ./include/validate.inc.php: info(_s('Warning. Colour "%1$s" is not correct: expecting hexadecimal colour code (6 symbols).', $caption));

      obviously, "critical error" and "warning" should be split out and the main part of the message should be translated only once (assuming 'critical error' and 'warning' are needed)

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: