diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-07 15:33:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-13 10:04:16 +0100 |
commit | 350131cbaf99bd1cbb2d0911093aa94d105de709 (patch) | |
tree | 9b90dc4d3ca327aadb8e45f7e18c4648d9412a56 /client/src/main.ts | |
parent | 81ad5366f745a0c0459016d3af5d18d1dd4501c0 (diff) | |
download | PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.tar.gz PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.tar.zst PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.zip |
Make build works
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 }, |