From 5af1f6e2767707aa98511ac53d9318514398b3d4 Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Thu, 19 Jan 2023 13:32:58 +0100 Subject: [PATCH] Rename extract function to generate to match better with conan style. CURA-9814 --- conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index c3de62f1b2..38e9cdce21 100644 --- a/conanfile.py +++ b/conanfile.py @@ -327,8 +327,8 @@ class CuraConan(ConanFile): if self.settings.os != "Windows" or self.conf.get("tools.microsoft.bash:path", check_type = str): # FIXME: once m4, autoconf, automake are Conan V2 ready use self.win_bash and add gettext as base tool_requirement # Extract all the new strings and update the existing po files - extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self) - extractTool.extract(self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot") + extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self, self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot") + extractTool.generate() def imports(self): self.copy("CuraEngine.exe", root_package = "curaengine", src = "@bindirs", dst = "", keep_path = False)