Commit 05610e82 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'remove-dupe-js-trans' into 'master'

Remove unnecessary/duplicate js translation doc

See merge request gitlab-org/gitlab!74986
parents cc314a0d 7ded0f77
......@@ -133,11 +133,9 @@ You can mark that content for translation with:
The `~/locale` module exports the following key functions for externalization:
- `__()` (double underscore parenthesis)
- `s__()` (namespaced double underscore parenthesis)
- `__()` Mark content for translation (note the double underscore).
- `s__()` Mark namespaced content for translation
- `n__()` Mark pluralized content for translation
- `__()` Mark content for translation (double underscore parenthesis).
- `s__()` Mark namespaced content for translation (s double underscore parenthesis).
- `n__()` Mark pluralized content for translation (n double underscore parenthesis).
```javascript
import { __, s__, n__ } from '~/locale';
......
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