- if ( ! $this->ftp->SetServer($this->options['hostname'], $this->options['port']) ) {
- $this->errors->add('connect', sprintf(__('Failed to connect to FTP Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
+ if ( ! $this->ftp->SetServer( $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']
+ )
+ );