Skip to content
Permalink
Browse files

Add translation of AI descriptions

Fixes #281
  • Loading branch information...
Forgon2100 committed Mar 18, 2019
1 parent 5252803 commit 509f6bc59d83f42837cd6708a4f54d543d84cef5
Showing with 9 additions and 3 deletions.
  1. +8 −2 po/custom/fromJson.txt
  2. +1 −1 po/parseJson.py
@@ -35,6 +35,7 @@ _("AA Target Acquisition Shells")
_("AA Target Prediction Computer")
_("AA Thermal Imaging Sensor")
_("AA Upgrade")
_("Adaptive AI with multiple personalities")
_("Advanced Base Structure Materials")
_("Advanced Base Structure Materials Mk2")
_("Advanced Base Structure Materials Mk3")
@@ -440,6 +441,7 @@ _("Enables self-repair in all defenses")
_("Enables self-repair in all vehicles")
_("Enemy")
_("Engineering")
_("Enhanced Nexus AI")
_("Expensive and slow to produce")
_("Expensive to produce")
_("Extended sensor range")
@@ -777,6 +779,7 @@ _("Inferno Cobra Hover")
_("Inferno Emplacement")
_("Inferno Hardpoint")
_("Inferno Python Hover")
_("Initial AI, now supplanted by NullBot")
_("Intruder parasite isolated")
_("Ionizing Turbine Engine")
_("Jammer Tower")
@@ -1060,6 +1063,7 @@ _("Project Light Body")
_("Project Medium Body")
_("Propylene Oxide gel treated to burn at higher temperatures")
_("Propylene Oxide treated to burn at superhot temperatures")
_("Prototypical JavaScript AI focusing on rockets/missiles")
_("Pulse Laser")
_("Pulse Laser Emplacement")
_("Pulse Laser Hardpoint")
@@ -1202,14 +1206,15 @@ _("Scourge Missile Wyvern Tracks")
_("Scourge Python Tracks")
_("Scourge Retaliation VTOL")
_("Scrambler Turret")
_("Sea map AI, based on NullBot")
_("Search & Destroy Missiles")
_("Second Level Missile Targeting Codes")
_("Select new targets to continue the VTOL strikes")
_("Self-guided rocket powered shells")
_("Self-guided rocket-powered shells")
_("Self-Replicating Manufacturing")
_("Semperfi")
_("SemperFi JS")
_("SemperFi")
_("SemperFi JavaScript")
_("Sensor Cobra Half-tracks")
_("Sensor Range +10%")
_("Sensor Range +15%")
@@ -1322,6 +1327,7 @@ _("The VTOL returns to the selected pad for rearming")
_("Third Level Missile Firing Codes")
_("Tiger")
_("Titanium-reinforced concrete")
_("Tower wars AI, based on NullBot")
_("Tracked Propulsion")
_("Tracked Propulsion II")
_("Tracks")
@@ -8,7 +8,7 @@ def parse(obj):
if isinstance(obj, dict):
for k, v in obj.items():
parse(v)
if k == 'name' and isinstance(v, str):
if k in ['name', 'tip'] and isinstance(v, str):
printString(v, '_(', '\n')
elif k in ['text', 'ranks'] and isinstance(v, list):
for s in v:

0 comments on commit 509f6bc

Please sign in to comment.
You can’t perform that action at this time.