diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-20 13:58:44 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-20 13:58:44 +0200 |
| commit | 450e082066748c188372bb32946325b9884173a3 (patch) | |
| tree | 130a65dd19a7bd5bd11b05cd0fb66dd06f81abe1 /gui/src | |
| parent | d718db4b02b7a605e1d344eb718b8f9f28078aac (diff) | |
| parent | e8b5869195882fd7aec2aa8993d00450de901e4d (diff) | |
| download | mullvadvpn-450e082066748c188372bb32946325b9884173a3.tar.xz mullvadvpn-450e082066748c188372bb32946325b9884173a3.zip | |
Merge branch 'update-node-gettext-typings'
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/shared/gettext.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/src/shared/gettext.ts b/gui/src/shared/gettext.ts index ee8e8bf8d0..cf7e91830a 100644 --- a/gui/src/shared/gettext.ts +++ b/gui/src/shared/gettext.ts @@ -21,10 +21,7 @@ export function loadTranslations(currentLocale: string, catalogue: Gettext) { preferredLocales.push(language); } - // NOTE: domain is not publicly exposed - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const domain = (catalogue as any).domain; - + const domain = catalogue.domain; for (const locale of preferredLocales) { if (parseTranslation(locale, domain, catalogue)) { log.info(`Loaded translations ${locale}/${domain}`); |
