]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.module.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / client / src / app / app.module.ts
index 55e929e78a64cc5e7e41d74ad37eb5f0c0223d34..ef23c965561f5b28d691e06e122ed78ae27cc6b3 100644 (file)
@@ -81,12 +81,12 @@ export function metaFactory (serverService: ServerService): MetaLoader {
     {
       provide: TRANSLATIONS,
       useFactory: (locale: string) => {
-                // Default locale, nothing to translate
+        // Default locale, nothing to translate
         const completeLocale = getCompleteLocale(locale)
         if (isDefaultLocale(completeLocale)) return ''
 
         const fileLocale = buildFileLocale(locale)
-        return require(`raw-loader!../locale/angular.${fileLocale}.xlf`)
+        return require(`raw-loader!../locale/angular.${fileLocale}.xlf`).default
       },
       deps: [ LOCALE_ID ]
     },