| @@ -16,10 +16,10 @@ | ||
| 16 | 16 | $localfile = trailingslashit( $wp_upload_dir['basedir'] . '/db-backup' ) . $filename; |
| 17 | 17 | if ( $result ) { |
| 18 | 18 | $success = $sftp->put($remotefile, $localfile, SFTP::SOURCE_LOCAL_FILE | SFTP::RESUME_START); |
| 19 | 19 | if ( $success ) { |
| 20 | - $args[2] = $args[2] . '<br> Upload Database Backup on SFTP ' . $host; | |
| 21 | - $args[4] = $args[4] .= 'SFTP, '; | |
| 20 | + $args[2] = $args[2] . '<br> '.esc_html__('Upload Database Backup on SFTP','wpdbbkp') . $host; | |
| 21 | + $args[4] .= 'SFTP, '; | |
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | // Close connection to host. |
| 25 | 25 | if($sftp){ |