]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
40-services.menu: Use lang files for caption and title
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 2 Jul 2025 12:01:10 +0000 (14:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jul 2025 14:49:54 +0000 (14:49 +0000)
- 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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/menu/40-services.menu

index 932a7f03395ca1ff493e8e3110cadd6b31dacb44..cd8e945af5a63782d38ef2227258c9091dc8ed62 100644 (file)
                                '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,
                                };