Fix Shader Settings Suffix
null511 opened this issue ยท 2 comments
Currently the suffix
feature is always appended to setting values, including ones that have explicit labels.
When an explicit value label is provided for a setting, the suffix
should not be appended.
option.LIGHTING_TINT_STRENGTH=Tint Strength
option.LIGHTING_TINT_STRENGTH.comment=Determines how strongly light is tinted through stained glass.
suffix.LIGHTING_TINT_STRENGTH=%
value.LIGHTING_TINT_STRENGTH.0=OFF
the result of the above example is currently Tint Strength: OFF%
, when the expected result for value 0
is Tint Strength: OFF
(no %)
or a better example (and why I'm finally raising an issue)
option.WORLD_CURVE_RADIUS=Overworld Radius (meters)
suffix.WORLD_CURVE_RADIUS=,000
value.WORLD_CURVE_RADIUS.0=FLAT
which show : FLAT,000
instead of FLAT
or 16,000
Fixed in f0f6a27