0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

contributor: base localization: document form labels style

This commit is contained in:
0ko 2024-09-10 21:59:49 +05:00
parent f25e842fec
commit 6f34126bee

View file

@ -17,8 +17,12 @@ When an unused string needs to be deleted, it should be only deleted for the bas
## Localization style ## 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. 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 | | Context | ❌ Bad | ✅ Good |
| ------- | -------------------------------------- | -------------------------------------- | | ------- | -------------------------------------- | -------------------------------------- |
| Button | star | Star | | 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 | Integrate matrix into your repository. | Integrate Matrix into your repository. |
| Label | %s Commits | %s commits | | 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 ## Contributing
This section is to help you contribute to the English localization of Forgejo. This section is to help you contribute to the English localization of Forgejo.