public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 2/4] 20-status.menu: Use lang files for caption and title
Date: Wed,  2 Jul 2025 14:01:09 +0200	[thread overview]
Message-ID: <20250702120119.3315710-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250702120119.3315710-1-adolf.belka@ipfire.org>

- the mdstat values are in the two Chinese language files

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 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,
 				  };
-- 
2.50.0



       reply	other threads:[~2025-07-02 12:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250702120119.3315710-1-adolf.belka@ipfire.org>
2025-07-02 12:01 ` Adolf Belka [this message]
2025-07-02 12:01 ` [PATCH 3/4] 40-services.menu: " Adolf Belka
2025-07-02 12:01 ` [PATCH 4/4] en.pl: Add "quality of service" and "mdstat" values into en lang file Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250702120119.3315710-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox