diff --git a/lang/string_extractor/parsers/furniture.py b/lang/string_extractor/parsers/furniture.py index 5a33f3ea918e9..3b959349ad89a 100644 --- a/lang/string_extractor/parsers/furniture.py +++ b/lang/string_extractor/parsers/furniture.py @@ -13,12 +13,10 @@ def parse_furniture(json, origin): if "bash" in json: if "sound" in json["bash"]: write_text(json["bash"]["sound"], origin, - comment="Bashing sound of furniture \"{}\"". - format(name)) + comment="Bashing sound") if "sound_fail" in json["bash"]: write_text(json["bash"]["sound_fail"], origin, - comment="Bashing failed sound of furniture \"{}\"" - .format(name)) + comment="Bashing failed sound") if "examine_action" in json: parse_examine_action(json["examine_action"], origin, "furniture \"{}\"".format(name)) diff --git a/lang/string_extractor/parsers/material.py b/lang/string_extractor/parsers/material.py index c15522d2cb8e6..456cb7d84c28d 100644 --- a/lang/string_extractor/parsers/material.py +++ b/lang/string_extractor/parsers/material.py @@ -8,13 +8,13 @@ def parse_material(json, origin): if "bash_dmg_verb" in json: write_text(json["bash_dmg_verb"], origin, - comment="Bash damage verb of material {}".format(name)) + comment="Bash damage verb of material") if "cut_dmg_verb" in json: write_text(json["cut_dmg_verb"], origin, - comment="Cut damage verb of material {}".format(name)) + comment="Cut damage verb of material") if "dmg_adj" in json: for i in range(4): write_text(json["dmg_adj"][i], origin, - comment="Damage adjective of material {}".format(name)) + comment="Damage adjective of material") diff --git a/lang/string_extractor/parsers/monster_attack.py b/lang/string_extractor/parsers/monster_attack.py index 93ae1df804b01..e5828b77cbfc5 100644 --- a/lang/string_extractor/parsers/monster_attack.py +++ b/lang/string_extractor/parsers/monster_attack.py @@ -11,8 +11,4 @@ def parse_monster_attack(json, origin): "no_dmg_msg_npc", ]: if key in json: - write_text( - json[key], - origin, - comment='Monster attack "{}" message'.format(json["id"]), - ) + write_text(json[key], origin, comment="Monster attack message") diff --git a/lang/string_extractor/parsers/terrain.py b/lang/string_extractor/parsers/terrain.py index 83c8ed66d4f5b..d780270ff9218 100644 --- a/lang/string_extractor/parsers/terrain.py +++ b/lang/string_extractor/parsers/terrain.py @@ -13,11 +13,10 @@ def parse_terrain(json, origin): if "bash" in json: if "sound" in json["bash"]: write_text(json["bash"]["sound"], origin, - comment="Bashing sound of terrain \"{}\"".format(name)) + comment="Bashing sound") if "sound_fail" in json["bash"]: write_text(json["bash"]["sound_fail"], origin, - comment="Bashing failed sound of terrain \"{}\"" - .format(name)) + comment="Bashing failed sound") if "boltcut" in json: if "message" in json["boltcut"]: write_text(json["boltcut"]["message"], origin,