1<?php 2 3use ComboStrap\AdsUtility; 4use ComboStrap\FloatAttribute; 5use ComboStrap\Icon; 6use ComboStrap\Identity; 7use ComboStrap\LazyLoad; 8use ComboStrap\LinkUtility; 9use ComboStrap\LowQualityPage; 10use ComboStrap\MediaLink; 11use ComboStrap\MetadataUtility; 12use ComboStrap\Page; 13use ComboStrap\PluginUtility; 14use ComboStrap\Prism; 15use ComboStrap\Publication; 16use ComboStrap\RasterImageLink; 17use ComboStrap\Shadow; 18use ComboStrap\Site; 19use ComboStrap\SvgDocument; 20use ComboStrap\SvgImageLink; 21use ComboStrap\UrlManagerBestEndPage; 22 23require_once(__DIR__ . '/../../ComboStrap/PluginUtility.php'); 24 25 26/** 27 * @var array 28 */ 29$lang[syntax_plugin_combo_related::MAX_LINKS_CONF] = PluginUtility::getUrl("related", "Related Component") . ' - The maximum of related links shown'; 30$lang[syntax_plugin_combo_related::EXTRA_PATTERN_CONF] = PluginUtility::getUrl("related", "Related Component") . ' - Another pattern'; 31 32/** 33 * Disqus 34 */ 35$lang[syntax_plugin_combo_disqus::CONF_DEFAULT_ATTRIBUTES] = PluginUtility::getUrl("disqus", "Disqus") . ' - The disqus forum short name (ie the disqus website identifier)'; 36 37 38/** 39 * Url Manager 40 */ 41$lang[action_plugin_combo_urlmanager::URL_MANAGER_ENABLE_CONF] = PluginUtility::getUrl("url:manager", action_plugin_combo_urlmanager::NAME ) . ' - If unchecked, the URL manager will be disabled'; 42$lang['ActionReaderFirst'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - First redirection action for a reader'; 43$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.'; 44$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.'; 45$lang['GoToEditMode'] = PluginUtility::getUrl("redirection:action", action_plugin_combo_urlmanager::NAME . " - Redirection Actions") . ' - Switch directly in the edit mode for a writer ?'; 46 47$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'; 48$lang['ShowMessageClassic'] = PluginUtility::getUrl("redirection:message", action_plugin_combo_urlmanager::NAME . " - Redirection Message") . ' - Show classic message when a action is performed ?'; 49$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.'; 50$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.'; 51$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.'; 52 53 54$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)'; 55 56$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)'; 57 58 59/** 60 * Icon 61 */ 62$lang[Icon::CONF_ICONS_MEDIA_NAMESPACE] = PluginUtility::getUrl("icon#configuration", "UI Icon Component") . ' - The media namespace where the downloaded icons will be searched and saved'; 63$lang[Icon::CONF_DEFAULT_ICON_LIBRARY] = PluginUtility::getUrl("icon#configuration", "UI Icon Component") . ' - The default icon library from where the icon is downloaded if not specified'; 64 65/** 66 * Front end Optimization 67 */ 68$lang[action_plugin_combo_css::CONF_ENABLE_MINIMAL_FRONTEND_STYLESHEET] = PluginUtility::getUrl("frontend:optimization", "Frontend Optimization") . ' - If enabled, the DokuWiki Stylesheet for a public user will be minimized'; 69$lang[action_plugin_combo_css::CONF_DISABLE_DOKUWIKI_STYLESHEET] = PluginUtility::getUrl("frontend:optimization", "Frontend Optimization") . ' - If checked, the DokuWiki Stylesheet will not be loaded for a public user'; 70 71/** 72 * Metdataviewer 73 */ 74$lang[MetadataUtility::CONF_METADATA_DEFAULT_ATTRIBUTES] = PluginUtility::getUrl("metadata:viewer", "Metadata Viewer") . ' - The default attributes of the metadata component'; 75$lang[MetadataUtility::CONF_ENABLE_WHEN_EDITING] = PluginUtility::getUrl("metadata:viewer", "Metadata Viewer") . ' - Shows the metadata box when editing a page'; 76 77/** 78 * Badge 79 */ 80$lang[syntax_plugin_combo_badge::CONF_DEFAULT_ATTRIBUTES_KEY] = PluginUtility::getUrl("badge", "Badge") . ' - Defines the default badge attributes'; 81 82/** 83 * Ads 84 */ 85$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'; 86 87/** 88 * Code enabled 89 */ 90$lang[Prism::CONF_PRISM_THEME] = PluginUtility::getUrl("prism", "Prism Component") . ' - The prism theme used for syntax highlighting in the code/file/console component'; 91$lang[Prism::CONF_BATCH_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the batch language'; 92$lang[Prism::CONF_BASH_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the bash language'; 93$lang[Prism::CONF_POWERSHELL_PROMPT] = PluginUtility::getUrl("prism", "Prism Component") . ' - The default prompt for the powershell language'; 94$lang[syntax_plugin_combo_code::CONF_CODE_ENABLE] = PluginUtility::getUrl("code", "Code Component") . ' - Enable or disable the code component'; 95$lang[syntax_plugin_combo_file::CONF_FILE_ENABLE] = PluginUtility::getUrl("file", "File Component") . ' - Enable or disable the file component'; 96 97 98/** 99 * Preformatted mode 100 */ 101$lang[syntax_plugin_combo_preformatted::CONF_PREFORMATTED_ENABLE] = PluginUtility::getUrl("preformatted", "Preformatted Component") . ' - If checked, the default preformatted mode of dokuwiki is enabled'; 102$lang[syntax_plugin_combo_preformatted::CONF_PREFORMATTED_EMPTY_CONTENT_NOT_PRINTED_ENABLE] = PluginUtility::getUrl("preformatted", "Preformatted Component") . ' - If unchecked, a blank line with only two spaces will be printed as an empty block of code'; 103 104/** 105 * Mandatory rules 106 */ 107$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`'; 108$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."; 109$lang[LowQualityPage::CONF_LOW_QUALITY_PAGE_PROTECTION_MODE] = PluginUtility::getUrl("lqpp", "Low quality page protection") . " - Choose the protection mode for low quality page."; 110$lang[LowQualityPage::CONF_LOW_QUALITY_PAGE_LINK_TYPE] = PluginUtility::getUrl("lqpp", "Low quality page protection") . " - Choose the link created to a low quality page."; 111 112/** 113 * Autofrontmatter 114 */ 115$lang[action_plugin_combo_autofrontmatter::CONF_AUTOFRONTMATTER_ENABLE] = PluginUtility::getUrl("frontmatter", "Frontmatter") . " - If enabled, a new page will be created with a frontmatter)"; 116 117/** 118 * Excluded rules 119 */ 120$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.)"; 121$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)"; 122 123/** 124 * Link 125 */ 126$lang[syntax_plugin_combo_link::CONF_DISABLE_LINK] = PluginUtility::getUrl(syntax_plugin_combo_link::TAG, "Link") . " - Disable the ComboStrap link component"; 127$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)"; 128$lang[LinkUtility::CONF_PREVIEW_LINK] = PluginUtility::getUrl(syntax_plugin_combo_link::TAG, "Link") . " - Add a page preview on all internal links when a user is hovering"; 129 130/** 131 * Twitter 132 */ 133$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"; 134$lang[action_plugin_combo_metatwitter::CONF_TWITTER_SITE_HANDLE] = PluginUtility::getUrl("twitter", "Twitter") . " - Your twitter handle name used in a twitter card"; 135$lang[action_plugin_combo_metatwitter::CONF_TWITTER_SITE_ID] = PluginUtility::getUrl("twitter", "Twitter") . " - Your twitter handle id used in a twitter card"; 136$lang[action_plugin_combo_metatwitter::CONF_DONT_NOT_TRACK] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the `do not track` attribute"; 137$lang[syntax_plugin_combo_blockquote::CONF_TWEET_WIDGETS_THEME] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the theme for embedded twitter widget"; 138$lang[syntax_plugin_combo_blockquote::CONF_TWEET_WIDGETS_BORDER] = PluginUtility::getUrl("tweet", "Tweet") . " - Set the border-color for embedded twitter widget"; 139 140/** 141 * Page Image 142 */ 143$lang[Page::CONF_DISABLE_FIRST_IMAGE_AS_PAGE_IMAGE] = PluginUtility::getUrl(syntax_plugin_combo_frontmatter::METADATA_IMAGE_CANONICAL, "Metadata Image") . " - Disable the use of the first image as a page image"; 144 145/** 146 * Default 147 */ 148$lang[action_plugin_combo_metafacebook::CONF_DEFAULT_FACEBOOK_IMAGE] = PluginUtility::getUrl("facebook", "Facebook") . " - The default facebook page image (minimum size 200x200)"; 149 150/** 151 * Country 152 */ 153$lang[Site::CONF_SITE_ISO_COUNTRY] = PluginUtility::getUrl("country", "Country") . " - The default ISO country code for a page"; 154 155/** 156 * Late publication 157 */ 158$lang[Publication::CONF_LATE_PUBLICATION_PROTECTION_ENABLE] = PluginUtility::getUrl(Publication::LATE_PUBLICATION_PROTECTION_ACRONYM, "Late Publication") . " - Page with a published date in the future will be protected from search engine and the public"; 159$lang[Publication::CONF_LATE_PUBLICATION_PROTECTION_MODE] = PluginUtility::getUrl(Publication::LATE_PUBLICATION_PROTECTION_ACRONYM, "Late Publication") . " - The mode of protection for a late published page"; 160 161/** 162 * Default page type 163 */ 164$lang[Page::CONF_DEFAULT_PAGE_TYPE] = PluginUtility::getUrl("type", "The default page type for all pages (expected the home page)"); 165 166/** 167 * Default Shadow level 168 */ 169$lang[Shadow::CONF_DEFAULT_VALUE] = PluginUtility::getUrl(Shadow::CANONICAL, "Shadow - The default level applied to a shadow attributes"); 170 171 172/** 173 * Svg 174 */ 175$lang[SvgImageLink::CONF_LAZY_LOAD_ENABLE] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg - Load a svg only when they become visible"); 176$lang[SvgImageLink::CONF_MAX_KB_SIZE_FOR_INLINE_SVG] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg - The maximum size in Kb of the SVG to be included as markup in the web page"); 177$lang[SvgImageLink::CONF_SVG_INJECTION_ENABLE] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Injection - Replace the image as svg in the HTML when downloaded to be add styling capabilities"); 178$lang[action_plugin_combo_svg::CONF_SVG_UPLOAD_GROUP_NAME] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Security - The name of the group of users that can upload SVG"); 179$lang[SvgDocument::CONF_SVG_OPTIMIZATION_ENABLE] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Optimization - Reduce the size of the SVG by deleting non important meta"); 180$lang[SvgDocument::CONF_OPTIMIZATION_NAMESPACES_TO_KEEP] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Optimization - The namespace prefix to keep"); 181$lang[SvgDocument::CONF_OPTIMIZATION_ATTRIBUTES_TO_DELETE] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Optimization - The attribute deleted during optimization"); 182$lang[SvgDocument::CONF_OPTIMIZATION_ELEMENTS_TO_DELETE_IF_EMPTY] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Optimization - The element deleted if empty"); 183$lang[SvgDocument::CONF_OPTIMIZATION_ELEMENTS_TO_DELETE] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg Optimization - The element always deleted"); 184$lang[SvgDocument::CONF_PRESERVE_ASPECT_RATIO_DEFAULT] = PluginUtility::getUrl(SvgImageLink::CANONICAL, "Svg - Default value for the preserveAspectRatio attribute"); 185 186 187/** 188 * Lazy load image 189 */ 190$lang[RasterImageLink::CONF_LAZY_LOADING_ENABLE] = PluginUtility::getUrl(RasterImageLink::CANONICAL, "Raster Image - Load the raster image only when they become visible"); 191$lang[RasterImageLink::CONF_RETINA_SUPPORT_ENABLED] = PluginUtility::getUrl(RasterImageLink::CANONICAL, "Raster Image - Retina Support: If checked, the images downloaded will match the display capabilities (the size DPI correction will not be applied)"); 192$lang[RasterImageLink::CONF_RESPONSIVE_IMAGE_MARGIN] = PluginUtility::getUrl(RasterImageLink::CANONICAL, "Raster Image - Responsive image sizing: The image margin applied to screen size"); 193 194/** 195 * Lazy loading 196 */ 197$lang[LazyLoad::CONF_LAZY_LOADING_PLACEHOLDER_COLOR] = PluginUtility::getUrl(LazyLoad::CANONICAL, "Lazy Loading - The placeholder background color"); 198 199/** 200 * Image 201 */ 202$lang[syntax_plugin_combo_media::CONF_IMAGE_ENABLE] = PluginUtility::getUrl(MediaLink::CANONICAL, "Image - If unchecked, the image component will be disabled"); 203$lang[MediaLink::CONF_DEFAULT_LINKING] = PluginUtility::getUrl(MediaLink::CANONICAL, "Image - The default link option from an internal image."); 204 205/** 206 * Float 207 */ 208$lang[FloatAttribute::CONF_FLOAT_DEFAULT_BREAKPOINT] = PluginUtility::getUrl(FloatAttribute::CANONICAL, "Float - The default breakpoint that applies to floated value (left, right, none)"); 209 210/** 211 * Outline 212 */ 213$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_ENABLE] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - if checked, outline numbering will be applied"); 214$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_STYLE_LEVEL2] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The counter style for the level 2"); 215$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_STYLE_LEVEL3] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The counter style for the level 3"); 216$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_STYLE_LEVEL4] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The counter style for the level 4"); 217$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_STYLE_LEVEL5] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The counter style for the level 5"); 218$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_STYLE_LEVEL6] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The counter style for the level 6"); 219$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_COUNTER_SEPARATOR] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The separator between counters"); 220$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_PREFIX] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The prefix of the outline numbering"); 221$lang[action_plugin_combo_outlinenumbering::CONF_OUTLINE_NUMBERING_SUFFIX] = PluginUtility::getUrl(action_plugin_combo_outlinenumbering::CANONICAL, "Outline - The suffix of the outline numbering"); 222 223 224/** 225 * Identity 226 */ 227$lang[Identity::CONF_ENABLE_LOGO_ON_IDENTITY_FORMS] = PluginUtility::getUrl(Identity::CANONICAL, "If checked, the logo is shown on the identity forms (login, register, resend)"); 228$lang[action_plugin_combo_login::CONF_ENABLE_LOGIN_FORM] = PluginUtility::getUrl(Identity::CANONICAL, "If checked, the login form will be styled by Combo"); 229$lang[action_plugin_combo_registration::CONF_ENABLE_REGISTER_FORM] = PluginUtility::getUrl(Identity::CANONICAL, "If enable, the register form will be styled by Combo"); 230$lang[action_plugin_combo_resend::CONF_ENABLE_RESEND_PWD_FORM] = PluginUtility::getUrl(Identity::CANONICAL, "If enable, the resend form will be styled by Combo"); 231$lang[action_plugin_combo_profile::CONF_ENABLE_PROFILE_UPDATE_FORM] = PluginUtility::getUrl(Identity::CANONICAL, "If enable, the profile update form will be styled by Combo"); 232$lang[action_plugin_combo_profile::CONF_ENABLE_PROFILE_DELETE_FORM] = PluginUtility::getUrl(Identity::CANONICAL, "If enable, the profile delete form will be styled by Combo"); 233 234/** 235 * Comment 236 */ 237$lang[syntax_plugin_combo_comment::CONF_OUTPUT_COMMENT] = PluginUtility::getUrl(syntax_plugin_combo_comment::CANONICAL, "If enable, the comments will be present in the created page as comment (ie not visible but present)"); 238 239?> 240