-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect id for a message #1089
Comments
@sambapete can you be more specific about which translation was incorrect? Note: There is no |
That's the problem. In the code, in src/alerts/course-start-alert/CourseStartAlert.jsx, learning.outline.alert.end.long should really be learning.outline.alert.start.long Line 71 should be learning.outline.alert.start.long instead of learning.outline.alert.end.long. Look at the code, it does not make sense that it would be end.long. |
Hi @sambapete I was trying to point out that none of the translation json files reference that variable name. For example, see https://github.com/openedx/frontend-app-learning/blob/master/src/i18n/messages/de.json#L9-L10 |
Exactly. That's because the id used on line 71 is "wrong". As I said it should be learning.outline.alert.start.long and it does not exist. And if you modify the code, the harvest of strings for Transifex will pick up the new id and add it to the translation files. We're basically saying the same thing. |
@sambapete Ah, gotcha. Thanks for clarifying! |
This was fixed by #1173 |
Because one of our users complained of a wrong translation, I found something that may be confusing.
In
src/alerts/course-start-alert/CourseStartAlert.jsx
shouldn't
id="learning.outline.alert.end.long" really be
id="learning.outline.alert.start.long" ?
The text was updated successfully, but these errors were encountered: