diff --git a/CHANGELOG.md b/CHANGELOG.md index f6f246f3..aa82899b 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, 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/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/LC_MESSAGES/ka.mo b/locales/LC_MESSAGES/ka.mo deleted file mode 100644 index 98c17237..00000000 Binary files a/locales/LC_MESSAGES/ka.mo and /dev/null differ diff --git a/locales/po/cacti.pot b/locales/po/cacti.pot index f3002dad..7ffefc26 100644 --- a/locales/po/cacti.pot +++ b/locales/po/cacti.pot @@ -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