all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [yew-devel] [PATCH yew-widget-toolkit] mark missing translatable strings as such
@ 2025-01-22 13:41 Maximiliano Sandoval
  2025-01-22 16:26 ` [yew-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2025-01-22 13:41 UTC (permalink / raw)
  To: yew-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/state/loader.rs         | 2 +-
 src/widget/form/selector.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/state/loader.rs b/src/state/loader.rs
index 2de3303b..1456373b 100644
--- a/src/state/loader.rs
+++ b/src/state/loader.rs
@@ -151,7 +151,7 @@ impl<T: 'static + DeserializeOwned + Serialize> Loader<T> {
                 .class("pwt-text-center")
                 .padding(4)
                 .with_child(Fa::new("spinner").margin_end(1).pulse())
-                .with_child("Loading...")
+                .with_child(tr!("Loading..."))
                 .into(),
             Some(Ok(ref data)) => render(Rc::clone(data)).into(),
             Some(Err(err)) => error_message(&format!("Error: {}", err)).padding(2).into(),
diff --git a/src/widget/form/selector.rs b/src/widget/form/selector.rs
index 36a056ba..44a18630 100644
--- a/src/widget/form/selector.rs
+++ b/src/widget/form/selector.rs
@@ -395,7 +395,7 @@ impl<S: DataStore + 'static> ManagedField for SelectorField<S> {
                 if store.is_empty() {
                     return Container::new()
                         .padding(2)
-                        .with_child("List does not contain any items.")
+                        .with_child(tr!("List does not contain any items."))
                         .into();
                 }
 
-- 
2.39.5



_______________________________________________
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

* [yew-devel] applied: [PATCH yew-widget-toolkit] mark missing translatable strings as such
  2025-01-22 13:41 [yew-devel] [PATCH yew-widget-toolkit] mark missing translatable strings as such Maximiliano Sandoval
@ 2025-01-22 16:26 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-01-22 16:26 UTC (permalink / raw)
  To: Yew framework devel list at Proxmox, Maximiliano Sandoval

Am 22.01.25 um 14:41 schrieb Maximiliano Sandoval:
> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
> ---
>  src/state/loader.rs         | 2 +-
>  src/widget/form/selector.rs | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, thanks!


_______________________________________________
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-01-22 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22 13:41 [yew-devel] [PATCH yew-widget-toolkit] mark missing translatable strings as such Maximiliano Sandoval
2025-01-22 16:26 ` [yew-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal