From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo-Andres Hofmann To: development@lists.ipfire.org Subject: [PATCH] header.pl: Add translation to DHCP leases table Date: Wed, 06 Apr 2022 15:43:57 +0200 Message-ID: <20220406134357.130-1-hofmann@leo-andres.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1946068585449083575==" List-Id: --===============1946068585449083575== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Leo-Andres Hofmann --- config/cfgroot/header.pl | 12 ++++++------ langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl index e97f90d67..5ddea348e 100644 --- a/config/cfgroot/header.pl +++ b/config/cfgroot/header.pl @@ -381,15 +381,15 @@ sub CheckSortOrder { =20 sub PrintActualLeases { - &openbox('100%', 'left', $tr{'current dynamic leases'}); + &openbox('100%', 'left', $Lang::tr{'current dynamic leases'}); print < -$tr{'ip address'} -= $tr{'mac address'} -= $tr{'hostname'} -<= b>$tr{'lease expires'} (local time d/m/y) -Add to fix leases +$Lang::tr{'ip address'} += $Lang::tr{'mac address'} += $Lang::tr{'hostname'} +<= b>$Lang::tr{'lease expires'} (local time d/m/y) +$Lang::tr{'dhcp make fixed lease'}<= /th> END ; diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 0be097609..fb725acc7 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -793,6 +793,7 @@ 'dhcp dns update secret' =3D> 'Schl=C3=BCssel', 'dhcp fixed lease err1' =3D> 'F=C3=BCr eine feste Zuordnung m=C3=BCssen entw= eder die Hardware Adresse (MAC-Adresse) oder der Hostname oder beide eingetra= gen werden.', 'dhcp fixed lease help1' =3D> 'IP Adressen k=C3=B6nnen als FQDN angegeben we= rden.', +'dhcp make fixed lease' =3D> 'Feste Zuordnung erzeugen', 'dhcp mode' =3D> 'DHCP', 'dhcp server' =3D> 'DHCP-Server', 'dhcp server disabled' =3D> 'DHCP-Server deaktiviert. Angehalten.', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index d98422621..0c54a8ecc 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -827,6 +827,7 @@ 'dhcp dns update secret' =3D> 'Secret', 'dhcp fixed lease err1' =3D> 'For a fix lease you have to enter the MAC addr= ess or the hostname, or you enter both.', 'dhcp fixed lease help1' =3D> 'IP Addresses might be entered as FQDN', +'dhcp make fixed lease' =3D> 'Add to fix leases', 'dhcp mode' =3D> 'DHCP', 'dhcp server' =3D> 'DHCP Server', 'dhcp server disabled' =3D> 'DHCP server disabled. Stopped.', --=20 2.27.0.windows.1 --===============1946068585449083575==--