From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] wlanap.cgi: Some cosmetics... Date: Sun, 17 Sep 2017 09:12:05 +0200 Message-ID: <20170917071205.2233-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2653794762749966720==" List-Id: --===============2653794762749966720== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Added missing box heading ('Access Point Configuration') in 'wlanap.cgi'. - For this to work, added missing string 'wlanap configuration' in translatio= ns. - Changed existing translation strings in 'de.pl' and 'en.pl': 'wlanap' means= 'wlan access point', so why is it called 'wlan*ap* access point'? Best, Matthias Signed-off-by: Matthias Fischer --- html/cgi-bin/wlanap.cgi | 4 ++-- langs/de/cgi-bin/de.pl | 3 ++- langs/en/cgi-bin/en.pl | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index 844c395e2..bb40021cf 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -154,7 +154,7 @@ if ( $wlanapsettings{'ACTION'} eq "$Lang::tr{'save'}" ){ $memory=3D0; } =20 -&Header::openpage('', 1, '', ''); +&Header::openpage($Lang::tr{'wlanap configuration'}, 1, '', ''); &Header::openbigbox('100%', 'left', '', $errormessage); =20 if ( $errormessage ){ @@ -323,7 +323,7 @@ if ( $wlan_card_status ne '' ){ print "$Lang::tr{'wlanap wlan card'} ($wlanapsetting= s{'DRIVER'})"; print $wlan_card_status eq 'up' ? $status_started : $status_stopped; print""; - print "$Lang::tr{'wlan= ap access point'}"; + print "$Lang::tr{'wlan= ap'}"; print $wlan_ap_status eq 'up' ? $status_started : $status_stopped; if ( ($memory !=3D 0) && (@pid[0] ne "///") ){ print "@pid[0]"; diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 0138cbc02..7bc1c495d 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -2703,8 +2703,9 @@ 'wlan client wpa mode ccmp tkip' =3D> 'CCMP-TKIP', 'wlan client wpa mode tkip tkip' =3D> 'TKIP-TKIP', 'wlan clients' =3D> 'WLAN-Clients', -'wlanap access point' =3D> 'Access Point', +'wlanap' =3D> 'Access Point', 'wlanap channel' =3D> 'Kanal', +'wlanap configuration' =3D> 'Access Point Konfiguration', 'wlanap country' =3D> 'L=C3=A4ndercode', 'wlanap debugging' =3D> 'Debugging', 'wlanap del interface' =3D> 'Ausgew=C3=A4hltes Interface zur=C3=BCcksetzen?', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index b3aee5a2b..9732a6e9d 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -2748,8 +2748,9 @@ 'wlan client wpa mode ccmp tkip' =3D> 'CCMP-TKIP', 'wlan client wpa mode tkip tkip' =3D> 'TKIP-TKIP', 'wlan clients' =3D> 'Wireless clients', -'wlanap access point' =3D> 'Access Point', +'wlanap' =3D> 'Access Point', 'wlanap channel' =3D> 'Channel', +'wlanap configuration' =3D> 'Access Point Konfiguration', 'wlanap country' =3D> 'Country Code', 'wlanap debugging' =3D> 'Debugging', 'wlanap del interface' =3D> 'Remove selected interface?', --=20 2.14.1 --===============2653794762749966720==--