Closed christianp closed 7 years ago
Twitter says it should be 'to the nearest integer'. I suppose a theme designed for kids could add an explanation of what an integer is.
Hi! Can I start contributing to this? I just took a look at the locales files, where the message seems to be configured.
Thanks for offering!
You'll need to add in a separate string for this case, though i18next may let you add _0
to the end of the key - see http://i18next.com/translate/pluralMulti/. If that doesn't work, you'll have to add some logic in https://github.com/numbas/Numbas/blob/master/themes/default/files/scripts/parts/numberentry-display.js#L90 to use the alternative string when this.part.settings.precision = 0
.
I've setup the project on my machine and when I try to preview a new question I created, I'm getting a FileNotFound error. Am I doing something wrong here?
FileNotFoundError at /question/1/decimal-addition/preview/ [WinError 2] The system cannot find the file specified
Traceback: File "C:\Users\Anbu\AppData\Local\Programs\Python\Python35-32\lib\site-packages\django\core\handlers\base.py" in get_response
Exception Type: FileNotFoundError at /question/1/decimal-addition/preview/ Exception Value: [WinError 2] The system cannot find the file specified
What's your PYTHON_EXEC
setting in numbas/settings.py?
Figured that I missed creating the previews directory. Working fine now.
"Round your answer to 0 decimal places" doesn't make sense.
One quibble is that apparently some school teachers think only strictly positive integers -- the natural numbers -- are 'whole numbers'. I've asked twitter if there's a less controversial term than 'whole number'.