diff options
author | damien <damien@mandriva.com> | 2002-02-28 14:03:42 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-02-28 14:03:42 +0000 |
commit | 2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac (patch) | |
tree | c01bb032994b39e16751bb96ca1aefadfa1fe603 /perl-install/standalone/drakbackup | |
parent | e05ffeeb6e6315329d236e1575c53113229eb754 (diff) | |
download | drakx-backup-do-not-use-2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac.tar drakx-backup-do-not-use-2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac.tar.gz drakx-backup-do-not-use-2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac.tar.bz2 drakx-backup-do-not-use-2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac.tar.xz drakx-backup-do-not-use-2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac.zip |
corrected translation for crontab
Diffstat (limited to 'perl-install/standalone/drakbackup')
-rwxr-xr-x | perl-install/standalone/drakbackup | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup index 12ff6efc3..b2705d599 100755 --- a/perl-install/standalone/drakbackup +++ b/perl-install/standalone/drakbackup @@ -1055,13 +1055,13 @@ sub advanced_where_net { } else { advanced_where_net_ftp(); }}), - 1, gtksignal_connect(new Gtk::Button(_("Secure Connection")), clicked => sub { + if_(0, 1, gtksignal_connect(new Gtk::Button(_("Secure Connection")), clicked => sub { $box_where_net->destroy(); if ($previous_function ) { advanced_where_net_ssh(\&$previous_function); } else { advanced_where_net_ssh(); - }}), + }})), 1, new Gtk::VBox(0, 5), 1, new Gtk::VBox(0,10), ), @@ -1293,6 +1293,14 @@ sub advanced_when{ my $check_where_ftp_daemon; my ($pix_time_map, $pix_time_mask) = gtkcreate_png("ic82-when-40"); my $combo_when_space = new Gtk::Combo(); + my %trans = (_("hourly") => 'hourly', + _("daily") => 'daily', + _("weekly") => 'weekly', + _("monthly") => 'monthly'); + my %trans2 = ('hourly' => _("hourly"), + 'daily' => _("daily"), + 'weekly' => _("weekly"), + 'monthly' => _("monthly")); $combo_when_space->set_popdown_strings (_("hourly"),_("daily"),_("weekly"),_("monthly")); gtkpack($advanced_box, @@ -1333,8 +1341,8 @@ sub advanced_when{ ${$central_widget}->destroy(); advanced_when(); }); - $combo_when_space->entry->set_text( $when_space ); - $combo_when_space->entry->signal_connect( 'changed', sub { $when_space = $combo_when_space->entry->get_text(); }); + $combo_when_space->entry->set_text( $trans2{$when_space} ); + $combo_when_space->entry->signal_connect( 'changed', sub { $when_space = $trans{$combo_when_space->entry->get_text()}; }); fonction_env(\$box_when, \&advanced_when, \&advanced_box, ""); $up_box->show_all(); } |