"1 iotas stored" is now "1 iota stored"

This commit is contained in:
yrsegal@gmail.com 2022-04-10 10:11:42 -04:00
parent 457ca7da81
commit 74e74ddc85
2 changed files with 5 additions and 2 deletions

View file

@ -185,9 +185,11 @@ public class RegisterClientStuff {
return List.of();
}
int count = tile.getCount();
return List.of(new Pair<>(new ItemStack(HexBlocks.AKASHIC_BOOKSHELF.get()), new TranslatableComponent(
"hexcasting.tooltip.lens.akashic.record.count",
tile.getCount()
"hexcasting.tooltip.lens.akashic.record.count" + (count == 1 ? ".single" : ""),
count
)));
}));

View file

@ -96,6 +96,7 @@
"hexcasting.tooltip.lens.pattern.invalid": "Invalid Pattern",
"hexcasting.tooltip.lens.akashic.bookshelf.location": "Record at %s",
"hexcasting.tooltip.lens.akashic.record.count": "%s iotas stored",
"hexcasting.tooltip.lens.akashic.record.count.single": "%s iota stored",
"hexcasting.tooltip.brainsweep.profession": "Profession: %s",
"hexcasting.tooltip.brainsweep.profession.any": "Any Profession",
"hexcasting.tooltip.brainsweep.biome": "Biome: %s",