Skip to content

Commit 96784ab

Browse files
committed
Merge pull request #33 from pedro-mendonca/master
Strings optimization and cleanup.
2 parents f58dcdb + 9603ce3 commit 96784ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

inc/class-jobtype-wpexp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public function job_run( BackWPup_Job $job_object ) {
459459
if ( $valid )
460460
$job_object->log( __( 'WP Export file is a valid WXR file.', 'backwpup' ) );
461461
} else {
462-
$job_object->log( __( 'WP Export file can not checked, because no XML extension loaded with the file can checked.', 'backwpup' ) );
462+
$job_object->log( __( 'WP Export file can not be checked, because no XML extension is loaded, to ensure the file verification.', 'backwpup' ) );
463463
}
464464

465465
$job_object->steps_data[ $job_object->step_working ]['substep'] = 'compress';

inc/class-mysqldump.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,11 @@ public function dump_table_footer( $table ) {
439439
public function dump_table( $table, $start = 0, $length = 0 ) {
440440

441441
if ( ! is_numeric( $start ) ) {
442-
throw new BackWPup_MySQLDump_Exception( sprintf( __( 'Start for table backup is not correctly set: %1$s ', 'backwpup' ), $start ) );
442+
throw new BackWPup_MySQLDump_Exception( sprintf( __( 'Start for table backup is not correctly set: %1$s', 'backwpup' ), $start ) );
443443
}
444444

445445
if ( ! is_numeric( $length ) ) {
446-
throw new BackWPup_MySQLDump_Exception( sprintf( __( 'Length for table backup is not correctly set: %1$s ', 'backwpup' ), $length ) );
446+
throw new BackWPup_MySQLDump_Exception( sprintf( __( 'Length for table backup is not correctly set: %1$s', 'backwpup' ), $length ) );
447447
}
448448

449449
$done_records = 0;

inc/class-page-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class="small-text code" />
330330
<div class="table ui-tabs-hide" id="backwpup-tab-net">
331331

332332
<h3 class="title"><?php echo sprintf( __( 'Authentication for <code>%s</code>', 'backwpup' ), site_url( 'wp-cron.php' ) ); ?></h3>
333-
<p><?php _e( 'Is your blog protected with HTTP basic authentication (.htaccess)? Or did you use a Plugin to secure wp-cron.php than use the authentication methods below', 'backwpup' ); ?></p>
333+
<p><?php _e( 'If you protected your blog with HTTP basic authentication (.htaccess), or you use a Plugin to secure wp-cron.php, than use the authentication methods below.', 'backwpup' ); ?></p>
334334
<?php
335335
$authentication = get_site_option( 'backwpup_cfg_authentication', array( 'method' => '', 'basic_user' => '', 'basic_password' => '', 'user_id' => 0, 'query_arg' => '' ) );
336336
?>

0 commit comments

Comments
 (0)