Package: pppconfig
Version: 2.3.10
Severity: minor
Tags: l10n
In the following function:
sub debug($) {
$a = $$debugcmd ? "enabled" : "disabled";
yesnobox(sprintf(gettext("Selecting YES will enable debugging. Selecting NO
will disable it. Debugging is presently %s."), $a), gettext("Debug Command"));
if( $result ) { # true $result means no.
[...]
The sentence "Selecting YES will enable..." will be translated if a
non-English locale is used, but the words "enabled" and "disabled" will not.
One solution would be to enclose them in a gettext() function, like this:
$a = $$debugcmd ? gettext("enabled") : gettext("disabled");
But as it is possible that "enabled" and "disabled" are or will be used in
other sentences, the same translation would not make sense for all of those
sentences, so a better solution would be to translate a full sentence,
transforming the first two statements in the function above, into:
$a = $$debugcmd ? gettext("Debugging is presently enabled.") :
gettext("Debugging is presently disabled.");
yesnobox(sprintf(gettext("Selecting YES will enable debugging. Selecting NO
will disable it. %s"), $a), gettext("Debug Command"));
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-grsec-1.9.4
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL
PROTECTED])
Versions of packages pppconfig depends on:
ii dialog 1.0-20041222-1 Displays user-friendly dialog boxe
pn ppp Not found.
ii whiptail 0.51.6-20 Displays user-friendly dialog boxe
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]