Skip to content

[stable33] docs(design): add UX writing guide for user-facing strings#14996

Merged
rakekniven merged 4 commits into
stable33from
backport/14962/stable33
May 21, 2026
Merged

[stable33] docs(design): add UX writing guide for user-facing strings#14996
rakekniven merged 4 commits into
stable33from
backport/14962/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 21, 2026

Backport of PR #14962

skjnldsv added 4 commits May 21, 2026 10:44
Adds a new writing.rst page to developer_manual/design/ covering tone,
message brevity, the "successfully" anti-pattern, button label conventions,
and variable/placeholder gotchas for translators.

Linked from design/index.rst toctree.

Relates to #13884

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Explains when and how to write TRANSLATORS comments in PHP, JS/TS,
Vue templates, and Vue script blocks, with examples from the server codebase.

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
…ations ref

Move code examples for TRANSLATORS comments to basics/translations.rst
(the implementation reference) and keep only prose guidelines in
design/writing.rst. Cross-link both directions so neither page duplicates
the other.

- writing.rst: strip code blocks from Translator comments and Placeholders
  sections; add cross-refs to translations.rst
- translations.rst: improve PHP/JS/Vue TRANSLATORS examples (Vue template
  uses <!-- --> above element, add multi-line PHP pattern); add ref label
  improving-translations for cross-linking

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- Add Nextcloud naming rule (capital N, lowercase c, no NextCloud/Nc)
- Add "never all uppercase" to sentence case rule with SHARE example
- Add names, pronouns, and gender section (full names, avoid my/your,
  gender-neutral language with link to international guide)
- Move destructive actions note above the button labels table

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@rakekniven rakekniven enabled auto-merge May 21, 2026 11:06
@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 3 changed documentation pages

Last updated: Thu, 21 May 2026 11:12:26 GMT

@rakekniven rakekniven merged commit 7a41b9f into stable33 May 21, 2026
24 checks passed
@rakekniven rakekniven deleted the backport/14962/stable33 branch May 21, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants