summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-07-21 14:38:01 +0000
committerThierry Vignaud <tv@mandriva.org>2009-07-21 14:38:01 +0000
commitaff4ccb1517934690a745f6fad02b5c7c5ecd2ad (patch)
tree6c97492618fe789f497530b259a98ea67cc2b7fb /mdkapplet
parent2b74db137817a8ef8958f088acd2fa099c3aaa09 (diff)
downloadmgaonline-aff4ccb1517934690a745f6fad02b5c7c5ecd2ad.tar
mgaonline-aff4ccb1517934690a745f6fad02b5c7c5ecd2ad.tar.gz
mgaonline-aff4ccb1517934690a745f6fad02b5c7c5ecd2ad.tar.bz2
mgaonline-aff4ccb1517934690a745f6fad02b5c7c5ecd2ad.tar.xz
mgaonline-aff4ccb1517934690a745f6fad02b5c7c5ecd2ad.zip
(prepare_add_restricted) do not display PowerPack but real product
name (but still translate PowerPack) (#52292)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 06434b96..00c9a743 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -762,6 +762,7 @@ sub prepare_add_restricted() {
my $warn_me = text2bool($local_config{DO_NOT_ASK_FOR_RESTRICTED});
return if $warn_me;
my $w = new_portable_dialog(N("New medium available"));
+ N("Mandriva PowerPack");
my $res =
fill_n_run_portable_dialog(
$w,
@@ -769,7 +770,7 @@ sub prepare_add_restricted() {
get_banner(N("New medium available")),
gtknew('Label_Left', text =>
N("You use '%s' distribution and therefore have privileged access to additional software.",
- N("Mandriva PowerPack")) . "\n\n" .
+ translate($product_id->{product})) . "\n\n" .
N("Do you want to install this additional software repository?"), @common),
gtknew('CheckButton', text => N("Do not ask me next time"), active_ref => \$warn_me),
create_okcancel($w, N("Next"), N("Cancel")),