diff options
Diffstat (limited to 'platform/www/lib/plugins/farmer/lang/en')
14 files changed, 263 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/farmer/lang/en/lang.php b/platform/www/lib/plugins/farmer/lang/en/lang.php new file mode 100644 index 0000000..da49836 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/lang.php @@ -0,0 +1,128 @@ +<?php +/** + * English language file for farmer plugin + * + * @author Michael Große <grosse@cosmocode.de> + * @author Andreas Gohr <gohr@cosmocode.de> + */ + +// menu entry for admin plugins +$lang['menu'] = 'Farming'; + +// tabs +$lang['tab_setup'] = 'Farm Setup'; +$lang['tab_info'] = 'Info'; +$lang['tab_config'] = 'Configuration'; +$lang['tab_plugins'] = 'Manage Plugins'; +$lang['tab_new'] = 'Add new Animal'; +$lang['tab_delete'] = 'Delete Animal'; + +// setup +$lang['preloadPHPForm'] = 'Initialize Farming'; +$lang['farm dir'] = 'Animal directory'; +$lang['htaccess setup'] = 'Add farm code to .htaccess?'; +$lang['submit'] = 'Submit'; +$lang['farmdir_missing'] = 'Please enter a directory where the Animals should be stored.'; +$lang['farmdir_in_dokuwiki'] = 'The Animal directory (%s) must be outside of the Farm dokuwiki (%s).'; +$lang['farmdir_uncreatable'] = 'The Animal directory (%s) could not be created. Are the permissions correct?'; +$lang['farmdir_unwritable'] = 'Please make sure that the webserver has write access in the Animal directory (%s)!'; +$lang['farmdir_notEmpty'] = 'The Animal directory (%s) must be empty.'; +$lang['preload creation success'] = 'Farming has been succesfully initialized.'; +$lang['preload creation error'] = 'There was an error during Farming initialization.'; +$lang['overwrite_preload'] = 'Warning: Your existing inc/preload.php will be overwritten when continuing here!'; + +// info +$lang['animal'] = 'Animal Name / Domain'; +$lang['thisis'] = 'Instance is'; +$lang['thisis.farmer'] = 'The farmer!'; +$lang['thisis.animal'] = 'An Animal!'; +$lang['baseinstall'] = 'Farmer Install'; +$lang['animals'] = 'Animals'; +$lang['confdir'] = 'Instance Configuration Directory'; +$lang['savedir'] = 'Instance Data Directory'; +$lang['plugins'] = 'Plugins active in this instance'; + +// config +$lang['base'] = 'Base Configuration'; +$lang['farm host'] = 'Farmer Host Name'; +$lang['base domain'] = 'Base Domain for subdomain Animals'; +$lang['conf_inherit'] = 'Farmer Settings Animals should inherit'; +$lang['conf_inherit_main'] = 'Configuration Settings'; +$lang['conf_inherit_acronyms'] = 'Acronym Definitions'; +$lang['conf_inherit_entities'] = 'Entity Definitions'; +$lang['conf_inherit_interwiki'] = 'Interwiki Definitions'; +$lang['conf_inherit_license'] = 'License Definitions'; +$lang['conf_inherit_mime'] = 'MIME Type Definitions'; +$lang['conf_inherit_scheme'] = 'URL Scheme Definitions'; +$lang['conf_inherit_smileys'] = 'Smiley Definitions'; +$lang['conf_inherit_wordblock'] = 'Spam Blacklist Entries'; +$lang['conf_inherit_userstyle'] = 'User Styles'; +$lang['conf_inherit_userscript'] = 'User Scripts'; +$lang['conf_inherit_styleini'] = 'Template style customizations'; +$lang['conf_inherit_users'] = 'Users (Plain Auth only)'; +$lang['conf_inherit_plugins'] = 'Plugin State'; +$lang['conf_inherit_yes'] = 'inherited from farmer'; +$lang['conf_inherit_no'] = 'independent from farmer'; +$lang['conf_notfound'] = 'Behavior on accessing nonexistent Animals'; +$lang['conf_notfound_farmer'] = 'Show the farmer wiki'; +$lang['conf_notfound_404'] = 'Show a 404 error page'; +$lang['conf_notfound_list'] = 'Show a list of available animals'; +$lang['conf_notfound_redirect'] = 'Redirect to the URL below'; +$lang['conf_notfound_url'] = 'URL to redirect to if selected above'; +$lang['save'] = 'Save'; + +// new +$lang['animal template'] = 'Copy existing Animal'; +$lang['animal creation success'] = 'The Animal "%s" has been successfully created.'; +$lang['animal creation error'] = 'There was an error while creating the Animal.'; +$lang['animal configuration'] = 'Basic Animal configuration'; +$lang['inherit user registration'] = 'Inherit user registration setting from farmer'; +$lang['enable user registration'] = 'Allow users to register themselves'; +$lang['disable user registration'] = 'Disable user register'; +$lang['animal administrator'] = 'Animal administrator'; +$lang['noUsers'] = 'Do not create any users'; +$lang['importUsers'] = 'Import all users of the Farmer to the new Animal'; +$lang['currentAdmin'] = 'Set the current user as admin'; +$lang['newAdmin'] = 'Create new admin user "admin"'; +$lang['admin password'] = 'Password for the new admin'; +$lang['animalname_missing'] = 'Please enter a name for the new Animal.'; +$lang['animalname_invalid'] = 'The Animal name may only contain alphanumeric characters and dots/hyphens (but not as first or last character).'; +$lang['animalname_preexisting'] = 'An Animal with that name already exists.'; +$lang['adminPassword_empty'] = 'The password for the new admin account must not be empty.'; +$lang['animal template copy error'] = 'There was a problem copying %s from the existing Animal to the new one.'; +$lang['aclpolicy missing/bad'] = 'Please choose an initial ACL policy from the dropdown.'; + +// plugins +$lang['bulkSingleSwitcher'] = 'Edit a single Animal or all at once?'; +$lang['bulkEdit'] = 'Bulk edit all Animals'; +$lang['singleEdit'] = 'Edit a single Animal'; +$lang['bulkEditForm'] = 'Activate or deactivate a plugin in all Animals'; +$lang['matrixEdit'] = 'Edit Animal/Plugin matrix'; +$lang['default'] = 'Set to default'; +$lang['activate'] = 'Activate'; +$lang['deactivate'] = 'Deactivate'; +$lang['singleEditForm'] = 'Edit the plugins of a specific Animal'; +$lang['plugindone'] = 'Plugin states updated'; +$lang['plugin'] = 'Plugin'; +$lang['plugin_on'] = 'on'; +$lang['plugin_off'] = 'off'; +$lang['plugin_default'] = 'Default'; +$lang['plugin_enabled'] = 'Enabled'; +$lang['plugin_disabled'] = 'Disabled'; +$lang['js']['animalSelect'] = 'Select an animal'; +$lang['js']['pluginSelect'] = 'Select a plugin'; +$lang['disable_new_plugins'] = 'The plugin has been disabled by default. You can enable it here or in specific animals only.'; + + +// delete +$lang['delete_animal'] = 'Select Animal to delete'; +$lang['delete_confirm'] = 'Please type the Animal name to confirm'; +$lang['delete'] = 'Delete the Animal and all its data'; + +$lang['delete_noanimal'] = 'Please select an Animal to delete'; +$lang['delete_mismatch'] = 'Confirmation does not match Animal name. Not deleted.'; +$lang['delete_invalid'] = 'Invalid Animal name. Not deleted.'; +$lang['delete_success'] = 'Animal successfully deleted.'; +$lang['delete_fail'] = 'Some files could not be deleted, you should clean up manuallly.'; + +//Setup VIM: ex: et ts=4 : diff --git a/platform/www/lib/plugins/farmer/lang/en/notfound_404.txt b/platform/www/lib/plugins/farmer/lang/en/notfound_404.txt new file mode 100644 index 0000000..b023e79 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/notfound_404.txt @@ -0,0 +1,3 @@ +====== 404 Not Found ====== + +The requested resource could not be found. diff --git a/platform/www/lib/plugins/farmer/lang/en/notfound_list.txt b/platform/www/lib/plugins/farmer/lang/en/notfound_list.txt new file mode 100644 index 0000000..9e4633a --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/notfound_list.txt @@ -0,0 +1,3 @@ +====== Wiki Not Found ====== + +The requested Wiki could not be found. Please refer to the list of available Wikis below. diff --git a/platform/www/lib/plugins/farmer/lang/en/settings.php b/platform/www/lib/plugins/farmer/lang/en/settings.php new file mode 100644 index 0000000..0e854ac --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/settings.php @@ -0,0 +1,13 @@ +<?php +/** + * english language file for farmer plugin + * + * @author Michael Große <grosse@cosmocode.de> + */ + +// keys need to match the config setting name +$lang['deactivated plugins'] = 'Comma-separated list of plugins which are deactivated by default in new animals.'; +$lang['disable_new_plugins'] = 'Automatically disable plugins after they have been newly installed in the farmer? (only when installed via extension manager)'; + + +//Setup VIM: ex: et ts=4 : diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_config.txt b/platform/www/lib/plugins/farmer/lang/en/tab_config.txt new file mode 100644 index 0000000..cedf536 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_config.txt @@ -0,0 +1 @@ +Here the basic behavior of the farm is configured. Please be aware that changing options here will affect all animals. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_config_help.txt b/platform/www/lib/plugins/farmer/lang/en/tab_config_help.txt new file mode 100644 index 0000000..0ebf7c2 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_config_help.txt @@ -0,0 +1,26 @@ +===== Farm Configuration ===== + +All settings made here are saved to the Farmer's ''conf/farm.ini''. + +==== Base Configuration ==== + +The **Farmer's host name** was set automatically during the setup, but you can change it here. It +will be used to detect if a request was made directly to the Farmer when using host based farms. This +should be a full qualified hostname (''foo.example.com'' instead of just ''foo''). + +When using a subdomain wildcard setup you should specify the main domain in the **Base Domain** setting. +Eg. if you specify ''example.com'' it is assumed an animal named ''foo'' is reachable via ''foo.example.com''. +The base domain is only appended to animal names not containing any dots. + +==== Inheritence ==== + +Here you can specify what configuration settings made in the farmer should be used as defaults in the animals. +Animals can still override the Farmer settings in their own configuration files. When inheritance is disabled, +DokuWiki's default settings are the defaults for all animals as well. + +==== Non Existing Animals ==== + +By default, when accessing a non-existing animal no error message is shown. You can pick between different +behavior here. Be sure that your Farmer's host name is set up correctly above, before switching away from the +default. + diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_delete.txt b/platform/www/lib/plugins/farmer/lang/en/tab_delete.txt new file mode 100644 index 0000000..cd7f67c --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_delete.txt @@ -0,0 +1 @@ +You can delete existing animals here. This deletes **all data, including pages and media files** of the selected animal. **This is irreversible!** diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_info.txt b/platform/www/lib/plugins/farmer/lang/en/tab_info.txt new file mode 100644 index 0000000..f3d7a83 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_info.txt @@ -0,0 +1 @@ +This wiki is part of a farm setup. Check the details below. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_new.txt b/platform/www/lib/plugins/farmer/lang/en/tab_new.txt new file mode 100644 index 0000000..ffe899c --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_new.txt @@ -0,0 +1 @@ +You can create a new animal here. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_new_help.txt b/platform/www/lib/plugins/farmer/lang/en/tab_new_help.txt new file mode 100644 index 0000000..0445e82 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_new_help.txt @@ -0,0 +1,31 @@ +===== Animal Creation ===== + +Animals are the independent subwikis of a Dokuwiki farm. To create a new animal a name has to be assigned. + +==== Animal Names ==== + +For .htaccess based setups this should be a single word. For domain based setups you should provide either a full qualified domain name. +If you use a wildcard subdomain setup you can also just provide the hostname part if you set a base domain in the configuration. + +Examples: + + * .htaccess based: ''foo'' for an animal accessible at ''%%http://example.org/dokuwiki/!foo/%%'' + * domain based: ''%%www.foo.com%%'' for an animal accessible at ''%%http://www.foo.com/%%'' + * sub domain based: ''foo'' for an animal accessible at ''%%http://foo.example.com/%%'' + +The latter two require the appropriate DNS setup! + +==== Copy Animal ==== + +You can select an existing animal to base the new one on. All configuration, page, media and meta data will be copied +to the new animal. Page and media revisions will not be copied. + +The title and logo image will be overwritten to make sure you can distinguish the new from the old wiki. + +==== Animal Administrator ==== + +The Animal will be a fully functional wiki with it's own user base. You will need at least one administrative user +to configure it. You can copy your current user or all users from the farmer or create a completely new user for the Animal. + +You can choose to not create any users. This should only be chosen when inheriting users from the Farmer was enabled in the +configuration tab or you copied a different animal with existing users. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_plugins.txt b/platform/www/lib/plugins/farmer/lang/en/tab_plugins.txt new file mode 100644 index 0000000..78e8021 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_plugins.txt @@ -0,0 +1 @@ +You can activate or deactivate either a plugin for all animals in a single bulk operation or you can edit the plugins of a specific animal. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_plugins_help.txt b/platform/www/lib/plugins/farmer/lang/en/tab_plugins_help.txt new file mode 100644 index 0000000..44af5fc --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_plugins_help.txt @@ -0,0 +1,16 @@ +===== Plugin Management ===== + +The extension manager is disabled in all Animals. Plugins can only be installed in the Farmer and only the Farmer +may control what plugins are enabled or disabled in all Animals. This is done through this interface. + +A plugin can have three states in an Animal. It can be enabled (on) or disabled (off), or it can have the default state. The +default means that the state of a Plugin was not explicitly set for an Animal. Normally the default state is on. + +When Animals are configured to inherit the Plugin state of the Farmer, a plugin in default state will have the same +state as in the Farmer. Eg. when you disable a plugin in the Farmer it will disable the plugin for all Animals which +did not have the state of this plugin explicitly set. + +There are three ways to manage plugins: You can either pick a single plugin and set its state to the same value in all animals +or you can pick a specific animal and configure all the plugin states within that animal only. The third option allows you to +see and edit the state of all plugins in all animals at once. This option may not be feasible of you have a large amount +of animals. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_setup.txt b/platform/www/lib/plugins/farmer/lang/en/tab_setup.txt new file mode 100644 index 0000000..19ae730 --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_setup.txt @@ -0,0 +1 @@ +Your Wiki is not set up as a farm managed by the Farmer Plugin, yet. Please use the wizard below to enable farming. diff --git a/platform/www/lib/plugins/farmer/lang/en/tab_setup_help.txt b/platform/www/lib/plugins/farmer/lang/en/tab_setup_help.txt new file mode 100644 index 0000000..f81532f --- /dev/null +++ b/platform/www/lib/plugins/farmer/lang/en/tab_setup_help.txt @@ -0,0 +1,37 @@ +===== About Farms ===== + +Farms allow you to have a single DokuWiki installation (The "Farmer") that powers an arbitrary number of +other wikis (The "Animals"). You install plugins and templates in the Farmer only and then make them available +through to the animals. You only need to keep one wiki uptodate and all other wikis just use the same code base. + +After completing this setup step your current DokuWiki (the one you're looking at) will be known as the "Farmer". + +===== What does this Setup do? ===== + +This setup wizard will do three things: + + - create a ''inc/preload.php'' file + - create a ''conf/farm.ini'' file + - optionally append to the ''.htaccess'' file + +The ''preload.php'' is a file that is loaded at the very beginning of loading DokuWiki. Here the farm mechanism is +inititialized. The Farmer plugin will detect if the current request should access an Animal or the Farmer and +reconfigure everything accordingly. + +The ''conf/farm.ini'' contains the basic configuration of the farm setup. Most importantly it will contain the +location where all the animal's data will be stored. + +The ''.htaccess'' modification makes animals accessible through the //bang!// mechanism. (See below) + +===== What to fill in? ===== + +The **Animal Directory** is where a new directory is created for each Animal you create. This directory has to be +outside your current DokuWiki. You can specify a relative directory like ''../animals''. + +Enabling the **.htaccess** support is recommended. This feature requires Apache with mod_rewrite and .htaccess support. + +When enabled, your animals will be accessible under the farmer's URL using the //bang!// mechanism. Eg. if your farmer is +running at ''%%http://www.example.com/dokuwiki/%%'', an animal will be accessible at +''%%http://www.example.com/dokuwiki/!animal%%''. + +If you do not enable this, you will have to configure your Webserver and DNS to access the animals. |