From e3bac6075a4e6a2c8977f95591511e93d52b50ba Mon Sep 17 00:00:00 2001
From: Thomas Vincent
Date: Mon, 23 Nov 2026 17:18:37 -0800
Subject: [PATCH 1/3] fix(i18n): split unbalanced paragraph HTML in syslog
upgrade notice
Split the single syslog upgrade notice string in includes/installer.php
containing embedded '
...
'
translation strings (matching the fresh-install branch below it) and
regenerate locales/po/cacti.pot. Leave per-language .po and .mo
catalogs untouched.
Fixes #480.
Related: Cacti/cacti#8907, Cacti/cacti#8924
Signed-off-by: Thomas Vincent
---
CHANGELOG.md | 1 +
includes/installer.php | 5 ++++-
locales/po/cacti.pot | 19 +++++++++++++++----
3 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f6f246f3..4dfb2963 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
--- develop ---
+* issue#480: Split the syslog upgrade notice in `includes/installer.php` into separate balanced `` translation strings and regenerate `locales/po/cacti.pot`
* 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/includes/installer.php b/includes/installer.php
index 393601e3..8595893e 100644
--- a/includes/installer.php
+++ b/includes/installer.php
@@ -165,7 +165,10 @@ function syslog_install_advisor(int $syslog_exists, array $submitted_options = [
if ($syslog_exists) {
unset($fields_syslog_update['logtime_precision']);
print "" . __('WARNING: Syslog Upgrade is Time Consuming!!!', 'syslog') . '
';
- print '' . __('The upgrade of the \'main\' syslog table can be a very time consuming process. As such, it is recommended that you either reduce the size of your syslog table prior to upgrading, or choose the background option
If you choose the background option, your legacy syslog table will be renamed, and a new syslog table will be created. Then, an upgrade process will be launched in the background. Again, this background process can quite a bit of time to complete. However, your data will be preserved
Regardless of your choice, all existing removal and alert rules will be maintained during the upgrade process.
Press \'Upgrade\' to proceed with the upgrade, or \'Cancel\' to return to the Plugins menu.', 'syslog') . '
';
+ print '' . __('The upgrade of the \'main\' syslog table can be a very time consuming process. As such, it is recommended that you either reduce the size of your syslog table prior to upgrading, or choose the background option.', 'syslog') . '
';
+ print '' . __('If you choose the background option, your legacy syslog table will be renamed, and a new syslog table will be created. Then, an upgrade process will be launched in the background. Again, this background process can take quite a bit of time to complete. However, your data will be preserved.', 'syslog') . '
';
+ print '' . __('Regardless of your choice, all existing removal and alert rules will be maintained during the upgrade process.', 'syslog') . '
';
+ print '' . __('Press \'Upgrade\' to proceed with the upgrade, or \'Cancel\' to return to the Plugins menu.', 'syslog') . '
';
} else {
unset($fields_syslog_update['upgrade_type']);
print '' . __('You have several options to choose from when installing Syslog. The first is the Database Architecture. Partitioned tables are the only supported architecture as they prevent the size of the tables from becoming excessive thus slowing queries. Traditional non-partitioned tables are deprecated and are no longer offered for new installs.', 'syslog') . '
' . __('You can also set the database storage engine for the analytical tables syslog and syslog_remove. Only the InnoDB storage engine and, on MariaDB, the Aria storage engine are supported. If using MariaDB, we recommend the Aria Storage Engine when no Remote Data Collector options are enabled; collector options require InnoDB.', 'syslog') . '
';
diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot
index f3002dad..589034f3 100644
--- a/locales/po/cacti.pot
+++ b/locales/po/cacti.pot
@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Cacti \n"
"Report-Msgid-Bugs-To: developers@cacti.net\n"
-"POT-Creation-Date: 2026-11-20 14:13-0500\n"
+"POT-Creation-Date: 2026-11-23 17:07-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Cacti Developers >\n"
+"Last-Translator: Cacti Developers \n"
"Language-Team: Cacti Developers \n"
"Language: \n"
"MIME-Version: 1.0\n"
@@ -687,7 +687,19 @@ msgid "WARNING: Syslog Upgrade is Time Consuming!!!"
msgstr ""
#: includes/installer.php
-msgid "The upgrade of the 'main' syslog table can be a very time consuming process. As such, it is recommended that you either reduce the size of your syslog table prior to upgrading, or choose the background option
If you choose the background option, your legacy syslog table will be renamed, and a new syslog table will be created. Then, an upgrade process will be launched in the background. Again, this background process can quite a bit of time to complete. However, your data will be preserved
Regardless of your choice, all existing removal and alert rules will be maintained during the upgrade process.
Press 'Upgrade' to proceed with the upgrade, or 'Cancel' to return to the Plugins menu."
+msgid "The upgrade of the 'main' syslog table can be a very time consuming process. As such, it is recommended that you either reduce the size of your syslog table prior to upgrading, or choose the background option."
+msgstr ""
+
+#: includes/installer.php
+msgid "If you choose the background option, your legacy syslog table will be renamed, and a new syslog table will be created. Then, an upgrade process will be launched in the background. Again, this background process can take quite a bit of time to complete. However, your data will be preserved."
+msgstr ""
+
+#: includes/installer.php
+msgid "Regardless of your choice, all existing removal and alert rules will be maintained during the upgrade process."
+msgstr ""
+
+#: includes/installer.php
+msgid "Press 'Upgrade' to proceed with the upgrade, or 'Cancel' to return to the Plugins menu."
msgstr ""
#: includes/installer.php
@@ -2495,7 +2507,6 @@ msgid "Grouped Messages"
msgstr ""
#: syslog.php
-#, 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 ""
From fd3c709f5bf09c951bda07b6e458936404671aed Mon Sep 17 00:00:00 2001
From: Thomas Vincent
Date: Mon, 23 Nov 2026 18:44:59 -0800
Subject: [PATCH 2/3] chore(i18n): restore cacti.pot header lines and
php-format flag
Signed-off-by: Thomas Vincent
---
locales/po/cacti.pot | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot
index 589034f3..7ffefc26 100644
--- a/locales/po/cacti.pot
+++ b/locales/po/cacti.pot
@@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Cacti \n"
"Report-Msgid-Bugs-To: developers@cacti.net\n"
-"POT-Creation-Date: 2026-11-23 17:07-0800\n"
+"POT-Creation-Date: 2026-11-20 14:13-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Cacti Developers \n"
+"Last-Translator: Cacti Developers >\n"
"Language-Team: Cacti Developers \n"
"Language: \n"
"MIME-Version: 1.0\n"
@@ -2507,6 +2507,7 @@ msgid "Grouped Messages"
msgstr ""
#: syslog.php
+#, 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 ""
From 595aa84d353c399a1fa2fc7245f99c43d45d6b9b Mon Sep 17 00:00:00 2001
From: Thomas Vincent
Date: Mon, 23 Nov 2026 19:00:20 -0800
Subject: [PATCH 3/3] chore(i18n): remove orphan ka.mo binary
Remove locales/LC_MESSAGES/ka.mo left behind after the locale rename
to ka-GE (no matching ka.po exists; ka-GE.mo is already present).
Refs #480, Cacti/cacti#8925.
Signed-off-by: Thomas Vincent
---
CHANGELOG.md | 2 +-
locales/LC_MESSAGES/ka.mo | Bin 4196 -> 0 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
delete mode 100644 locales/LC_MESSAGES/ka.mo
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4dfb2963..aa82899b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,7 @@
--- develop ---
-* issue#480: Split the syslog upgrade notice in `includes/installer.php` into separate balanced `` translation strings and regenerate `locales/po/cacti.pot`
+* 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/LC_MESSAGES/ka.mo b/locales/LC_MESSAGES/ka.mo
deleted file mode 100644
index 98c1723755b971aced6803655b43f4a85e34d27a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 4196
zcmai#Uu+yl9mgk-7J7jKq2*6$>9!DR6V6wsO%u*>nyY3wNP6{n)5P}yZBnm7@T#D1R?OQa7)-`5&O{z6yEGYjp2~ufr1j7nJ?0>16j>
zsQGnt+IOSlKB#((K>0ZUrGLnA9Ln#6lTShUyAR6Fg5yJw*EAekQ1NF_`d@&u|0tCG
zuetfUlb>_*O{jh6q4K!o^%-;=OUE9-$3oZ?B;)k@>hC?)gOlMW`4Ju&qL{-hP-Bt
zPJX@w_rWKj?EW0e?<%yO|EtrUKsw$D!;l
z!jHfdDz2xX>U{}n|4UHzUW4-c22@?Hr-;gT4C)?z2JV8AsUBRL+%CxFhoF9sbcYVo
zYBW8vsr>a!(LPA~q$WHEXsX@d8DpRt==r#X;dsq4+6Ybg3?8mg{!j)}ryZv0TyCeS
z4jxU9a@F^tXSanJcN8YvSl{%p8+Hw}gQ95jf>WwfPHg0Ze
ztsu#4zkk1F3R-5ukCp?_3jD-O#8KvlQJN3Js2ecoMwyxDrdixJlYZD*qt5~}8Jy}i
z=}-IJRt8%^zPK7L2dSA1Q~y*8CCi4Xw}Ye^M9XWY9_11X1W}fR?5HP6oS6FAPE3?j
zN$|ODu056D^>}RVjngdeBEKD&>2|JWQE{85qei$IHoAVxOh;+vliEzMN@lY`n)=OP
zz^a)g;;=(_bCsHzlR_(%n`UuE_TpBfY8JzG
zkaqmYEGA*wEJbIc_>ssgbs8%DQV0Kyz})XAQ5ZGNgE%6nhlAy;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