summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 22:00:31 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 22:00:31 +0000
commit0291bb3b5f53f279f46dc21490bdbd1a740814e2 (patch)
treeef4643af0842466984d4497d6f775d32f65baca8
parent601262a307e9e26ec831383d5dc13c55f5144cd9 (diff)
downloaddrakx-net-0291bb3b5f53f279f46dc21490bdbd1a740814e2.tar
drakx-net-0291bb3b5f53f279f46dc21490bdbd1a740814e2.tar.gz
drakx-net-0291bb3b5f53f279f46dc21490bdbd1a740814e2.tar.bz2
drakx-net-0291bb3b5f53f279f46dc21490bdbd1a740814e2.tar.xz
drakx-net-0291bb3b5f53f279f46dc21490bdbd1a740814e2.zip
improve message about non-free packages (#37258)
-rw-r--r--lib/network/thirdparty.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/network/thirdparty.pm b/lib/network/thirdparty.pm
index a8f230e..5398cd2 100644
--- a/lib/network/thirdparty.pm
+++ b/lib/network/thirdparty.pm
@@ -144,7 +144,13 @@ sub warn_not_found {
N("Some components (%s) are required but aren't available for %s hardware.", $component_name, $settings->{name}) :
N("Some packages (%s) are required but aren't available.", join(', ', @packages))),
join("\n\n",
- if_(!$opt{no_distro_package} && !$opt{no_package}, N("These packages can be found in Mandriva Club or in Mandriva commercial releases.")),
+ if_(!$opt{no_distro_package} && !$opt{no_package},
+ #-PO: first argument is a list of Mandriva distributions
+ #-PO: second argument is a package media name
+ N("These packages can be found in %s, or in the official %s package repository.",
+ join(", ", "Mandriva Linux One", "Mandriva Linux Powerpack"),
+ "non-free"),
+ ),
if_($checked, N("The following component is missing: %s", $checked)),
if_($opt{explanations}, translate($opt{explanations})),
if_($opt{url}, N("The required files can also be installed from this URL: