Skip to content

Commit

Permalink
Merge pull request #44602 from BrettDong/i18n
Browse files Browse the repository at this point in the history
Routine i18n updates on 4 Oct 2020
  • Loading branch information
ZhilkinSerg authored Oct 4, 2020
2 parents 6c55b9d + fb431ad commit d0f4832
Show file tree
Hide file tree
Showing 26 changed files with 32,025 additions and 13,391 deletions.
6 changes: 5 additions & 1 deletion lang/extract_json_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,10 +876,14 @@ def extract_field_type(item):

def extract_ter_furn_transform_messages(item):
outfile = get_outfile("ter_furn_transform_messages")
writestr(outfile, item.get("fail_message"))
if "fail_message" in item:
writestr(outfile, item.get("fail_message"))
if "terrain" in item:
for terrain in item.get("terrain"):
writestr(outfile, terrain.get("message"))
if "furniture" in item:
for furniture in item.get("furniture"):
writestr(outfile, furniture.get("message"))


def extract_skill_display_type(item):
Expand Down
Loading

0 comments on commit d0f4832

Please sign in to comment.