Skip to content

fix(i18n): split unbalanced paragraph HTML in syslog upgrade notice - #481

Merged
somethingwithproof merged 3 commits into
developfrom
fix/i18n-syslog-installer-html
Nov 24, 2026
Merged

somethingwithproof merged 3 commits into
developfrom
fix/i18n-syslog-installer-html

Conversation

@somethingwithproof

@somethingwithproof somethingwithproof commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Fixes #480
Related: Cacti/cacti#8907, Cacti/cacti#8924, Cacti/cacti#8925

Changes

  • Split the upgrade notice in includes/installer.php (which embedded unbalanced </p> <p> tags inside a single __() string) into four balanced <p>...</p> translation strings, matching the fresh-install branch directly below it.
  • Regenerate locales/po/cacti.pot (active per-language .po/.mo catalogs untouched for Weblate).
  • Remove orphan locales/LC_MESSAGES/ka.mo (no matching ka.po; ka-GE.mo is already present).
  • Update CHANGELOG.md.

Verification

  • php -l on all plugin PHP files
  • php tests/bin/validate-manifest.php
  • php tests/bin/check-i18n-pot.php origin/develop
  • msgfmt --check-format -o /dev/null locales/po/cacti.pot
  • Full Pest unit suite passed

Split the single syslog upgrade notice string in includes/installer.php
containing embedded '</p> <p>' breaks into four balanced '<p>...</p>'
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 <thomasvincent@gmail.com>
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
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 <thomasvincent@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@somethingwithproof
somethingwithproof merged commit 5db7c69 into develop Nov 24, 2026
11 checks passed
@somethingwithproof
somethingwithproof deleted the fix/i18n-syslog-installer-html branch November 24, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

i18n: unbalanced </p><p> HTML in English source, 10 missing Plural-Forms headers, mojibake, and orphan ka.mo

2 participants