Merge pull request #9604 from dotCooCoo/fix/saturate-intensity-translation

Translate the Saturate Intensity label
This commit is contained in:
.CooCoo authored and GitHub committed 2026-11-26 21:37:14 -08:00
commit 0004d2ba70
1 file changed
+2 -2
+2 -2
View File
@@ -46,9 +46,9 @@ fn params(fields: &DialogFields) -> Value {
}
fn rows() -> Vec<Param> {
vec![Param::custom("intensity", "Intensity", |ui, fields, _cx| {
vec![Param::custom("intensity", tl!("Intensity"), |ui, fields, _cx| {
// The rail runs from grey to a fully saturated colour.
percent_row(ui, fields, "intensity", "Intensity", |x| Srgba::from(c32(&Color::from_hsb(12.0, x, 0.85))));
percent_row(ui, fields, "intensity", tl!("Intensity"), |x| Srgba::from(c32(&Color::from_hsb(12.0, x, 0.85))));
ui.response()
})]
}