PennController for IBEX › Forums › Support › Does automatically generated text appear only in English? › Reply To: Does automatically generated text appear only in English?
July 7, 2023 at 1:27 pm
#10731
Participant
oops replying again because of a typo in my previous code example
//change progress bar text
const replaceProgressBarText = ()=>{
const progressBarText = $(“.PennController-PennController > div”);
if (progressBarText.length > 0 && progressBarText[0].innerHTML.match(/^<p>progress/))
progressBarText.html(“<p>プログレスバー</p>”);
window.requestAnimationFrame( replaceProgressBarText );
};
window.requestAnimationFrame( replaceProgressBarText );