Skip to content

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

Merged
skjnldsv merged 4 commits into
stable34from
backport/14962/stable34
May 21, 2026
Merged

[stable34] docs(design): add UX writing guide for user-facing strings#14997
skjnldsv merged 4 commits into
stable34from
backport/14962/stable34

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:04
@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 3 changed documentation pages

Last updated: Thu, 21 May 2026 11:16:33 GMT

@skjnldsv skjnldsv disabled auto-merge May 21, 2026 11:19
@skjnldsv skjnldsv merged commit 1161ee8 into stable34 May 21, 2026
26 of 27 checks passed
@skjnldsv skjnldsv deleted the backport/14962/stable34 branch May 21, 2026 11:19
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