mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-13 17:46:53 -04:00
Added Google Translate dropdown to the 'Options' pane.
This commit is contained in:
parent
7e7da26f29
commit
b2cfe27a05
3 changed files with 19 additions and 0 deletions
13
src/web/static/gt.html
Normal file
13
src/web/static/gt.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue