Skip to content

PTC accessibility-checker (1985): Automatic Translations June 30, 2026 21:25:33332358 - #1812

Merged
pattonwebz merged 33 commits into
developfrom
ptc_1985_automatic_translations_june-30-2026-21-25-33332358
Jun 30, 2026
Merged

PTC accessibility-checker (1985): Automatic Translations June 30, 2026 21:25:33332358#1812
pattonwebz merged 33 commits into
developfrom
ptc_1985_automatic_translations_june-30-2026-21-25-33332358

Conversation

@SteveJonesDev

@SteveJonesDev SteveJonesDev commented Jun 30, 2026

Copy link
Copy Markdown
Member

For the complete list of PTC PRs see the Pull Request History tab.

Summary by CodeRabbit

  • Bug Fixes
    • Refreshed translations across multiple languages to match the latest app text.
    • Updated accessibility review and dismissal labels, including new “Confirmed accessible” and “Reviewed and verified” messages.
    • Improved consistency for issue status, comment, date, and reopen/dismiss wording in localized UI.
    • Corrected minor formatting in translated strings for better compatibility.

PTC added 30 commits June 30, 2026 21:25
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates 30 language .po translation files for the Accessibility Checker plugin. Each file gets refreshed POT-Creation-Date/version metadata, updated source-reference line numbers, reorganized "ignore UI" message entries (adding "Confirmed accessible" and "Reviewed and verified" strings), and normalized php-format, js-format flag spacing.

Changes

Translation Catalog Updates

Layer / File(s) Summary
Locale batch: ar, bg_BG, cs_CZ, da_DK, de_DE, el
languages/accessibility-checker-{ar,bg_BG,cs_CZ,da_DK,de_DE,el}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized.
Locale batch: es_ES, et, fi, fr_FR, he_IL, hu_HU
languages/accessibility-checker-{es_ES,et,fi,fr_FR,he_IL,hu_HU}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized.
Locale batch: id_ID, it_IT, ja, ko_KR, lt_LT, lv
languages/accessibility-checker-{id_ID,it_IT,ja,ko_KR,lt_LT,lv}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized; Korean catalog also updates a footer rating-prompt string.
Locale batch: nb_NO, nl_NL, pl_PL, pt_BR, pt_PT, ro_RO
languages/accessibility-checker-{nb_NO,nl_NL,pl_PL,pt_BR,pt_PT,ro_RO}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized.
Locale batch: ru_RU, sk_SK, sl_SI, sv_SE, th, tr_TR
languages/accessibility-checker-{ru_RU,sk_SK,sl_SI,sv_SE,th,tr_TR}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized.
Locale batch: uk, vi, zh_CN
languages/accessibility-checker-{uk,vi,zh_CN}.po
Header metadata, source-line references, reorganized ignore-UI status strings, and flag spacing normalized.

Sequence Diagram(s)

Not applicable — this PR consists solely of translation catalog (.po) metadata and string updates with no functional control flow changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Poem

Thirty burrows, thirty tongues,
Each with the same translated rungs.
"Confirmed accessible," I now declare,
Hopping through commas with translator's care.
🐇 php-format, js-format, all aligned —
A rabbit's work: same change, well-defined.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the change set, which is an automatic translation update for accessibility-checker.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ptc_1985_automatic_translations_june-30-2026-21-25-33332358

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates multiple localization files (.po) to version 1.44.1, adding and adjusting translations across various languages. A critical issue was found in the Korean translation file where a corrupted placeholder was used instead of the required '%2$s' format specifier, which could cause unclosed HTML tags and display raw translation tool markup to users.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

