summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-17 15:00:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-17 15:00:29 +0000
commitc87269ca601a42776fac9fbaf83c1262a4abdfad (patch)
tree7152bd5077941dec4766822c79eacb31fce42c95 /time_wizard
parent4bb8c4a048d229b6dafcf6b5c78b896b16ffde5c (diff)
downloaddrakwizard-c87269ca601a42776fac9fbaf83c1262a4abdfad.tar
drakwizard-c87269ca601a42776fac9fbaf83c1262a4abdfad.tar.gz
drakwizard-c87269ca601a42776fac9fbaf83c1262a4abdfad.tar.bz2
drakwizard-c87269ca601a42776fac9fbaf83c1262a4abdfad.tar.xz
drakwizard-c87269ca601a42776fac9fbaf83c1262a4abdfad.zip
fix broken layout on time server error which result in 80% of the
explanation not to be displayed and in hidding the next button
Diffstat (limited to 'time_wizard')
-rw-r--r--time_wizard/Ntp.pm14
1 files changed, 8 insertions, 6 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm
index 23d7e0ac..a505b377 100644
--- a/time_wizard/Ntp.pm
+++ b/time_wizard/Ntp.pm
@@ -140,7 +140,14 @@ $o->{pages} = {
next => 'summary'
},
server_not_responding => {
- name => N("Warming."),
+ name => join("\n",
+ N("Warming."),
+ N("The time servers are not responding. The causes could be:"),
+ N("- non existent time servers"),
+ N("- no outside network"),
+ N("- other reasons..."),
+ N("- You can try again to contact time servers, or save configuration without actually setting time."),
+ ) ,
post => sub {
if ($o->{var}{action} eq 'save_quit') {
do_it();
@@ -150,11 +157,6 @@ $o->{pages} = {
}
},
data => [
- { label => N("The time servers are not responding. The causes could be:") },
- { label => N("- non existent time servers") },
- { label => N("- no outside network") },
- { label => N("- other reasons...") },
- { label => N("- You can try again to contact time servers, or save configuration without actually setting time.") },
{ val => \$o->{var}{action}, list => [ keys %actions ], format => sub { $actions{$_[0]} } },
],
next => 'config'