parent
32fdfac2cd
commit
8d295da079
|
@ -797,7 +797,7 @@ class helper_plugin_extension_extension extends DokuWiki_Plugin {
|
|||
// check the url
|
||||
$matches = array();
|
||||
if(!preg_match('/[^\/]*$/', $url, $matches) || !$matches[0]) {
|
||||
throw new Exception($this->getLang('baddownloadurl'));
|
||||
throw new Exception($this->getLang('error_badurl'));
|
||||
}
|
||||
$file = $matches[0];
|
||||
|
||||
|
|
|
@ -6,135 +6,68 @@
|
|||
* @author Christopher Smith <chris@jalakai.co.uk>
|
||||
*/
|
||||
|
||||
// menu entry for admin plugins
|
||||
$lang['menu'] = 'Extension Manager';
|
||||
$lang['menu'] = 'Extension Manager';
|
||||
|
||||
$lang['tab_plugins'] = 'Installed Plugins';
|
||||
$lang['tab_templates'] = 'Installed Templates';
|
||||
$lang['tab_search'] = 'Search and Install';
|
||||
$lang['tab_install'] = 'Manual Install';
|
||||
$lang['tab_plugins'] = 'Installed Plugins';
|
||||
$lang['tab_templates'] = 'Installed Templates';
|
||||
$lang['tab_search'] = 'Search and Install';
|
||||
$lang['tab_install'] = 'Manual Install';
|
||||
|
||||
// custom language strings for the plugin
|
||||
$lang['notimplemented'] = 'This feature hasn\'t been implemented yet';
|
||||
$lang['alreadyenabled'] = 'This extension has already been enabled';
|
||||
$lang['alreadydisabled'] = 'This extension has already been disabled';
|
||||
$lang['pluginlistsaveerror'] = 'There was an error saving the plugin list';
|
||||
$lang['unknownauthor'] = 'Unknown author';
|
||||
$lang['unknownversion'] = 'Unknown version';
|
||||
$lang['notimplemented'] = 'This feature hasn\'t been implemented yet';
|
||||
$lang['notinstalled'] = 'This extension is not installed';
|
||||
$lang['alreadyenabled'] = 'This extension has already been enabled';
|
||||
$lang['alreadydisabled'] = 'This extension has already been disabled';
|
||||
$lang['pluginlistsaveerror'] = 'There was an error saving the plugin list';
|
||||
$lang['unknownauthor'] = 'Unknown author';
|
||||
$lang['unknownversion'] = 'Unknown version';
|
||||
|
||||
// extension list
|
||||
$lang['btn_info'] = 'Show more info';
|
||||
$lang['btn_update'] = 'Update';
|
||||
$lang['btn_uninstall'] = 'Uninstall';
|
||||
$lang['btn_enable'] = 'Enable';
|
||||
$lang['btn_disable'] = 'Disable';
|
||||
//$lang['btn_disable_all'] = 'Disable all';
|
||||
//$lang['btn_settings'] = 'Settings';
|
||||
$lang['btn_install'] = 'Install';
|
||||
$lang['btn_reinstall'] = 'Re-install';
|
||||
//$lang['btn_disdown'] = 'Download as Disabled';
|
||||
//$lang['btn_dependown'] = 'Download with dependencies';
|
||||
$lang['btn_info'] = 'Show more info';
|
||||
$lang['btn_update'] = 'Update';
|
||||
$lang['btn_uninstall'] = 'Uninstall';
|
||||
$lang['btn_enable'] = 'Enable';
|
||||
$lang['btn_disable'] = 'Disable';
|
||||
$lang['btn_install'] = 'Install';
|
||||
$lang['btn_reinstall'] = 'Re-install';
|
||||
|
||||
$lang['extensionby'] = '<strong>%s</strong> by %s';
|
||||
$lang['popularity'] = 'Popularity: %s';
|
||||
$lang['homepage_link'] = 'Docs';
|
||||
$lang['bugs_features'] = 'Bugs';
|
||||
$lang['author_hint'] = 'Search extensions by this author';
|
||||
$lang['tag_hint'] = 'Search extensions with this tag';
|
||||
$lang['installed'] = 'Installed:';
|
||||
$lang['lastupdate'] = 'Last updated:';
|
||||
$lang['downloadurl'] = 'Download URL:';
|
||||
$lang['repository'] = 'Repository:';
|
||||
$lang['unknown'] = '<em>unknown</em>';
|
||||
$lang['installed_version'] = 'Installed version:';
|
||||
$lang['install_date'] = 'Your last update:';
|
||||
$lang['available_version'] = 'Version:';
|
||||
$lang['compatible'] = 'Compatible with:';
|
||||
$lang['depends'] = 'Depends on:';
|
||||
$lang['similar'] = 'Similar to:';
|
||||
$lang['conflicts'] = 'Conflicts with:';
|
||||
$lang['donate'] = 'Donate';
|
||||
$lang['bundled'] = 'bundled';
|
||||
$lang['manual_install'] = 'manual install';
|
||||
|
||||
$lang['repo_error'] = 'The DokuWiki extension repository can not be reached currently. Online Features are not available.';
|
||||
$lang['repo_retry'] = 'Retry';
|
||||
|
||||
$lang['msg_tpl_uninstalled'] = 'Template %s uninstalled';
|
||||
$lang['msg_tpl_uninstalled'] = 'Template %s could not be uninstalled';
|
||||
$lang['msg_uninstalled'] = 'Plugin %s uninstalled';
|
||||
$lang['msg_uninstalled'] = 'Plugin %s could not be uninstalled';
|
||||
|
||||
$lang['msg_tpl_enabled'] = 'Template %s enabled';
|
||||
$lang['msg_tpl_notenabled'] = 'Template %s could not be enabled, check file permissions';
|
||||
$lang['msg_enabled'] = 'Plugin %s enabled';
|
||||
$lang['msg_notenabled'] = 'Plugin %s could not be enabled, check file permissions';
|
||||
|
||||
$lang['msg_disabled'] = 'Plugin %s disabled';
|
||||
$lang['msg_notdisabled'] = 'Plugin %s could not be disabled, check file permissions';
|
||||
|
||||
|
||||
$lang['msg_delete_success'] = 'Extension uninstalled';
|
||||
$lang['extensionby'] = '<strong>%s</strong> by %s';
|
||||
$lang['popularity'] = 'Popularity: %s';
|
||||
$lang['homepage_link'] = 'Docs';
|
||||
$lang['bugs_features'] = 'Bugs';
|
||||
$lang['author_hint'] = 'Search extensions by this author';
|
||||
$lang['installed'] = 'Installed:';
|
||||
$lang['downloadurl'] = 'Download URL:';
|
||||
$lang['repository'] = 'Repository:';
|
||||
$lang['unknown'] = '<em>unknown</em>';
|
||||
$lang['installed_version'] = 'Installed version:';
|
||||
$lang['install_date'] = 'Your last update:';
|
||||
$lang['available_version'] = 'Version:';
|
||||
$lang['compatible'] = 'Compatible with:';
|
||||
$lang['depends'] = 'Depends on:';
|
||||
$lang['similar'] = 'Similar to:';
|
||||
$lang['conflicts'] = 'Conflicts with:';
|
||||
$lang['donate'] = 'Donate';
|
||||
$lang['repo_retry'] = 'Retry';
|
||||
|
||||
$lang['msg_enabled'] = 'Plugin %s enabled';
|
||||
$lang['msg_disabled'] = 'Plugin %s disabled';
|
||||
$lang['msg_delete_success'] = 'Extension uninstalled';
|
||||
$lang['msg_template_install_success'] = 'Template %s installed successfully';
|
||||
$lang['msg_template_update_success'] = 'Template %s updated successfully';
|
||||
$lang['msg_plugin_install_success'] = 'Plugin %s installed successfully';
|
||||
$lang['msg_plugin_update_success'] = 'Plugin %s updated successfully';
|
||||
$lang['msg_template_update_success'] = 'Template %s updated successfully';
|
||||
$lang['msg_plugin_install_success'] = 'Plugin %s installed successfully';
|
||||
$lang['msg_plugin_update_success'] = 'Plugin %s updated successfully';
|
||||
$lang['msg_upload_failed'] = 'Uploading the file failed';
|
||||
|
||||
$lang['msg_upload_failed'] = 'Uploading the file failed';
|
||||
$lang['provides'] = 'Provides:';
|
||||
$lang['missing_dependency'] = '<strong>Missing or disabled dependency:</strong> %s';
|
||||
$lang['security_issue'] = '<strong>Security Issue:</strong> %s';
|
||||
$lang['security_warning'] = '<strong>Security Warning:</strong> %s';
|
||||
$lang['update_available'] = '<strong>Update:</strong> New version %s is available.';
|
||||
$lang['wrong_folder'] = '<strong>Plugin installed incorrectly:</strong> Rename plugin directory "%s" to "%s".';
|
||||
$lang['url_change'] = '<strong>URL changed:</strong> Download URL has changed since last download. Check if the new URL is valid before updating the extension.<br />New: %s<br />Old: %s';
|
||||
|
||||
|
||||
$lang['msg_url_failed'] = 'URL [%s] could not be downloaded.<br /> %s';
|
||||
$lang['msg_download_failed'] = 'Plugin %s could not be downloaded.<br /> %s';
|
||||
$lang['msg_download_success'] = 'Plugin %s installed successfully';
|
||||
$lang['msg_tpl_download_failed'] = 'Template %s could not be downloaded.<br /> %s';
|
||||
|
||||
$lang['msg_download_pkg_success'] = '%s extension package successfully installed (%s)';
|
||||
$lang['msg_tpl_download_pkg_success'] = '%s extension package successfully installed (%s)';
|
||||
|
||||
$lang['msg_update_success'] = 'Plugin %s successfully updated';
|
||||
$lang['msg_update_failed'] = 'Update of plugin %s failed.<br /> %s';
|
||||
$lang['msg_tpl_update_success'] = 'Template %s successfully updated';
|
||||
$lang['msg_tpl_update_failed'] = 'Update of template %s failed.<br /> %s';
|
||||
$lang['msg_update_pkg_success'] = '%s extension package successfully updated (%s)';
|
||||
$lang['msg_tpl_update_pkg_success'] = '%s extension package successfully updated (%s)';
|
||||
|
||||
$lang['msg_reinstall_success'] = 'Plugin %s re-installed successfully';
|
||||
$lang['msg_reinstall_failed'] = 'Failed to re-install plugin %s.<br /> %s';
|
||||
$lang['msg_tpl_reinstall_success'] = 'Template %s re-installed successfully';
|
||||
$lang['msg_tpl_reinstall_failed'] = 'Failed to re-install template %s.<br /> %s';
|
||||
$lang['msg_reinstall_pkg_success'] = '%s extension package successfully reinstalled (%s)';
|
||||
$lang['msg_tpl_reinstall_pkg_success'] = '%s extension package successfully reinstalled (%s)';
|
||||
|
||||
// info titles
|
||||
$lang['plugin'] = 'Plugin';
|
||||
$lang['provides'] = 'Provides:';
|
||||
$lang['noinfo'] = 'This plugin returned no information, it may be invalid.';
|
||||
$lang['name'] = 'Name:';
|
||||
$lang['date'] = 'Date:';
|
||||
$lang['type'] = 'Type:';
|
||||
$lang['desc'] = 'Description:';
|
||||
$lang['author'] = 'Author:';
|
||||
$lang['www'] = 'Web:';
|
||||
|
||||
// error messages
|
||||
$lang['needed_by'] = 'Needed by:';
|
||||
$lang['not_writable'] = 'DokuWiki can not write to the folder';
|
||||
$lang['missing_dependency'] = '<strong>Missing or disabled dependency:</strong> %s';
|
||||
$lang['security_issue'] = '<strong>Security Issue:</strong> %s';
|
||||
$lang['security_warning'] = '<strong>Security Warning:</strong> %s';
|
||||
$lang['update_available'] = '<strong>Update:</strong> New version %s is available.';
|
||||
$lang['wrong_folder'] = '<strong>Plugin installed incorrectly:</strong> Rename plugin directory "%s" to "%s".';
|
||||
$lang['url_change'] = '<strong>URL changed:</strong> Download URL has changed since last download. Check if the new URL is valid before updating the extension.<br />New: %s<br />Old: %s';
|
||||
$lang['gitmanaged'] = 'Extension installed with git';
|
||||
$lang['bundled_source'] = 'Bundled with DokuWiki source';
|
||||
$lang['no_url'] = 'No download URL';
|
||||
$lang['no_manager'] = 'Could not find manager.dat file';
|
||||
|
||||
$lang['error_badurl'] = 'URL ends with slash - unable to determine file name from the url';
|
||||
$lang['error_dircreate'] = 'Unable to create temporary folder to receive download';
|
||||
$lang['error_download'] = 'Unable to download the file: %s';
|
||||
$lang['error_decompress'] = 'Unable to decompress the downloaded file. This maybe as a result of a bad download, in which case you should try again; or the compression format may be unknown, in which case you will need to download and install manually.';
|
||||
$lang['error_findfolder'] = 'Unable to identify extension directory, you need to download and install manually';
|
||||
$lang['error_copy'] = 'There was a file copy error while attempting to install files for directory <em>%s</em>: the disk could be full or file access permissions may be incorrect. This may have resulted in a partially installed plugin and leave your wiki installation unstable';
|
||||
//Setup VIM: ex: et ts=4 :
|
||||
$lang['error_badurl'] = 'URL ends with slash - unable to determine file name from the url';
|
||||
$lang['error_dircreate'] = 'Unable to create temporary folder to receive download';
|
||||
$lang['error_download'] = 'Unable to download the file: %s';
|
||||
$lang['error_decompress'] = 'Unable to decompress the downloaded file. This maybe as a result of a bad download, in which case you should try again; or the compression format may be unknown, in which case you will need to download and install manually.';
|
||||
$lang['error_findfolder'] = 'Unable to identify extension directory, you need to download and install manually';
|
||||
$lang['error_copy'] = 'There was a file copy error while attempting to install files for directory <em>%s</em>: the disk could be full or file access permissions may be incorrect. This may have resulted in a partially installed plugin and leave your wiki installation unstable';
|
||||
|
|
|
@ -191,6 +191,8 @@
|
|||
#extension__manager div.screenshot img {
|
||||
width: 120px;
|
||||
height: 70px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 2px 2px 2px #ccc;
|
||||
}
|
||||
|
||||
#extension__manager .legend div.screenshot {
|
||||
|
@ -198,6 +200,7 @@
|
|||
margin-left: -132px;
|
||||
max-width: 120px;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
[dir=rtl] #extension__manager .legend div.screenshot {
|
||||
margin-left: 0;
|
||||
|
@ -209,7 +212,8 @@
|
|||
min-height: 24px;
|
||||
min-width: 24px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
}
|
||||
[dir=rtl] #extension__manager .legend div.screenshot span {
|
||||
left: auto;
|
||||
|
|
Loading…
Reference in New Issue