projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add server localization
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
i18n
/
i18n-utils.ts
1
function peertubeTranslate (str: string, translations: { [ id: string ]: string }) {
2
return translations[str] ? translations[str] : str
3
}
4
5
export {
6
peertubeTranslate
7
}