mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 18:31:11 -07:00
Rename extract function to generate to match better with conan style.
CURA-9814
This commit is contained in:
parent
5186b234dc
commit
5af1f6e276
1 changed files with 2 additions and 2 deletions
|
|
@ -327,8 +327,8 @@ class CuraConan(ConanFile):
|
||||||
if self.settings.os != "Windows" or self.conf.get("tools.microsoft.bash:path", check_type = str):
|
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
|
# 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
|
# Extract all the new strings and update the existing po files
|
||||||
extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self)
|
extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self, self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot")
|
||||||
extractTool.extract(self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot")
|
extractTool.generate()
|
||||||
|
|
||||||
def imports(self):
|
def imports(self):
|
||||||
self.copy("CuraEngine.exe", root_package = "curaengine", src = "@bindirs", dst = "", keep_path = False)
|
self.copy("CuraEngine.exe", root_package = "curaengine", src = "@bindirs", dst = "", keep_path = False)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue