Add translations

This commit is contained in:
Chocobozzz
2019-07-26 14:45:53 +02:00
parent 9c37c5e7f6
commit e763baddf3
7 changed files with 39 additions and 9 deletions

View File

@ -75,6 +75,9 @@ function onApplicationInit (peertubeHelpers) {
const topLeftBlock = document.querySelector('.top-left-block')
topLeftBlock.style.backgroundImage = 'url(' + imageUrl + ')'
peertubeHelpers.translate('User name')
.then(translation => console.log('Translated User name by ' + translation))
}
function addSymbolToVideoNameResult (result, symbol) {