mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-20 17:26:56 -05:00
contributor: base localization: document form labels style
This commit is contained in:
parent
f25e842fec
commit
6f34126bee
1 changed files with 15 additions and 0 deletions
|
@ -17,8 +17,12 @@ When an unused string needs to be deleted, it should be only deleted for the bas
|
|||
|
||||
## Localization style
|
||||
|
||||
### Capitalization
|
||||
|
||||
All strings should have regular capitalization. Headers, labels, buttons and such should start with a capital letter. Only names, product names and such should be capitalized after that. Forgejo-specific measurement units should not be capitalized.
|
||||
|
||||
Follow these examples for string capitalization:
|
||||
|
||||
| Context | ❌ Bad | ✅ Good |
|
||||
| ------- | -------------------------------------- | -------------------------------------- |
|
||||
| Button | star | Star |
|
||||
|
@ -28,6 +32,17 @@ All strings should have regular capitalization. Headers, labels, buttons and suc
|
|||
| Label | Integrate matrix into your repository. | Integrate Matrix into your repository. |
|
||||
| Label | %s Commits | %s commits |
|
||||
|
||||
### Other stylistic choices
|
||||
|
||||
Form labels should not end with any punctuation marks.
|
||||
|
||||
Follow these examples:
|
||||
|
||||
| Context | ❌ Bad | ✅ Good |
|
||||
| ---------- | --------- | -------- |
|
||||
| Form label | Username. | Username |
|
||||
| Form label | Username: | Username |
|
||||
|
||||
## Contributing
|
||||
|
||||
This section is to help you contribute to the English localization of Forgejo.
|
||||
|
|
Loading…
Reference in a new issue