Revision addc0439
Added by Renato Botelho almost 15 years ago
etc/inc/smtp.inc | ||
---|---|---|
236 | 236 |
&& !strcmp(@gethostbyname($this->exclude_address),$ip)) |
237 | 237 |
return(sprintf(gettext("domain \"%s\" resolved to an address excluded to be valid"), $domain)); |
238 | 238 |
if($this->debug) |
239 |
$this->OutputDebug(sprintf(gettext("Connecting to host address \"%1$s\" port %2$s..."), $ip, $port));
|
|
239 |
$this->OutputDebug(sprintf(gettext('Connecting to host address "%1$s" port %2$s...'), $ip, $port));
|
|
240 | 240 |
if(($this->connection=($this->timeout ? @fsockopen(($this->ssl ? "ssl://" : "").$ip,$port,$errno,$error,$this->timeout) : @fsockopen(($this->ssl ? "ssl://" : "").$ip,$port)))) |
241 | 241 |
return(""); |
242 | 242 |
$error=($this->timeout ? strval($error) : "??"); |
... | ... | |
253 | 253 |
case "-7": |
254 | 254 |
return(gettext("-7 setvbuf() call failed")); |
255 | 255 |
} |
256 |
return(sprintf(gettext("could not connect to the host \"%1$s\": %2$s"), $domain, $error));
|
|
256 |
return(sprintf(gettext('could not connect to the host "%1$s": %2$s'), $domain, $error));
|
|
257 | 257 |
} |
258 | 258 |
|
259 | 259 |
Function SASLAuthenticate($mechanisms, $credentials, &$authenticated, &$mechanism) |
... | ... | |
286 | 286 |
case SASL_NOMECH: |
287 | 287 |
if(strlen($this->authentication_mechanism)) |
288 | 288 |
{ |
289 |
$this->error=printf(gettext("authenticated mechanism %1$s may not be used: %2$s"), $this->authentication_mechanism, $sasl->error);
|
|
289 |
$this->error=printf(gettext('authenticated mechanism %1$s may not be used: %2$s'), $this->authentication_mechanism, $sasl->error);
|
|
290 | 290 |
return(0); |
291 | 291 |
} |
292 | 292 |
break; |
Also available in: Unified diff
Fix quotes to use %N$X on gettext calls