services.cgi: translate "Addon"

* Translate string "Addon" in services.cgi
* Added EN/NL translations
* Correct existing plural DE translation for singular "Add-on"
* Fix usage of the incorrect strings "addon(s)" to correct
  hyphenated "add-on(s)" also in other translation strings for
  EN/NL/DE

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
This commit is contained in:
Robin Roevens
2022-11-08 21:09:11 +01:00
committed by Peter Müller
parent 819e5e087f
commit e47370a167
4 changed files with 20 additions and 18 deletions

View File

@@ -138,7 +138,7 @@ END
print "</table></div>\n";
&Header::closebox();
&Header::openbox('100%', 'left', "Addon - $Lang::tr{services}");
&Header::openbox('100%', 'left', "$Lang::tr{addon} - $Lang::tr{services}");
my $paramstr=$ENV{QUERY_STRING};
my @param=split(/!/, $paramstr);
# Make sure action parameter is actually one of the allowed service actions
@@ -156,7 +156,7 @@ END
<div align='center'>
<table width='80%' cellspacing='1' class='tbl'>
<tr>
<th align='left'><b>Addon $Lang::tr{service}</b></th>
<th align='left'><b>$Lang::tr{addon} $Lang::tr{service}</b></th>
<th align='center'><b>Boot</b></th>
<th align='center' colspan=2><b>$Lang::tr{'action'}</b></th>
<th align='center'><b>$Lang::tr{'status'}</b></th>