Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6927

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)

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

              Created:
              Updated:
              Resolved: