change "credit limit reached" message

Hello
how can i change the message “credit limit reached” in the login page?
I want to translate it.

$(if error)

$(error)
$(endif)


<script type="text/javascript">
<!--
var error = "$(error)";

if (error == "credit limit reached") {
   document.write("your credit has expired.");
   }
      
else {
   document.write("$(error)");
}
//-->
</script>

Where i need add this html code?

Regards

Yes you can i believe you have an HTML editor; note pad can do that
if (error == “abcdef”) {
document.write(“your credit has expired.”);
}

else {
document.write(“$(error)”);
}
//–>

Please. It possible to put pictures of the modified