decompiler: Fix translator comments in properties

This commit is contained in:
James Westman 2024-08-24 12:40:04 -05:00
parent a12ac1b976
commit 25d9826aea
4 changed files with 23 additions and 4 deletions

View file

@ -391,9 +391,6 @@ def decompile_property(
context=None,
):
name = name.replace("_", "-")
if comments is not None:
ctx.print(f"/* Translators: {comments} */")
if cdata is None:
ctx.print(f"{name}: ")
ctx.end_block_with(";")