projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix playlist observable cache
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
i18n
/
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
}