From 07807f176993ad2919113fa80e75bd2bc570f293 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 14 Mar 2008 18:22:19 +0000 Subject: [PATCH] install.php i18n and html fixes. Props nbachiyski. fixes #6221 git-svn-id: http://svn.automattic.com/wordpress/trunk@7294 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index bf22ab59d..84011430e 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -47,11 +47,11 @@ switch($step) {
- + - + @@ -76,10 +76,10 @@ switch($step) { // check e-mail address if (empty($admin_email)) { // TODO: poka-yoke - die(__("

ERROR: you must provide an e-mail address.

")); + die('

'.__("ERROR: you must provide an e-mail address.").'

'); } else if (!is_email($admin_email)) { // TODO: poka-yoke - die(__('ERROR: that isn\'t a valid e-mail address. E-mail addresses look like: username@example.com')); + die('

'.__('ERROR: that isn’t a valid e-mail address. E-mail addresses look like: username@example.com').'

'); } $wpdb->show_errors(); @@ -99,7 +99,7 @@ switch($step) { + '.__('Note that password carefully! It is a random password that was generated just for you.').'

'; ?>


- Note that password carefully! It is a random password that was generated just for you.

'); ?>
@@ -109,5 +109,6 @@ switch($step) { break; } ?> + - \ No newline at end of file +