1. Fix the broken `gettext()` call in `courde_detail.js`
2. Change the string to avoid Transifex misunderstand the pattern '% o' in `checklist.underscore`.
3. Embed the `{filename}` part inside the string in `transcripts-choose.underscore` to provide better i18n flexibililty.
4. Remove all the call of `gettext()` and `${_()}` inside the `mock` directory to aovid mis-extraction by pybabel. (It seems that the `mock` directory is soly used in test? So the strings in this directory need not to be extracted and translated?)
5. The unicode char `\u2014` will trigger a bug inside pybabel which makes the extracted string untranslatable, so remove this char.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| tests | Loading commit data... | |
| __init__.py | Loading commit data... | |
| access.py | Loading commit data... | |
| assets.py | Loading commit data... | |
| checklist.py | Loading commit data... | |
| component.py | Loading commit data... | |
| course.py | Loading commit data... | |
| dev.py | Loading commit data... | |
| entrance_exam.py | Loading commit data... | |
| error.py | Loading commit data... | |
| export_git.py | Loading commit data... | |
| helpers.py | Loading commit data... | |
| import_export.py | Loading commit data... | |
| item.py | Loading commit data... | |
| library.py | Loading commit data... | |
| preview.py | Loading commit data... | |
| public.py | Loading commit data... | |
| session_kv_store.py | Loading commit data... | |
| tabs.py | Loading commit data... | |
| transcripts_ajax.py | Loading commit data... | |
| user.py | Loading commit data... | |
| videos.py | Loading commit data... | |
| xblock.py | Loading commit data... |