summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet8
1 files changed, 6 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 565689ba..7b5573c7 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -769,7 +769,11 @@ 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 %strings = (
+ PowerPack => N("Mandriva PowerPack"),
+ Server => N("Mandriva Enterprise Server"),
+ );
+ my $product = $product_id->{product};
my $res =
fill_n_run_portable_dialog(
$w,
@@ -777,7 +781,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.",
- translate($product_id->{product})) . "\n\n" .
+ $strings{$product} || $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")),