summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-07-02 12:16:57 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-07-02 12:16:57 +0000
commit601eb8df30c5d84236fee190caa6fd72b1c37cb3 (patch)
tree37030d397cb56a228be726540164041811e91882
parentf56c4fadc954baca238a31cdd15d96aa87cf0346 (diff)
parent26c8f13708f1eb6ed1d207ec656c85ac70632a66 (diff)
downloadgitlab-ce-601eb8df30c5d84236fee190caa6fd72b1c37cb3.tar.gz
Merge branch 'bvl-externalize-singular-docs' into 'master'
Add note for variable usage in singular See merge request gitlab-org/gitlab-ce!20286
-rw-r--r--doc/development/i18n/externalization.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/i18n/externalization.md b/doc/development/i18n/externalization.md
index 4ba9958e2c6..f7d703b8f0b 100644
--- a/doc/development/i18n/externalization.md
+++ b/doc/development/i18n/externalization.md
@@ -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