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