Skip to content

Commit 6d5198f

Browse files
committed
change: Update localization
1 parent 6068989 commit 6d5198f

4 files changed

Lines changed: 194 additions & 188 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val PARCHMENT_VERSION by extra { null }
1515
val MAVEN_GROUP by extra { "me.flashyreese.mods" }
1616
val ARCHIVE_NAME by extra { "sodium-extra" }
1717
val MOD_VERSION by extra { "0.8.1" }
18-
val SODIUM_VERSION by extra { "0.8.1+mc1.21.11" }
18+
val SODIUM_VERSION by extra { "0.8.2+mc1.21.11" }
1919

2020
allprojects {
2121
apply(plugin = "java")

common/src/main/java/me/flashyreese/mods/sodiumextra/client/config/SodiumExtraConfig.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,6 @@ private OptionPageBuilder createExtraPage(ConfigBuilder builder) {
671671
@Override
672672
public void registerConfigLate(ConfigBuilder builder) {
673673
builder.registerOwnModOptions()
674-
.setColorTheme(builder.createColorTheme()
675-
.setBaseThemeRGB(0xffffffff)
676-
)
677674
.setIcon(Identifier.parse("sodium-extra:textures/icon.png"))
678675
.addPage(this.createAnimationsPage(builder))
679676
.addPage(this.createParticlesPage(builder))

common/src/main/java/me/flashyreese/mods/sodiumextra/client/gui/SodiumExtraHud.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void onStartTick(Minecraft client) {
4040

4141
Component text = Component.translatable("sodium-extra.overlay.coordinates", String.format("%.2f", pos.x), String.format("%.2f", pos.y), String.format("%.2f", pos.z));
4242
if (this.client.showOnlyReducedInfo()) {
43-
text = Component.literal("Cords not available due to reducedDebugInfo: true."); // Todo: Localize?
43+
text = Component.translatable("sodium-extra.overlay.coordinates_unavailable");
4444
}
4545

4646
this.textList.add(text);

0 commit comments

Comments
 (0)