summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-13 11:51:50 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-13 11:51:50 +0100
commit0a68c13474728660b936f37abc283c1d1aeb1780 (patch)
tree018354ae8d6c3ce51bb08901463be6a78ce90839 /gui/src/shared
parent0048a0e03ab8379e00eef55a871234f0aabc31ca (diff)
parentb37bf6b48580eb6fd6fb1c2674168c6b34c457ef (diff)
downloadmullvadvpn-0a68c13474728660b936f37abc283c1d1aeb1780.tar.xz
mullvadvpn-0a68c13474728660b936f37abc283c1d1aeb1780.zip
Merge branch 'revamp-transition-container'
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/gettext.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/shared/gettext.ts b/gui/src/shared/gettext.ts
index a1e2a3cb0f..b466a44134 100644
--- a/gui/src/shared/gettext.ts
+++ b/gui/src/shared/gettext.ts
@@ -12,7 +12,7 @@ const LOCALES_DIR = path.resolve(__dirname, '../../locales');
// the errors are handled separately in the "error" handler below
const catalogue = new Gettext({ debug: false });
catalogue.setTextDomain('messages');
-catalogue.on('error', (error: string) => {
+catalogue.on('error', (error) => {
// Filter out the "no translation was found" errors for the source language
if (SELECTED_LANGUAGE === SOURCE_LANGUAGE && error.indexOf('No translation was found') !== -1) {
return;