From patchwork Wed Jul 2 12:01:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8868 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) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4bXJQj31Y8z3wnP for ; Wed, 2 Jul 2025 12:01:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bXJQh15XLz6lP for ; Wed, 2 Jul 2025 12:01:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bXJQd2HDkz34RX for ; Wed, 2 Jul 2025 12:01:29 +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 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bXJQZ2fFrz32d8 for ; Wed, 2 Jul 2025 12:01:26 +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 4bXJQZ07ylz2sF; Wed, 2 Jul 2025 12:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1751457686; 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: in-reply-to:in-reply-to:references:references; bh=VFihebhmGRTpDqaIdJA88ljkN0HMRJUgiY6+MinlTEs=; b=hmCZaiG/x9VRTEr74n7ba29X2QuUGC3RfARcf3zA19tLDeuSWDnjF/bu5OT8TGV9zgAsFV 5fvklqPF9Th+VIQeJcm87QKLG7fQLsc7DdN5w5ZGJtvj9BCEroLi4ZBeElw2U7FjucrFFk iwPg6Geaoh6dhg4NIcrFTICamaAYzVEo0ScvOI9IAGGAIkoDQtOdPPoT2syzFauIjw9hLT uKNcSR3m/ztRNXp3Oy/EUDuTYZvlA5BI1z/3re5OO/6HqHAUrFOUPNjsLawOkrpM3wvkbL +dNr/Mm+l/U/H7OhLV57PFW010y9YAnJKm6PRSX5Xa9Xz5fmjPOys6eVQW3Ivw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1751457686; 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: in-reply-to:in-reply-to:references:references; bh=VFihebhmGRTpDqaIdJA88ljkN0HMRJUgiY6+MinlTEs=; b=6GLp0Fo/d3sp51PN/1MEzg1ql3V5nYug5qn1MKRPWcX/fbg7JNwS+rbNJuOy+/AaLH9UI7 aGMiAVxd6ZqOY4DQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 3/4] 40-services.menu: Use lang files for caption and title Date: Wed, 2 Jul 2025 14:01:10 +0200 Message-ID: <20250702120119.3315710-3-adolf.belka@ipfire.org> In-Reply-To: <20250702120119.3315710-1-adolf.belka@ipfire.org> References: <20250702120119.3315710-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - The "quality of service" and "extrahd" values are in the two Chinese language files Suggested-by: Opnwall Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/menu/40-services.menu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/menu/40-services.menu b/config/menu/40-services.menu index 932a7f033..cd8e945af 100644 --- a/config/menu/40-services.menu +++ b/config/menu/40-services.menu @@ -26,13 +26,13 @@ 'title' => "$Lang::tr{'time server'}", 'enabled' => 1, }; - $subservices->{'50.qos'} = {'caption' => 'Quality of Service', + $subservices->{'50.qos'} = {'caption' => $Lang::tr{'quality of service'}, 'uri' => '/cgi-bin/qos.cgi', - 'title' => "Quality of Service", + 'title' => "$Lang::tr{'quality of service'}", 'enabled' => 1, }; - $subservices->{'70.extrahd'} = {'caption' => "ExtraHD", - 'enabled' => 1, + $subservices->{'70.extrahd'} = {'caption' => $Lang::tr{'extrahd'}, 'uri' => '/cgi-bin/extrahd.cgi', - 'title' => "ExtraHD", + 'title' => "$Lang::tr{'extrahd'}", + 'enabled' => 1, };