Skip to content

Commit c4b359d

Browse files
committed
fix translation keys
1 parent f596256 commit c4b359d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/net/earthcomputer/clientcommands/command/FramerateCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ public static void register(CommandDispatcher<FabricClientCommandSource> dispatc
3838
private static int getMaxFps(FabricClientCommandSource source) {
3939
int framerateLimit = source.getClient().getFramerateLimitTracker().getFramerateLimit();
4040
if (framerateLimit < Integer.MAX_VALUE) {
41-
source.sendFeedback(Component.translatable("commands.cfps.success.get", framerateLimit));
41+
source.sendFeedback(Component.translatable("commands.cfps.getMaxFps", framerateLimit));
4242
} else {
43-
source.sendFeedback(Component.translatable("commands.cfps.success.get.unlimited"));
43+
source.sendFeedback(Component.translatable("commands.cfps.getMaxFps.unlimited"));
4444
}
4545
return framerateLimit;
4646
}
4747

4848
private static int maxFps(FabricClientCommandSource source, int maxFps) {
4949
source.getClient().getFramerateLimitTracker().setFramerateLimit(maxFps);
5050
if (maxFps == Integer.MAX_VALUE) {
51-
source.sendFeedback(Component.translatable("commands.cfps.success.set.unlimited"));
51+
source.sendFeedback(Component.translatable("commands.cfps.setMaxFps.unlimited"));
5252
} else {
53-
source.sendFeedback(Component.translatable("commands.cfps.success.set", maxFps));
53+
source.sendFeedback(Component.translatable("commands.cfps.setMaxFps", maxFps));
5454
}
5555
return maxFps;
5656
}

0 commit comments

Comments
 (0)