Stop hardcoding some translations (#2049)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-08-30 09:40:27 -07:00
1 parent 2f64fef6a6
commit e6bbd155da
10 files changed
+37 -53

No files matched your search

@@ -243,21 +243,6 @@ public class NotFineGameOptionPages {
List<OptionGroup> groups = new ArrayList<>();
groups.add(OptionGroup.createBuilder()
.add(OptionImpl.createBuilder(boolean.class, vanillaOpts)
.setName(I18n.format("options.advancedOpengl"))
.setTooltip(I18n.format("sodium.options.advanced_opengl.tooltip"))
.setControl(TickBoxControl::new)
.setBinding((opts, value) -> opts.advancedOpengl = value, opts -> opts.advancedOpengl)
.setImpact(OptionImpact.VARIES)
.setEnabled(NotFineConfig.allowAdvancedOpenGL)
.build())
.add(OptionImpl.createBuilder(boolean.class, vanillaOpts)
.setName(I18n.format("options.fboEnable"))
.setTooltip(I18n.format("sodium.options.fbo.tooltip"))
.setControl(TickBoxControl::new)
.setBinding((opts, value) -> opts.fboEnable = value, opts -> opts.fboEnable)
.setEnabled(NotFineConfig.allowToggleFBO)
.build())
.add(OptionImpl.createBuilder(boolean.class, vanillaOpts)
.setName(I18n.format("options.anaglyph"))
.setTooltip(I18n.format("sodium.options.anaglyph.tooltip"))