summaryrefslogtreecommitdiff
path: root/doc/development/i18n/externalization.md
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-02-28 18:47:02 +0100
committerRémy Coutable <remy@rymai.me>2018-02-28 19:08:20 +0100
commit31b5b27ffdb893509a7bd06ed9b5606e5ba95b5a (patch)
tree6cf42c8f227e9ba4b7642f186569f6fdb8054949 /doc/development/i18n/externalization.md
parentdf029d4f7382dd8340c7a560ab32dc289859cc30 (diff)
downloadgitlab-ce-31b5b27ffdb893509a7bd06ed9b5606e5ba95b5a.tar.gz
Add Rémy Coutable as a French proofreader43294-improve-externalization-documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/development/i18n/externalization.md')
-rw-r--r--doc/development/i18n/externalization.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/i18n/externalization.md b/doc/development/i18n/externalization.md
index fb1de592a79..c0ce49eb40b 100644
--- a/doc/development/i18n/externalization.md
+++ b/doc/development/i18n/externalization.md
@@ -226,14 +226,14 @@ For instance, the following
```js
{{ s__("mrWidget|Set by") }}
-<mr-widget-author :author="mr.setToMWPSBy" />
+{{ author.name }}
{{ s__("mrWidget|to be merged automatically when the pipeline succeeds") }}
```
should be externalized as follows:
```js
-{{ sprintf(s__("mrWidget|Set by %{author} to be merged automatically when the pipeline succeeds"), { author: '<mr-widget-author :author="mr.setToMWPSBy" />' }) }}
+{{ sprintf(s__("mrWidget|Set by %{author} to be merged automatically when the pipeline succeeds"), { author: author.name }) }}
```
When in doubt, try to follow the best practices described in this [Mozilla