mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:49:04 +08:00
No wrap and sort by file
Contributes to CURA-10208
This commit is contained in:
parent
bce2b4751b
commit
9162ea745f
@ -338,7 +338,7 @@ class CuraConan(ConanFile):
|
|||||||
pot_file = self.source_path.joinpath("resources", "i18n", po_file.with_suffix('.pot').name)
|
pot_file = self.source_path.joinpath("resources", "i18n", po_file.with_suffix('.pot').name)
|
||||||
mkdir(self, str(unix_path(self, pot_file.parent)))
|
mkdir(self, str(unix_path(self, pot_file.parent)))
|
||||||
self.run(
|
self.run(
|
||||||
f"{cpp_info.bindirs[0]}/msgmerge --no-wrap --no-fuzzy-matching -width=140 -o {po_file} {po_file} {pot_file}",
|
f"{cpp_info.bindirs[0]}/msgmerge --no-wrap --sort-by-file -o {po_file} {po_file} {pot_file}",
|
||||||
env="conanbuild", ignore_errors=True)
|
env="conanbuild", ignore_errors=True)
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user