![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self) | |
| import_from_packages (self, name, reporter=None) | |
| check_content (self, module) | |
| __call__ (self, language_code, reporter=None) | |
Public Attributes | |
| cache | |
Static Public Attributes | |
| tuple | packages = ('docutils.languages.', '') |
| tuple | warn_msg |
| str | fallback = 'en' |
Import language modules. When called with a BCP 47 language tag, instances return a module with localisations from `docutils.languages` or the PYTHONPATH. If there is no matching module, warn (if a `reporter` is passed) and fall back to English.
| docutils.languages.LanguageImporter.check_content | ( | self, | |
| module | |||
| ) |
Check if we got a Docutils language module.
Reimplemented in docutils.parsers.rst.languages.RstLanguageImporter.
| docutils.languages.LanguageImporter.import_from_packages | ( | self, | |
| name, | |||
reporter = None |
|||
| ) |
Try loading module `name` from `self.packages`.
|
static |