diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-13 10:05:27 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-13 10:05:27 +0100 |
commit | a42294c5edbdea3075c8defc03ba2cb73e0d86fc (patch) | |
tree | aca95591d1fb7ed89dd5f05f81406b4a4f282bac /client/src/main.ts | |
parent | f0c0c0abd88d0177f8be769f12d5affcacd934e8 (diff) | |
parent | 2ef1d2bb74f333b05bbbbd27282605ee5654061e (diff) | |
download | PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.gz PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.zst PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.zip |
Merge branch 'weblate' into develop
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts index 86fdabba5..2b65072ad 100644 --- a/client/src/main.ts +++ b/client/src/main.ts | |||
@@ -16,7 +16,7 @@ if (environment.production) { | |||
16 | // Template translation, should be in the bootstrap step | 16 | // Template translation, should be in the bootstrap step |
17 | if (isOnDevLocale()) { | 17 | if (isOnDevLocale()) { |
18 | const locale = buildFileLocale(getDevLocale()) | 18 | const locale = buildFileLocale(getDevLocale()) |
19 | const translations = require(`raw-loader!./locale/target/angular_${locale}.xml`) | 19 | const translations = require(`raw-loader!./locale/angular.${locale}.xlf`) |
20 | 20 | ||
21 | providers = [ | 21 | providers = [ |
22 | { provide: TRANSLATIONS, useValue: translations }, | 22 | { provide: TRANSLATIONS, useValue: translations }, |