mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Merge pull request #9604 from dotCooCoo/fix/saturate-intensity-translation
Translate the Saturate Intensity label
This commit is contained in:
1 file changed
+2
-2
@@ -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()
|
||||
})]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user