Skip to content

Commit

Permalink
More lang
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium committed May 28, 2024
1 parent 3023114 commit faf5c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/mcjty/theoneprobe/config/TopModConfigGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

import mcjty.theoneprobe.TheOneProbe;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.resources.I18n;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.fml.client.config.GuiConfig;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class TopModConfigGui extends GuiConfig {

public TopModConfigGui(GuiScreen parentScreen) {
super(parentScreen, new ConfigElement(ConfigSetup.mainConfig.getCategory(ConfigSetup.CATEGORY_CLIENT)).getChildElements(),
TheOneProbe.MODID, false, false, "The One Probe Config");
TheOneProbe.MODID, false, false, I18n.format("config.theoneprobe.config.title"));
}
}
2 changes: 2 additions & 0 deletions src/main/resources/assets/theoneprobe/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ theoneprobe.probe.speed_indicator=Speed:
theoneprobe.probe.playing_indicator=Playing:
theoneprobe.probe.collar_color_indicator=Collar Color:

config.theoneprobe.config.title=The One Probe Config

gui.theoneprobe.gui_note.title=Things you should know about §6The One Probe
gui.theoneprobe.gui_note.body.1=§lThis mod can show a tooltip on screen
gui.theoneprobe.gui_note.body.2=§lwhen you look at a block or an entity
Expand Down

0 comments on commit faf5c2a

Please sign in to comment.