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 7/7] pakfire.cgi: Cosmetic fixes Date: Sun, 08 May 2022 13:12:53 +0000 Message-ID: <29a3aed3-6448-6fab-3e20-a0bd10b9c8d8@ipfire.org> In-Reply-To: <20220508120952.52-7-hofmann@leo-andres.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0345248116221615048==" List-Id: --===============0345248116221615048== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Acked-by: Peter M=C3=BCller > Add formatting to improve readability of dependencies list header. >=20 > Signed-off-by: Leo-Andres Hofmann > --- > html/cgi-bin/pakfire.cgi | 6 ++++-- > langs/fr/cgi-bin/fr.pl | 2 +- > 2 files changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi > index 489b07a6d..3e8dc5460 100644 > --- a/html/cgi-bin/pakfire.cgi > +++ b/html/cgi-bin/pakfire.cgi > @@ -283,7 +283,8 @@ if (($cgiparams{'ACTION'} eq 'install') && ($pagemode e= q $PM_DEFAULT)) { > my @pkgs =3D split(/\|/, $cgiparams{'INSPAKS'}); > my @output =3D &General::system_output("/usr/local/bin/pakfire", "resolve= deps", "--no-colors", @pkgs); > print < -
$Lang::tr{'pakfire install package'} @pkgs $= Lang::tr{'pakfire possible dependency'} > +

$Lang::tr{'pakfire = install package'} @{pkgs}
> + $Lang::tr{'pakfire possible dependency'}

>
>  END
>  	foreach (@output) {
> @@ -321,7 +322,8 @@ END
>  	my @pkgs =3D split(/\|/, $cgiparams{'DELPAKS'});
>  	my @output =3D &General::system_output("/usr/local/bin/pakfire", "resolve=
deps", "--no-colors", @pkgs);
>  	print < -	
$Lang::tr{'pakfire uninstall package'} @pkgs= $Lang::tr{'pakfire possible dependency'} > +

$Lang::tr{'pakfire = uninstall package'} @{pkgs}
> + $Lang::tr{'pakfire possible dependency'}

>
>  END
>  	foreach (@output) {
> diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl
> index bd17df4ee..6dbeebc16 100644
> --- a/langs/fr/cgi-bin/fr.pl
> +++ b/langs/fr/cgi-bin/fr.pl
> @@ -2055,7 +2055,7 @@
>  'pakfire last package update' =3D> 'Derni=C3=A8re mise =C3=A0 jour de la l=
iste des paquets : ',
>  'pakfire last serverlist update' =3D> 'Derni=C3=A8re mise =C3=A0 jour de l=
a liste des serveurs : ',
>  'pakfire last update' =3D> 'Derni=C3=A8re mise =C3=A0 jour : ',
> -'pakfire possible dependency' =3D> '

Il y a peut-=C3=AAtre des d=C3= =A9pendances, voici la liste des paquets qu\'il faut (d=C3=A9s)installer.
= ', > +'pakfire possible dependency' =3D> 'Il y a peut-=C3=AAtre des d=C3=A9penda= nces, voici la liste des paquets qu\'il faut (d=C3=A9s)installer.', > 'pakfire register' =3D> 'S\'inscrire au serveur pakfire :', > 'pakfire return' =3D> 'Retour =C3=A0 Pakfire', > 'pakfire system state' =3D> 'Statut syst=C3=A8me PakFire ', --===============0345248116221615048==--