[DOC] Add note for variable usage in singular
Avoiding a count variable allows more natural translation in some languages.
This commit is contained in:
parent
63c64ab323
commit
26c8f13708
|
@ -174,6 +174,8 @@ For example use `%{created_at}` in Ruby but `%{createdAt}` in JavaScript.
|
|||
# => When size == 2: 'There are 2 mice.'
|
||||
```
|
||||
|
||||
Avoid using `%d` or count variables in sigular strings. This allows more natural translation in some languages.
|
||||
|
||||
- In JavaScript:
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in New Issue