]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
20-status.menu: Use lang files for caption and title
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 2 Jul 2025 12:01:09 +0000 (14:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jul 2025 14:49:54 +0000 (14:49 +0000)
- the mdstat values are in the two Chinese language files

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/menu/20-status.menu

index 5d956d0b6b992dab6765692ab1e48ee76695b4df..945c4ad2ca7c6aa8b975fd272166343a5c0f9f43 100644 (file)
@@ -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,
                                  };