From 034e4c8f493b54370a7a7fcb6ae14cc2301281fd Mon Sep 17 00:00:00 2001 From: UnRealDinnerbone Date: Tue, 23 Jul 2024 08:27:24 -0500 Subject: [PATCH] Lang Updates --- CHANGELOG.md | 4 ++-- common/src/generated/resources/assets/jamd/lang/en_us.json | 3 +++ .../java/com/unrealdinnerbone/jamd/data/LangProvider.java | 3 +++ gradle.properties | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b39a8c..3f1e87b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ -### 6.0.2 +### 6.0.3 -- Don't hard crash on invalid codecs and print more erros \ No newline at end of file +- Add lang keys \ No newline at end of file diff --git a/common/src/generated/resources/assets/jamd/lang/en_us.json b/common/src/generated/resources/assets/jamd/lang/en_us.json index 7250c82..a4c32bf 100644 --- a/common/src/generated/resources/assets/jamd/lang/en_us.json +++ b/common/src/generated/resources/assets/jamd/lang/en_us.json @@ -7,6 +7,9 @@ "block.jamd.end_portal": "End Mining Portal", "block.jamd.nether_portal": "Nether Mining Portal", "block.jamd.portal_block": "Mining Portal", + "dimension.jamd.end": "End Mining", + "dimension.jamd.mining": "Mining", + "dimension.jamd.nether": "Nether Mining", "jamd.argument.world_type.invalid": "Invalid World Type '%s'", "jamd.invalid.pos": "Unable to find valid portal location", "jamd.invalid.world": "Unable to find world '%s'" diff --git a/fabric/src/main/java/com/unrealdinnerbone/jamd/data/LangProvider.java b/fabric/src/main/java/com/unrealdinnerbone/jamd/data/LangProvider.java index 36cc90d..8e816cb 100644 --- a/fabric/src/main/java/com/unrealdinnerbone/jamd/data/LangProvider.java +++ b/fabric/src/main/java/com/unrealdinnerbone/jamd/data/LangProvider.java @@ -23,6 +23,9 @@ public void generateTranslations(HolderLookup.Provider registryLookup, Translati translationBuilder.add("biome.jamd.mining", "Mining"); translationBuilder.add("biome.jamd.nether", "Nether Mining"); translationBuilder.add("biome.jamd.end", "End Mining"); + translationBuilder.add("dimension.jamd.mining", "Mining"); + translationBuilder.add("dimension.jamd.nether", "Nether Mining"); + translationBuilder.add("dimension.jamd.end", "End Mining"); translationBuilder.add("jamd.argument.world_type.invalid", "Invalid World Type '%s'"); translationBuilder.add(JAMDRegistry.OVERWORLD.getAdvancementTitleKey(), "To Infinity and Underground"); translationBuilder.add(JAMDRegistry.OVERWORLD.getAdvancementDescriptionKey(), "Enter the Mining Dimension"); diff --git a/gradle.properties b/gradle.properties index d8dae16..0940a5e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Project -mod_version=5.0.2 +mod_version=5.0.3 maven_group=com.unrealdinnerbone curse_id=422981 mod_name=JAMD