Translate the Saturate Intensity label

This commit is contained in:
dotCooCoo committed 2026-11-26 17:12:04 -08:00
1 parent 23c05774b7
commit af2894bd55
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()
})]
}