Added translation key speedometer.config.error.missing_cloth.open_config

- Added Swedish and English translations
This commit is contained in:
2025-04-01 02:21:17 +02:00
parent bd205b5ae6
commit 4b2a150a30
3 changed files with 5 additions and 4 deletions

View File

@@ -63,9 +63,8 @@ public class Client {
Component
.translatable("speedometer.error.missing_cloth")
.withColor(new Color(190, 0, 0).getRGB())
.append(" ")
.append(Component
.literal("Open Config")
.translatable("speedometer.error.missing_cloth.open_config")
.withStyle(ChatFormatting.UNDERLINE)
.withStyle((style) -> style.withClickEvent(new ClickEvent.OpenFile(Config.getConfigPath())))
), false);

View File

@@ -68,7 +68,8 @@
"speedometer.config.error.size_outofbounds": "The size is out of bounds 10<=size<=300",
"speedometer.error.missing_cloth": "Missing Cloth Config API for Config Screen",
"speedometer.error.missing_cloth": "Missing Cloth Config API for Config Screen, ",
"speedometer.error.missing_cloth.open_config": "Open Config",
"resourcepack.speedometer.quarter_circle_speedometer": "Quarter circle Speedometer"
}

View File

@@ -68,7 +68,8 @@
"speedometer.config.error.size_outofbounds": "Stolekten är felakting 10<=stolek<=300",
"speedometer.error.missing_cloth": "Saknar Cloth Config API för konfigurationsskärmen",
"speedometer.error.missing_cloth": "Saknar Cloth Config API för konfigurationsskärmen, ",
"speedometer.error.missing_cloth.open_config": "Öppna Config",
"resourcepack.speedometer.quarter_circle_speedometer": "Quarter circle Speedometer"
}