
- As a result of 85e100c removed reference to the PrettyURLs plugin from the setup language files. - The PrettyURLs panel now contains a note on the server software used
39 lines
1.7 KiB
PHP
39 lines
1.7 KiB
PHP
<?php
|
|
$lang ['plugin'] ['prettyurls'] ['errors'] = array (
|
|
-2 => 'I can\'t find or create an <code>.htaccess</code> file in your root ' . //
|
|
'directory. PrettyURLs might not work properly, see the config panel.'
|
|
);
|
|
|
|
$lang ['admin'] ['plugin'] ['submenu'] ['prettyurls'] = 'PrettyURLs Config';
|
|
$lang ['admin'] ['plugin'] ['prettyurls'] = array(
|
|
'head' => 'PrettyURLs Configuration',
|
|
'description1' => 'Here you can turn the standard FlatPress URLs into beautiful, SEO-friendly URLs.',
|
|
'htaccess' => '.htaccess',
|
|
'description2' => 'This editor allows you to edit the <code>.htaccess</code>required for the PrettyURLs plugin directly.<br>' . //
|
|
'<strong>Note:</strong> Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files. ' . //
|
|
'Your server software is: <strong>' . $_SERVER["SERVER_SOFTWARE"] . '</strong>',
|
|
'cantsave' => 'You can\'t edit this file, because it\'s not <strong>writable</strong>. You can give writing permission or copy and paste to a file and then upload manually.',
|
|
'mode' => 'Mode',
|
|
'auto' => 'Automatic',
|
|
'autodescr' => 'try to guess the best choice for me',
|
|
'pathinfo' => 'Path Info',
|
|
'pathinfodescr' => 'e.g. /index.php/2011/01/01/hello-world/',
|
|
'httpget' => 'HTTP Get',
|
|
'httpgetdescr' => 'e.g. /?u=/2011/01/01/hello-world/',
|
|
'pretty' => 'Pretty',
|
|
'prettydescr' => 'e.g. /2011/01/01/hello-world/',
|
|
|
|
'saveopt' => 'Save settings',
|
|
|
|
'submit' => 'Save .htaccess'
|
|
);
|
|
|
|
$lang ['admin'] ['plugin'] ['prettyurls'] ['msgs'] = array(
|
|
1 => '.htaccess saved successfully',
|
|
-1 => '.htaccess could not be saved (do you have writing permissions on <code>' . BLOG_ROOT . '</code>)?',
|
|
|
|
2 => 'Options saved successfully',
|
|
-2 => 'An error occurred attempting to save settings',
|
|
);
|
|
?>
|