Changeset 3204496
- Timestamp:
- 12/08/2024 08:34:44 PM (16 months ago)
- Location:
- oowcode-custom-menu-shortcode/trunk
- Files:
-
- 7 edited
-
includes/class-oowcode-custom-menu-shortcode.php (modified) (2 diffs)
-
languages/oowcode-custom-menu-shortcode-en_US.l10n.php (modified) (1 diff)
-
languages/oowcode-custom-menu-shortcode-en_US.mo (modified) (previous)
-
languages/oowcode-custom-menu-shortcode-en_US.po (modified) (4 diffs)
-
languages/oowcode-custom-menu-shortcode.pot (modified) (4 diffs)
-
oowcode-shortcode-menu.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oowcode-custom-menu-shortcode/trunk/includes/class-oowcode-custom-menu-shortcode.php
r3202733 r3204496 78 78 <h1 class="oowcode-header-h1"><?php echo esc_html__('OOWCODE Custom Menu Shortcode', 'oowcode-custom-menu-shortcode'); ?></h1> 79 79 <p class="oowcode-admin-description"> 80 <?php echo esc_html__('Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this tool to display WordPress menus in custom formats with simple shortcodes. No complex settings—just insert the shortcode where you want the menu to appear!', 'oowcode-custom-menu-shortcode'); ?>81 </p> 82 80 <?php echo esc_html__('Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool to display and customize WordPress menus with ease using simple shortcodes.', 'oowcode-custom-menu-shortcode'); ?> 81 </p> 82 83 83 <h2><?php echo esc_html__('Shortcode Usage Guide', 'oowcode-custom-menu-shortcode'); ?></h2> 84 84 <p> 85 <?php echo esc_html__('To use the shortcode, simplyadd the following to your post, page, or widget:', 'oowcode-custom-menu-shortcode'); ?>85 <?php echo esc_html__('To use the shortcode, add the following to your post, page, or widget:', 'oowcode-custom-menu-shortcode'); ?> 86 86 </p> 87 87 <code>[oowcode_custom_menu name="your-menu-slug"]</code> 88 88 89 <h3><?php echo esc_html__('Available Parameters:', 'oowcode-custom-menu-shortcode'); ?></h3>89 <h3><?php echo esc_html__('Available Attributes:', 'oowcode-custom-menu-shortcode'); ?></h3> 90 90 <ul> 91 <li><strong><?php echo esc_html__('name (required):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('The slug or name of the menu you want to display.', 'oowcode-custom-menu-shortcode'); ?></li> 92 <li><strong><?php echo esc_html__('class (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('A custom CSS class to style the menu container.', 'oowcode-custom-menu-shortcode'); ?></li> 93 <li><strong><?php echo esc_html__('inline (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Set to "true" to display the menu inline with separators between items. Default is "false".', 'oowcode-custom-menu-shortcode'); ?></li> 94 <li><strong><?php echo esc_html__('separator (optional, when inline is true):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Defines the separator for inline menus. Default is "|".', 'oowcode-custom-menu-shortcode'); ?></li> 91 <li><strong><?php echo esc_html__('name (required):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('The slug or name of the menu to display.', 'oowcode-custom-menu-shortcode'); ?></li> 92 <li><strong><?php echo esc_html__('class (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Custom CSS class for the menu container.', 'oowcode-custom-menu-shortcode'); ?></li> 93 <li><strong><?php echo esc_html__('style (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Set to "inline" for horizontal menus or "list" (default) for vertical menus.', 'oowcode-custom-menu-shortcode'); ?></li> 94 <li><strong><?php echo esc_html__('separator (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Defines the separator for inline menus. Default is "|".', 'oowcode-custom-menu-shortcode'); ?></li> 95 <li><strong><?php echo esc_html__('lang (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Specify a language for multilingual menus.', 'oowcode-custom-menu-shortcode'); ?></li> 96 <li><strong><?php echo esc_html__('fallback (optional):', 'oowcode-custom-menu-shortcode'); ?></strong> <?php echo esc_html__('Message or alternative menu if the specified menu does not exist.', 'oowcode-custom-menu-shortcode'); ?></li> 95 97 </ul> 96 98 … … 99 101 <strong><?php echo esc_html__('Default List Style:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 100 102 <code>[oowcode_custom_menu name="main-menu"]</code><br> 101 <?php echo esc_html__('This will display the "main-menu" in the default list style.', 'oowcode-custom-menu-shortcode'); ?> 102 </p> 103 <p> 104 <strong><?php echo esc_html__('List Style with Custom Class:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 105 <code>[oowcode_custom_menu name="main-menu" class="my-custom-class"]</code><br> 106 <?php echo esc_html__('This will display the "main-menu" with a custom CSS class applied to the menu container.', 'oowcode-custom-menu-shortcode'); ?> 107 </p> 108 <p> 109 <strong><?php echo esc_html__('Inline Style with Separator:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 110 <code>[oowcode_custom_menu name="main-menu" inline="true" separator=" - "]</code><br> 111 <?php echo esc_html__('This will display the "main-menu" inline with " - " as the separator between items.', 'oowcode-custom-menu-shortcode'); ?> 112 </p> 113 <p> 114 <strong><?php echo esc_html__('Inline Style with Default Separator:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 115 <code>[oowcode_custom_menu name="footer-menu" inline="true"]</code><br> 116 <?php echo esc_html__('This will display the "footer-menu" inline using the default separator "|".', 'oowcode-custom-menu-shortcode'); ?> 117 </p> 118 119 <h3><?php echo esc_html__('Tips for Customization:', 'oowcode-custom-menu-shortcode'); ?></h3> 103 <?php echo esc_html__('Displays the "main-menu" in the default list style.', 'oowcode-custom-menu-shortcode'); ?> 104 </p> 105 <p> 106 <strong><?php echo esc_html__('Inline Style with Custom Separator:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 107 <code>[oowcode_custom_menu name="main-menu" style="inline" separator=" > "]</code><br> 108 <?php echo esc_html__('Displays the "main-menu" inline with " > " as the separator.', 'oowcode-custom-menu-shortcode'); ?> 109 </p> 110 <p> 111 <strong><?php echo esc_html__('Menu with Custom CSS Class:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 112 <code>[oowcode_custom_menu name="main-menu" class="custom-menu-class"]</code><br> 113 <?php echo esc_html__('Displays the "main-menu" with a custom CSS class for styling.', 'oowcode-custom-menu-shortcode'); ?> 114 </p> 115 <p> 116 <strong><?php echo esc_html__('Multilingual Menu:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 117 <code>[oowcode_custom_menu name="main-menu" lang="fr"]</code><br> 118 <?php echo esc_html__('Displays the "main-menu" in French (requires multilingual setup).', 'oowcode-custom-menu-shortcode'); ?> 119 </p> 120 <p> 121 <strong><?php echo esc_html__('Fallback Example:', 'oowcode-custom-menu-shortcode'); ?></strong><br> 122 <code>[oowcode_custom_menu name="nonexistent-menu" fallback="Default Menu"]</code><br> 123 <?php echo esc_html__('Displays "Default Menu" if "nonexistent-menu" is not found.', 'oowcode-custom-menu-shortcode'); ?> 124 </p> 125 126 <h3><?php echo esc_html__('Customization Tips:', 'oowcode-custom-menu-shortcode'); ?></h3> 120 127 <ul> 121 <li><?php echo esc_html__('Use custom CSS classes to style the menu according to your theme.', 'oowcode-custom-menu-shortcode'); ?></li> 122 <li><?php echo esc_html__('For horizontal menus, you can use CSS to display list items inline.', 'oowcode-custom-menu-shortcode'); ?></li> 123 <li><?php echo esc_html__('Combine the "inline" attribute with a separator to create breadcrumb-like navigation.', 'oowcode-custom-menu-shortcode'); ?></li> 124 <li><?php echo esc_html__('Ensure the menu slug matches the name or ID of the menu you created in WordPress.', 'oowcode-custom-menu-shortcode'); ?></li> 128 <li><?php echo esc_html__('Use custom CSS classes to style menus to match your theme.', 'oowcode-custom-menu-shortcode'); ?></li> 129 <li><?php echo esc_html__('Combine the "inline" style with separators to create breadcrumb navigation.', 'oowcode-custom-menu-shortcode'); ?></li> 130 <li><?php echo esc_html__('Utilize the "fallback" attribute to handle missing menus gracefully.', 'oowcode-custom-menu-shortcode'); ?></li> 125 131 </ul> 126 132 127 <p><?php echo esc_html__(' Need more help? Visit our documentation or contact support.', 'oowcode-custom-menu-shortcode'); ?></p>133 <p><?php echo esc_html__('For additional help or documentation, visit our website.', 'oowcode-custom-menu-shortcode'); ?></p> 128 134 </div> 135 129 136 130 137 <?php -
oowcode-custom-menu-shortcode/trunk/languages/oowcode-custom-menu-shortcode-en_US.l10n.php
r3169595 r3204496 1 1 <?php 2 return ['project-id-version'=>'OOWCODE Custom Menu Shortcode','report-msgid-bugs-to'=>'','pot-creation-date'=>'2024-1 0-05 16:52+0000','po-revision-date'=>'2024-10-05 16:55+0000','last-translator'=>'David OOWCODE','language-team'=>'English (United States)','language'=>'en_US','plural-forms'=>'nplurals=2; plural=n != 1;','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.6.11; wp-6.6.2','x-domain'=>'oowcode-custom-menu-shortcode','messages'=>['[oowcode_custom_menu name="main-menu" style="inline" separator=" - "]'=>'[oowcode_custom_menu name="main-menu" style="inline" separator=" - "]','[oowcode_custom_menu name="main-menu"]'=>'[oowcode_custom_menu name="main-menu"]','[oowcode_custom_menu name="your-menu-slug"]'=>'[oowcode_custom_menu name="your-menu-slug"]','A powerful tool that allows users to customize and display WordPress menus with full flexibility using a shortcode. Easily configure inline options like menu style and separators for tailored display. No coding required.'=>'A powerful tool that allows users to customize and display WordPress menus with full flexibility using a shortcode. Easily configure inline options like menu style and separators for tailored display. No coding required.','Add a custom CSS class to the menu container.'=>'Add a custom CSS class to the menu container.','class'=>'class','Define a custom separator for inline menus.'=>'Define a custom separator for inline menus.','https://oowcode.com'=>'https://oowcode.com','https://profiles.wordpress.org/oowpress/'=>'https://profiles.wordpress.org/oowpress/','Insert the shortcode in your posts, pages, or widgets to display your menus with full customization. For support, visit'=>'Insert the shortcode in your posts, pages, or widgets to display your menus with full customization. For support, visit','Menu not found. Please check the menu name or slug.'=>'Menu not found. Please check the menu name or slug.','name'=>'name','OOWCODE'=>'OOWCODE','OOWCODE Custom Menu Shortcode'=>'OOWCODE Custom Menu Shortcode','oowpress'=>'oowpress','optional'=>'optional','optional, default: list'=>'optional, default: list','optional, default: |'=>'optional, default: |','Please specify a menu name or slug.'=>'Please specify a menu name or slug.','Renders the menu as a list (default).'=>'Renders the menu as a list (default).','Renders the menu inline with a custom separator.'=>'Renders the menu inline with a custom separator.','required'=>'required','separator'=>'separator','Set to "inline" for an inline menu with a separator.'=>'Set to "inline" for an inline menu with a separator.','style'=>'style','The name or slug of the menu to display.'=>'The name or slug of the menu to display.','Welcome to the OOWCODE Custom Menu Shortcode plugin. This tool allows you to display WordPress menus in custom formats using simple shortcodes. No need for complex settings—just add the shortcode where you want the menu to appear!'=>'Welcome to the OOWCODE Custom Menu Shortcode plugin. This tool allows you to display WordPress menus in custom formats using simple shortcodes. No need for complex settings—just add the shortcode where you want the menu to appear!','✨ OOWCODE Custom Menu Shortcode'=>'✨ OOWCODE Custom Menu Shortcode','🎯 Basic Shortcode Usage:'=>'🎯 Basic Shortcode Usage:','💡 Examples:'=>'💡 Examples:','🚀 Get Started Now!'=>'🚀 Get Started Now!','🛠️ Available Attributes:'=>'🛠️ Available Attributes:']];2 return ['project-id-version'=>'OOWCODE Custom Menu Shortcode','report-msgid-bugs-to'=>'','pot-creation-date'=>'2024-12-08 19:47+0000','po-revision-date'=>'2024-12-08 19:52+0000','last-translator'=>'','language-team'=>'English (United States)','language'=>'en_US','plural-forms'=>'nplurals=2; plural=n != 1;','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.6.14; wp-6.7.1','x-domain'=>'oowcode-custom-menu-shortcode','messages'=>['Available Attributes:'=>'Available Attributes:','class (optional):'=>'class (optional):','Combine the "inline" style with separators to create breadcrumb navigation.'=>'Combine the "inline" style with separators to create breadcrumb navigation.','Custom CSS class for the menu container.'=>'Custom CSS class for the menu container.','Custom Menu Shortcode'=>'Custom Menu Shortcode','Customization Tips:'=>'Customization Tips:','Default List Style:'=>'Default List Style:','Defines the separator for inline menus. Default is "|".'=>'Defines the separator for inline menus. Default is "|".','Displays "Default Menu" if "nonexistent-menu" is not found.'=>'Displays "Default Menu" if "nonexistent-menu" is not found.','Displays the "main-menu" in French (requires multilingual setup).'=>'Displays the "main-menu" in French (requires multilingual setup).','Displays the "main-menu" in the default list style.'=>'Displays the "main-menu" in the default list style.','Displays the "main-menu" inline with " > " as the separator.'=>'Displays the "main-menu" inline with " > " as the separator.','Displays the "main-menu" with a custom CSS class for styling.'=>'Displays the "main-menu" with a custom CSS class for styling.','Examples:'=>'Examples:','fallback (optional):'=>'fallback (optional):','Fallback Example:'=>'Fallback Example:','For additional help or documentation, visit our website.'=>'For additional help or documentation, visit our website.','https://oowcode.com'=>'https://oowcode.com','https://profiles.wordpress.org/oowpress/'=>'https://profiles.wordpress.org/oowpress/','Inline Style with Custom Separator:'=>'Inline Style with Custom Separator:','Install'=>'Install','Installed'=>'Installed','Installing Plugin: %s'=>'Installing Plugin: %s','lang (optional):'=>'lang (optional):','Menu not found. Please check the menu name or slug.'=>'Menu not found. Please check the menu name or slug.','Menu Shortcode'=>'Menu Shortcode','Menu with Custom CSS Class:'=>'Menu with Custom CSS Class:','Message or alternative menu if the specified menu does not exist.'=>'Message or alternative menu if the specified menu does not exist.','Multilingual Menu:'=>'Multilingual Menu:','name (required):'=>'name (required):','No plugins found.'=>'No plugins found.','OOWCODE'=>'OOWCODE','OOWCODE Custom Menu Shortcode'=>'OOWCODE Custom Menu Shortcode','OOWCODE Extensions'=>'OOWCODE Extensions','oowpress'=>'oowpress','Please specify a menu name or slug.'=>'Please specify a menu name or slug.','Plugin installed successfully.'=>'Plugin installed successfully.','Required WordPress admin file is missing: plugin-install.php'=>'Required WordPress admin file is missing: plugin-install.php','separator (optional):'=>'separator (optional):','Set to "inline" for horizontal menus or "list" (default) for vertical menus.'=>'Set to "inline" for horizontal menus or "list" (default) for vertical menus.','Shortcode Usage Guide'=>'Shortcode Usage Guide','Specify a language for multilingual menus.'=>'Specify a language for multilingual menus.','style (optional):'=>'style (optional):','The slug or name of the menu to display.'=>'The slug or name of the menu to display.','To use the shortcode, add the following to your post, page, or widget:'=>'To use the shortcode, add the following to your post, page, or widget:','Un outil puissant qui permet aux utilisateurs de personnaliser et d\'afficher les menus WordPress avec une flexibilité totale en utilisant un shortcode. Configurez facilement des options en ligne comme le style du menu et les séparateurs pour un affichage sur mesure. Aucun codage requis.'=>'Un outil puissant qui permet aux utilisateurs de personnaliser et d\'afficher les menus WordPress avec une flexibilité totale en utilisant un shortcode. Configurez facilement des options en ligne comme le style du menu et les séparateurs pour un affichage sur mesure. Aucun codage requis.','Use custom CSS classes to style menus to match your theme.'=>'Use custom CSS classes to style menus to match your theme.','Utilize the "fallback" attribute to handle missing menus gracefully.'=>'Utilize the "fallback" attribute to handle missing menus gracefully.','Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool to display and customize WordPress menus with ease using simple shortcodes.'=>'Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool to display and customize WordPress menus with ease using simple shortcodes.','You are not allowed to install plugins.'=>'You are not allowed to install plugins.']]; -
oowcode-custom-menu-shortcode/trunk/languages/oowcode-custom-menu-shortcode-en_US.po
r3169595 r3204496 3 3 "Project-Id-Version: OOWCODE Custom Menu Shortcode\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2024-1 0-05 16:52+0000\n"6 "PO-Revision-Date: 2024-1 0-05 16:55+0000\n"7 "Last-Translator: David OOWCODE\n"5 "POT-Creation-Date: 2024-12-08 19:47+0000\n" 6 "PO-Revision-Date: 2024-12-08 19:52+0000\n" 7 "Last-Translator: \n" 8 8 "Language-Team: English (United States)\n" 9 9 "Language: en_US\n" … … 13 13 "Content-Transfer-Encoding: 8bit\n" 14 14 "X-Generator: Loco https://localise.biz/\n" 15 "X-Loco-Version: 2.6.1 1; wp-6.6.2\n"15 "X-Loco-Version: 2.6.14; wp-6.7.1\n" 16 16 "X-Domain: oowcode-custom-menu-shortcode" 17 17 18 #: oowcode-shortcode-menu.php:77 19 msgid "" 20 "[oowcode_custom_menu name=\"main-menu\" style=\"inline\" separator=\" - \"]" 21 msgstr "" 22 "[oowcode_custom_menu name=\"main-menu\" style=\"inline\" separator=\" - \"]" 23 24 #: oowcode-shortcode-menu.php:76 25 msgid "[oowcode_custom_menu name=\"main-menu\"]" 26 msgstr "[oowcode_custom_menu name=\"main-menu\"]" 27 28 #: oowcode-shortcode-menu.php:65 29 msgid "[oowcode_custom_menu name=\"your-menu-slug\"]" 30 msgstr "[oowcode_custom_menu name=\"your-menu-slug\"]" 31 32 #. Description of the plugin 33 msgid "" 34 "A powerful tool that allows users to customize and display WordPress menus " 35 "with full flexibility using a shortcode. Easily configure inline options " 36 "like menu style and separators for tailored display. No coding required." 37 msgstr "" 38 "A powerful tool that allows users to customize and display WordPress menus " 39 "with full flexibility using a shortcode. Easily configure inline options " 40 "like menu style and separators for tailored display. No coding required." 41 42 #: oowcode-shortcode-menu.php:70 43 msgid "Add a custom CSS class to the menu container." 44 msgstr "Add a custom CSS class to the menu container." 45 46 #: oowcode-shortcode-menu.php:70 47 msgid "class" 48 msgstr "class" 49 50 #: oowcode-shortcode-menu.php:72 51 msgid "Define a custom separator for inline menus." 52 msgstr "Define a custom separator for inline menus." 18 #: includes/class-oowcode-custom-menu-shortcode.php:89 19 msgid "Available Attributes:" 20 msgstr "Available Attributes:" 21 22 #: includes/class-oowcode-custom-menu-shortcode.php:92 23 msgid "class (optional):" 24 msgstr "class (optional):" 25 26 #: includes/class-oowcode-custom-menu-shortcode.php:129 27 msgid "" 28 "Combine the \"inline\" style with separators to create breadcrumb navigation." 29 msgstr "" 30 "Combine the \"inline\" style with separators to create breadcrumb navigation." 31 32 #: includes/class-oowcode-custom-menu-shortcode.php:92 33 msgid "Custom CSS class for the menu container." 34 msgstr "Custom CSS class for the menu container." 35 36 #. Slug of the parent menu 37 #: includes/class-oowcode-custom-menu-shortcode.php:52 38 msgid "Custom Menu Shortcode" 39 msgstr "Custom Menu Shortcode" 40 41 #: includes/class-oowcode-custom-menu-shortcode.php:126 42 msgid "Customization Tips:" 43 msgstr "Customization Tips:" 44 45 #: includes/class-oowcode-custom-menu-shortcode.php:101 46 msgid "Default List Style:" 47 msgstr "Default List Style:" 48 49 #: includes/class-oowcode-custom-menu-shortcode.php:94 50 msgid "Defines the separator for inline menus. Default is \"|\"." 51 msgstr "Defines the separator for inline menus. Default is \"|\"." 52 53 #: includes/class-oowcode-custom-menu-shortcode.php:123 54 msgid "Displays \"Default Menu\" if \"nonexistent-menu\" is not found." 55 msgstr "Displays \"Default Menu\" if \"nonexistent-menu\" is not found." 56 57 #: includes/class-oowcode-custom-menu-shortcode.php:118 58 msgid "Displays the \"main-menu\" in French (requires multilingual setup)." 59 msgstr "Displays the \"main-menu\" in French (requires multilingual setup)." 60 61 #: includes/class-oowcode-custom-menu-shortcode.php:103 62 msgid "Displays the \"main-menu\" in the default list style." 63 msgstr "Displays the \"main-menu\" in the default list style." 64 65 #: includes/class-oowcode-custom-menu-shortcode.php:108 66 msgid "Displays the \"main-menu\" inline with \" > \" as the separator." 67 msgstr "Displays the \"main-menu\" inline with \" > \" as the separator." 68 69 #: includes/class-oowcode-custom-menu-shortcode.php:113 70 msgid "Displays the \"main-menu\" with a custom CSS class for styling." 71 msgstr "Displays the \"main-menu\" with a custom CSS class for styling." 72 73 #: includes/class-oowcode-custom-menu-shortcode.php:99 74 msgid "Examples:" 75 msgstr "Examples:" 76 77 #: includes/class-oowcode-custom-menu-shortcode.php:96 78 msgid "fallback (optional):" 79 msgstr "fallback (optional):" 80 81 #: includes/class-oowcode-custom-menu-shortcode.php:121 82 msgid "Fallback Example:" 83 msgstr "Fallback Example:" 84 85 #: includes/class-oowcode-custom-menu-shortcode.php:133 86 msgid "For additional help or documentation, visit our website." 87 msgstr "For additional help or documentation, visit our website." 53 88 54 89 #. Author URI of the plugin … … 60 95 msgstr "https://profiles.wordpress.org/oowpress/" 61 96 62 #: oowcode-shortcode-menu.php:80 63 msgid "" 64 "Insert the shortcode in your posts, pages, or widgets to display your menus " 65 "with full customization. For support, visit" 66 msgstr "" 67 "Insert the shortcode in your posts, pages, or widgets to display your menus " 68 "with full customization. For support, visit" 69 70 #: oowcode-shortcode-menu.php:113 97 #: includes/class-oowcode-custom-menu-shortcode.php:106 98 msgid "Inline Style with Custom Separator:" 99 msgstr "Inline Style with Custom Separator:" 100 101 #: includes/class-oowcode-menu-dashboard.php:156 102 msgid "Install" 103 msgstr "Install" 104 105 #: includes/class-oowcode-menu-dashboard.php:151 106 msgid "Installed" 107 msgstr "Installed" 108 109 #. %s is the name of the plugin being installed. 110 #: includes/class-oowcode-menu-dashboard.php:216 111 #, php-format 112 msgid "Installing Plugin: %s" 113 msgstr "Installing Plugin: %s" 114 115 #: includes/class-oowcode-custom-menu-shortcode.php:95 116 msgid "lang (optional):" 117 msgstr "lang (optional):" 118 119 #: includes/class-oowcode-custom-menu-shortcode.php:178 71 120 msgid "Menu not found. Please check the menu name or slug." 72 121 msgstr "Menu not found. Please check the menu name or slug." 73 122 74 #: oowcode-shortcode-menu.php:69 75 msgid "name" 76 msgstr "name" 77 78 #: oowcode-shortcode-menu.php:80 123 #. Title displayed on the page 124 #: includes/class-oowcode-custom-menu-shortcode.php:53 125 msgid "Menu Shortcode" 126 msgstr "Menu Shortcode" 127 128 #: includes/class-oowcode-custom-menu-shortcode.php:111 129 msgid "Menu with Custom CSS Class:" 130 msgstr "Menu with Custom CSS Class:" 131 132 #: includes/class-oowcode-custom-menu-shortcode.php:96 133 msgid "Message or alternative menu if the specified menu does not exist." 134 msgstr "Message or alternative menu if the specified menu does not exist." 135 136 #: includes/class-oowcode-custom-menu-shortcode.php:116 137 msgid "Multilingual Menu:" 138 msgstr "Multilingual Menu:" 139 140 #: includes/class-oowcode-custom-menu-shortcode.php:91 141 msgid "name (required):" 142 msgstr "name (required):" 143 144 #: includes/class-oowcode-menu-dashboard.php:162 145 msgid "No plugins found." 146 msgstr "No plugins found." 147 148 #: includes/class-oowcode-menu-dashboard.php:37 149 #: includes/class-oowcode-menu-dashboard.php:38 79 150 msgid "OOWCODE" 80 151 msgstr "OOWCODE" 81 152 82 153 #. Name of the plugin 154 #: includes/class-oowcode-custom-menu-shortcode.php:78 83 155 msgid "OOWCODE Custom Menu Shortcode" 84 156 msgstr "OOWCODE Custom Menu Shortcode" 157 158 #: includes/class-oowcode-menu-dashboard.php:132 159 msgid "OOWCODE Extensions" 160 msgstr "OOWCODE Extensions" 85 161 86 162 #. Author of the plugin … … 88 164 msgstr "oowpress" 89 165 90 #: oowcode-shortcode-menu.php:70 91 msgid "optional" 92 msgstr "optional" 93 94 #: oowcode-shortcode-menu.php:71 95 msgid "optional, default: list" 96 msgstr "optional, default: list" 97 98 #: oowcode-shortcode-menu.php:72 99 msgid "optional, default: |" 100 msgstr "optional, default: |" 101 102 #: oowcode-shortcode-menu.php:107 166 #: includes/class-oowcode-custom-menu-shortcode.php:172 103 167 msgid "Please specify a menu name or slug." 104 168 msgstr "Please specify a menu name or slug." 105 169 106 #: oowcode-shortcode-menu.php:76 107 msgid "Renders the menu as a list (default)." 108 msgstr "Renders the menu as a list (default)." 109 110 #: oowcode-shortcode-menu.php:77 111 msgid "Renders the menu inline with a custom separator." 112 msgstr "Renders the menu inline with a custom separator." 113 114 #: oowcode-shortcode-menu.php:69 115 msgid "required" 116 msgstr "required" 117 118 #: oowcode-shortcode-menu.php:72 119 msgid "separator" 120 msgstr "separator" 121 122 #: oowcode-shortcode-menu.php:71 123 msgid "Set to \"inline\" for an inline menu with a separator." 124 msgstr "Set to \"inline\" for an inline menu with a separator." 125 126 #: oowcode-shortcode-menu.php:71 127 msgid "style" 128 msgstr "style" 129 130 #: oowcode-shortcode-menu.php:69 131 msgid "The name or slug of the menu to display." 132 msgstr "The name or slug of the menu to display." 133 134 #: oowcode-shortcode-menu.php:62 135 msgid "" 136 "Welcome to the OOWCODE Custom Menu Shortcode plugin. This tool allows you to " 137 "display WordPress menus in custom formats using simple shortcodes. No need " 138 "for complex settings—just add the shortcode where you want the menu to " 139 "appear!" 140 msgstr "" 141 "Welcome to the OOWCODE Custom Menu Shortcode plugin. This tool allows you to " 142 "display WordPress menus in custom formats using simple shortcodes. No need " 143 "for complex settings—just add the shortcode where you want the menu to " 144 "appear!" 145 146 #: oowcode-shortcode-menu.php:60 147 msgid "✨ OOWCODE Custom Menu Shortcode" 148 msgstr "✨ OOWCODE Custom Menu Shortcode" 149 150 #: oowcode-shortcode-menu.php:64 151 msgid "🎯 Basic Shortcode Usage:" 152 msgstr "🎯 Basic Shortcode Usage:" 153 154 #: oowcode-shortcode-menu.php:75 155 msgid "💡 Examples:" 156 msgstr "💡 Examples:" 157 158 #: oowcode-shortcode-menu.php:79 159 msgid "🚀 Get Started Now!" 160 msgstr "🚀 Get Started Now!" 161 162 #: oowcode-shortcode-menu.php:67 163 msgid "🛠️ Available Attributes:" 164 msgstr "🛠️ Available Attributes:" 170 #: includes/class-oowcode-menu-dashboard.php:225 171 msgid "Plugin installed successfully." 172 msgstr "Plugin installed successfully." 173 174 #: includes/class-oowcode-menu-dashboard.php:58 175 msgid "Required WordPress admin file is missing: plugin-install.php" 176 msgstr "Required WordPress admin file is missing: plugin-install.php" 177 178 #: includes/class-oowcode-custom-menu-shortcode.php:94 179 msgid "separator (optional):" 180 msgstr "separator (optional):" 181 182 #: includes/class-oowcode-custom-menu-shortcode.php:93 183 msgid "" 184 "Set to \"inline\" for horizontal menus or \"list\" (default) for vertical " 185 "menus." 186 msgstr "" 187 "Set to \"inline\" for horizontal menus or \"list\" (default) for vertical " 188 "menus." 189 190 #: includes/class-oowcode-custom-menu-shortcode.php:83 191 msgid "Shortcode Usage Guide" 192 msgstr "Shortcode Usage Guide" 193 194 #: includes/class-oowcode-custom-menu-shortcode.php:95 195 msgid "Specify a language for multilingual menus." 196 msgstr "Specify a language for multilingual menus." 197 198 #: includes/class-oowcode-custom-menu-shortcode.php:93 199 msgid "style (optional):" 200 msgstr "style (optional):" 201 202 #: includes/class-oowcode-custom-menu-shortcode.php:91 203 msgid "The slug or name of the menu to display." 204 msgstr "The slug or name of the menu to display." 205 206 #: includes/class-oowcode-custom-menu-shortcode.php:85 207 msgid "To use the shortcode, add the following to your post, page, or widget:" 208 msgstr "To use the shortcode, add the following to your post, page, or widget:" 209 210 #. Description of the plugin 211 msgid "" 212 "Un outil puissant qui permet aux utilisateurs de personnaliser et d'afficher " 213 "les menus WordPress avec une flexibilité totale en utilisant un shortcode. " 214 "Configurez facilement des options en ligne comme le style du menu et les " 215 "séparateurs pour un affichage sur mesure. Aucun codage requis." 216 msgstr "" 217 "Un outil puissant qui permet aux utilisateurs de personnaliser et d'afficher " 218 "les menus WordPress avec une flexibilité totale en utilisant un shortcode. " 219 "Configurez facilement des options en ligne comme le style du menu et les " 220 "séparateurs pour un affichage sur mesure. Aucun codage requis." 221 222 #: includes/class-oowcode-custom-menu-shortcode.php:128 223 msgid "Use custom CSS classes to style menus to match your theme." 224 msgstr "Use custom CSS classes to style menus to match your theme." 225 226 #: includes/class-oowcode-custom-menu-shortcode.php:130 227 msgid "Utilize the \"fallback\" attribute to handle missing menus gracefully." 228 msgstr "Utilize the \"fallback\" attribute to handle missing menus gracefully." 229 230 #: includes/class-oowcode-custom-menu-shortcode.php:80 231 msgid "" 232 "Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool " 233 "to display and customize WordPress menus with ease using simple shortcodes." 234 msgstr "" 235 "Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool " 236 "to display and customize WordPress menus with ease using simple shortcodes." 237 238 #: includes/class-oowcode-menu-dashboard.php:193 239 msgid "You are not allowed to install plugins." 240 msgstr "You are not allowed to install plugins." -
oowcode-custom-menu-shortcode/trunk/languages/oowcode-custom-menu-shortcode.pot
r3169595 r3204496 4 4 "Project-Id-Version: OOWCODE Custom Menu Shortcode\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-1 0-05 16:52+0000\n"6 "POT-Creation-Date: 2024-12-08 19:47+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 14 14 "Content-Transfer-Encoding: 8bit\n" 15 15 "X-Generator: Loco https://localise.biz/\n" 16 "X-Loco-Version: 2.6.1 1; wp-6.6.2\n"16 "X-Loco-Version: 2.6.14; wp-6.7.1\n" 17 17 "X-Domain: oowcode-custom-menu-shortcode" 18 18 19 #: oowcode-shortcode-menu.php:77 20 msgid "" 21 "[oowcode_custom_menu name=\"main-menu\" style=\"inline\" separator=\" - \"]" 22 msgstr "" 23 24 #: oowcode-shortcode-menu.php:76 25 msgid "[oowcode_custom_menu name=\"main-menu\"]" 26 msgstr "" 27 28 #: oowcode-shortcode-menu.php:65 29 msgid "[oowcode_custom_menu name=\"your-menu-slug\"]" 30 msgstr "" 31 32 #. Description of the plugin 33 msgid "" 34 "A powerful tool that allows users to customize and display WordPress menus " 35 "with full flexibility using a shortcode. Easily configure inline options " 36 "like menu style and separators for tailored display. No coding required." 37 msgstr "" 38 39 #: oowcode-shortcode-menu.php:70 40 msgid "Add a custom CSS class to the menu container." 41 msgstr "" 42 43 #: oowcode-shortcode-menu.php:70 44 msgid "class" 45 msgstr "" 46 47 #: oowcode-shortcode-menu.php:72 48 msgid "Define a custom separator for inline menus." 19 #: includes/class-oowcode-custom-menu-shortcode.php:89 20 msgid "Available Attributes:" 21 msgstr "" 22 23 #: includes/class-oowcode-custom-menu-shortcode.php:92 24 msgid "class (optional):" 25 msgstr "" 26 27 #: includes/class-oowcode-custom-menu-shortcode.php:129 28 msgid "" 29 "Combine the \"inline\" style with separators to create breadcrumb navigation." 30 msgstr "" 31 32 #: includes/class-oowcode-custom-menu-shortcode.php:92 33 msgid "Custom CSS class for the menu container." 34 msgstr "" 35 36 #. Slug of the parent menu 37 #: includes/class-oowcode-custom-menu-shortcode.php:52 38 msgid "Custom Menu Shortcode" 39 msgstr "" 40 41 #: includes/class-oowcode-custom-menu-shortcode.php:126 42 msgid "Customization Tips:" 43 msgstr "" 44 45 #: includes/class-oowcode-custom-menu-shortcode.php:101 46 msgid "Default List Style:" 47 msgstr "" 48 49 #: includes/class-oowcode-custom-menu-shortcode.php:94 50 msgid "Defines the separator for inline menus. Default is \"|\"." 51 msgstr "" 52 53 #: includes/class-oowcode-custom-menu-shortcode.php:123 54 msgid "Displays \"Default Menu\" if \"nonexistent-menu\" is not found." 55 msgstr "" 56 57 #: includes/class-oowcode-custom-menu-shortcode.php:118 58 msgid "Displays the \"main-menu\" in French (requires multilingual setup)." 59 msgstr "" 60 61 #: includes/class-oowcode-custom-menu-shortcode.php:103 62 msgid "Displays the \"main-menu\" in the default list style." 63 msgstr "" 64 65 #: includes/class-oowcode-custom-menu-shortcode.php:108 66 msgid "Displays the \"main-menu\" inline with \" > \" as the separator." 67 msgstr "" 68 69 #: includes/class-oowcode-custom-menu-shortcode.php:113 70 msgid "Displays the \"main-menu\" with a custom CSS class for styling." 71 msgstr "" 72 73 #: includes/class-oowcode-custom-menu-shortcode.php:99 74 msgid "Examples:" 75 msgstr "" 76 77 #: includes/class-oowcode-custom-menu-shortcode.php:96 78 msgid "fallback (optional):" 79 msgstr "" 80 81 #: includes/class-oowcode-custom-menu-shortcode.php:121 82 msgid "Fallback Example:" 83 msgstr "" 84 85 #: includes/class-oowcode-custom-menu-shortcode.php:133 86 msgid "For additional help or documentation, visit our website." 49 87 msgstr "" 50 88 … … 57 95 msgstr "" 58 96 59 #: oowcode-shortcode-menu.php:80 60 msgid "" 61 "Insert the shortcode in your posts, pages, or widgets to display your menus " 62 "with full customization. For support, visit" 63 msgstr "" 64 65 #: oowcode-shortcode-menu.php:113 97 #: includes/class-oowcode-custom-menu-shortcode.php:106 98 msgid "Inline Style with Custom Separator:" 99 msgstr "" 100 101 #: includes/class-oowcode-menu-dashboard.php:156 102 msgid "Install" 103 msgstr "" 104 105 #: includes/class-oowcode-menu-dashboard.php:151 106 msgid "Installed" 107 msgstr "" 108 109 #. %s is the name of the plugin being installed. 110 #: includes/class-oowcode-menu-dashboard.php:216 111 #, php-format 112 msgid "Installing Plugin: %s" 113 msgstr "" 114 115 #: includes/class-oowcode-custom-menu-shortcode.php:95 116 msgid "lang (optional):" 117 msgstr "" 118 119 #: includes/class-oowcode-custom-menu-shortcode.php:178 66 120 msgid "Menu not found. Please check the menu name or slug." 67 121 msgstr "" 68 122 69 #: oowcode-shortcode-menu.php:69 70 msgid "name" 71 msgstr "" 72 73 #: oowcode-shortcode-menu.php:80 123 #. Title displayed on the page 124 #: includes/class-oowcode-custom-menu-shortcode.php:53 125 msgid "Menu Shortcode" 126 msgstr "" 127 128 #: includes/class-oowcode-custom-menu-shortcode.php:111 129 msgid "Menu with Custom CSS Class:" 130 msgstr "" 131 132 #: includes/class-oowcode-custom-menu-shortcode.php:96 133 msgid "Message or alternative menu if the specified menu does not exist." 134 msgstr "" 135 136 #: includes/class-oowcode-custom-menu-shortcode.php:116 137 msgid "Multilingual Menu:" 138 msgstr "" 139 140 #: includes/class-oowcode-custom-menu-shortcode.php:91 141 msgid "name (required):" 142 msgstr "" 143 144 #: includes/class-oowcode-menu-dashboard.php:162 145 msgid "No plugins found." 146 msgstr "" 147 148 #: includes/class-oowcode-menu-dashboard.php:37 149 #: includes/class-oowcode-menu-dashboard.php:38 74 150 msgid "OOWCODE" 75 151 msgstr "" 76 152 77 153 #. Name of the plugin 154 #: includes/class-oowcode-custom-menu-shortcode.php:78 78 155 msgid "OOWCODE Custom Menu Shortcode" 156 msgstr "" 157 158 #: includes/class-oowcode-menu-dashboard.php:132 159 msgid "OOWCODE Extensions" 79 160 msgstr "" 80 161 … … 83 164 msgstr "" 84 165 85 #: oowcode-shortcode-menu.php:70 86 msgid "optional" 87 msgstr "" 88 89 #: oowcode-shortcode-menu.php:71 90 msgid "optional, default: list" 91 msgstr "" 92 93 #: oowcode-shortcode-menu.php:72 94 msgid "optional, default: |" 95 msgstr "" 96 97 #: oowcode-shortcode-menu.php:107 166 #: includes/class-oowcode-custom-menu-shortcode.php:172 98 167 msgid "Please specify a menu name or slug." 99 168 msgstr "" 100 169 101 #: oowcode-shortcode-menu.php:76 102 msgid "Renders the menu as a list (default)." 103 msgstr "" 104 105 #: oowcode-shortcode-menu.php:77 106 msgid "Renders the menu inline with a custom separator." 107 msgstr "" 108 109 #: oowcode-shortcode-menu.php:69 110 msgid "required" 111 msgstr "" 112 113 #: oowcode-shortcode-menu.php:72 114 msgid "separator" 115 msgstr "" 116 117 #: oowcode-shortcode-menu.php:71 118 msgid "Set to \"inline\" for an inline menu with a separator." 119 msgstr "" 120 121 #: oowcode-shortcode-menu.php:71 122 msgid "style" 123 msgstr "" 124 125 #: oowcode-shortcode-menu.php:69 126 msgid "The name or slug of the menu to display." 127 msgstr "" 128 129 #: oowcode-shortcode-menu.php:62 130 msgid "" 131 "Welcome to the OOWCODE Custom Menu Shortcode plugin. This tool allows you to " 132 "display WordPress menus in custom formats using simple shortcodes. No need " 133 "for complex settings—just add the shortcode where you want the menu to " 134 "appear!" 135 msgstr "" 136 137 #: oowcode-shortcode-menu.php:60 138 msgid "✨ OOWCODE Custom Menu Shortcode" 139 msgstr "" 140 141 #: oowcode-shortcode-menu.php:64 142 msgid "🎯 Basic Shortcode Usage:" 143 msgstr "" 144 145 #: oowcode-shortcode-menu.php:75 146 msgid "💡 Examples:" 147 msgstr "" 148 149 #: oowcode-shortcode-menu.php:79 150 msgid "🚀 Get Started Now!" 151 msgstr "" 152 153 #: oowcode-shortcode-menu.php:67 154 msgid "🛠️ Available Attributes:" 155 msgstr "" 170 #: includes/class-oowcode-menu-dashboard.php:225 171 msgid "Plugin installed successfully." 172 msgstr "" 173 174 #: includes/class-oowcode-menu-dashboard.php:58 175 msgid "Required WordPress admin file is missing: plugin-install.php" 176 msgstr "" 177 178 #: includes/class-oowcode-custom-menu-shortcode.php:94 179 msgid "separator (optional):" 180 msgstr "" 181 182 #: includes/class-oowcode-custom-menu-shortcode.php:93 183 msgid "" 184 "Set to \"inline\" for horizontal menus or \"list\" (default) for vertical " 185 "menus." 186 msgstr "" 187 188 #: includes/class-oowcode-custom-menu-shortcode.php:83 189 msgid "Shortcode Usage Guide" 190 msgstr "" 191 192 #: includes/class-oowcode-custom-menu-shortcode.php:95 193 msgid "Specify a language for multilingual menus." 194 msgstr "" 195 196 #: includes/class-oowcode-custom-menu-shortcode.php:93 197 msgid "style (optional):" 198 msgstr "" 199 200 #: includes/class-oowcode-custom-menu-shortcode.php:91 201 msgid "The slug or name of the menu to display." 202 msgstr "" 203 204 #: includes/class-oowcode-custom-menu-shortcode.php:85 205 msgid "To use the shortcode, add the following to your post, page, or widget:" 206 msgstr "" 207 208 #. Description of the plugin 209 msgid "" 210 "Un outil puissant qui permet aux utilisateurs de personnaliser et d'afficher " 211 "les menus WordPress avec une flexibilité totale en utilisant un shortcode. " 212 "Configurez facilement des options en ligne comme le style du menu et les " 213 "séparateurs pour un affichage sur mesure. Aucun codage requis." 214 msgstr "" 215 216 #: includes/class-oowcode-custom-menu-shortcode.php:128 217 msgid "Use custom CSS classes to style menus to match your theme." 218 msgstr "" 219 220 #: includes/class-oowcode-custom-menu-shortcode.php:130 221 msgid "Utilize the \"fallback\" attribute to handle missing menus gracefully." 222 msgstr "" 223 224 #: includes/class-oowcode-custom-menu-shortcode.php:80 225 msgid "" 226 "Welcome to the OOWCODE Custom Menu Shortcode plugin. Use this powerful tool " 227 "to display and customize WordPress menus with ease using simple shortcodes." 228 msgstr "" 229 230 #: includes/class-oowcode-menu-dashboard.php:193 231 msgid "You are not allowed to install plugins." 232 msgstr "" -
oowcode-custom-menu-shortcode/trunk/oowcode-shortcode-menu.php
r3202988 r3204496 3 3 Plugin Name: OOWCODE Custom Menu Shortcode 4 4 Plugin URI: https://profiles.wordpress.org/oowpress/ 5 Description: Un outil puissant qui permet aux utilisateurs de personnaliser et d'afficher les menus WordPress avec une flexibilité totale en utilisant un shortcode. Configurez facilement des options en ligne comme le style du menu et les séparateurs pour un affichage sur mesure. Aucun codage requis.6 Version: 1. 15 Description: A powerful tool that allows users to customize and display WordPress menus with complete flexibility using a shortcode. Easily configure inline options such as menu style and separators for a tailored display. No coding required. 6 Version: 1.2 7 7 Author: oowpress 8 8 Author URI: https://oowcode.com … … 13 13 */ 14 14 15 15 16 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly to ensure security 16 17 … … 18 19 require_once plugin_dir_path( __FILE__ ) . 'includes/class-oowcode-menu-dashboard.php'; // Includes the dashboard class file 19 20 require_once plugin_dir_path( __FILE__ ) . 'includes/class-oowcode-custom-menu-shortcode.php'; // Includes the custom menu shortcode class file 21 require_once plugin_dir_path( __FILE__ ) . 'includes/class-oowcode-custom-menu-shortcode-load-textdomain.php'; // Includes the class for loading translations 20 22 21 23 // Instantiate the global object for the menu dashboard … … 29 31 // Instantiate the custom menu shortcode class 30 32 new OOWCODE_Custom_Menu_Shortcode(); 33 34 // Load plugin translations 35 new OOWCODE_Custom_Menu_Shortcode_Load_Textdomain(); -
oowcode-custom-menu-shortcode/trunk/readme.txt
r3202733 r3204496 6 6 Requires at least: 5.8 7 7 Tested up to: 6.7 8 Stable tag: 1. 18 Stable tag: 1.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 80 80 81 81 == Changelog == 82 = 1.2 = 83 * Added support for multiple languages to enhance accessibility and global reach: 84 - **Arabic** (ar) 85 - **German** (de_DE) 86 - **English (United States)** (en_US) 87 - **Spanish (Spain)** (es_ES) 88 - **French (France)** (fr_FR) 89 - **Italian** (it_IT) 90 - **Japanese** (ja) 91 - **Dutch** (nl_NL) 92 - **Polish** (pl_PL) 93 - **Portuguese (Portugal)** (pt_PT) 94 - **Russian** (ru_RU) 95 - **Chinese (China)** (zh_CN) 96 * Ensured translations are 100% complete for all supported languages. 97 * Updated `.pot` file to facilitate additional translations in the future. 98 82 99 83 100 = 1.1 =
Note: See TracChangeset
for help on using the changeset viewer.