Commit 601eb8df authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'bvl-externalize-singular-docs' into 'master'

Add note for variable usage in singular

See merge request gitlab-org/gitlab-ce!20286
parents f56c4fad 26c8f137
...@@ -174,6 +174,8 @@ For example use `%{created_at}` in Ruby but `%{createdAt}` in JavaScript. ...@@ -174,6 +174,8 @@ For example use `%{created_at}` in Ruby but `%{createdAt}` in JavaScript.
# => When size == 2: 'There are 2 mice.' # => 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: - In JavaScript:
```js ```js
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment