diff --git a/docs/contributor/localization-english.md b/docs/contributor/localization-english.md index 9c2fb9aa..fea89108 100644 --- a/docs/contributor/localization-english.md +++ b/docs/contributor/localization-english.md @@ -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.