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

The "failed logins attempted" text in frontends/php/include/page_header.php should use proper gettext plural forms

XMLWordPrintable

      This snippet in page_header.php:
      $error_msg = array(
      new CSpan($failed_attempt, 'bold'),
      _(' failed login attempts logged. Last failed attempt was from '),
      new CSpan($attempip, 'bold'),
      _(' on '),
      new CSpan(zbx_date2str(_('d.m.Y H:i'), $attempdate), 'bold'),
      );
      error(new CSpan($error_msg));

      Should use an ngettext call so it can be properly translated into some languages, and also a rewrite to using string parameters so that the entire string would be one sentence would ease the translation a lot.

            Unassigned Unassigned
            deejay1 Łukasz Jernaś
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: