Skip to content

Commit 86a8e05

Browse files
authored
Updates
1 parent 2c3eeea commit 86a8e05

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ respond in a way that they deem appropriate to the circumstances.
5454

5555
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
5656
version 2.1, available at
57-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).
57+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).

.github/copilot-instructions.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ applyTo: '**'
5757

5858
**Version Release Process (only when instructed):**
5959
- Follow semantic versioning (MAJOR.MINOR.PATCH)
60-
- Update version in: plugin header, README.md, readme.txt, CHANGELOG.md, GEMINI.md, and language files (.pot)
61-
- Update version in: constants section, .pot files, package.json, composer.json
60+
- Update version in: plugin header, README.md, readme.txt, CHANGELOG.md, GEMINI.md, and `.pot` language files, constants section, package.json, and composer.json
6261
- Move "Unreleased" changes to new version section in both changelogs
6362
- **Never auto-update versions** - wait for explicit instruction
6463

@@ -67,6 +66,11 @@ applyTo: '**'
6766
- Write clear function/class descriptions
6867
- Document security considerations and hooks used
6968

69+
**Internationalization (i18n):**
70+
- Update `.pot` language files when adding or modifying translatable strings
71+
- Always use the correct text domain when dealing with translation functions
72+
- Mark all user-facing strings with `__()`, `_e()`, `esc_html__()`, `esc_attr__()`, etc.
73+
7074
## ⚡ Performance & Quality
7175

7276
**Performance Optimization:**

0 commit comments

Comments
 (0)