No wrap and sort by file

Contributes to CURA-10208
This commit is contained in:
jspijker 2023-03-03 13:16:42 +01:00
parent bce2b4751b
commit 9162ea745f

View file

@ -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):