[yew-devel] [PATCH proxmox-yew-comp 1/2] add translation comments to translatable strings

Maximiliano Sandoval m.sandoval at proxmox.com
Thu Dec 11 14:15:02 CET 2025


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/auth_view.rs | 1 +
 src/utils/mod.rs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/auth_view.rs b/src/auth_view.rs
index 82f6041..8a86bc2 100644
--- a/src/auth_view.rs
+++ b/src/auth_view.rs
@@ -312,6 +312,7 @@ impl LoadableComponent for ProxmoxAuthView {
 
         if props.openid_base_url.is_some() {
             add_menu.add_item(
+                // TRANSLATORS: "OpenID Connect" is a proper name
                 MenuItem::new(tr!("OpenId Connect Server"))
                     .icon_class("fa fa-fw fa-openid")
                     .on_select(
diff --git a/src/utils/mod.rs b/src/utils/mod.rs
index 8804b6b..856297f 100644
--- a/src/utils/mod.rs
+++ b/src/utils/mod.rs
@@ -238,6 +238,7 @@ pub fn registered_task_types() -> Vec<String> {
 
 pub fn init_task_descr_table_base() {
     register_task_description("aptupdate", tr!("Update package database"));
+    // TRANSLATORS: Spice is a proper name, see https://www.spice-space.org
     register_task_description("spiceshell", tr!("Shell (Spice)"));
     register_task_description("vncshell", tr!("Shell (VNC)"));
     register_task_description("termproxy", tr!("Console (xterm.js)"));
-- 
2.47.3





More information about the yew-devel mailing list