You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/update-basicrum-copy/SKILL.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
name: update-basicrum-copy
3
-
description: Update Basicrum branding, user-facing copy, documentation, and WordPress gettext catalogs. Use for naming changes, BasicRUM or Basic Rum cleanup, Brum Site ID help text, logos, POT/PO/MO files, or ASCII-hyphen checks.
3
+
description: Update Basicrum branding, user-facing copy, documentation, and the WordPress gettext template. Use for naming changes, BasicRUM or Basic Rum cleanup, Brum Site ID help text, logos, POT files, or ASCII-hyphen checks.
4
4
---
5
5
6
6
# Update Basicrum Copy
7
7
8
-
Change source text and every generated or translated representation as one unit.
8
+
Change source text and its generated gettext template as one unit.
9
9
10
10
## Find the full text surface
11
11
12
12
1. Search case-insensitively across PHP, JavaScript, CSS, Markdown, WordPress
13
-
readme, tests, fixtures, examples, workflows, POT, and PO files.
14
-
2. Distinguish source strings from generated catalogs and compiled MO files.
13
+
readme, tests, fixtures, examples, workflows, and POT files.
14
+
2. Distinguish source strings from the generated POT template.
15
15
3. Check identifiers separately from display text; do not casually rename stored
16
16
option keys, hooks, handles, or public callbacks.
17
17
@@ -23,7 +23,8 @@ Change source text and every generated or translated representation as one unit.
23
23
- Use ASCII hyphens only. Do not introduce en dashes or em dashes.
24
24
- Keep statements about consent, privacy, and compliance precise. Basicrum
25
25
follows the external tool's decision; it does not make a site compliant.
26
-
- Keep WordPress gettext calls in PHP source. Do not hand-edit binary MO files.
26
+
- Keep WordPress gettext calls in PHP source. Do not add locale-specific PO or
27
+
MO files unless bundled translations are deliberately restored.
27
28
- Update tests that intentionally assert rendered copy without making tests less
28
29
specific merely to avoid maintaining wording.
29
30
@@ -43,6 +44,5 @@ git diff --check
43
44
```
44
45
45
46
The second translation run must be idempotent. Search again for every retired
46
-
spelling after generation, inspect the POT and PO diff, and verify MO files were
47
-
produced by the documented tool. Run relevant PHP or browser tests when rendered
48
-
markup, selectors, or behavior changed.
47
+
spelling after generation and inspect the POT diff. Run relevant PHP or browser
48
+
tests when rendered markup, selectors, or behavior changed.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The installable plugin is [`plugins/basicrum/`](plugins/basicrum/). Repository r
26
26
27
27
Follow the permanent conventions in [AGENTS.md](AGENTS.md), including WordPress Coding Standards, PHP 7.4 compatibility, ASCII hyphens, synchronized version metadata, privacy-safe consent behavior, and immutable GitHub Actions pins.
28
28
29
-
When changing user-facing text, regenerate WordPress translation catalogs. When changing settings, keep defaults, rendering, validation, runtime behavior, tests, and documentation synchronized.
29
+
When changing user-facing text, regenerate the WordPress POT template. Locale-specific PO and MO files are not bundled. When changing settings, keep defaults, rendering, validation, runtime behavior, tests, and documentation synchronized.
0 commit comments