drachels / moodle-mod_mootyper

4 stars 18 forks source link

Why undifined? #82

Closed dinism closed 4 years ago

dinism commented 4 years ago

Using last version of the plugin 3.8.3 (Build: 2019123002) in Moodle 3.8 imagem

If so, can "undefined" be translated?

drachels commented 4 years ago

Hi dinism, The undefined is actually coming from maybe javascript, PHP, the DB, or Moodle core. I just did not quickly find a way to substitute a language string so I went with what I had for now. I hope to have a string implemented soon, but I am also working on adding dictation exercise capability, so it will be a little while before I am done, and have a new release ready.

drachels commented 4 years ago

I just pushed a fix to the MooTyper master branch that uses a string, nomistakes. Changed two files, gcnext.php and /lang/en/mootyper.php There are a few more strings added for dictation capability, but you can ignore them for now. ChangedUndefinedToNoMistakes

dinism commented 4 years ago

HERE imagem Is it to be like this? Double square brackets?

drachels commented 4 years ago

Did you get both new files: mootyper/lang/en/mootyper.php and mootyper/gcnext.php? If you have both new files and you still see double scuare brackets, then you need to go to Site administration > Language > Language settings and click on, Save changes, so the new string is used.

dinism commented 4 years ago

DONE as you said. image

Thanks a LOT.

drachels commented 4 years ago

Fix is in current v3.9.0 version.