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 @@
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'); ?>
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'); ?>
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'); ?>