Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c691b774 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

added log

parent dfb36be6
Loading
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
document.addEventListener('DOMContentLoaded', function() {
	const googleContent = document.getElementById('google-content')

    const translationKey = "If you see a \"Google hasn't verified this app\" message you can bypass it by clicking \"Advanced\". We're currently working on passing the certification Google demands to get rid of this message.";
	const translationKey = "If you see a \"Google hasn't verified this app\" message you can bypass it by clicking \"Advanced\". We're currently working on passing the certification Google demands to get rid of this message."
	const translatedText = t(translationKey)

    // Debugging to see if the translation is correct
	// eslint-disable-next-line no-console
	console.log('Translated text:', translatedText)

	const newParagraph = document.createElement('p')
    newParagraph.textContent = '⚠️ ' + translatedText;
	newParagraph.textContent = '⚠️ ' + translatedText

	googleContent.insertBefore(newParagraph, googleContent.querySelector('h3'))
})