Skip to content

Regenerate the POT for 2.11.0 - #2392

Merged
KMchaudhary merged 3 commits into
developfrom
fix/pot-2.11.0
Nov 19, 2026
Merged

KMchaudhary merged 3 commits into
developfrom
fix/pot-2.11.0

Conversation

@KMchaudhary

Copy link
Copy Markdown
Collaborator

What and why

Resolves the failing "Check the committed POT matches a fresh build" CI check on the v2.11.0 develop→main sync (#2389). That check runs only on PRs into main, so the release sync is where it surfaces.

The committed languages/godam.pot was generated against a non-production build — its built-file references point at line numbers in the thousands (e.g. video-editor.min.js:24322), whereas a production build minifies each bundle to a single line. This regenerates it with npm run build:prod && composer pot, following the same flow as the 2.10.0 POT regen (#2383).

Net string changes are the new LearnDash Video Progression strings shipping in 2.11.0 (#2376):

  • "Use GoDAM Video"
  • "A GoDAM video is the progression video"
  • "The video learners watch to complete this step. With none selected, the first GoDAM Video block in the content is used."
  • "Select the progression video"
  • "Use a GoDAM video as the progression video. Add [ld_video] to the content to choose where it appears."

The remaining diff is built-file reference churn now that the bundles are minified to single lines.

Where to look

  • languages/godam.pot — header still Project-Id-Version: GoDAM 2.11.0, Report-Msgid-Bugs-To unchanged.

How to test

npm run build:prod && composer pot, then git diff -I 'POT-Creation-Date' -- languages/ is empty.

Risk

risk: low — translation template only, no code change.

🤖 Generated with Claude Code

Run `npm run build:prod && composer pot` so the committed POT matches a
fresh production build. Adds the LearnDash Video Progression strings and
refreshes the built-file references, which the committed POT recorded
against a non-production build (line numbers in the thousands).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
15 0 15

⚠️ Warnings (15)

📁 readme.txt (2 warnings)
📍 Line 🔖 Check 💬 Message
0 mismatched_plugin_name Plugin name "GoDAM - Video Hosting for LMS & Online Courses" is different from the name declared in plugin header "GoDAM".
0 readme_parser_warnings_trimmed_section_description The "Description" section is too long and was truncated. A maximum of 2500 characters is supported.
📁 inc/classes/class-media-library-ajax.php (1 warning)
📍 Line 🔖 Check 💬 Message
1643 WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "max_srcset_image_width".
📁 assets/build/pages/video-editor.min.js (1 warning)
📍 Line 🔖 Check 💬 Message
2 react_removed_api This file calls "ReactDOM.findDOMNode", which was removed in React 19 and stops working once WordPress upgrades React. Use a ref on the element instead.
📁 assets/build/css/main.css (1 warning)
📍 Line 🔖 Check 💬 Message
0 EnqueuedStylesScope This style is being loaded in all contexts.
📁 assets/src/libs/analytics.min.js (5 warnings)
📍 Line 🔖 Check 💬 Message
0 EnqueuedScriptsScope This script is being loaded in all frontend contexts.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880 (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/2026/11/19/hello-world/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/sample-page/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/demo-attachment-post/ (with handle analytics-library) is loaded in the footer. Consider a defer or async script loading strategy instead.
📁 assets/build/js/main.min.js (5 warnings)
📍 Line 🔖 Check 💬 Message
0 EnqueuedScriptsScope This script is being loaded in all frontend contexts.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880 (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/2026/11/19/hello-world/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/sample-page/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead.
0 NonBlockingScripts.NoStrategy This script on http://localhost:8880/demo-attachment-post/ (with handle rtgodam-script) is loaded in the footer. Consider a defer or async script loading strategy instead.

🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

KMchaudhary and others added 2 commits November 19, 2026 16:36
@KMchaudhary
KMchaudhary merged commit 26f3b25 into develop Nov 19, 2026
4 of 5 checks passed
@KMchaudhary
KMchaudhary deleted the fix/pot-2.11.0 branch November 19, 2026 11:10
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