Added Google Translate dropdown to the 'Options' pane.

This commit is contained in:
n1474335 2017-04-25 14:14:11 +00:00
parent 7e7da26f29
commit b2cfe27a05
3 changed files with 19 additions and 0 deletions

13
src/web/static/gt.html Normal file
View file

@ -0,0 +1,13 @@
<div class="option-item">
<!-- Begin Google Translate -->
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL, gaTrack: true, gaId: 'UA-85682716-2'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<!-- End Google Translate -->
</div>