public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [yew-devel] [PATCH yew-widget-toolkit] mark strings as translatable
@ 2025-09-08 11:33 Maximiliano Sandoval
  2025-09-10 13:10 ` [yew-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2025-09-08 11:33 UTC (permalink / raw)
  To: yew-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/widget/data_table/header_widget.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/widget/data_table/header_widget.rs b/src/widget/data_table/header_widget.rs
index e0e76ce7..c1fd8065 100644
--- a/src/widget/data_table/header_widget.rs
+++ b/src/widget/data_table/header_widget.rs
@@ -627,7 +627,7 @@ fn build_header_menu<T>(
 
     Menu::new()
         .with_item(
-            MenuItem::new("Sort Ascending")
+            MenuItem::new(tr!("Sort Ascending"))
                 .icon_class("fa fa-long-arrow-up")
                 .disabled(!sortable)
                 .on_select(
@@ -635,7 +635,7 @@ fn build_header_menu<T>(
                 ),
         )
         .with_item(
-            MenuItem::new("Sort Descending")
+            MenuItem::new(tr!("Sort Descending"))
                 .icon_class("fa fa-long-arrow-down")
                 .disabled(!sortable)
                 .on_select(
@@ -643,7 +643,7 @@ fn build_header_menu<T>(
                 ),
         )
         .with_separator()
-        .with_item(MenuItem::new("Columns").menu(columns_menu))
+        .with_item(MenuItem::new(tr!("Columns")).menu(columns_menu))
 }
 
 fn headers_to_menu<T>(
-- 
2.47.3



_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-10 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-08 11:33 [yew-devel] [PATCH yew-widget-toolkit] mark strings as translatable Maximiliano Sandoval
2025-09-10 13:10 ` [yew-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal