summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 8264182ee..de731a317 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1031,6 +1031,21 @@ sub write {
if ($locale->{IM}) {
delete @$h{qw(GTK_IM_MODULE XIM XIM_PROGRAM XMODIFIERS)};
add2hash($h, $gtkqt_im{$locale->{IM}});
+ my @packages = IM2packages($locale->{IM});
+ if (@packages && $b_user_only) {
+ require interactive;
+ interactive->vnew->ask_warn(N("Warning"),
+ N("You should install the following packages: %s",
+ join(
+ #-PO: the following is used to combine packages names. eg: "initscripts, harddrake, yudit"
+ N(", "),
+ @packages,
+ ),
+ )
+ );
+ } elsif(@packages) {
+ do_pkgs_standalone->new->install((IM2packages($locale->{IM}), )) ;
+ }
}
#- deactivate translations on console for RTL languages