]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/helpers/i18n-utils.ts
Merge branch 'release/4.0.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / helpers / i18n-utils.ts
CommitLineData
67ed6552 1import { environment } from '../../environments/environment'
74b7c6d4 2
74b7c6d4
C
3function isOnDevLocale () {
4 return environment.production === false && window.location.search === '?lang=fr'
5}
6
7function getDevLocale () {
c0ffdd09 8 return 'fr-FR'
74b7c6d4
C
9}
10
7ce44a74 11export {
74b7c6d4 12 getDevLocale,
3dfa8494 13 isOnDevLocale
7ce44a74 14}