diff --git a/data/json/overmap/overmap_land_use_codes.json b/data/json/overmap/overmap_land_use_codes.json index 2e653fdd7adac..86fa5b6d95126 100644 --- a/data/json/overmap/overmap_land_use_codes.json +++ b/data/json/overmap/overmap_land_use_codes.json @@ -4,7 +4,8 @@ "type": "overmap_land_use_code", "id": "", "sym": "#", - "color": "white" + "color": "white", + "detailed_definition": "" }, { "type": "overmap_land_use_code", diff --git a/data/json/overmap/overmap_terrain/overmap_terrain_necropolis.json b/data/json/overmap/overmap_terrain/overmap_terrain_necropolis.json index a73bcd617c371..a35ab83f79ca7 100644 --- a/data/json/overmap/overmap_terrain/overmap_terrain_necropolis.json +++ b/data/json/overmap/overmap_terrain/overmap_terrain_necropolis.json @@ -315,6 +315,7 @@ { "type": "overmap_terrain", "abstract": "generic_necropolis_underground", + "name": "underground", "color": "yellow", "see_cost": 999, "mondensity": 2 diff --git a/data/json/species.json b/data/json/species.json index 0585be37a2dac..36a7e8b4051ad 100644 --- a/data/json/species.json +++ b/data/json/species.json @@ -137,7 +137,8 @@ }, { "type": "SPECIES", - "id": "HALLUCINATION" + "id": "HALLUCINATION", + "description": "your imagination" }, { "type": "SPECIES", @@ -146,6 +147,7 @@ }, { "type": "SPECIES", - "id": "UNKNOWN" + "id": "UNKNOWN", + "description": "a bug" } ] diff --git a/data/mods/DinoMod/monsters/dinosaur.json b/data/mods/DinoMod/monsters/dinosaur.json index d5b55397d06e8..45a57bae801cb 100644 --- a/data/mods/DinoMod/monsters/dinosaur.json +++ b/data/mods/DinoMod/monsters/dinosaur.json @@ -3,7 +3,8 @@ "type": "SPECIES", "id": "DINOSAUR", "//": "Capping these at 1000 L and kg to prevent bodies and meat disappearing and vision at 50 for less aggro", - "fear_triggers": [ "FIRE" ] + "fear_triggers": [ "FIRE" ], + "description": "A dinosaur." }, { "type": "MONSTER", diff --git a/data/mods/Magiclysm/monsters/demon_spider.json b/data/mods/Magiclysm/monsters/demon_spider.json index d0e74e158df4d..8686c351b0e88 100644 --- a/data/mods/Magiclysm/monsters/demon_spider.json +++ b/data/mods/Magiclysm/monsters/demon_spider.json @@ -2,6 +2,7 @@ { "type": "SPECIES", "id": "DEMON_SPIDER", + "description": "A huge spider.", "anger_triggers": [ "FRIEND_DIED", "HURT", "PLAYER_CLOSE", "PLAYER_WEAK" ] }, { diff --git a/data/mods/Magiclysm/species.json b/data/mods/Magiclysm/species.json index d5a089a4a6c34..63e5f0e852b85 100644 --- a/data/mods/Magiclysm/species.json +++ b/data/mods/Magiclysm/species.json @@ -1,22 +1,26 @@ [ { "type": "SPECIES", - "id": "MAGICAL_BEAST" + "id": "MAGICAL_BEAST", + "description": "A magical beast." }, { "type": "SPECIES", "id": "DRAGON", + "description": "A dragon.", "anger_triggers": [ "HURT", "PLAYER_CLOSE", "PLAYER_WEAK", "STALK" ] }, { "type": "SPECIES", "id": "LIZARDFOLK", + "description": "A lizard-like humanoid.", "anger_triggers": [ "FRIEND_ATTACKED" ], "fear_triggers": [ "FIRE" ] }, { "type": "SPECIES", "id": "GOBLIN", + "description": "A short and cruel humanoid.", "anger_triggers": [ "HURT", "FRIEND_ATTACKED", "PLAYER_WEAK" ] } ] diff --git a/lang/extract_json_strings.py b/lang/extract_json_strings.py index 8611ffffb6385..62c56584e2fc1 100755 --- a/lang/extract_json_strings.py +++ b/lang/extract_json_strings.py @@ -41,7 +41,9 @@ def __str__(self): # no warning will be given if an untranslatable object is found in those files warning_suppressed_list = {os.path.normpath(i) for i in { "data/json/flags.json", + "data/json/npcs/npc.json", "data/json/overmap_terrain.json", + "data/json/statistics.json", "data/json/traps.json", "data/json/vehicleparts/", "data/raw/keybindings.json", @@ -49,7 +51,7 @@ def __str__(self): "data/mods/DeoxyMod/Deoxy_vehicle_parts.json", "data/mods/More_Survival_Tools/start_locations.json", "data/mods/NPC_Traits/npc_classes.json", - "data/mods/Tanks/monsters.json" + "data/mods/Tanks/monsters.json", }} diff --git a/lang/update_pot.sh b/lang/update_pot.sh index e4779639e7bb3..0a46d9b3ccc88 100755 --- a/lang/update_pot.sh +++ b/lang/update_pot.sh @@ -51,7 +51,12 @@ then pot_file="lang/po/cataclysm-dda.pot" sed -e "1,6d" \ -e "s/^\"Project-Id-Version:.*\"$/\"Project-Id-Version: $package $version\\\n\"/1" \ - -e "/\"Plural-Forms:.*\"$/d" $pot_file > $pot_file.temp + -e "/\"Plural-Forms:.*\"$/d" \ + -e "s/^\"PO-Revision-Date:.*\"$/\"PO-Revision-Date: $(date +%Y-%m-%d\\\ %H:%M%z)\\\n\"/1" \ + -e "s/^\"Last-Translator:.*\"$/\"Last-Translator: None\\\n\"/1" \ + -e "s/^\"Language-Team:.*\"$/\"Language-Team: None\\\n\"/1" \ + -e "s/^\"Language:.*\"$/\"Language: en\\\n\"/1" \ + $pot_file > $pot_file.temp mv $pot_file.temp $pot_file fi