Sodium

Sodium

35M Downloads

Resource packs don't change video settings assets

Lentern opened this issue ยท 3 comments

commented

Expected Behavior

A resource pack that I made will change the "Bright" brightness setting to say "+100%"

Actual Behavior

Brightness says "Bright" instead, as if nothing changed. This bug does not occur in the vanilla video settings menu.

Reproduction Steps

  1. Download the attached resource pack (Brightness Options Fix.zip) and apply it on 1.16.2 or above.
  2. Head to video settings, and press Shift + P to see the vanilla settings menu.
  3. Set your brightness to what would usually say "Bright" and it will instead say +100%. This is intended.
  4. Head back to the sodium video settings menu, and it will say "Bright" instead.
  • Java Version: AdoptOpenJDK 11.0.10.9
  • CPU: Intel Core i7 9700F 3 GHz
  • GPU: GeForce GTX 1650
  • Fabric 0.10.8
  • Sodium 0.1.0

Attachments

Brightness Options Fix.zip
Vanilla Video Settings Menu
Sodium Video Settings Menu

commented

As I understand it, recent builds of sodium don't support translation (see #482), and by extension your resource pack. This is planned to be added at some point. Sorry for the inconvenience.

commented

As I understand it, recent builds of sodium don't support translation

Yeah, vanilla's resource pack stuff isn't perfect either, there still isn't a way to change what it says for gamma values above 1.0.

commented

This is a duplicate of #44, a feature request for localization support. Changing English text via resource pack will be possible once localization is implemented.