summaryrefslogtreecommitdiffhomepage
path: root/gui/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-04-25 12:46:21 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-04-25 12:46:21 +0200
commit760a556c7cc62c634603f3b037c3dd7bf6fa6af3 (patch)
tree4606d68830033da4497529dd9e0f7f6a7af60c1d /gui/scripts
parentaee0d7034c7f6419ad6770358506a0ebea618040 (diff)
parent9e421d7a9ba77be15542517fdd4e2ae35ff6bcad (diff)
downloadmullvadvpn-760a556c7cc62c634603f3b037c3dd7bf6fa6af3.tar.xz
mullvadvpn-760a556c7cc62c634603f3b037c3dd7bf6fa6af3.zip
Merge branch 'remove-file-refs-in-pot'
Diffstat (limited to 'gui/scripts')
-rw-r--r--gui/scripts/README.md2
-rw-r--r--gui/scripts/extract-translations.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/gui/scripts/README.md b/gui/scripts/README.md
index c158619925..8d94a47687 100644
--- a/gui/scripts/README.md
+++ b/gui/scripts/README.md
@@ -67,7 +67,7 @@ At this point all of the data should be saved in `gui/geo-data/out` folder.
## App integration notes
Once you've extracted all the geo data, run the integration script that will
-copy all files ignoring intermediate ones into the `gui/src/assets/geo` folder:
+copy all files ignoring intermediate ones into the `gui/assets/geo` folder:
```
python integrate-into-app.py
diff --git a/gui/scripts/extract-translations.js b/gui/scripts/extract-translations.js
index b9a895d37c..30e04e298a 100644
--- a/gui/scripts/extract-translations.js
+++ b/gui/scripts/extract-translations.js
@@ -44,5 +44,9 @@ extractor
cwd: path.resolve(__dirname, '..'),
});
+// clean file references
+extractor.getMessages().forEach((msg) => {
+ msg.references = [];
+});
extractor.savePotFile(outputPotFile);
extractor.printStats();