mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:05:54 +08:00
Remove source path from extract tool creation. This can be derived from "self" that is being passed in.
CURA-9814
This commit is contained in:
parent
5af1f6e276
commit
0f52521be2
@ -327,7 +327,7 @@ 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, self.source_path, self.source_path.joinpath("resources", "i18n"), "cura.pot")
|
extractTool = self.python_requires["translationextractor"].module.ExtractTranslations(self, self.source_path.joinpath("resources", "i18n"), "cura.pot")
|
||||||
extractTool.generate()
|
extractTool.generate()
|
||||||
|
|
||||||
def imports(self):
|
def imports(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user