summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-07 14:27:29 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-08 15:39:54 +0100
commit984bb00022c83fb3e6a6c66570dfa73d6a2e653f (patch)
tree09117478b60c2dc9a7ed442eab4276fc6b11b280 /gui/src/shared
parent317c917bc0a773ddea5d2a607136d2441797b2dc (diff)
downloadmullvadvpn-984bb00022c83fb3e6a6c66570dfa73d6a2e653f.tar.xz
mullvadvpn-984bb00022c83fb3e6a6c66570dfa73d6a2e653f.zip
Adjust catalogue names to Crowdin and fix the shell script
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 4722e16915..a1e2a3cb0f 100644
--- a/gui/src/shared/gettext.ts
+++ b/gui/src/shared/gettext.ts
@@ -47,7 +47,7 @@ export function loadTranslations(currentLocale: string) {
}
function parseTranslation(locale: string, domain: string): boolean {
- const filename = path.join(LOCALES_DIR, locale, `${domain}.po`);
+ const filename = path.join(LOCALES_DIR, locale, `${domain}-${locale}.po`);
let buffer: Buffer;
try {