From 1f01f37d4b7e80b30d8f5d8f9479080353352fe8 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 25 Aug 2005 01:22:55 +0200 Subject: plugin manager, an admin plugin darcs-hash:20050824232255-50fdc-b5eb608833470cea87d457e029f530b916431b61.gz --- lib/plugins/plugin/lang/en/admin_plugin.txt | 7 ++++ lib/plugins/plugin/lang/en/lang.php | 58 +++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 lib/plugins/plugin/lang/en/admin_plugin.txt create mode 100644 lib/plugins/plugin/lang/en/lang.php (limited to 'lib/plugins/plugin/lang') diff --git a/lib/plugins/plugin/lang/en/admin_plugin.txt b/lib/plugins/plugin/lang/en/admin_plugin.txt new file mode 100644 index 000000000..45a93ca45 --- /dev/null +++ b/lib/plugins/plugin/lang/en/admin_plugin.txt @@ -0,0 +1,7 @@ +====== Plugin Management ====== + +On this page you can manage everything to do with Dokuwiki [[doku>wiki:plugins|plugins]]. +To be able to download and install a plugin your plugin folder must +be writeable by the webserver. + + diff --git a/lib/plugins/plugin/lang/en/lang.php b/lib/plugins/plugin/lang/en/lang.php new file mode 100644 index 000000000..fb9934688 --- /dev/null +++ b/lib/plugins/plugin/lang/en/lang.php @@ -0,0 +1,58 @@ + + */ + +// settings must be present and set appropriately for the language +$lang['encoding'] = 'utf-8'; +$lang['direction'] = 'ltr'; + +// for admin plugins, the menu prompt to be displayed in the admin menu +// if set here, the plugin doesn't need to override the getMenuText() method +$lang['menu'] = 'Manage Plugins...'; + +// custom language strings for the plugin +$lang['refresh'] = "Refresh list of installed plugins"; +$lang['refresh_x'] = "Use this option if you have altered any of your plugins manually"; +$lang['download'] = "Download and install a new plugin"; +$lang['manage'] = "Installed Plugins"; +$lang['btn_info'] = 'info'; +$lang['btn_update'] = 'update'; +$lang['btn_delete'] = 'delete'; +$lang['btn_settings'] = 'settings'; +$lang['btn_refresh'] = 'Refresh'; +$lang['btn_download'] = 'Download'; +$lang['url'] = 'URL'; +//$lang[''] = ''; + +$lang['installed'] = 'Installed:'; +$lang['lastupdate'] = 'Last updated:'; +$lang['source'] = 'Source:'; +$lang['unknown'] = 'unknown'; + +// ..ing = header message +// ..ed = success message + +$lang['refreshing'] = 'Refreshing ...'; +$lang['refreshed'] = 'Plugin refresh completed.'; + +$lang['updating'] = 'Updating ...'; +$lang['updated'] = 'Plugin %s updated successfully'; + +$lang['downloading'] = 'Downloading ...'; +$lang['downloaded'] = 'Plugin %s installed successfully'; +$lang['downloads'] = 'The following plugins have been installed successfully:'; +$lang['download_none'] = 'No plugins found, or there has been an unknown problem during downloading and installing.'; + +// error messages +$lang['error_download'] = 'Unable to download the plugin file: %s'; +$lang['error_write'] = 'Unable to write create aggregate file %s'; +$lang['error_badurl'] = 'Suspect bad url - unable to determine file name from the url'; +$lang['error_dircreate'] = 'Unable to create temporary folder to receive download'; +//$lang['error_'] = ''; + + +//Setup VIM: ex: et ts=2 enc=utf-8 : -- cgit v1.2.3