Page 1 of 1

Unable to translate delete learning object hard-coded message

Posted: Wed Jan 17, 2024 2:57 pm
by eduardomozart
Hello,
It seems that when removing a learning object form a course, the delete message show on alert "Sei sicuro di voler eliminare questo elemento?" seems to be hard-coded in "main.js" so I'm unable to translate it, as can be seen in the animation below:

Image

Re: Unable to translate delete learning object hard-coded message

Posted: Wed Jan 17, 2024 3:04 pm
by alfa24
Yes, you found that!

Re: Unable to translate delete learning object hard-coded message

Posted: Wed Jan 17, 2024 5:46 pm
by eduardomozart
When removing Directories the message is also hard coded:

Image

Re: Unable to translate delete learning object hard-coded message

Posted: Thu Jan 18, 2024 7:21 pm
by eduardomozart
I created the PR#13 that translate those texts: https://github.com/formalms/formalms/pull/13