]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/helpers/i18n-utils.ts
Remove angular pipes module
[github/Chocobozzz/PeerTube.git] / client / src / app / helpers / i18n-utils.ts
... / ...
CommitLineData
1import { environment } from '../../environments/environment'
2
3function isOnDevLocale () {
4 return environment.production === false && window.location.search === '?lang=fr'
5}
6
7function getDevLocale () {
8 return 'fr-FR'
9}
10
11export {
12 getDevLocale,
13 isOnDevLocale
14}