From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] header.pl: Add translation to DHCP leases table Date: Wed, 06 Apr 2022 17:06:37 +0000 Message-ID: <8672dada-ac92-a256-acff-56df5cb7b849@ipfire.org> In-Reply-To: <20220406134357.130-1-hofmann@leo-andres.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4634255181983524517==" List-Id: --===============4634255181983524517== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Peter M=C3=BCller > 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(-) >=20 > 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 < > > - > - > - > - > - > + > + > + > + > + > > 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 en= tweder die Hardware Adresse (MAC-Adresse) oder der Hostname oder beide einget= ragen werden.', > 'dhcp fixed lease help1' =3D> 'IP Adressen k=C3=B6nnen als FQDN angegeben = werden.', > +'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 ad= dress 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.', --===============4634255181983524517==--
= $tr{'ip address'}<= b>$tr{'mac address'}$tr{'hostname'}$tr{'lease expires'} (local time d/m/y)Add to fix leases= $Lang::tr{'ip address'}<= b>$Lang::tr{'mac address'}$Lang::tr{'hostname'}$Lang::tr{'lease expires'} (local time d/m/y)$Lang::tr{'dhcp make fixed lease'}