Finishes TeX Error localisation#1479
Conversation
dpvc
left a comment
There was a problem hiding this comment.
This all looks good, with one recommended change.
|
Looks like this needs to have |
|
Does this line MathJax-src/ts/input/tex/Tags.ts Line 699 in fcf47d9 need to be localized? And also this one? MathJax-src/ts/input/tex/MapHandler.ts Line 205 in fcf47d9 The first can be done through |
|
Here are a couple more: MathJax-src/ts/input/tex/bussproofs/BussproofsUtil.ts Lines 654 to 656 in fcf47d9 MathJax-src/ts/input/tex/Configuration.ts Line 441 in fcf47d9 |
dpvc
left a comment
There was a problem hiding this comment.
There are problems with the jsdoc comments, here.
There are a couple of issues here:
|
This is now localised. |
dpvc
left a comment
There was a problem hiding this comment.
OK, this is a go for now. I will handle the other throw commands in my PR that we discussed in our meeting.
|
Merging |
This now has a localisation as |
|
Review suggestions incorporated. I left the regular |
PR (nearly) finished the localisation of the
texmodule. In particular, iterrorsinBaseItemand subclasses now get theComponentstring andid.texErrorfunction that throws the localisedTexError. This way we do not have a breaking change.texErrorgets typenever, which is needed to avoid typescript errors, but which makes it a bit awkward to test.Finally, the only point still to be discusses is how to deal with the
getPackageerrors, in particular since there is also a warning. Should we make the Error a TexError and localise the warning?Note, that I have added
copyblocks to all the necessaryconfig.jsonfiles in the components. Once PR #1476 hits develop I will merge that in and resolve the conflicts.