Reply To: Does automatically generated text appear only in English?

PennController for IBEX Forums Support Does automatically generated text appear only in English? Reply To: Does automatically generated text appear only in English?

#10722
grachek
Participant

Hello Jeremy,

Thank you! The trick from the post you linked to worked perfectly for the preloading message! It didn’t seem to work for the sendingResultsMessage or the progressBarText though. Is there something else that I have to do to change the text in those elements? Here is the code I tried for the progress bar for reference:

//change progress bar text
const replaceProgressBarText = ()=>{
    const progressBarText = $(".PennController-PennController > div");
    if (progressBarText.length > 0 && preloadingMessage[0].innerHTML.match(/^<p>progress/))
        progressBarText.html("<p>プログレスバー</p>");
    window.requestAnimationFrame( replaceProgressBarText );
};
window.requestAnimationFrame( replaceProgressBarText );

Thanks!