mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Use translationextractor 2.0.0
Contribute to CURA-10208
This commit is contained in:
parent
877ced17cc
commit
3e8cc7b78f
1 changed files with 2 additions and 3 deletions
|
@ -26,8 +26,7 @@ class CuraConan(ConanFile):
|
||||||
no_copy_source = True # We won't build so no need to copy sources to the build folder
|
no_copy_source = True # We won't build so no need to copy sources to the build folder
|
||||||
|
|
||||||
# FIXME: Remove specific branch once merged to main
|
# FIXME: Remove specific branch once merged to main
|
||||||
# Extending the conanfile with the UMBaseConanfile https://github.com/Ultimaker/conan-ultimaker-index/tree/CURA-9177_Fix_CI_CD/recipes/umbase
|
python_requires = "umbase/[>=0.1.7]@ultimaker/stable", "translationextractor/[>=2.0.0]@ultimaker/stable"
|
||||||
python_requires = "umbase/[>=0.1.7]@ultimaker/stable", "translationextractor/[>=1.1.0]@ultimaker/stable"
|
|
||||||
python_requires_extend = "umbase.UMBaseConanfile"
|
python_requires_extend = "umbase.UMBaseConanfile"
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
@ -329,7 +328,7 @@ class CuraConan(ConanFile):
|
||||||
vb.generate()
|
vb.generate()
|
||||||
|
|
||||||
# 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
|
||||||
pot = self.python_requires["translationextractor"].module.ExtractTranslations(self, os.path.join(self.source_folder, "resources", "i18n"), "cura.pot")
|
pot = self.python_requires["translationextractor"].module.ExtractTranslations(self)
|
||||||
pot.generate()
|
pot.generate()
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue