From 7023eb3f591a49722033225a1ec85a383f5af54c Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 2 Dec 2005 17:35:36 +0000 Subject: [PATCH] i18n updates from nbachiyski. #2006 git-svn-id: http://svn.automattic.com/wordpress/trunk@3258 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/plugins/wp-db-backup.php | 31 ++++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/wp-content/plugins/wp-db-backup.php b/wp-content/plugins/wp-db-backup.php index cf93b2e13..b12a78fdb 100644 --- a/wp-content/plugins/wp-db-backup.php +++ b/wp-content/plugins/wp-db-backup.php @@ -113,7 +113,14 @@ class wpdbBackup { //echo "
" . print_r($_POST, 1) . "
"; echo '

' . __('Backup') . '

' . __('Progress') . ' - ' . __('

DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:

  1. Close this browser
  2. Reload this page
  3. Click the Stop or Back buttons in your browser
') . ' +

' . + __('DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:'). + '

+
    +
  1. '.__('Close this browser').'
  2. +
  3. '.__('Reload this page').'
  4. +
  5. '.__('Click the Stop or Back buttons in your browser').'
  6. +

' . __('Progress:') . '

 
@@ -221,7 +228,7 @@ class wpdbBackup { echo "$table:$segment:$filename"; if($table == '') { - $msg = __("Creating backup file..."); + $msg = __('Creating backup file...'); } else { if($segment == -1) { $msg = sprintf(__('Finished backing up table \\"%s\\".'), $table); @@ -607,7 +614,7 @@ class wpdbBackup { $diskfile = ABSPATH . $this->backup_dir . $filename; if ('http' == $delivery) { if (! file_exists($diskfile)) { - $msg = sprintf(__('File not found:
%1s
'), $filename); + $msg = sprintf(__('File not found:%s'), "
$filename
"); $this_basename = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', __FILE__); $msg .= '
' . __('Return to Backup'); die($msg); @@ -687,13 +694,13 @@ class wpdbBackup { break; case 'none': $feedback .= '
' . __('Your backup file has been saved on the server. If you would like to download it now, right click and select "Save As"'); - $feedback .= ':
backup_dir}$file\">$file : " . filesize(ABSPATH . $this->backup_dir . $file) . __(' bytes'); + $feedback .= ':
backup_dir}$file\">$file : " . sprintf(__('%s bytes'), filesize(ABSPATH . $this->backup_dir . $file)); } $feedback .= '

'; } if (count($this->backup_errors)) { - $feedback .= '
' . __('The following errors were reported') . ":
";
+			$feedback .= '
' . __('The following errors were reported:') . "
";
 			foreach($this->backup_errors as $error) {
 				$feedback .= "{$error}\n";  //Errors are already localized
 			}
@@ -756,24 +763,24 @@ class wpdbBackup {
 		echo '
' . __('Tables') . ''; echo '
'; echo '
'; - echo __('These core WordPress tables will always be backed up') . ':
    '; + echo __('These core WordPress tables will always be backed up:') . '
      '; foreach ($wp_backup_default_tables as $table) { echo "
    • $table
    • "; } echo '
'; if (count($other_tables) > 0) { - echo __('You may choose to include any of the following tables') . ':
'; + echo __('You may choose to include any of the following tables:') . '
'; foreach ($other_tables as $table) { echo ""; } } echo '
'; echo '
' . __('Backup Options') . ''; - echo __('What to do with the backup file') . ":
"; + echo __('What to do with the backup file:') . "
"; echo '"; echo ''; echo '
'; - echo sprintf(__(' %s'), ''); + echo ''); // Check DB dize. $table_status = $wpdb->get_results("SHOW TABLE STATUS FROM " . $this->backquote(DB_NAME)); @@ -822,14 +829,14 @@ class wpdbBackup { if (! is_email($cron_recipient)) { $cron_recipient = get_settings('admin_email'); } - echo __('Email backup to') . ': '; + echo __('Email backup to:') . ' '; echo ''; $cron_tables = get_option('wp_cron_backup_tables'); if (! is_array($cron_tables)) { $cron_tables = array(); } if (count($other_tables) > 0) { - echo '' . __('Tables to include') . ':
'; + echo '' . __('Tables to include:') . '
'; foreach ($other_tables as $table) { echo ' \ No newline at end of file +?>