Translate canvas widget accessibility text

This commit is contained in:
dotCooCoo
2026-11-26 08:19:45 -08:00
parent 2a1b573a78
commit 74d23677a6
2 changed files with 3 additions and 3 deletions
@@ -260,7 +260,7 @@ pub(super) struct SelectionWidgets {
impl SelectionWidgets {
fn new(layout: Layout) -> Self {
SelectionWidgets { common: Common::new(), layout, presses: vec![] }.label("Selection widgets")
SelectionWidgets { common: Common::new(), layout, presses: vec![] }.label(tl!("Selection widgets"))
}
}
+2 -2
View File
@@ -275,7 +275,7 @@ impl ShapeWidgets {
}
fn new(marks: Vec<Mark>) -> Self {
ShapeWidgets { common: Common::new(), marks }.label("Shape widgets")
ShapeWidgets { common: Common::new(), marks }.label(tl!("Shape widgets"))
}
}
@@ -334,7 +334,7 @@ impl Component for ShapeWidgets {
}
fn access(&self, access: &mut Access, _: &Cx<'_, Self>) {
access.description("Shape widgets");
access.description(tl!("Shape widgets"));
}
fn finish(self, cx: Cx<'_, Self>) -> Response {