public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] media.cgi: Added missing translation string
@ 2022-02-06 12:53 Matthias Fischer
  2022-02-06 13:13 ` Peter Müller
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fischer @ 2022-02-06 12:53 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2013 bytes --]

Contination from http://patchwork.ipfire.org/project/ipfire/patch/20200513135520.30310-1-matthias.fischer(a)ipfire.org/

[Thanks Peter, I nearly forgot... ;-) ]

Signed-off-by: Matthias Fischer <matthias.fischer(a)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'>&nbsp;\n<tr><td colspan='3'><h3>transfers</h3></td></tr>";
+print "<tr><td colspan='3'>&nbsp;\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',
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-06 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 12:53 [PATCH] media.cgi: Added missing translation string Matthias Fischer
2022-02-06 13:13 ` Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox