[2/4] 20-status.menu: Use lang files for caption and title
Commit Message
- 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(-)
@@ -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,
};