Build the labels with their ids from a template #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Builds a json file that can be used from JavaScript to have a complete list of the LE labels, according to https://docs.google.com/spreadsheets/d/16m_ELq6-hmBgveV3YJ6e_q0YmCRB0av2K22er_nEQuk/edit
As labels are not stored in a DB table, there's no need to create the mapper for python constants.
It would be good to decide if this is the best way to provide the list for the frontend or a generator for it should be added to kolibri/studio so a format closer to https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/constants.js#L34 is available.