summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-07-09 10:41:38 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-07-09 10:41:38 +0000
commitd5b69f2589b73c90fb68e109f557bd7d6719c387 (patch)
tree4e8a7f5161e14d126b3e58529f019c2b26d243b3 /doc
parent35b4ca37d6660f3ce6f2e8d1af77fcf271995bd1 (diff)
parent8d364ac991126bd266670cb6ab3af9d8f286219f (diff)
downloadgitlab-ce-d5b69f2589b73c90fb68e109f557bd7d6719c387.tar.gz
Merge branch 'bvl-gettext-updated-check-fix-ce' into 'master'
Updates to the `gettext:updated_check` Closes #48952 See merge request gitlab-org/gitlab-ce!20433
Diffstat (limited to 'doc')
-rw-r--r--doc/development/i18n/externalization.md12
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/development/i18n/externalization.md b/doc/development/i18n/externalization.md
index f7d703b8f0b..6323275426f 100644
--- a/doc/development/i18n/externalization.md
+++ b/doc/development/i18n/externalization.md
@@ -281,7 +281,7 @@ Now that the new content is marked for translation, we need to update the PO
files with the following command:
```sh
-bin/rake gettext:find
+bin/rake gettext:regenerate
```
This command will update the `locale/gitlab.pot` file with the newly externalized
@@ -292,16 +292,6 @@ file in. Once the changes are on master, they will be picked up by
If there are merge conflicts in the `gitlab.pot` file, you can delete the file
and regenerate it using the same command. Confirm that you are not deleting any strings accidentally by looking over the diff.
-The command also updates the translation files for each language: `locale/*/gitlab.po`
-These changes can be discarded, the language files will be updated by Crowdin
-automatically.
-
-Discard all of them at once like this:
-
-```sh
-git checkout locale/*/gitlab.po
-```
-
### Validating PO files
To make sure we keep our translation files up to date, there's a linter that is