Created
March 7, 2019 02:54
-
-
Save cvega93/5abde67ae492d9b8be8e6be50099a5a5 to your computer and use it in GitHub Desktop.
Revisions
-
cvega93 created this gist
Mar 7, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ <script> //Paste this in After Body //Search labels const labels = document.querySelectorAll('.time-name'); //Setup labels translated let translation = ['Días', 'Horas','Minutos','Segundos']; labels.forEach(function (label, index) { //Replace each label label.innerHTML = translation[index]; }); </script>