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

Errors in strings and its inconsistency.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.2rc1, 2.1.0
    • None
    • Frontend (F)
    • latest trunk of course

      During translation i found several "bugs"

      /php/api/classes/class.cgraphprototype.php:651
      /php/api/classes/class.cgraph.php:657
      self::exception(ZBX_API_ERROR_PARAMETERS, S_GRAPH.' [ '.$graph['name'].' ] '.S_GRAPH_TEMPLATE_HOST_CANNOT_OTHER_ITEMS_HOSTS_SMALL);

      include/locales/en_gb.inc.php:1865
      'S_GRAPH_TEMPLATE_HOST_CANNOT_OTHER_ITEMS_HOSTS_SMALL'=>_('with template host cannot contain items from other hosts.'),

      Question to developers: how translator can translate correctly this string?
      This string even contains logical error, i think this is right: "with templated items cannot contain items from other hosts."
      Proof - http://www.zabbix.com/documentation/1.8/manual/config/graphs
      And after it should be combined to single string like a "Graph %s with templated items cannot contain items from other hosts." or so.

      api/classes/class.citemgeneral.php:226
      Value type must be Float for aggregate items.
      this string contain inconsistency "Value type" <-> "Type of information"
      I propose to fix it and even improve: "Type of information must be "Numeric (float)" for aggregate items.

      api/classes/class.citemgeneral.php:222
      Type of information must be Log for log key.
      I propose : Type of information must be "Log" for log key.

      "Zabbix %s Copyright 2001-2011 by Zabbix SIA"
      I propose to replace years date to some variable, then translators should not alter this string every year.

            Unassigned Unassigned
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: