Files
cloudron-box/dashboard/TRANSLATIONS.md

75 lines
2.6 KiB
Markdown
Raw Normal View History

2025-10-22 11:34:08 +02:00
## Translations
This documents the convention used for the text in the UI.
2025-11-06 16:52:34 +01:00
### Tale of Two Cases
2025-10-22 11:34:08 +02:00
2025-11-06 16:52:34 +01:00
**Title Case**
2025-10-22 11:34:08 +02:00
2025-11-06 16:52:34 +01:00
All words are capitalized. In title case, articles (a/an/the), conjunctions (and/but/or/...)
and prepositions (on/at/...) inside a phrase are not capitalized. Everything else is capitalized
- noun, pronoun, verb, adverb.
2025-10-22 11:34:08 +02:00
Examples:
* "Sign In to Your Account"
* "Terms and Conditions"
* "Getting Started with GraphQL"
* "Between You and Me"
2025-11-06 16:52:34 +01:00
**Sentence Case**
2025-10-22 11:34:08 +02:00
Only first word is capitalized.
2025-11-06 16:52:34 +01:00
### UI Conventions
2025-10-22 11:34:08 +02:00
| Element | Recommended Style | Example |
| -------------- | ---------------------- | -------------------------------- |
| Headings | Title Case | Manage Account |
| Sub heading | Title Case | Create Admin Account |
| Form Labels | Title Case | Email Address |
| Buttons | Sentence Case | Save changes |
| Radio Buttons | Sentence Case | Option one / Option two |
2025-11-07 10:45:21 +01:00
| Checkbox | Sentence Case | Use CIFS encryption |
| Menu action | Sentence Case | Select all |
| Switches | Sentence Case | Allow users to edit email |
2025-10-22 11:34:08 +02:00
| Descriptions | Sentence case | Enter your password to continue. |
| Tooltips | Sentence case | Click to edit. |
| Error Messages | Sentence case | Password is too short |
| Notifications | Sentence case | Settings saved successfully. |
| Legend (graph) | Sentence case | Docker volume, Box data. |
2025-11-06 16:52:34 +01:00
| Placeholders | Sentence case | Comma separated IPs or subnets |
2025-10-22 11:34:08 +02:00
Hints in brackets are small case. Like "(comma separated)".
2025-11-06 16:52:34 +01:00
### Full Stops
Sentence fragments like form hints and tooltips (which are always visible) do not need a full stop.
All other full sentences do.
description has a full stop unless it's a hint/phrase.
Checkbox labels do not have a full stop at the end
2025-10-22 11:34:08 +02:00
2025-11-06 16:52:34 +01:00
### Dialog Buttons
'Add' for addition
'Cancel' to cancel
'Save' for edit/update
'Remove' for non-destructive/less destructive things (app password remove)
'Delete' for destructive (user delete)
2025-11-07 10:15:22 +01:00
'Close' - Only for dialogs with the only button
2025-11-06 16:52:34 +01:00
### Dialog Text
When asking for confirmation simply ask 'Remove app password "xxx"' . Don't use "really"
or other emotional terms. Quote the password/domain name.
2025-11-07 10:45:21 +01:00
In general, we put just "Delete User" in Title and provide the username in the context.
Title = action (what youre doing)
Description = context (to whom it applies)