summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/az.po
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-04-21 11:58:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-04-21 11:58:52 +0000
commit36372c09c47d69d8c4f53664e88dcf50ab27186c (patch)
treed3f223779f9b512edd1ba2d40b1097b56ed4dffc /perl-install/share/po/az.po
parentf86994d5a14bc9820c8a3dd161b9096cdd4e59ed (diff)
downloaddrakx-36372c09c47d69d8c4f53664e88dcf50ab27186c.tar
drakx-36372c09c47d69d8c4f53664e88dcf50ab27186c.tar.gz
drakx-36372c09c47d69d8c4f53664e88dcf50ab27186c.tar.bz2
drakx-36372c09c47d69d8c4f53664e88dcf50ab27186c.tar.xz
drakx-36372c09c47d69d8c4f53664e88dcf50ab27186c.zip
update string for new drakroam
Diffstat (limited to 'perl-install/share/po/az.po')
-rw-r--r--perl-install/share/po/az.po25
1 files changed, 10 insertions, 15 deletions
diff --git a/perl-install/share/po/az.po b/perl-install/share/po/az.po
index 08d1aa1e0..bdb742cd5 100644
--- a/perl-install/share/po/az.po
+++ b/perl-install/share/po/az.po
@@ -21636,33 +21636,28 @@ msgstr ""
#: standalone/drakroam:281
#, c-format
-msgid "Network: %s"
-msgstr "Şəbəkə: %s"
+msgid "Network:"
+msgstr "Şəbəkə:"
#: standalone/drakroam:282
#, c-format
-msgid "Mode: %s"
-msgstr "Mod: %s"
+msgid "Mode:"
+msgstr "Mod:"
#: standalone/drakroam:283
#, c-format
-msgid "IP: %s"
-msgstr "IP: %s"
+msgid "IP:"
+msgstr "IP:"
#: standalone/drakroam:284
#, c-format
-msgid "Encryption: %s"
-msgstr "Enkripsiya: %s"
-
-#: standalone/drakroam:285
-#, c-format
-msgid "Gateway: %s"
-msgstr "Şəbəkə Keçidi: %s"
+msgid "Encryption:"
+msgstr "Enkripsiya:"
#: standalone/drakroam:286
#, c-format
-msgid "Signal: %s"
-msgstr "Siqnal: %s"
+msgid "Signal:"
+msgstr "Siqnal:"
#: standalone/draksec:49
#, c-format
_ip);
my ($adsl_type, @adsl_devices, $adsl_failed, $adsl_answer, %adsl_data, $adsl_data, $adsl_provider, $adsl_old_provider);
my ($ntf_name, $ipadr, $netadr, $gateway_ex, $up, $need_restart_network);
- my ($isdn, $isdn_name, $isdn_type, %isdn_cards);
+ my ($isdn, $isdn_name, $isdn_type, %isdn_cards, @isdn_dial_methods);
my $my_isdn = join('', N("Manual choice"), " (", N("Internal ISDN card"), ")");
my ($module, $auto_ip, $protocol, $onboot, $needhostname, $hotplug, $track_network_id, @fields); # lan config
my $success = 1;
@@ -199,6 +199,7 @@ sub real_main {
my $goto_start_on_boot_ifneeded = sub {
return $after_start_on_boot_step->() if $netcnx->{type} =~ /lan|cable/;
+ return "isdn_dial_on_boot" if $netcnx->{type} =~ /isdn/;
return "network_on_boot";
};
@@ -1174,6 +1175,34 @@ It is not necessary on most networks."),
},
},
+ isdn_dial_on_boot =>
+ {
+ pre => sub {
+ $intf->{ippp0} ||= { DEVICE => "ippp0" }; # we want the ifcfg-ippp0 file to be written
+ @isdn_dial_methods = ({ name => N("Automatically at boot"),
+ ONBOOT => 1, DIAL_ON_BOOT => 1 },
+ { name => N("By using Net Applet in the system tray"),
+ ONBOOT => 0, DIAL_ON_BOOT => 1 },
+ { name => N("Manually (the interface would still be activated at boot)"),
+ ONBOOT => 1, DIAL_ON_BOOT => 0 });
+ my $method = find {
+ $_->{ONBOOT} eq text2bool($intf->{ippp0}{ONBOOT}) and
+ $_->{DIAL_ON_BOOT} eq text2bool($intf->{ippp0}{DIAL_ON_BOOT})
+ } @isdn_dial_methods;
+ #- use net_applet by default
+ $isdn->{dial_method} = $method->{name} || $isdn_dial_methods[1]->{name};
+ },
+ name => N("How do you to dial this connection ?"),
+ data => sub {
+ [ { type => "list", val => \$isdn->{dial_method}, list => [ map { $_->{name} } @isdn_dial_methods ] } ]
+ },
+ post => sub {
+ my $method = find { $_->{name} eq $isdn->{dial_method} } @isdn_dial_methods;
+ $intf->{ippp0}{$_} = bool2yesno($method->{$_}) foreach qw(ONBOOT DIAL_ON_BOOT);
+ return $after_start_on_boot_step->();
+ },
+ },
+
restart =>
{
name => N("The network needs to be restarted. Do you want to restart it ?"),
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index bd40ffbcd..f75d61c9a 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -166,7 +166,8 @@ sub write_interface_conf {
setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR MII_NOT_SUPPORTED),
qw(WIRELESS_MODE WIRELESS_ESSID WIRELESS_NWID WIRELESS_FREQ WIRELESS_SENS WIRELESS_RATE WIRELESS_ENC_KEY WIRELESS_RTS WIRELESS_FRAG WIRELESS_IWCONFIG WIRELESS_IWSPY WIRELESS_IWPRIV),
- if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME))
+ if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME)),
+ if_($intf->{DEVICE} =~ /^ippp\d+$/, qw(DIAL_ON_BOOT))
);
log::explanations("written $intf->{DEVICE} interface configuration in $file");
}