1<?php 2 3use ComboStrap\AdsUtility; 4use ComboStrap\IconUtility; 5use ComboStrap\LinkUtility; 6use ComboStrap\MetadataUtility; 7use ComboStrap\Page; 8use ComboStrap\PageProtection; 9use ComboStrap\PluginUtility; 10use ComboStrap\Prism; 11use ComboStrap\LowQualityPage; 12use ComboStrap\Publication; 13use ComboStrap\Site; 14use ComboStrap\UrlManagerBestEndPage; 15 16require_once(__DIR__ . '/../../class/PluginUtility.php'); 17require_once(__DIR__ . '/../../class/UrlManagerBestEndPage.php'); 18require_once(__DIR__ . '/../../class/MetadataUtility.php'); 19 20/** 21 * @var array 22 */ 23$lang[syntax_plugin_combo_related::MAX_LINKS_CONF] = PluginUtility::getUrl("related", "Related Component") . ' - The maximum of related links shown'; 24$lang[syntax_plugin_combo_related::EXTRA_PATTERN_CONF] = PluginUtility::getUrl("related", "Related Component") . ' - Another pattern'; 25 26/** 27 * Disqus 28 */ 29$lang[syntax_plugin_combo_disqus::CONF_DEFAULT_ATTRIBUTES] = PluginUtility::getUrl("disqus", "Disqus") . ' - The disqus forum short name (ie the disqus website identifier)'; 30 31 32/** 33 * Url Manager 34 */ 35$lang['ActionReaderFirst'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - First redirection action for a reader'; 36$lang['ActionReaderSecond'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - Second redirection action for a reader if the first action don\'t success.'; 37$lang['ActionReaderThird'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - Third redirection action for a reader if the second action don\'t success.'; 38$lang['GoToEditMode'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - Switch directly in the edit mode for a writer ?'; 39 40$lang['ShowPageNameIsNotUnique'] = PluginUtility::getUrl("redirection:message", action_plugin_combo_urlmanager::NAME . " - Redirection Message") . ' - When redirected to the edit mode, show a message when the page name is not unique'; 41$lang['ShowMessageClassic'] = PluginUtility::getUrl("redirection:message", action_plugin_combo_urlmanager::NAME . " - Redirection Message") . ' - Show classic message when a action is performed ?'; 42$lang['WeightFactorForSamePageName'] = PluginUtility::getUrl("best:page:name", action_plugin_combo_urlmanager::NAME . " - Best Page Name") . ' - Weight factor for same page name to calculate the score for the best page.'; 43$lang['WeightFactorForStartPage'] = PluginUtility::getUrl("best:page:name", action_plugin_combo_urlmanager::NAME . " - Best Page Name") . ' - Weight factor for same start page to calculate the score for the best page.'; 44$lang['WeightFactorForSameNamespace'] = PluginUtility::getUrl("best:page:name", action_plugin_combo_urlmanager::NAME . " - Best Page Name") . ' - Weight factor for same namespace to calculate the score for the best page.'; 45 46 47$lang[action_plugin_combo_metacanonical::CANONICAL_LAST_NAMES_COUNT_CONF] = PluginUtility::getUrl("automatic:canonical", action_plugin_combo_urlmanager::NAME . ' - Automatic Canonical') . ' - The number of last part of a DokuWiki Id to create a ' . PluginUtility::getUrl("canonical", "canonical") . ' (0 to disable)'; 48 49$lang[UrlManagerBestEndPage::CONF_MINIMAL_SCORE_FOR_REDIRECT] = PluginUtility::getUrl("best:end:page:name", action_plugin_combo_urlmanager::NAME . ' - Best End Page Name') . ' - The number of last part of a DokuWiki Id to perform a ' . PluginUtility::getUrl("id:redirect", "ID redirect") . ' (0 to disable)'; 50 51 52$lang[IconUtility::CONF_ICONS_MEDIA_NAMESPACE] = PluginUtility::getUrl("icon#configuration", "UI Icon Component") . ' - The media namespace where the downloaded icons will be searched and saved'; 53 54/** 55 * Css Optimization 56 */ 57$lang[action_plugin_combo_css::CONF_ENABLE_MINIMAL_FRONTEND_STYLESHEET] = PluginUtility::getUrl("css:optimization", "Css Optimization") . ' - If enabled, the DokuWiki Stylesheet for a public user will be minimized'; 58$lang[action_plugin_combo_css::CONF_DISABLE_DOKUWIKI_STYLESHEET] = PluginUtility::getUrl("css:optimization", "Css Optimization") . ' - If disabled, the DokuWiki Stylesheet will not be loaded for a public user'; 59 60/** 61 * Metdataviewer 62 */ 63$lang[MetadataUtility::CONF_METADATA_DEFAULT_ATTRIBUTES] = PluginUtility::getUrl("metadata:viewer", "Metadata Viewer") . ' - The default attributes of the metadata component'; 64$lang[MetadataUtility::CONF_ENABLE_WHEN_EDITING] = PluginUtility::getUrl("metadata:viewer", "Metadata Viewer") . ' - Shows the metadata box when editing a page'; 65 66/** 67 * Badge 68 */ 69$lang[syntax_plugin_combo_badge::CONF_DEFAULT_ATTRIBUTES_KEY] = PluginUtility::getUrl("badge", "Badge") . ' - Defines the default badge attributes'; 70 71/** 72 * Ads 73 */ 74$lang[AdsUtility::CONF_IN_ARTICLE_PLACEHOLDER] = PluginUtility::getUrl("automatic:in-article:ad", "Automatic In-article Ad") . ' - Show a placeholder if the in-article ad page was not found'; 75 76/** 77 * Code enabled 78 */ 79$lang[Prism::CONF_PRISM_THEME] = PluginUtility::getUrl("prism", "Prism Component") . ' - The prism theme used for syntax highlighting in the code/file/console component'; 80$lang[Prism::CONF_BATCH_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the batch language'; 81$lang[Prism::CONF_BASH_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the bash language'; 82$lang[Prism::CONF_POWERSHELL_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the powershell language'; 83$lang[syntax_plugin_combo_code::CONF_CODE_ENABLE] = PluginUtility::getUrl("code", "Code Component") . ' - Enable or disable the code component'; 84$lang[syntax_plugin_combo_file::CONF_FILE_ENABLE] = PluginUtility::getUrl("file", "File Component") . ' - Enable or disable the file component'; 85 86 87/** 88 * Preformatted mode 89 */ 90$lang[syntax_plugin_combo_preformatted::CONF_PREFORMATTED_ENABLE] = PluginUtility::getUrl("preformatted", "Preformatted Component") . ' - If checked, the default preformatted mode of dokuwiki is enabled'; 91 92/** 93 * Mandatory rules 94 */ 95$lang[renderer_plugin_combo_analytics::CONF_MANDATORY_QUALITY_RULES] = PluginUtility::getUrl("low_quality_page", "Mandatory Quality rules") . ' - The mandatory quality rules are the rules that should pass to consider the quality of a page as not `low`'; 96$lang[LowQualityPage::CONF_LOW_QUALITY_PAGE_PROTECTION_ENABLE] = PluginUtility::getUrl("lqpp", "Low quality page protection") . " - If enabled, a low quality page will no more be discoverable by search engine or anonymous user."; 97$lang[PageProtection::CONF_PAGE_PROTECTION_MODE] = PluginUtility::getUrl("page:protection", "Page protection mode") . " - Choose the protection mode for low quality page and late publication. Hidden (but still accessible) vs Acl (User should log in)"; 98 99/** 100 * Autofrontmatter 101 */ 102$lang[action_plugin_combo_autofrontmatter::CONF_AUTOFRONTMATTER_ENABLE] = PluginUtility::getUrl("frontmatter", "Frontmatter") . " - If enabled, a new page will be created with a frontmatter)"; 103 104/** 105 * Excluded rules 106 */ 107$lang[action_plugin_combo_qualitymessage::CONF_EXCLUDED_QUALITY_RULES_FROM_DYNAMIC_MONITORING] = PluginUtility::getUrl("quality:dynamic_monitoring", "Quality Dynamic Monitoring") . " - If chosen, the quality rules will not be monitored.)"; 108$lang[action_plugin_combo_qualitymessage::CONF_DISABLE_QUALITY_MONITORING] = PluginUtility::getUrl("quality:dynamic_monitoring", "Quality Dynamic Monitoring") . " - Disable the Quality Dynamic Monitoring feature (the quality message will not appear anymore)"; 109/** 110 * Dokuwiki Class Name 111 */ 112$lang[LinkUtility::CONF_USE_DOKUWIKI_CLASS_NAME] = PluginUtility::getUrl(syntax_plugin_combo_link::TAG, "Link") . " - Use the Dokuwiki class type for links (Bootstrap conflict if enabled)"; 113 114/** 115 * Twitter 116 */ 117$lang[action_plugin_combo_metatwitter::CONF_DEFAULT_TWITTER_IMAGE] = PluginUtility::getUrl("twitter", "Twitter") . " - The media id (path) to the logo shown in a twitter card"; 118$lang[action_plugin_combo_metatwitter::CONF_TWITTER_SITE_HANDLE] = PluginUtility::getUrl("twitter", "Twitter") . " - Your twitter handle name used in a twitter card"; 119$lang[action_plugin_combo_metatwitter::CONF_TWITTER_SITE_ID] = PluginUtility::getUrl("twitter", "Twitter") . " - Your twitter handle id used in a twitter card"; 120$lang[action_plugin_combo_metatwitter::CONF_DONT_NOT_TRACK] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the `do not track` attribute"; 121$lang[syntax_plugin_combo_blockquote::CONF_TWEET_WIDGETS_THEME] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the theme for embedded twitter widget"; 122$lang[syntax_plugin_combo_blockquote::CONF_TWEET_WIDGETS_BORDER] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the border-color for embedded twitter widget"; 123 124/** 125 * Page Image 126 */ 127$lang[Page::CONF_DISABLE_FIRST_IMAGE_AS_PAGE_IMAGE] = PluginUtility::getUrl("page:image", "Page Image") . " - Disable the use of the first image as a page image"; 128 129/** 130 * Default 131 */ 132$lang[action_plugin_combo_metafacebook::CONF_DEFAULT_FACEBOOK_IMAGE] = PluginUtility::getUrl("facebook", "Facebook") . " - The default facebook page image (minimum size 200x200)"; 133 134/** 135 * Country 136 */ 137$lang[Site::CONF_SITE_ISO_COUNTRY] = PluginUtility::getUrl("country", "Country") . " - The default ISO country code for a page"; 138 139/** 140 * Late publication 141 */ 142$lang[Publication::CONF_LATE_PUBLICATION_PROTECTION_ENABLE] = PluginUtility::getUrl("published", "Late Publication") . " - Page with a published date in the future will be protected from search engine and the public"; 143 144/** 145 * Default page type 146 */ 147$lang[Page::CONF_DEFAULT_PAGE_TYPE] = PluginUtility::getUrl("type", "The default page type for all pages (expected the home page)") 148 149?> 150