Skip to content

Instantly share code, notes, and snippets.

@fikrifirat
Last active December 12, 2016 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fikrifirat/d873f63df78fd9550da224ad657dad1a to your computer and use it in GitHub Desktop.
Save fikrifirat/d873f63df78fd9550da224ad657dad1a to your computer and use it in GitHub Desktop.
Change text in Click2Vox widget to Spanish
window.onload = function(){
document.getElementById("launch_call_div").getElementsByTagName("a")[0].innerHTML = "Prueba tu configuración";
document.getElementById("launch_call_div").getElementsByTagName("a")[1].innerHTML ="creado por:";
document.getElementById("vw-footer").getElementsByTagName("a")[0].innerHTML = "creado por:";
document.getElementById("vw-end-call").innerHTML = '<i class="vw-icon vx-icon-phone"></i>Colgar';
document.getElementById("vw-rating-question").innerHTML = "¿Cómo fue la calidad de su llamada?";
document.getElementById("vw-rating-message").childNodes[0].nodeValue = "¿Alguna información adicional?";
document.getElementById("send-rating").getElementsByTagName("span")[0].innerHTML = "Enviar";
document.getElementById("rating-message").placeholder = "Opcional";
document.getElementById('vw-unable-to-acces-mic').getElementsByTagName("p")[0].innerHTML = "¡Vaya! Parece que no podemos usar tu micrófono.";
document.getElementById('vw-unable-to-acces-mic').getElementsByTagName("p")[1].innerHTML = "Por favor, habilite el acceso de micrófono en su navegador para permitir esta llamada";
document.getElementById("vw-rating-after-message").getElementsByTagName("p")[0].innerHTML = "Gracias por usar nuestro servicio";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment