diff -r 9bcc185dc151 -r 85f91037cd4f install/includes/stages/website.php --- a/install/includes/stages/website.php Tue Jan 29 17:29:08 2008 -0500 +++ b/install/includes/stages/website.php Tue Jan 29 23:15:44 2008 -0500 @@ -70,9 +70,8 @@ } else { - // FIXME: l10n install_unset_ajax_loading(); - new messagebox(MB_OK | MB_ICONSTOP, 'All tests failed', 'None of the URL handling tests worked; you may have problems using Enano on your server.'); + new messagebox(MB_OK | MB_ICONSTOP, $lang.get('website_msg_ajax_test_fail_title'), $lang.get('website_msg_ajax_test_fail_body')); } } } @@ -88,17 +87,16 @@ document.getElementById('url_radio_' + level).checked = true; document.getElementById('url_radio_' + level).focus(); - // FIXME: l10n switch ( level ) { case 'rewrite': - var str = 'The installer has detected that using rewritten URLs is the best level that will work.'; + var str = $lang.get('website_msg_bestmethod_rewrite'); break; case 'shortened': - var str = 'The installer has detected that using shortened URLs is the best level that will work.'; + var str = $lang.get('website_msg_bestmethod_shortened'); break; case 'standard': - var str = 'The installer has detected that using standard URLs is the only level that will work.'; + var str = $lang.get('website_msg_bestmethod_standard'); break; } document.getElementById('mrw_report').className = 'info-box-mini'; @@ -153,8 +151,8 @@ - Pick a name
- Now for the fun part - it's time to name your website. Try to pick something that doesn't include any special characters, since this can make project-page URLs look botched. + get('website_field_name'); ?>
+ get('website_field_name_hint'); ?> @@ -163,8 +161,8 @@ - Enter a short description
- Here you should enter a very short description of your site. Sometimes this is a slogan or, depending on the theme you've chosen, a set of keywords that can go into a META description tag. + get('website_field_desc'); ?>
+ get('website_field_desc_hint'); ?> @@ -173,8 +171,8 @@ - Copyright info
- The text you enter here will be shown at the bottom of most pages. Typically this is where a copyright notice would go. Keep it short and sweet; you can use internal links to link to project pages you'll create later. + get('website_field_copyright'); ?>
+ get('website_field_copyright_hint'); ?> @@ -183,8 +181,8 @@ - URL formatting
- This lets you choose how URLs within your site will be formatted. If the setting you pick doesn't work, you can change it by editing config.php after installation. + get('website_field_urlscheme'); ?>
+ get('website_field_urlscheme_hint'); ?> @@ -195,11 +193,11 @@ -

Compatible with all servers. This is the default option and should be used unless you're sure that one of the other options below.

-

Example:

+

get('website_field_urlscheme_opt_standard_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

@@ -212,11 +210,11 @@ -

This eliminates the "?title=" portion of your URL, and instead uses a slash. This is occasionally more friendly to search engines.

-

Example:

+

get('website_field_urlscheme_opt_shortened_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

@@ -229,18 +227,18 @@ -

Using this option, you can completely eliminate the "index.php" from URLs. This is the most friendly option to search engines and looks very professional, but requires support for URL rewriting on your server. If you're running Apache and have the right permissions, Enano can configure this automatically. Otherwise, you'll need to configure your server manually and have a knowledge of regular expressions for this option to work.

-

Example:

+

get('website_field_urlscheme_opt_rewrite_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

- Auto-detect the best formatting scheme + get('website_btn_urlscheme_detect'); ?>