From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 3/4] 40-services.menu: Use lang files for caption and title
Date: Wed, 2 Jul 2025 14:01:10 +0200 [thread overview]
Message-ID: <20250702120119.3315710-3-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250702120119.3315710-1-adolf.belka@ipfire.org>
- The "quality of service" and "extrahd" values are in the two Chinese language files
Suggested-by: Opnwall
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
| 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--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,
};
--
2.50.0
next prev parent 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 ` [PATCH 2/4] 20-status.menu: " Adolf Belka
2025-07-02 12:01 ` Adolf Belka [this message]
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-3-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