def ping(): return { "version": weblate.GIT_VERSION, "vcs": sorted(VCS_REGISTRY.keys()), "formats": sorted(FILE_FORMATS.keys()), "encoding": [sys.getfilesystemencoding(), sys.getdefaultencoding()], }
def ping(): return { "version": weblate.utils.version.GIT_VERSION, "vcs": sorted(VCS_REGISTRY.keys()), "formats": sorted(FILE_FORMATS.keys()), "mt_services": sorted(MACHINE_TRANSLATION_SERVICES.keys()), "encoding": [sys.getfilesystemencoding(), sys.getdefaultencoding()], "uid": os.getuid(), }
def ping(): return { "version": weblate.VERSION, "vcs": sorted(VCS_REGISTRY.keys()), "formats": sorted(FILE_FORMATS.keys()), }