diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index 840533cf6..9ec72bdb4 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -395,7 +395,7 @@ items.artifacts.sandalsofnature.desc_3=The plants have grown again and now resem items.artifacts.sandalsofnature.desc_4=The plants seem to have reached their maximum size, they resemble a pair of armored greaves. The greaves are a deep brown and resemble a very sturdy tree. items.artifacts.sandalsofnature.desc_hint=You feel more attuned with nature while wearing this artifact. items.artifacts.sandalsofnature.desc_cursed=The cursed sandals are blocking any attunement with nature. -items.artifacts.sandalsofnature.desc_ability=The footwear ripples with the color of the last seed you fed them. They can briefly root into the ground and produce that plant's effect anywhere in a 3 tile radius. Charge needed: _%d%%._ +items.artifacts.sandalsofnature.desc_ability=The footwear ripples with the color of the last seed you fed them. They can briefly root into the ground and produce that plant's effect anywhere in a 3 tile radius.\nSeed: _%s_\nCharge needed: _%d%%_ items.artifacts.sandalsofnature.desc_seeds=You have fed the footwear %d seeds. items.artifacts.talismanofforesight.name=talisman of foresight diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java index 1029f3de0..db9f853eb 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java @@ -33,6 +33,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag; import com.shatteredpixel.shatteredpixeldungeon.items.bags.VelvetPouch; import com.shatteredpixel.shatteredpixeldungeon.items.rings.RingOfEnergy; +import com.shatteredpixel.shatteredpixeldungeon.messages.Languages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.plants.Blindweed; import com.shatteredpixel.shatteredpixeldungeon.plants.Earthroot; @@ -194,7 +195,14 @@ public class SandalsOfNature extends Artifact { } if (curSeedEffect != null){ - desc += "\n\n" + Messages.get(this, "desc_ability", seedChargeReqs.get(curSeedEffect)); + //TODO fix in v2.0.0 when this line is translated + if (Messages.lang() == Languages.ENGLISH){ + desc += "\n\n" + Messages.get(this, "desc_ability", + Messages.titleCase(Messages.get(curSeedEffect, "name")), + seedChargeReqs.get(curSeedEffect)); + } else { + desc += "\n\n" + Messages.get(this, "desc_ability", seedChargeReqs.get(curSeedEffect)); + } } if (!seeds.isEmpty()){