#, php-format
msgid "Enjoying Accessibility Checker? %1$sPlease leave us a ★★★★★ rating.%2$s We really appreciate your support!"
msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.[/%p#07527667] 여러분의 지원에 정말 감사드립니다!"
msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.[/%%p#07527667] 여러분의 지원에 정말 감사드립니다!"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The translation contains a corrupted placeholder [/%%p#07527667] instead of the required %2$s format specifier. This will result in unclosed HTML tags (as %1$s likely opens a link or formatting that %2$s is supposed to close) and displays raw translation tool markup to the end-user. Please restore the %2$s placeholder.

msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.%2$s 여러분의 지원에 정말 감사드립니다!"

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8e1c5f229e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

#, php-format
msgid "Enjoying Accessibility Checker? %1$sPlease leave us a ★★★★★ rating.%2$s We really appreciate your support!"
msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.[/%p#07527667] 여러분의 지원에 정말 감사드립니다!"
msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.[/%%p#07527667] 여러분의 지원에 정말 감사드립니다!"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore the closing link placeholder

For Korean sites where Pro is active, filter_footer_text() passes both an opening and closing link into sprintf, but this updated translation escapes the stray marker as %%p and still omits %2$s. That means the closing </a> is never inserted and the footer renders the literal [/%%p#07527667] with an unterminated review link instead of closing after the stars; this should use the %2$s placeholder for the closing tag.

Useful? React with 👍 / 👎.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
languages/accessibility-checker-ko_KR.po (1)

480-484: 🗄️ Data Integrity & Integration | 🔴 Critical | ⚡ Quick win

Corrupted placeholder breaks the footer rating link.

The msgstr replaces the %2$s closing-tag placeholder with garbage text [/%%p#07527667] instead of keeping %2$s. The PHP source (admin/class-admin-footer-text.php) calls sprintf() with %1$s as the opening <a> tag and %2$s as the closing </a> tag. Since the translated string no longer contains %2$s, the closing anchor tag will never be substituted in, producing malformed/unclosed HTML in the admin footer.

🐛 Proposed fix
-msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.[/%%p#07527667] 여러분의 지원에 정말 감사드립니다!"
+msgstr "Accessibility Checker를 즐겁게 사용하고 계신가요? %1$s★★★★★ 평가를 남겨주세요.%2$s 여러분의 지원에 정말 감사드립니다!"

Based on learnings, this falls under the explicit exception for PO translation reviews ("placeholder mismatches" should be flagged even when other copy/POT changes are deprioritized).

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@languages/accessibility-checker-ko_KR.po` around lines 480 - 484, The Korean
translation for the admin footer rating prompt has a corrupted placeholder in
the msgstr, where the `%2$s` closing-link token was replaced with garbage text.
Restore the exact `%1$s` and `%2$s` placeholders in the translation for
`admin/class-admin-footer-text.php` so `sprintf()` can insert both the opening
and closing anchor tags correctly and the footer HTML remains well-formed.

Source: Learnings

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@languages/accessibility-checker-ko_KR.po`:
- Around line 480-484: The Korean translation for the admin footer rating prompt
has a corrupted placeholder in the msgstr, where the `%2$s` closing-link token
was replaced with garbage text. Restore the exact `%1$s` and `%2$s` placeholders
in the translation for `admin/class-admin-footer-text.php` so `sprintf()` can
insert both the opening and closing anchor tags correctly and the footer HTML
remains well-formed.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cf562e12-5338-412f-9249-fed524c9e145

📥 Commits

Reviewing files that changed from the base of the PR and between 1748913 and 8e1c5f2.

📒 Files selected for processing (66)
  • languages/accessibility-checker-ar.mo
  • languages/accessibility-checker-ar.po
  • languages/accessibility-checker-bg_BG.mo
  • languages/accessibility-checker-bg_BG.po
  • languages/accessibility-checker-cs_CZ.mo
  • languages/accessibility-checker-cs_CZ.po
  • languages/accessibility-checker-da_DK.mo
  • languages/accessibility-checker-da_DK.po
  • languages/accessibility-checker-de_DE.mo
  • languages/accessibility-checker-de_DE.po
  • languages/accessibility-checker-el.mo
  • languages/accessibility-checker-el.po
  • languages/accessibility-checker-es_ES.mo
  • languages/accessibility-checker-es_ES.po
  • languages/accessibility-checker-et.mo
  • languages/accessibility-checker-et.po
  • languages/accessibility-checker-fi.mo
  • languages/accessibility-checker-fi.po
  • languages/accessibility-checker-fr_FR.mo
  • languages/accessibility-checker-fr_FR.po
  • languages/accessibility-checker-he_IL.mo
  • languages/accessibility-checker-he_IL.po
  • languages/accessibility-checker-hu_HU.mo
  • languages/accessibility-checker-hu_HU.po
  • languages/accessibility-checker-id_ID.mo
  • languages/accessibility-checker-id_ID.po
  • languages/accessibility-checker-it_IT.mo
  • languages/accessibility-checker-it_IT.po
  • languages/accessibility-checker-ja.mo
  • languages/accessibility-checker-ja.po
  • languages/accessibility-checker-ko_KR.mo
  • languages/accessibility-checker-ko_KR.po
  • languages/accessibility-checker-lt_LT.mo
  • languages/accessibility-checker-lt_LT.po
  • languages/accessibility-checker-lv.mo
  • languages/accessibility-checker-lv.po
  • languages/accessibility-checker-nb_NO.mo
  • languages/accessibility-checker-nb_NO.po
  • languages/accessibility-checker-nl_NL.mo
  • languages/accessibility-checker-nl_NL.po
  • languages/accessibility-checker-pl_PL.mo
  • languages/accessibility-checker-pl_PL.po
  • languages/accessibility-checker-pt_BR.mo
  • languages/accessibility-checker-pt_BR.po
  • languages/accessibility-checker-pt_PT.mo
  • languages/accessibility-checker-pt_PT.po
  • languages/accessibility-checker-ro_RO.mo
  • languages/accessibility-checker-ro_RO.po
  • languages/accessibility-checker-ru_RU.mo
  • languages/accessibility-checker-ru_RU.po
  • languages/accessibility-checker-sk_SK.mo
  • languages/accessibility-checker-sk_SK.po
  • languages/accessibility-checker-sl_SI.mo
  • languages/accessibility-checker-sl_SI.po
  • languages/accessibility-checker-sv_SE.mo
  • languages/accessibility-checker-sv_SE.po
  • languages/accessibility-checker-th.mo
  • languages/accessibility-checker-th.po
  • languages/accessibility-checker-tr_TR.mo
  • languages/accessibility-checker-tr_TR.po
  • languages/accessibility-checker-uk.mo
  • languages/accessibility-checker-uk.po
  • languages/accessibility-checker-vi.mo
  • languages/accessibility-checker-vi.po
  • languages/accessibility-checker-zh_CN.mo
  • languages/accessibility-checker-zh_CN.po

@pattonwebz
pattonwebz merged commit d5c1426 into develop Jun 30, 2026
22 of 23 checks passed
@pattonwebz
pattonwebz deleted the ptc_1985_automatic_translations_june-30-2026-21-25-33332358 branch June 30, 2026 21:42
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