-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from S-N00B-1/master
Replace Strings with Translation Keys
- Loading branch information
Showing
18 changed files
with
283 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/main/java/xyz/violaflower/legacy_tweaks/tweaks/impl/Crash.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
src/main/java/xyz/violaflower/legacy_tweaks/tweaks/impl/F3Info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
package xyz.violaflower.legacy_tweaks.tweaks.impl; | ||
|
||
import net.minecraft.network.chat.Component; | ||
import xyz.violaflower.legacy_tweaks.tweaks.Tweak; | ||
|
||
public class F3Info extends Tweak { | ||
public final BooleanOption showEnabledTweaks; | ||
|
||
public F3Info() { | ||
setTweakID("F3 Info"); | ||
setTweakID("f3Info"); | ||
setTweakName(Component.translatable("lt.tweaks.f3info")); | ||
setTweakAuthor("DexrnZacAttack", "Jab125"); | ||
setTweakDescription("Adds LegacyTweaks related info to the F3 debug screen."); | ||
setTweakDescription(Component.translatable("lt.tweaks.f3info.enabledTweaks")); | ||
// localize hopefully | ||
showEnabledTweaks = addBooleanOption("showEnabledTweaks"); | ||
// LOCALISED! - S_N00B | ||
showEnabledTweaks = addBooleanOption(Component.translatable("lt.tweaks.f3info.option.showenabledtweaks")); | ||
} | ||
} |
Oops, something went wrong.