summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-30 17:20:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-30 17:20:24 +0000
commit18aaa8cd39e680fc54116128c24469f7afadb78d (patch)
tree0eadc07e4baaf0908acc03f8e2d5a5a8eb723c22 /perl-install/install_steps_interactive.pm
parentef3718f16c93ed0ac9ea6da7bc22730a21bf2c23 (diff)
downloaddrakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar
drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.gz
drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.bz2
drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.xz
drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm16
1 files changed, 11 insertions, 5 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 2a0593834..6f5f4d79e 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -61,7 +61,13 @@ sub selectLanguage($) {
$o->{lang});
install_steps::selectLanguage($o);
- $o->ask_warn('', "No translation is available yet during installation in this language") if $o->{lang} !~ /^en/ && translate("_I18N_");
+ $o->ask_warn('',
+"If you see this message it is because you choose a language for which
+DrakX does not include a translation yet; however the fact that it is
+listed means there is some support for it anyway. That is, once GNU/Linux
+will be installed, you will be able to at least read and write in that
+language; and possibly more (various fonts, spell checkers, various programs
+translated etc. that varies from language to language).") if $o->{lang} !~ /^en/ && translate("_I18N_");
#- $o->{useless_thing_accepted} = $o->ask_from_list_('',
#-"Warning no warranty",
@@ -92,7 +98,7 @@ sub selectInstallClass1 {
my ($o, $verif, $l, $def, $l2, $def2) = @_;
$verif->($o->ask_from_list(_("Install Class"), _("Which installation class do you want?"), $l, $def));
- $o->ask_from_list_(_("Install/Upgrade"), _("Is this an install or an upgrade?"), $l2, $def2);
+ $o->ask_from_list_(_("Install/Rescue"), _("Is this an install or a rescue?"), $l2, $def2);
}
#------------------------------------------------------------------------------
@@ -326,7 +332,7 @@ sub choosePackages {
require pkgs;
my $min_size = pkgs::selectedSize($packages);
- $min_size < $availableC or die _("Your system has not enough space left for installation or upgrade");
+ $min_size < $availableC or die _("Your system has not enough space left for installation or upgrade (%d > %d)", $min_size, $availableC);
$o->chooseGroups($packages, $compssUsers, $compssUsersSorted, \$individual) unless $::beginner || $::corporate;
@@ -336,7 +342,7 @@ sub choosePackages {
my ($size, $level) = pkgs::fakeSetSelectedFromCompssList($o->{compssListLevels}, $packages, $min_mark, 0, $o->{installClass});
my $max_size = 1 + $size; #- avoid division by zero.
- my $size2install = do {
+ my $size2install = min($availableC, do {
if ($::beginner) {
my @l = (300, 700, round_up(min($max_size, $availableC) / sqr(1024), 100));
$l[2] > $l[1] + 200 or splice(@l, 1, 1); #- not worth proposing too alike stuff
@@ -346,7 +352,7 @@ sub choosePackages {
} else {
$o->chooseSizeToInstall($packages, $min_size, $max_size, $availableC, $individual) || goto &choosePackages;
}
- };
+ });
($o->{packages_}{ind}) =
pkgs::setSelectedFromCompssList($o->{compssListLevels}, $packages, $min_mark, $size2install, $o->{installClass});
}
van Schouwen2008-09-111-386/+118 | | | | | | * nl.po: Updated Dutch translation * Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2008-09-111-2/+2 | * Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2008-09-111-78/+49 | * sync with codeThierry Vignaud2008-09-1171-105/+488 | * (write_partitions) remove ending "!" from "Partition table of drive %s is ↵Thierry Vignaud2008-09-1171-130/+130 | | | | going to be written to disk!" * remove ending "!" from "Read carefully!"Thierry Vignaud2008-09-1171-136/+136 | * fixing fuzzy messagesFelipe Arruda2008-09-101-68/+39 | * updateThierry Vignaud2008-09-101-7/+7 | * sync with codeThierry Vignaud2008-09-1071-2190/+3120 | * better style (#41358)Thierry Vignaud2008-09-0971-71/+71 | * Updated Czech translation.Michal Bukovjan2008-09-081-94/+43 | * updateThierry Vignaud2008-09-081-5/+5 | * Updated Estonian translation.Marek Laane2008-09-081-8/+9 | * update Swedish translationThomas Backlund2008-09-071-108/+90 | * Hungarian translation updateGergely Lonyai2008-09-061-883/+771 | * Updated zh_CN translationFunda Wang2008-09-061-55/+60 | * Japanese translation updated.Yukiko Bando2008-09-061-13/+13 | * updateJosé Melo2008-09-061-4/+4 | * update translation for PolishTomasz Bednarski2008-09-061-99/+65 | * updateJosé Melo2008-09-061-104/+52 | * translating new messages and fixing the fuzzy onesFelipe Arruda2008-09-051-79/+50 | * update translation for de languageOliver Burger2008-09-051-248/+81 | * sync with codeThierry Vignaud2008-09-0571-1125/+3790 | * update translation for PolishTomasz Bednarski2008-09-051-215/+76 | * Hungarian translation updateGergely Lonyai2008-09-051-871/+756 | * fix caseThierry Vignaud2008-09-031-2/+2 | * update package management iconsThierry Vignaud2008-09-012-0/+0 | * Japanese translation updated.Yukiko Bando2008-08-311-105/+4 | * Updated Estonian translation.Marek Laane2008-08-301-3/+3 | * updateThierry Vignaud2008-08-291-3/+3 | * (level_choose) explain to translatorsThierry Vignaud2008-08-2971-426/+497 | * merge in translations from standalone/poThierry Vignaud2008-08-29