Package: pppconfig
Version: 2.3.18
Severity: minor
Tags: patch
Hi,
please find attached a patch, that fixes some typos. I've found them
while translating pppconfig to german.
Regards,
Chris
diff -ru pppconfig-2.3.18.orig//pppconfig pppconfig-2.3.18/pppconfig
--- pppconfig-2.3.18.orig//pppconfig 2007-08-09 14:54:00.000000000 +0200
+++ pppconfig-2.3.18/pppconfig 2010-04-10 10:43:04.000000000 +0200
@@ -677,7 +677,7 @@
}
sub ipdefault($) {
- $temp=inputbox (gettext("You almost certainly do not want to change this from the default value of noipdefault. This not the place for your nameserver ip numbers. It is the place for your ip number if and only if your ISP has assigned you a static one. If you have been given only a local static ip, enter it with a colon at the end, like this: 192.168.1.2: If you have been given both a local and a remote ip, enter the local ip, a colon, and the remote ip, like this: 192.168.1.2:10.203.1.2 "),
+ $temp=inputbox (gettext("You almost certainly do not want to change this from the default value of noipdefault. This is not the place for your nameserver ip numbers. It is the place for your ip number if and only if your ISP has assigned you a static one. If you have been given only a local static ip, enter it with a colon at the end, like this: 192.168.1.2: If you have been given both a local and a remote ip, enter the local ip, a colon, and the remote ip, like this: 192.168.1.2:10.203.1.2"),
gettext("IP Numbers"), "$$ipdefault");
return "CANCEL" if ( $result != 0 );
$$ipdefault = $temp;
@@ -951,7 +951,7 @@
sub demand($) {
$a = $$demand ? "enabled" : "disabled";
- yesnobox(sprintf(gettext("Selecting YES will enable demand dialing for this provider. Selecting NO will disable it. Note that you will still need to start pppd with pon: pppconfig will not do that for you. When you do so, pppd will go into the background and wait for you to attempt access something on the Net, and then dial up the ISP. If you do enable demand dialing you will also want to set an idle-timeout so that the link will go down when it is idle. Demand dialing is presently %s."), $a), gettext("Demand Command"));
+ yesnobox(sprintf(gettext("Selecting YES will enable demand dialing for this provider. Selecting NO will disable it. Note that you will still need to start pppd with pon: pppconfig will not do that for you. When you do so, pppd will go into the background and wait for you to attempt to access something on the Net, and then dial up the ISP. If you do enable demand dialing you will also want to set an idle-timeout so that the link will go down when it is idle. Demand dialing is presently %s."), $a), gettext("Demand Command"));
if( $result ) { # true $result means no.
$$demand = '';
@@ -1696,8 +1696,8 @@
sub usage() {
die(gettext("Usage: pppconfig [--version] | [--help] | [[--dialog] | [--whiptail] | [--gdialog]\
- [--noname] | [providername]]\
-\'--version\' prints the version. \'--help\' prints a help message.\
+ [--noname] | [providername]] \
+\'--version\' prints the version. \'--help\' prints a help message. \
\'--dialog\' uses dialog instead of gdialog. \'--whiptail\' uses whiptail.
\'--gdialog\' uses gdialog. \'--noname\' forces the provider name to be \'provider\'.
\'providername\' forces the provider name to be \'providername\'.\n"));
@@ -1723,8 +1723,8 @@
end. \
\
Since pppconfig makes changes in system configuration files, you must be \
-logged in as root or use sudo to run it. \
- \n"));
+logged in as root or use sudo to run it.\
+\n"));
usage();
}