Commit ba731b2a authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'winh-i18n-placeholder-names' into 'master'

Clarify casing of I18N placeholder names

See merge request gitlab-org/gitlab-ce!15867
parents c367d1d5 968ee8d6
......@@ -215,6 +215,9 @@ There is also and alternative method to [translate messages from validation erro
sprintf(__('Hello %{username}'), { username: 'Joe' }) => 'Hello Joe'
```
The placeholders should match the code style of the respective source file.
For example use `%{created_at}` in Ruby but `%{createdAt}` in JavaScript.
### Plurals
- In Ruby/HAML:
......
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