From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH v2 02/10] pakfire: Translate WUI header/footer text Date: Thu, 28 Jul 2022 13:21:28 +0200 Message-ID: <20220728112136.30218-3-robin.roevens@disroot.org> In-Reply-To: <20220728112136.30218-1-robin.roevens@disroot.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4260118501936486193==" List-Id: --===============4260118501936486193== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Add en/nl/fr/de translations for: - Traffic: In XXX bit/s Out XXX bit/s - IPFire X.XX (xxx) - Core Update XXX ... Signed-off-by: Robin Roevens --- html/html/themes/ipfire/include/functions.pl | 8 ++++---- langs/de/cgi-bin/de.pl | 3 +++ langs/en/cgi-bin/en.pl | 3 +++ langs/fr/cgi-bin/fr.pl | 3 +++ langs/nl/cgi-bin/nl.pl | 3 +++ 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/= ipfire/include/functions.pl index cc976e812..cbd05d109 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -67,9 +67,9 @@ sub showmenu() { if ($settings{'SPEED'} ne 'off') { print < - Traffic: - In --.-- bit/s   - Out --.-- bit/s + $Lang::tr{'traffic stat title'}: + $Lang::tr{'traffic stat in'} --.-- bit/s &nbs= p; + $Lang::tr{'traffic stat out'} --.-- bit/s EOF } @@ -202,7 +202,7 @@ sub openpagewithoutmenu { sub closepage () { open(FILE, "; - $system_release =3D~ s/core/Core Update /; + $system_release =3D~ s/core/$Lang::tr{'core update'} /; close(FILE); =20 print < 'Verkehr auf', 'traffic shaping' =3D> 'Traffic Shaping', 'traffic shaping settings' =3D> 'Einstellungen der Datenflu=C3=9Fkontrolle', +'traffic stat title' =3D> 'ROTER Traffic', +'traffic stat in' =3D> 'Ein', +'traffic stat out' =3D> 'Aus', 'traffic warn level bad' =3D> 'Warnlevel ist nicht g=C3=BCltig', 'trafficblue' =3D> 'WLAN', 'trafficdate' =3D> 'Datum', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b51823177..73aa4d04a 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -2567,6 +2567,9 @@ 'traffic on' =3D> 'Traffic on', 'traffic shaping' =3D> 'Traffic Shaping', 'traffic shaping settings' =3D> 'Traffic Shaping Settings', +'traffic stat title' =3D> 'RED Traffic', +'traffic stat in' =3D> 'In', +'traffic stat out' =3D> 'Out', 'traffic warn level bad' =3D> 'Warnlevel is not correct', 'trafficblue' =3D> 'WLAN', 'trafficdate' =3D> 'Date', diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl index 560b4aa54..9e0bd3449 100644 --- a/langs/fr/cgi-bin/fr.pl +++ b/langs/fr/cgi-bin/fr.pl @@ -2579,6 +2579,9 @@ 'traffic on' =3D> 'Trafic en cours', 'traffic shaping' =3D> 'Arrangement du trafic', 'traffic shaping settings' =3D> 'R=C3=A9glages de l\'arrangement du trafic', +'traffic stat title' =3D> 'Trafic ROUGE', +'traffic stat in' =3D> 'Entr=C3=A9e', +'traffic stat out' =3D> 'Sortie', 'traffic warn level bad' =3D> 'Le niveau d\'alerte n\'est pas correct', 'trafficblue' =3D> 'WLAN', 'trafficdate' =3D> 'Date', diff --git a/langs/nl/cgi-bin/nl.pl b/langs/nl/cgi-bin/nl.pl index e50a95578..7229a86ae 100644 --- a/langs/nl/cgi-bin/nl.pl +++ b/langs/nl/cgi-bin/nl.pl @@ -2131,6 +2131,9 @@ 'traffic on' =3D> 'Verkeer op', 'traffic shaping' =3D> 'Verkeersregeling', 'traffic shaping settings' =3D> 'Verkeersregeling instellingen', +'traffic stat title' =3D> 'ROOD Verkeer', +'traffic stat in' =3D> 'In', +'traffic stat out' =3D> 'Uit', 'traffic warn level bad' =3D> 'Waarschuwingsniveau is onjuist', 'trafficblue' =3D> 'WLAN', 'trafficdate' =3D> 'Datum', --=20 2.36.1 --=20 Dit bericht is gescanned op virussen en andere gevaarlijke inhoud door MailScanner en lijkt schoon te zijn. --===============4260118501936486193==--