mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
Update TRANSLATORS_GUIDE.md to have improved punctuation, capitalization
This commit is contained in:
parent
27add20bcc
commit
a2036750bd
@ -12,13 +12,13 @@ They are just plain text and are to be translated in full.
|
|||||||
```
|
```
|
||||||
{username} changed their avatar
|
{username} changed their avatar
|
||||||
```
|
```
|
||||||
Contains one or more words surrounded by curly brackets "`{}`" anything outside of the curly brackets is to be translated as normal but the words in the curly brackets are **NOT** to be translated. In the above example "`{username}`" will be replaced by the users actual username by fluffychat.
|
Contains one or more words surrounded by curly brackets "`{}`". Anything outside of the curly brackets is to be translated as normal, but the words in the curly brackets are **NOT** to be translated. In the above example "`{username}`" will be replaced by the users actual username by FluffyChat.
|
||||||
|
|
||||||
## Plural
|
## Plural
|
||||||
|
|
||||||
- {count,plural, =1{**1 more event**} other{{count} **more events**}}
|
- {count,plural, =1{**1 more event**} other{{count} **more events**}}
|
||||||
|
|
||||||
This is the most complicated string type, the parts in bold are the only parts that need translating in this string. You can identify plural strings by seeing the pattern `{word,plural,` at the start. `=1` and `other` are "selectors" so you can have multiple different translations for different quantities `other` is the only required selector and will be chosen if the count does not match any other selectors.
|
This is the most complicated string type, the parts in bold are the only parts that need translating in this string. You can identify plural strings by seeing the pattern `{word,plural,` at the start. `=1` and `other` are "selectors" so you can have multiple different translations for different quantities. `other` is the only required selector and will be chosen if the count does not match any other selectors.
|
||||||
|
|
||||||
Selector | Matches
|
Selector | Matches
|
||||||
---|---
|
---|---
|
||||||
@ -27,9 +27,9 @@ Selector | Matches
|
|||||||
=2 | a count of exactly 2
|
=2 | a count of exactly 2
|
||||||
other | any number unless it matches a more specific rule
|
other | any number unless it matches a more specific rule
|
||||||
|
|
||||||
There is also "few" and "many" but they seem to have language specific meaning.
|
There is also "few" and "many", but they seem to have language specific meaning.
|
||||||
|
|
||||||
Also the selectors do not need to match the english version such as your language may not even use different words for when there is more than one of something so:
|
Also the selectors do not need to match the English version such as your language may not even use different words for when there is more than one of something so:
|
||||||
- {count,plural, other{{count} \<insert translation here\>}}
|
- {count,plural, other{{count} \<insert translation here\>}}
|
||||||
|
|
||||||
could be a perfectly resonable way to translate.
|
could be a perfectly resonable way to translate.
|
||||||
|
Loading…
Reference in New Issue
Block a user