From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id E32E51FF183 for ; Wed, 30 Jul 2025 12:38:33 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A1305A8E1; Wed, 30 Jul 2025 12:39:04 +0200 (CEST) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Date: Wed, 30 Jul 2025 12:38:19 +0200 Message-ID: <20250730103825.233570-13-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250730103825.233570-1-m.sandoval@proxmox.com> References: <20250730103825.233570-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1753871894550 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.097 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH proxmox-datacenter-manager v2 1/2] add context to translatable strings X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Maximiliano Sandoval --- ui/src/dashboard/top_entities.rs | 1 + ui/src/pve/qemu.rs | 2 ++ ui/src/remotes/add_wizard.rs | 1 + 3 files changed, 4 insertions(+) diff --git a/ui/src/dashboard/top_entities.rs b/ui/src/dashboard/top_entities.rs index af3f853..4859e64 100644 --- a/ui/src/dashboard/top_entities.rs +++ b/ui/src/dashboard/top_entities.rs @@ -238,6 +238,7 @@ fn create_tooltip( Column::new() .min_width(200) .gap(2) + // TRANSLATORS: For example "resource on Remote 'HAL 9000'" .with_child(Container::from_tag("h6").with_child(tr! { "{0} on Remote '{1}'", render_resource_name(resource, false), diff --git a/ui/src/pve/qemu.rs b/ui/src/pve/qemu.rs index 57e5e74..fbf42e5 100644 --- a/ui/src/pve/qemu.rs +++ b/ui/src/pve/qemu.rs @@ -201,7 +201,9 @@ impl yew::Component for QemuPanelComp { self.cpu = Rc::new(Series::new(tr!("CPU usage"), cpu)); self.memory = Rc::new(Series::new(tr!("RAM usage"), memory)); self.memory_max = Rc::new(Series::new(tr!("Total"), memory_max)); + // TRANSLATORS: As in ammount of incoming network traffic self.netin = Rc::new(Series::new(tr!("Net In"), netin)); + // TRANSLATORS: As in ammount of outgoin network traffic self.netout = Rc::new(Series::new(tr!("Net Out"), netout)); self.diskread = Rc::new(Series::new(tr!("Disk Read"), diskread)); self.diskwrite = Rc::new(Series::new(tr!("Disk Write"), diskwrite)); diff --git a/ui/src/remotes/add_wizard.rs b/ui/src/remotes/add_wizard.rs index f4bf9a3..12d64f3 100644 --- a/ui/src/remotes/add_wizard.rs +++ b/ui/src/remotes/add_wizard.rs @@ -96,6 +96,7 @@ impl Component for AddWizardState { TabBarItem::new() .key("connection") .label(if remote_type == RemoteType::Pve { + // TRANSLATORS: Probe is a verb here tr!("Probe Remote") } else { tr!("Connection") -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel