Skip to content

[i18n] Translate phpunit-testing guide into Gujarati - #4368

Merged
fellyph merged 1 commit into
WordPress:trunkfrom
rahultank-spaceo:i18n/gu-phpunit-testing
Sep 28, 2026
Merged

fellyph merged 1 commit into
WordPress:trunkfrom
rahultank-spaceo:i18n/gu-phpunit-testing

Conversation

@rahultank-spaceo

@rahultank-spaceo rahultank-spaceo commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds the Gujarati translation of the Running PHPUnit with the Playground CLI guide.

Changes

  • Added packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md
  • Translated the title, description, headings and all paragraphs
  • Kept the original English text in comments above each translated block
  • Kept code blocks, commands, flags, file paths and links unchanged
  • Kept tool names (Playground CLI, PHPUnit, Composer) in English

Tracking issue: #2320 (this is a newer page, so it isn't in the checklist yet)

AI assistance

AI assistance: Yes
Used for: Initial draft. Every line was reviewed and approved by me as a native Gujarati speaker and Gujarati Translation Editor.

Summary by CodeRabbit

  • Documentation
    • Added a Gujarati guide to running PHPUnit tests with the Playground CLI, including setup requirements, test commands, version options, and links to related documentation.

@github-actions github-actions Bot added the [Type] Documentation Improvements or additions to documentation label Sep 28, 2026
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ea843b7e-926e-49b0-a181-0b7ace67596a

📥 Commits

Reviewing files that changed from the base of the PR and between af6aa8a and b575b24.

📒 Files selected for processing (1)
  • packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

Adds a Gujarati guide for running PHPUnit tests with the Playground CLI. The guide covers the Composer prerequisite, plugin and theme test commands, PHP and WordPress version options, and links to related guides.

Changes

Gujarati PHPUnit testing guide

Layer / File(s) Summary
Guide content
packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md
Adds Gujarati instructions for the Composer PHPUnit prerequisite, testing plugins and themes with --auto-mount or --mount, selecting PHP and WordPress versions, and finding related documentation.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to b575b

The Gujarati guide follows existing translation usage, and no verified issue remains that should delay merging.

Architecture Summary

Architecture risk: 🔵 Low · up to b575b

The change affects 1 system.

Changed systems: packages/docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — packages/docs (library) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md: Added Gujarati page metadata and introductory guidance describing the Playground CLI PHP subcommand, isolated runs, and the Composer PHPUnit prerequisite.
  • observed — Modified behavior in packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md: Added Gujarati instructions and commands for running PHPUnit from a theme or plugin directory using --auto-mount, or mapping a local directory with --mount.
  • observed — Modified behavior in packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md: Added Gujarati guidance for selecting PHP and WordPress versions with --php and --wp, including the stated supported PHP range and WordPress version options.
  • observed — Modified behavior in packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/guides/phpunit-testing.md: Added Gujarati next-step links to the Playground CLI reference and Playwright E2E testing guide.
🚥 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 clearly and concisely describes the main change: translating the PHPUnit testing guide into Gujarati.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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 a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@fellyph fellyph left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for you contribution @rahultank-spaceo !

@fellyph
fellyph merged commit 9977711 into WordPress:trunk Sep 28, 2026
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants