37 lines
1.4 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',
'htaccess' => '.htaccess',
'description'=>'This raw editor let you edit your '.
'<code>.htaccess</code>.',
'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',
);
?>