Open vtexier opened 4 years ago
Same here, formatter add that comma at the end and pylupdate doesn't pick it for translation
translate(
"BevelGearProperties",
"if value is true the gears outer face will match the z=0 plane",
),
Edit: Sorry for necrobumping. In case someone gets this problem install qt6 tools and use pylupdate6
pylupdate5 v5.14.2
My code use black as the unique code formatter.
Black add a trailing comma after some strings. Sadly, pylupdate5 do not extract those strings.
Workaround (painful): Manually remove the trailing commas on each strings, extract strings with pylupdate5, then reformat with black.
Example:
This code is not extracted... Remove comma and it will.