diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-20 13:17:28 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-20 13:17:28 +0200 |
| commit | 0c6477903daaaef366b5f3e3962d039f6fec7b34 (patch) | |
| tree | a71e6c159e22c37f19a571fca9638a6f2977b90e /gui/src/shared | |
| parent | d718db4b02b7a605e1d344eb718b8f9f28078aac (diff) | |
| download | mullvadvpn-0c6477903daaaef366b5f3e3962d039f6fec7b34.tar.xz mullvadvpn-0c6477903daaaef366b5f3e3962d039f6fec7b34.zip | |
Update node-gettext typings to 3.0.1
Diffstat (limited to 'gui/src/shared')
| -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}`); |
