From patchwork Mon Nov 9 18:08:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 10715 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jNd8L2HLVz3wh2 for ; Mon, 09 Nov 2026 18:09:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jNd8K6qWSz6bk for ; Mon, 09 Nov 2026 18:09:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jNd8K64hyz32PK for ; Mon, 09 Nov 2026 18:09:05 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jNd8H1zb7z2xKR for ; Mon, 09 Nov 2026 18:09:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jNd8G2KqVz1SL; Mon, 09 Nov 2026 18:09:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1794247742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KB5LsFZdez00RWcUobj4MGx7OA1v1q3OhckoAo0Odqw=; b=r+MgKs5XT7WLfts+/QIrOX+JoCp8NT+xaDLMJBE7ItUrBZFN3n3Ah6esN+7XI0XGov7sqq /Or4bbBJqNLJMfDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1794247742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KB5LsFZdez00RWcUobj4MGx7OA1v1q3OhckoAo0Odqw=; b=Zcfx1PL8villC/S31Ndnmd9sGwfv+MNjw9r/Czbx2euR+9ElmXYwttu80tA0sf9bqZ0XBd jfwo7W1x/31V/1CEybUZaANFVDkwc4DKd/jQE7I4qROiVXqpfBuNxXmBdiDtgomdBbsim/ B9ZarnabF90M0YqQW9zSBPTn1PXMfx3qCD+8hKyJbm0v/6gGZkIHWbSL4tlMvwk9sin0fP O7+idm8neeKIL49XWBOTp3dp4sY1EJBlhbVlaq3GRYoVRuESleQzOA9ClTFf7KNaLqMAwq Jqil8L3mZFAY1rDSTdM3dlA5BmWK70WN+bCbS36b4OK25R+jS2JVAtw8KpW7aQ== From: Matthias Fischer To: development@lists.ipfire.org Cc: Matthias Fischer Subject: [PATCH] wireguard.cgi: Fix translation variable Date: Mon, 9 Nov 2026 19:08:44 +0100 Message-ID: <20261109180854.86188-1-matthias.fischer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 This one just came my way - but with this new translation routine, I'm not quite sure what to do next... Signed-off-by: Matthias Fischer --- html/cgi-bin/wireguard.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index 0ffd6bd94..a6f1300d0 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -440,7 +440,7 @@ END # If a port was given we check that it is valid } elsif (!&Network::check_port($cgiparams{'PORT'})) { - push(@errormessages, $LANG::tr{'invalid port'}); + push(@errormessages, _('Invalid Port')); } # Check the endpoint address