Skip to content

Translations: add all missing keys, complete Portuguese - #262

Open
codeling wants to merge 2 commits into
mainfrom
jarvis/pensive-cannon-q5piwb
Open

codeling wants to merge 2 commits into
mainfrom
jarvis/pensive-cannon-q5piwb

Conversation

@codeling

@codeling codeling commented Nov 6, 2026

Copy link
Copy Markdown
Owner

What

The CI "Language files" step passed, but reported 23 non-failing warnings (missing keys in translations). They are all gone now: php tests/lint/check-language.php bfstop.xml PLG_SYSTEM_BFSTOP reports 0 errors, 0 warnings.

  • All missing plugin keys added to ca-ES, de-DE, es-ES, fr-FR, it-IT, nl-NL, pt-BR, pt-PT, ru-RU (the settings strings of the proxy / .htaccess / notification sections, the 2.0.0 update hint, and the password reset / client IP strings in it-IT and pt).
  • pt-BR and pt-PT are complete, and are now listed in bfstop.xml. They were in the repository, but not installed with the plugin.
  • pt-BR / pt-PT: PLG_SYSTEM_BFSTOP_ORIGEM renamed to PLG_SYSTEM_BFSTOP_ORIGIN (the code uses the latter).
  • es-ES, pt-BR, pt-PT: removed the obsolete PLG_SYSTEM_BFSTOP_LOGGING_ENABLED_LABEL/_DESC (not used anywhere).
  • CHANGELOG entry.

Goes together with codeling/com_bfstop (branch of the same name), which has the same for the component.

Review needed

The new strings are translations by Claude and should be checked by native speakers. pt-PT was adapted from pt-BR with a word list (utilizador, ficheiro, palavra-passe, ...), so it needs the closest look. Placeholders (%s, %1$d) and HTML tags were checked against en-GB by a script.

Not changed

Existing translations which are outdated but have all their keys (e.g. the pt-BR PLG_SYSTEM_BFSTOP_BLOCKED_IP_MESSAGE still has a stray %s, BLOCKED_SUBJECT has % s) were left as they are.


Generated by Claude Code

- Every language now has all the plugin's keys; CI's language check
  reports no warnings any more (it had 23).
- pt-BR and pt-PT are complete and listed in the manifest, so they are
  installed (they were in the repository, but not shipped).
- pt-BR/pt-PT: PLG_SYSTEM_BFSTOP_ORIGEM renamed to PLG_SYSTEM_BFSTOP_ORIGIN.
- es-ES, pt-BR, pt-PT: removed the obsolete PLG_SYSTEM_BFSTOP_LOGGING_ENABLED_*.

The new strings are translations by Claude and want a review by native
speakers; pt-PT was adapted from pt-BR.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFJFMQH6FykdAThUz1bofn
- PASSWORD_RESET_RECOMMENDED (ca, es, fr, nl): the link had '%1' instead
  of '%1$s', which makes sprintf() throw a ValueError; texts follow the
  English one again.
- BLOCKED_IP_ADDRESS_BODY (es, pt-BR, pt-PT, ru): was the old text with
  plain %s and without the notice; now as the English one. Typos fixed in
  ca, fr, nl.
- NOTIFY_BLOCKED_USER_DESC (all but de) and USE_HTTP_ERROR_DESC (all but
  de): described the behaviour before the unblock link and its error
  statuses; updated. EMAIL_ADDRESS_DESC (ca, es, it, pt), LOGLEVEL_DESC
  (fr), MAX_BLOCKS_BEFORE_DESC (nl) were missing half of the text.
- FAILED_LOGIN_ATTEMPT (ca, fr, it, ru) had lost its first %s or its
  meaning; BLOCKED_IP_MESSAGE (pt) printed a stray %s, BLOCKED_SUBJECT
  (pt) had '% s'; pt-BR BLOCKED_BODY, BLOCKED_MESSAGE_DESC and
  NOTIFY_REMAINING_ATTEMPTS_DESC reworded.
- pt-PT had been a copy of pt-BR (usuário, arquivo, senha, ...); it is now
  in European Portuguese.
- ca: '</ h2>' in the description.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFJFMQH6FykdAThUz1bofn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants