diff --git a/data/languages.json b/data/languages.json index 135f79499f0..27002c8b97f 100644 --- a/data/languages.json +++ b/data/languages.json @@ -18774,5 +18774,57 @@ }, "/Lotus/Language/JadeShadows/JadeShadowsEventScore": { "value": "Volatile Motes Collection Progress" + }, + "OperatorLockout": { + "value": "Transference Distortion", + "description": "Transference into Operator and Drifter is blocked." + }, + "AbilityLockout": { + "value": "Powerless", + "description": "All Abilities are disabled until the squad kills 50 enemies." + }, + "TimeDilation": { + "value": "Abbreviated Abilities", + "description": "Ability durations reduced by 50%." + }, + "Framecurse": { + "value": "Framecurse syndrome", + "description": "Activating an Ability inflicts 50 damage upon you." + }, + "FragileNodes": { + "value": "Unified Purpose", + "description": "Enemies can target and destry Conduits." + }, + "LostInTranslation": { + "value": "Glyph Inflation", + "description": "The security system requires twice as many Vosphene Glyphs to activate." + }, + "InfiniteTide": { + "value": "Relentless Tide", + "description": "The Fragmented Tide never stops attacking." + }, + "AntiMaterialWeapons": { + "value": "Commanding Culverins", + "description": "Rogue Culverins equip weapons that deal 5x Damage to Overguard and Necramechs." + }, + "AcceleratedEnemies": { + "value": "Bold Venture", + "description": "Enemies deal -15% Damage and take +15% Damage but gain +15% Movement Speed, Attack Speed, and Fire Rate." + }, + "Deflectors": { + "value": "Fortified Foes", + "description": "Guardian Eximus units may be encountered, including Guardian Eximus Necramechs." + }, + "PointBlank": { + "value": "Myopic Munitions", + "description": "Enemies will only take damage if a player is within 15m of them." + }, + "ShieldedFoes": { + "value": "Bolstered Belligerents", + "description": "All enemies have Overguard equal to 50% of their max health." + }, + "Voidburst": { + "value": "Postmortal Surges", + "description": "Slain enemies burts with Void enerhy." } -} +} \ No newline at end of file diff --git a/test/utilities/translation.spec.js b/test/utilities/translation.spec.js index 9b8004ef7f9..c4231407428 100644 --- a/test/utilities/translation.spec.js +++ b/test/utilities/translation.spec.js @@ -516,7 +516,7 @@ describe('translation', () => { }); describe('archonShardColor()', () => { it("should return a translation of the key if it's found in the data", () => { - archonShardColor('ACC_BLUE', 'en').should.equal('Azure'); + archonShardColor('ACC_BLUE', 'es').should.equal('Azure'); }); it("should return the key if it's not found in the data", () => { archonShardColor('notfound').should.equal('notfound'); @@ -526,7 +526,8 @@ describe('translation', () => { it("should return a translation of the key if it's found in the data", () => { archonShardUpgradeType( 'ACC_BLUE', - '/Lotus/Upgrades/Invigorations/ArchonCrystalUpgrades/ArchonCrystalUpgradeWarframeHealthMax' + '/Lotus/Upgrades/Invigorations/ArchonCrystalUpgrades/ArchonCrystalUpgradeWarframeHealthMax', + 'es' ).should.equal('+150% Health'); }); it("should return the key if it's not found in the data", () => { diff --git a/tools/translation.js b/tools/translation.js index d7d182e030b..7f0c177050e 100644 --- a/tools/translation.js +++ b/tools/translation.js @@ -335,6 +335,9 @@ export const translatePolarity = (pol = '') => valMapping(pol, polarityMap); * @property {function} toTitleCase - Format provided string as titlecase * @property {function} translateFocus - Translate focus schools * @property {function} translatePolarity - Translate polarities + * @property {function} archonShard - Converts archon shard names + * @property {function} archonShardColor - Converts archon shard names to in-game color values + * @property {function} archonShardUpgradeType - Convert archon shard upgrade type */ export default { faction, @@ -362,4 +365,7 @@ export default { toTitleCase, translateFocus, translatePolarity, + archonShard, + archonShardColor, + archonShardUpgradeType, };