diff --git a/CHANGELOG.md b/CHANGELOG.md index aa82899b..2441859f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ --- develop --- +* issue#484: Mark the syslog search help string in `syslog.php` as `no-php-format` and update `locales/po/cacti.pot` so the literal `%` in `LIKE` syntax is not flagged as a PHP format specifier * issue#480: Split the syslog upgrade notice in `includes/installer.php` into separate balanced `

` translation strings, regenerate `locales/po/cacti.pot`, and remove orphan `locales/LC_MESSAGES/ka.mo` * feature: Add manually importable recommendation catalogues for Arista, Dell, Fortinet, HPE, Huawei, MikroTik, Nokia, NVIDIA and Palo Alto Networks in docs/.json.gz, built from each vendor's public message references * feature: Recommendations are matched only against the sending device's vendor (and vendor-neutral records) when the syslog host is a Cacti device whose vendor is recognised from its SNMP sysDescr or device template and has records; other hosts match every vendor, except that all-digit identifiers then match only vendor-neutral records diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot index 7ffefc26..b38d6243 100644 --- a/locales/po/cacti.pot +++ b/locales/po/cacti.pot @@ -2507,7 +2507,7 @@ msgid "Grouped Messages" msgstr "" #: syslog.php -#, php-format +#, no-php-format msgid "Choose a field, operator, and value. AND takes precedence over OR; NOT excludes a condition. LIKE uses % for any number of characters and _ for one character. Dates use YYYY-MM-DD HH:MM:SS. IDs use nonnegative integers. By default, the last day of logs is shown unless the date range is adjusted." msgstr "" diff --git a/syslog.php b/syslog.php index 975d3f88..3365699b 100644 --- a/syslog.php +++ b/syslog.php @@ -2555,7 +2555,7 @@ function syslog_filter(string $sql_where, string $tab): void {

-
+