There are a few strings that don’t get translated in the Feedback xblock:
`Thank you for voting!`
`Thank you for your feedback!`
This is even though those strings are properly translated in Transifex. Any idea why this is @kmccormick ?
There are a few strings that don’t get translated in the Feedback xblock:
`Thank you for voting!`
`Thank you for your feedback!`
This is even though those strings are properly translated in Transifex. Any idea why this is @kmccormick ?
Also, whenever we input custom text in the xblock’s parameters, if there are apostrophes, we run into this:
Is there a way to fix these incorrect signs once and for all ?
In this case they show as ' for whatever reason…
If I keep the default text, apostrophes are displayed correctly. If I just open the settings page of the component and save, without changing anything, they revert to this incorrect notation.
I’m sorry @mboisson , I’m not sure what the cause of each of those bugs are. If you or anyone else has the capacity to investigate, we’d certainly accept contributions to fix either of them.
I can see from the code
that those strings are not declared in the same place:
but they both seem to use the _(...) semantic for translation, so I don’t know why one is translated and one is not. My hypothesis is because the “Thank you for voting!” and “Thank you for your feedback” appear after the user takes an action, presumably through JavaScript, and something is missing to handle that translation, but what exactly…
As for the weird apostrophe symbols, this is a complete mystery to me.