aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
committerChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
commita42294c5edbdea3075c8defc03ba2cb73e0d86fc (patch)
treeaca95591d1fb7ed89dd5f05f81406b4a4f282bac /client/src/app
parentf0c0c0abd88d0177f8be769f12d5affcacd934e8 (diff)
parent2ef1d2bb74f333b05bbbbd27282605ee5654061e (diff)
downloadPeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.gz
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.zst
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.zip
Merge branch 'weblate' into develop
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/app.module.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index a3ea33ca9..38b7328e2 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -76,7 +76,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
76 // On dev mode, test localization 76 // On dev mode, test localization
77 if (isOnDevLocale()) { 77 if (isOnDevLocale()) {
78 locale = buildFileLocale(getDevLocale()) 78 locale = buildFileLocale(getDevLocale())
79 return require(`raw-loader!../locale/target/angular_${locale}.xml`) 79 return require(`raw-loader!../locale/angular.${locale}.xlf`)
80 } 80 }
81 81
82 // Default locale, nothing to translate 82 // Default locale, nothing to translate
@@ -84,7 +84,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
84 if (isDefaultLocale(completeLocale)) return '' 84 if (isDefaultLocale(completeLocale)) return ''
85 85
86 const fileLocale = buildFileLocale(locale) 86 const fileLocale = buildFileLocale(locale)
87 return require(`raw-loader!../locale/target/angular_${fileLocale}.xml`) 87 return require(`raw-loader!../locale/angular.${fileLocale}.xlf`)
88 }, 88 },
89 deps: [ LOCALE_ID ] 89 deps: [ LOCALE_ID ]
90 }, 90 },