Contination from http://patchwork.ipfire.org/project/ipfire/patch/20200513135520.30310-1-matt...
[Thanks Peter, I nearly forgot... ;-) ]
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org --- html/cgi-bin/media.cgi | 2 +- langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index af75d1bf3..684764179 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -137,7 +137,7 @@ close DF; my @iostat1 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $1}'); my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $6}'); my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $7}'); -print "<tr><td colspan='3'> \n<tr><td colspan='3'><h3>transfers</h3></td></tr>"; +print "<tr><td colspan='3'> \n<tr><td colspan='3'><h3>$Lang::tr{'transfers'}</h3></td></tr>"; my $i=0;
for(my $i = 1; $i <= $#iostat1; $i++){ diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index cf34fd86e..02e491824 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -2485,6 +2485,7 @@ 'trafficsum' => 'Total', 'trafficto' => 'Nach', 'transfer limits' => 'Transferbeschränkungen', +'transfers' => 'Datenübertragungen', 'transparent on' => 'Transparent auf', 'transport mode does not support vti' => 'VTI wird im Transport-Modus nicht unterstützt', 'tripwire' => 'Tripwire', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b17064713..c90b5d514 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -2546,6 +2546,7 @@ 'trafficsum' => 'Totals', 'trafficto' => 'To', 'transfer limits' => 'Transfer limits', +'transfers' => 'Transfers', 'transparent on' => 'Transparent on', 'transport mode does not support vti' => 'VTI is not support in transport mode', 'tripwire' => 'Tripwire',
Hello Matthias,
thanks for submitting this. It looks good to me. :-)
Reviewed-by: Peter Müller peter.mueller@ipfire.org
Thanks, and best regards, Peter Müller
Contination from http://patchwork.ipfire.org/project/ipfire/patch/20200513135520.30310-1-matt...
[Thanks Peter, I nearly forgot... ;-) ]
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org
html/cgi-bin/media.cgi | 2 +- langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index af75d1bf3..684764179 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -137,7 +137,7 @@ close DF; my @iostat1 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $1}'); my @iostat2 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $6}'); my @iostat3 = qx(/usr/bin/iostat -dm -p | grep -v "Linux" | awk '{print $7}'); -print "<tr><td colspan='3'> \n<tr><td colspan='3'><h3>transfers</h3></td></tr>"; +print "<tr><td colspan='3'> \n<tr><td colspan='3'><h3>$Lang::tr{'transfers'}</h3></td></tr>"; my $i=0;
for(my $i = 1; $i <= $#iostat1; $i++){ diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index cf34fd86e..02e491824 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -2485,6 +2485,7 @@ 'trafficsum' => 'Total', 'trafficto' => 'Nach', 'transfer limits' => 'Transferbeschränkungen', +'transfers' => 'Datenübertragungen', 'transparent on' => 'Transparent auf', 'transport mode does not support vti' => 'VTI wird im Transport-Modus nicht unterstützt', 'tripwire' => 'Tripwire', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b17064713..c90b5d514 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -2546,6 +2546,7 @@ 'trafficsum' => 'Totals', 'trafficto' => 'To', 'transfer limits' => 'Transfer limits', +'transfers' => 'Transfers', 'transparent on' => 'Transparent on', 'transport mode does not support vti' => 'VTI is not support in transport mode', 'tripwire' => 'Tripwire',