From patchwork Wed Jul 2 12:01:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8867 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 4bXJQj2mb6z3wnD 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 4bXJQh14vxz6cH 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 4bXJQd21wnz34RS 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) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bXJQZ2NXfz2xyW 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 4bXJQY5c6yz3ml; Wed, 2 Jul 2025 12:01:25 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1751457685; 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=fvTg8H7WkGzxx56PPNd7aKfozFUhGF5CrWrPW/8OqXk=; b=gL5GOG0BoE0CygZY4cBsGOAGCgzkHKte1Qo2k/hjFOGcuYHTqWcoIRGnF8kLswGNQXNnUl UoVJC9boSqS47HAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1751457685; 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=fvTg8H7WkGzxx56PPNd7aKfozFUhGF5CrWrPW/8OqXk=; b=EO/XGtDslAGab0C09QuXR6Oz3Tjnt5sLDnugcD0nkbjzqBCWB726mkRRMzzRxpg9De31uA 8Hjp12XQlAhYP4UfjbQSVNKWJQzXYl0tm8HBGDvZyxTI9vdKdJPNiIXPBHgSAe3LIx9G6U EzlXbAGO39PrSwDI9sLP7cFawIzLr5L8gnyWr0aqqDVsjG/Zt0SiXG9l856XzCfP6QT1SD nCT1viUg2iTMRJaFE2jpeRBjRWTvyekPLkr1fVSm00rZT9uA0MDc72LLLgeY5TZRWajKV7 BdfAWq/a5jRge02tYIUe0qk+ujqPpynOv7uTq9oStXIHQIDul7RrPG8/VekIKQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 2/4] 20-status.menu: Use lang files for caption and title Date: Wed, 2 Jul 2025 14:01:09 +0200 Message-ID: <20250702120119.3315710-2-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 mdstat values are in the two Chinese language files Signed-off-by: Adolf Belka --- config/menu/20-status.menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/menu/20-status.menu b/config/menu/20-status.menu index 5d956d0b6..945c4ad2c 100644 --- a/config/menu/20-status.menu +++ b/config/menu/20-status.menu @@ -86,8 +86,8 @@ 'title' => 'Atm-status', 'enabled' => (`find /sys/class/atm/*/device 2>/dev/null` ? 1 : 0), }; - $substatus->{'76.mdstat'} = {'caption' => 'Mdstat', + $substatus->{'76.mdstat'} = {'caption' => $Lang::tr{'mdstat'}, 'uri' => '/cgi-bin/mdstat.cgi', - 'title' => 'Mdstat', + 'title' => $Lang::tr{'mdstat'}, 'enabled' => 1, };