Requires the application to be initialized, otherwise wx.Translation isn't set.
(cls)
| 581 | |
| 582 | @classmethod |
| 583 | def supported_languages(cls): |
| 584 | """Requires the application to be initialized, otherwise wx.Translation isn't set.""" |
| 585 | pyfalog.info(f'using "{config.CATALOG}" to fetch languages, relatively base path "{os.getcwd()}"') |
| 586 | return {x: wx.Locale.FindLanguageInfo(x) for x in wx.Translations.Get().GetAvailableTranslations(config.CATALOG)} |
| 587 | |
| 588 | def get(self, key): |
| 589 | """gets the raw value fo the setting""" |
no outgoing calls
no test coverage detected