I18N: Add translator comments for strings in `wp-admin/includes/class-wp-filesystem-ftpext.php`.
See #34684. Built from https://develop.svn.wordpress.org/trunk@35663 git-svn-id: http://core.svn.wordpress.org/trunk@35627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0237fadd3a
commit
a7c5161db1
|
@ -75,12 +75,22 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||||
$this->link = @ftp_connect($this->options['hostname'], $this->options['port'], FS_CONNECT_TIMEOUT);
|
$this->link = @ftp_connect($this->options['hostname'], $this->options['port'], FS_CONNECT_TIMEOUT);
|
||||||
|
|
||||||
if ( ! $this->link ) {
|
if ( ! $this->link ) {
|
||||||
$this->errors->add('connect', sprintf(__('Failed to connect to FTP Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
|
$this->errors->add( 'connect',
|
||||||
|
/* translators: %s: hostname:port */
|
||||||
|
sprintf( __( 'Failed to connect to FTP Server %s' ),
|
||||||
|
$this->options['hostname'] . ':' . $this->options['port']
|
||||||
|
)
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! @ftp_login($this->link,$this->options['username'], $this->options['password']) ) {
|
if ( ! @ftp_login( $this->link,$this->options['username'], $this->options['password'] ) ) {
|
||||||
$this->errors->add('auth', sprintf(__('Username/Password incorrect for %s'), $this->options['username']));
|
$this->errors->add( 'auth',
|
||||||
|
/* translators: %s: username */
|
||||||
|
sprintf( __( 'Username/Password incorrect for %s' ),
|
||||||
|
$this->options['username']
|
||||||
|
)
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||||
$this->errors->add( 'connect',
|
$this->errors->add( 'connect',
|
||||||
/* translators: %s: hostname:port */
|
/* translators: %s: hostname:port */
|
||||||
sprintf( __( 'Failed to connect to SSH2 Server %s' ),
|
sprintf( __( 'Failed to connect to SSH2 Server %s' ),
|
||||||
$this->options['hostname'].':'.$this->options['port']
|
$this->options['hostname'] . ':' . $this->options['port']
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta4-35662';
|
$wp_version = '4.4-beta4-35663';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue