Skip to content

Commit

Permalink
biome names are now localized
Browse files Browse the repository at this point in the history
fixed #223
  • Loading branch information
NewJumper committed Oct 28, 2023
1 parent d29a8e0 commit 8ea47d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.20.1 2023-10-26T17:32:29.6489197 Languages: en_us
e2ae6d3ec6af641843c110858f1c08c5e3e698b1 assets/deeperdarker/lang/en_us.json
// 1.20.1 2023-10-28T16:34:56.705504 Languages: en_us
7adeccca0263b927e5c267ee276d9052ba5d3a1c assets/deeperdarker/lang/en_us.json
4 changes: 4 additions & 0 deletions src/generated/resources/assets/deeperdarker/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"advancements.deeperdarker.root.title": "Sculk Story",
"advancements.deeperdarker.warden_armor.description": "Protect yourself with a full set of Warden Armor",
"advancements.deeperdarker.warden_armor.title": "Cover Me with Sculk",
"biome.deeperdarker.blooming_caverns": "Blooming Caverns",
"biome.deeperdarker.deeplands": "Deeplands",
"biome.deeperdarker.echoing_forest": "Echoing Forest",
"biome.deeperdarker.overcast_columns": "Overcast Columns",
"block.deeperdarker.ancient_vase": "Ancient Vase",
"block.deeperdarker.blooming_flowers": "Blooming Flowers",
"block.deeperdarker.blooming_moss_block": "Blooming Moss Block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.kyanite.deeperdarker.content.*;
import com.kyanite.deeperdarker.content.entities.DDBoat;
import com.kyanite.deeperdarker.content.entities.DDChestBoat;
import com.kyanite.deeperdarker.world.otherside.OthersideBiomes;
import net.minecraft.data.PackOutput;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.SmithingTemplateItem;
Expand Down Expand Up @@ -63,6 +64,11 @@ protected void addTranslations() {
add("item." + DeeperDarker.MOD_ID + ".smithing_template.warden_upgrade.additions_slot_description", "Add Reinforced Echo Shard");
add("upgrade." + DeeperDarker.MOD_ID + ".warden_upgrade", "Warden Upgrade");

add("biome." + DeeperDarker.MOD_ID + "." + OthersideBiomes.DEEPLANDS.location().getPath(), convertToName(OthersideBiomes.DEEPLANDS.location().getPath()));
add("biome." + DeeperDarker.MOD_ID + "." + OthersideBiomes.ECHOING_FOREST.location().getPath(), convertToName(OthersideBiomes.ECHOING_FOREST.location().getPath()));
add("biome." + DeeperDarker.MOD_ID + "." + OthersideBiomes.BLOOMING_CAVERNS.location().getPath(), convertToName(OthersideBiomes.BLOOMING_CAVERNS.location().getPath()));
add("biome." + DeeperDarker.MOD_ID + "." + OthersideBiomes.OVERCAST_COLUMNS.location().getPath(), convertToName(OthersideBiomes.OVERCAST_COLUMNS.location().getPath()));

add("subtitles.ambient.otherside.additions", "Warden dreams");
add("subtitles.ambient.portal.groan", "The Otherside forebodes");
add("subtitles.entity.snapper.ambient", "Sculk Snapper breathes");
Expand Down

0 comments on commit 8ea47d2

Please sign in to comment.