diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-06 14:33:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-06 16:48:41 +0200 |
commit | f07d6385b4b46c3254898292a8a53ed415b8d49b (patch) | |
tree | dba932058694ede3166ba812d1cbea170344e330 /client/src/app | |
parent | e945b184a0f29b47c33bbd05578f3493ca9c8e6c (diff) | |
download | PeerTube-f07d6385b4b46c3254898292a8a53ed415b8d49b.tar.gz PeerTube-f07d6385b4b46c3254898292a8a53ed415b8d49b.tar.zst PeerTube-f07d6385b4b46c3254898292a8a53ed415b8d49b.zip |
Rename messages locale to angular
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/app.module.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 9992b9c44..e60a74cc0 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -69,7 +69,7 @@ export function metaFactory (serverService: ServerService): MetaLoader { | |||
69 | useFactory: (locale) => { | 69 | useFactory: (locale) => { |
70 | // On dev mode, test locales | 70 | // On dev mode, test locales |
71 | if (environment.production === false && window.location.search === '?lang=fr') { | 71 | if (environment.production === false && window.location.search === '?lang=fr') { |
72 | return require(`raw-loader!../locale/target/messages_fr.xml`) | 72 | return require(`raw-loader!../locale/target/angular_fr.xml`) |
73 | } | 73 | } |
74 | 74 | ||
75 | const fileLocale = buildFileLocale(locale) | 75 | const fileLocale = buildFileLocale(locale) |
@@ -78,7 +78,7 @@ export function metaFactory (serverService: ServerService): MetaLoader { | |||
78 | const defaultFileLocale = buildFileLocale(getDefaultLocale()) | 78 | const defaultFileLocale = buildFileLocale(getDefaultLocale()) |
79 | if (fileLocale === defaultFileLocale) return '' | 79 | if (fileLocale === defaultFileLocale) return '' |
80 | 80 | ||
81 | return require(`raw-loader!../locale/target/messages_${fileLocale}.xml`) | 81 | return require(`raw-loader!../locale/target/angular_${fileLocale}.xml`) |
82 | }, | 82 | }, |
83 | deps: [ LOCALE_ID ] | 83 | deps: [ LOCALE_ID ] |
84 | }, | 84 | }, |