remove google translation thing from template

This commit is contained in:
Sanj 2012-02-23 18:21:08 +05:30
parent 6ffecd56fd
commit 2da45a59fc

View File

@ -5,19 +5,20 @@
<script type="text/javascript" src="/media/js/dotranslate.js"></script> <script type="text/javascript" src="/media/js/dotranslate.js"></script>
</head> </head>
<body> <body>
<div id="google_translate_element"></div><script> <!-- <div id="google_translate_element"></div> --><script>
/*
function googleTranslateElementInit() { function googleTranslateElementInit() {
new google.translate.TranslateElement({ new google.translate.TranslateElement({
pageLanguage: 'ar', pageLanguage: 'ar',
includedLanguages: 'en' includedLanguages: 'en'
}, 'google_translate_element'); }, 'google_translate_element');
} }
*/
var model = "{{ model }}"; var model = "{{ model }}";
var field = "{{ field }}"; var field = "{{ field }}";
var start = {{ start }}; var start = {{ start }};
var end = {{ end }}; var end = {{ end }};
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </script><!-- <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> -->
<button id="doTranslate">Save Translations</button> <button id="doTranslate">Save Translations</button>
<br /> <br />
<table id="transTable"> <table id="transTable">