Version Description
- Improvement: Theme Editor switched to tabbed interface
- Improvement: Theme Editor now uses AJAX save so you don't lose your place in the theme editor
- Improvement: Allow Custom CSS editor to increase in size
- Improvement: Test theme CSS compilation before saving
- Improvement: Add support for 9 columns
- New: Option to stop MMM from unbinding JavaScript events from the menu
- New: Option to stop MMM from prefixing custom CSS classes with 'mega-'
- New: Add automatic integration for Twenty Seventeen
- New: Add automatic integration for Zerif and Zerif Pro
- New: Add force left menu item alignment option
- New: Add support for "no-headers" custom CSS class
- Fix: Mobile sub menu width when resizing screen and using Dynamic sub menu widths
- Fix: Issue where click events are unbound from all menus on page
- Fix: "Disable link" styling when link is within a mega menu
- Fix: Stop sub menus reappearing on hover
- Fix: Account for scrollbars when determining sub menu width
- Fix: Conflict with Maps Builder plugin
Download this release
Release Info
Developer | megamenu |
Plugin | Max Mega Menu |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.3.1
- classes/menu-item-manager.class.php +28 -9
- classes/nav-menus.class.php +8 -3
- classes/settings.class.php +124 -60
- classes/style-manager.class.php +22 -2
- classes/toggle-blocks.class.php +6 -1
- css/admin/menus.css +62 -2
- css/admin/settings.css +87 -30
- css/megamenu.scss +36 -2
- integration/twentyseventeen/functions.php +34 -0
- integration/twentyseventeen/script.js +3 -0
- integration/twentyseventeen/style.scss +22 -0
- integration/zerif/functions.php +14 -0
- js/admin.js +17 -2
- js/maxmegamenu.js +89 -100
- js/settings.js +43 -0
- js/toggledesigner.js +2 -2
- languages/megamenu-fr_FR.mo +0 -0
- languages/megamenu-fr_FR.po +1045 -604
- megamenu.php +43 -18
- readme.txt +28 -8
classes/menu-item-manager.class.php
CHANGED
@@ -129,7 +129,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
129 |
private function get_pro_upgrade_text() {
|
130 |
|
131 |
$return = '<div class="in-pro">';
|
132 |
-
$return .= "<p>This functionality is available in <a href='https://www.
|
133 |
$return .= '<p><a class="hide-pro-nags">Hide this notice for 90 days</a></p>';
|
134 |
$return .= '</div>';
|
135 |
|
@@ -350,6 +350,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
350 |
$return .= " <option value='6' " . selected( $menu_item_meta['panel_columns'], 6, false ) . ">6 " . __("columns", "megamenu") . "</option>";
|
351 |
$return .= " <option value='7' " . selected( $menu_item_meta['panel_columns'], 7, false ) . ">7 " . __("columns", "megamenu") . "</option>";
|
352 |
$return .= " <option value='8' " . selected( $menu_item_meta['panel_columns'], 8, false ) . ">8 " . __("columns", "megamenu") . "</option>";
|
|
|
353 |
$return .= "</select>";
|
354 |
|
355 |
$return .= "<select id='mm_widget_selector'>";
|
@@ -456,19 +457,29 @@ class Mega_Menu_Menu_Item_Manager {
|
|
456 |
$return .= ' <input type="checkbox" name="settings[hide_on_desktop]" value="true" ' . checked( $menu_item_meta['hide_on_desktop'], 'true', false ) . ' />';
|
457 |
$return .= ' </td>';
|
458 |
$return .= ' </tr>';
|
459 |
-
$return .= ' <tr>';
|
460 |
$return .= ' <td class="mega-name">';
|
461 |
$return .= __("Menu Item Align", "megamenu");
|
462 |
$return .= ' </td>';
|
463 |
$return .= ' <td class="mega-value">';
|
464 |
|
465 |
if ( $menu_item_depth == 0 ) {
|
466 |
-
|
467 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
$return .= ' <option value="right" ' . selected( $menu_item_meta['item_align'], 'right', false ) . '>' . __("Right", "megamenu") . '</option>';
|
469 |
$return .= ' </select>';
|
470 |
$return .= ' <div class="mega-description">';
|
471 |
-
$return .=
|
|
|
|
|
472 |
$return .= ' </div>';
|
473 |
} else {
|
474 |
$return .= '<em>' . __("Option only available for top level menu items", "megamenu") . '</em>';
|
@@ -476,12 +487,15 @@ class Mega_Menu_Menu_Item_Manager {
|
|
476 |
|
477 |
$return .= ' </td>';
|
478 |
$return .= ' </tr>';
|
|
|
|
|
|
|
479 |
$return .= ' </table>';
|
480 |
|
481 |
$return .= ' <h4>' . __("Sub Menu Settings", "megamenu") . '</h4>';
|
482 |
|
483 |
$return .= ' <table>';
|
484 |
-
$return .= ' <tr>';
|
485 |
$return .= ' <td class="mega-name">';
|
486 |
$return .= __("Sub Menu Align", "megamenu");
|
487 |
$return .= ' </td>';
|
@@ -509,7 +523,12 @@ class Mega_Menu_Menu_Item_Manager {
|
|
509 |
$return .= ' <input type="checkbox" name="settings[hide_sub_menu_on_mobile]" value="true" ' . checked( $menu_item_meta['hide_sub_menu_on_mobile'], 'true', false ) . ' />';
|
510 |
$return .= ' </td>';
|
511 |
$return .= ' </tr>';
|
|
|
|
|
|
|
512 |
$return .= ' </table>';
|
|
|
|
|
513 |
$return .= get_submit_button();
|
514 |
$return .= '</form>';
|
515 |
|
@@ -540,17 +559,17 @@ class Mega_Menu_Menu_Item_Manager {
|
|
540 |
'fontawesome' => array(
|
541 |
'title' => __("Font Awesome", "megamenu"),
|
542 |
'active' => false,
|
543 |
-
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.
|
544 |
),
|
545 |
'genericons' => array(
|
546 |
'title' => __("Genericons", "megamenu"),
|
547 |
'active' => false,
|
548 |
-
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.
|
549 |
),
|
550 |
'custom' => array(
|
551 |
'title' => __("Custom Icon", "megamenu"),
|
552 |
'active' => false,
|
553 |
-
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.
|
554 |
)
|
555 |
);
|
556 |
|
129 |
private function get_pro_upgrade_text() {
|
130 |
|
131 |
$return = '<div class="in-pro">';
|
132 |
+
$return .= "<p>This functionality is available in <a href='https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=lightbox&utm_campaign=pro' target='_blank'>Max Mega Menu Pro</a><span class='dashicons dashicons-migrate'></span></p>";
|
133 |
$return .= '<p><a class="hide-pro-nags">Hide this notice for 90 days</a></p>';
|
134 |
$return .= '</div>';
|
135 |
|
350 |
$return .= " <option value='6' " . selected( $menu_item_meta['panel_columns'], 6, false ) . ">6 " . __("columns", "megamenu") . "</option>";
|
351 |
$return .= " <option value='7' " . selected( $menu_item_meta['panel_columns'], 7, false ) . ">7 " . __("columns", "megamenu") . "</option>";
|
352 |
$return .= " <option value='8' " . selected( $menu_item_meta['panel_columns'], 8, false ) . ">8 " . __("columns", "megamenu") . "</option>";
|
353 |
+
$return .= " <option value='9' " . selected( $menu_item_meta['panel_columns'], 9, false ) . ">9 " . __("columns", "megamenu") . "</option>";
|
354 |
$return .= "</select>";
|
355 |
|
356 |
$return .= "<select id='mm_widget_selector'>";
|
457 |
$return .= ' <input type="checkbox" name="settings[hide_on_desktop]" value="true" ' . checked( $menu_item_meta['hide_on_desktop'], 'true', false ) . ' />';
|
458 |
$return .= ' </td>';
|
459 |
$return .= ' </tr>';
|
460 |
+
$return .= ' <tr class="mega-menu-item-align">';
|
461 |
$return .= ' <td class="mega-name">';
|
462 |
$return .= __("Menu Item Align", "megamenu");
|
463 |
$return .= ' </td>';
|
464 |
$return .= ' <td class="mega-value">';
|
465 |
|
466 |
if ( $menu_item_depth == 0 ) {
|
467 |
+
|
468 |
+
$item_align = $menu_item_meta['item_align'];
|
469 |
+
|
470 |
+
$float_left_display = $item_align == 'float-left' ? 'block' : 'none';
|
471 |
+
$left_display = $item_align == 'left' ? 'block' : 'none';
|
472 |
+
$right_display = $item_align == 'right' ? 'block' : 'none';
|
473 |
+
|
474 |
+
$return .= ' <select id="mega-item-align" name="settings[item_align]">';
|
475 |
+
$return .= ' <option value="float-left" ' . selected( $menu_item_meta['item_align'], 'float-left', false ) . '>' . __("Left", "megamenu") . '</option>';
|
476 |
+
$return .= ' <option value="left" ' . selected( $menu_item_meta['item_align'], 'left', false ) . '>' . __("Default", "megamenu") . '</option>';
|
477 |
$return .= ' <option value="right" ' . selected( $menu_item_meta['item_align'], 'right', false ) . '>' . __("Right", "megamenu") . '</option>';
|
478 |
$return .= ' </select>';
|
479 |
$return .= ' <div class="mega-description">';
|
480 |
+
$return .= " <div class='float-left' style='display:{$float_left_display}'></div>";
|
481 |
+
$return .= " <div class='left' style='display:{$left_display}'>" . __("Item will be aligned based on the 'Menu Items Align' option set in the Theme Editor", "megamenu") . "</div>";
|
482 |
+
$return .= " <div class='right' style='display:{$right_display}'>" . __("Right aligned items will appear in reverse order on the right hand side of the menu bar", "megamenu") . "</div>";
|
483 |
$return .= ' </div>';
|
484 |
} else {
|
485 |
$return .= '<em>' . __("Option only available for top level menu items", "megamenu") . '</em>';
|
487 |
|
488 |
$return .= ' </td>';
|
489 |
$return .= ' </tr>';
|
490 |
+
|
491 |
+
$return .= apply_filters("megamenu_after_menu_item_settings", "", $tabs, $menu_item_id, $menu_id, $menu_item_depth, $menu_item_meta );
|
492 |
+
|
493 |
$return .= ' </table>';
|
494 |
|
495 |
$return .= ' <h4>' . __("Sub Menu Settings", "megamenu") . '</h4>';
|
496 |
|
497 |
$return .= ' <table>';
|
498 |
+
$return .= ' <tr class="mega-sub-menu-align">';
|
499 |
$return .= ' <td class="mega-name">';
|
500 |
$return .= __("Sub Menu Align", "megamenu");
|
501 |
$return .= ' </td>';
|
523 |
$return .= ' <input type="checkbox" name="settings[hide_sub_menu_on_mobile]" value="true" ' . checked( $menu_item_meta['hide_sub_menu_on_mobile'], 'true', false ) . ' />';
|
524 |
$return .= ' </td>';
|
525 |
$return .= ' </tr>';
|
526 |
+
|
527 |
+
$return .= apply_filters("megamenu_after_menu_item_submenu_settings", "", $tabs, $menu_item_id, $menu_id, $menu_item_depth, $menu_item_meta );
|
528 |
+
|
529 |
$return .= ' </table>';
|
530 |
+
|
531 |
+
|
532 |
$return .= get_submit_button();
|
533 |
$return .= '</form>';
|
534 |
|
559 |
'fontawesome' => array(
|
560 |
'title' => __("Font Awesome", "megamenu"),
|
561 |
'active' => false,
|
562 |
+
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=icon&utm_campaign=pro'>" . __("Max Mega Menu Pro", "megamenu") . "</a>", __("Get access to over 400 Font Awesome Icons with {link}", "megamenu") )
|
563 |
),
|
564 |
'genericons' => array(
|
565 |
'title' => __("Genericons", "megamenu"),
|
566 |
'active' => false,
|
567 |
+
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=icon&utm_campaign=pro'>" . __("Max Mega Menu Pro", "megamenu") . "</a>", __("Choose from over 100 genericons with {link}", "megamenu") )
|
568 |
),
|
569 |
'custom' => array(
|
570 |
'title' => __("Custom Icon", "megamenu"),
|
571 |
'active' => false,
|
572 |
+
'content' => str_replace( "{link}", "<a target='_blank' href='https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=icon&utm_campaign=pro'>" . __("Max Mega Menu Pro", "megamenu") . "</a>", __("Select icons from your media library with {link}", "megamenu") )
|
573 |
)
|
574 |
);
|
575 |
|
classes/nav-menus.class.php
CHANGED
@@ -166,7 +166,6 @@ class Mega_Menu_Nav_Menus {
|
|
166 |
wp_deregister_style('color-box-css');
|
167 |
|
168 |
|
169 |
-
|
170 |
wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
|
171 |
wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/menus.css', false, MEGAMENU_VERSION );
|
172 |
|
@@ -179,6 +178,10 @@ class Mega_Menu_Nav_Menus {
|
|
179 |
|
180 |
wp_enqueue_script( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/jquery.colorbox-min.js', array( 'jquery' ), MEGAMENU_VERSION );
|
181 |
|
|
|
|
|
|
|
|
|
182 |
wp_localize_script( 'mega-menu', 'megamenu',
|
183 |
array(
|
184 |
'debug_launched' => __("Launched for Menu ID", "megamenu"),
|
@@ -187,7 +190,9 @@ class Mega_Menu_Nav_Menus {
|
|
187 |
'is_disabled_error' => __("Please enable Max Mega Menu using the settings on the left of this page.", "megamenu"),
|
188 |
'saving' => __("Saving", "megamenu"),
|
189 |
'nonce' => wp_create_nonce('megamenu_edit'),
|
190 |
-
'nonce_check_failed' => __("Oops. Something went wrong. Please reload the page.", "megamenu")
|
|
|
|
|
191 |
)
|
192 |
);
|
193 |
|
@@ -294,7 +299,7 @@ class Mega_Menu_Nav_Menus {
|
|
294 |
|
295 |
if ( ! count( $theme_locations ) ) {
|
296 |
|
297 |
-
$link = '<a href="https://www.
|
298 |
|
299 |
echo "<p>" . __("This theme does not register any menu locations.", "megamenu") . "</p>";
|
300 |
echo "<p>" . __("You will need to create a new menu location and use the Max Mega Menu widget or shortcode to display the menu on your site.", "megamenu") . "</p>";
|
166 |
wp_deregister_style('color-box-css');
|
167 |
|
168 |
|
|
|
169 |
wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
|
170 |
wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/menus.css', false, MEGAMENU_VERSION );
|
171 |
|
178 |
|
179 |
wp_enqueue_script( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/jquery.colorbox-min.js', array( 'jquery' ), MEGAMENU_VERSION );
|
180 |
|
181 |
+
$settings = get_option( 'megamenu_settings' );
|
182 |
+
|
183 |
+
$prefix = isset( $settings['prefix'] ) ? $settings['prefix'] : 'true';
|
184 |
+
|
185 |
wp_localize_script( 'mega-menu', 'megamenu',
|
186 |
array(
|
187 |
'debug_launched' => __("Launched for Menu ID", "megamenu"),
|
190 |
'is_disabled_error' => __("Please enable Max Mega Menu using the settings on the left of this page.", "megamenu"),
|
191 |
'saving' => __("Saving", "megamenu"),
|
192 |
'nonce' => wp_create_nonce('megamenu_edit'),
|
193 |
+
'nonce_check_failed' => __("Oops. Something went wrong. Please reload the page.", "megamenu"),
|
194 |
+
'css_prefix' => $prefix,
|
195 |
+
'css_prefix_message' => __("Custom CSS Classes will be prefixed with 'mega-'", "megamenu")
|
196 |
)
|
197 |
);
|
198 |
|
299 |
|
300 |
if ( ! count( $theme_locations ) ) {
|
301 |
|
302 |
+
$link = '<a href="https://www.megamenu.com/documentation/widget/?utm_source=free&utm_medium=link&utm_campaign=pro" target="_blank">' . __("here", "megamenu") . '</a>';
|
303 |
|
304 |
echo "<p>" . __("This theme does not register any menu locations.", "megamenu") . "</p>";
|
305 |
echo "<p>" . __("You will need to create a new menu location and use the Max Mega Menu widget or shortcode to display the menu on your site.", "megamenu") . "</p>";
|
classes/settings.class.php
CHANGED
@@ -37,6 +37,7 @@ class Mega_Menu_Settings {
|
|
37 |
*/
|
38 |
public function __construct() {
|
39 |
|
|
|
40 |
add_action( 'admin_post_megamenu_save_theme', array( $this, 'save_theme') );
|
41 |
add_action( 'admin_post_megamenu_add_theme', array( $this, 'create_theme') );
|
42 |
add_action( 'admin_post_megamenu_delete_theme', array( $this, 'delete_theme') );
|
@@ -83,41 +84,47 @@ class Mega_Menu_Settings {
|
|
83 |
|
84 |
}
|
85 |
|
|
|
86 |
/**
|
87 |
-
* Save changes to an exiting theme.
|
88 |
*
|
89 |
-
* @since 1
|
90 |
*/
|
91 |
-
public function
|
92 |
|
93 |
-
|
94 |
|
95 |
-
$
|
96 |
|
97 |
-
$
|
98 |
|
99 |
-
if (
|
100 |
-
|
|
|
|
|
|
|
101 |
}
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
$submitted_settings = $_POST['settings'];
|
104 |
|
105 |
if ( isset( $_POST['checkboxes'] ) ) {
|
106 |
-
|
107 |
foreach ( $_POST['checkboxes'] as $checkbox => $value ) {
|
108 |
-
|
109 |
if ( isset( $submitted_settings[ $checkbox ] ) ) {
|
110 |
-
|
111 |
$submitted_settings[ $checkbox ] = 'on';
|
112 |
-
|
113 |
} else {
|
114 |
-
|
115 |
$submitted_settings[ $checkbox ] = 'off';
|
116 |
-
|
117 |
}
|
118 |
-
|
119 |
}
|
120 |
-
|
121 |
}
|
122 |
|
123 |
if ( is_numeric( $submitted_settings['responsive_breakpoint'] ) ) {
|
@@ -128,16 +135,45 @@ class Mega_Menu_Settings {
|
|
128 |
unset( $submitted_settings['toggle_blocks'] );
|
129 |
}
|
130 |
|
131 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
update_site_option( "megamenu_themes", $saved_themes );
|
134 |
update_site_option( "megamenu_themes_last_updated", $theme );
|
135 |
|
136 |
do_action("megamenu_after_theme_save");
|
137 |
-
|
138 |
do_action("megamenu_delete_cache");
|
139 |
|
140 |
-
|
|
|
|
|
|
|
|
|
|
|
141 |
|
142 |
}
|
143 |
|
@@ -450,7 +486,8 @@ class Mega_Menu_Settings {
|
|
450 |
|
451 |
$new_theme_id = "custom_theme_" . $next_id;
|
452 |
|
453 |
-
$
|
|
|
454 |
|
455 |
$new_theme['title'] = "Custom {$next_id}";
|
456 |
|
@@ -624,6 +661,9 @@ class Mega_Menu_Settings {
|
|
624 |
$mobile_second_click = isset( $saved_settings['second_click'] ) ? $saved_settings['second_click'] : 'close';
|
625 |
$mobile_behaviour = isset( $saved_settings['mobile_behaviour'] ) ? $saved_settings['mobile_behaviour'] : 'standard';
|
626 |
$descriptions = isset( $saved_settings['descriptions'] ) ? $saved_settings['descriptions'] : 'disabled';
|
|
|
|
|
|
|
627 |
$locations = get_registered_nav_menus();
|
628 |
|
629 |
?>
|
@@ -692,7 +732,7 @@ class Mega_Menu_Settings {
|
|
692 |
<td class='mega-name'>
|
693 |
<?php _e("Menu Item Descriptions", "megamenu"); ?>
|
694 |
<div class='mega-description'>
|
695 |
-
<?php _e("", "megamenu"); ?>
|
696 |
</div>
|
697 |
</td>
|
698 |
<td class='mega-value'>
|
@@ -704,6 +744,38 @@ class Mega_Menu_Settings {
|
|
704 |
</div>
|
705 |
</td>
|
706 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
707 |
<tr>
|
708 |
<td class='mega-name'>
|
709 |
<?php _e("Active Menu Instances", "megamenu"); ?>
|
@@ -1149,19 +1221,19 @@ class Mega_Menu_Settings {
|
|
1149 |
|
1150 |
$header_links = apply_filters( "megamenu_header_links", array(
|
1151 |
'homepage' => array(
|
1152 |
-
'url' => 'https://www.
|
1153 |
'target' => '_mmmpro',
|
1154 |
'text' => __("Homepage", "megamenu"),
|
1155 |
'class' => ''
|
1156 |
),
|
1157 |
'documentation' => array(
|
1158 |
-
'url' => 'https://www.
|
1159 |
'text' => __("Documentation", "megamenu"),
|
1160 |
'target' => '_mmmpro',
|
1161 |
'class' => ''
|
1162 |
),
|
1163 |
'troubleshooting' => array(
|
1164 |
-
'url' => 'https://www.
|
1165 |
'text' => __("Troubleshooting", "megamenu"),
|
1166 |
'target' => '_mmmpro',
|
1167 |
'class' => ''
|
@@ -1170,7 +1242,7 @@ class Mega_Menu_Settings {
|
|
1170 |
|
1171 |
if ( ! is_plugin_active('megamenu-pro/megamenu-pro.php') ) {
|
1172 |
$header_links['pro'] = array(
|
1173 |
-
'url' => 'https://www.
|
1174 |
'target' => '_mmmpro',
|
1175 |
'text' => __("Upgrade to Pro - $19", "megamenu"),
|
1176 |
'class' => 'mega-highlight'
|
@@ -1183,7 +1255,7 @@ class Mega_Menu_Settings {
|
|
1183 |
'text' => __("Core version", "megamenu")
|
1184 |
),
|
1185 |
'pro' => array(
|
1186 |
-
'version' => "<a href='https://www.
|
1187 |
'text' => __("Pro extension", "megamenu")
|
1188 |
)
|
1189 |
) );
|
@@ -1290,28 +1362,7 @@ class Mega_Menu_Settings {
|
|
1290 |
|
1291 |
$style_manager = new Mega_Menu_Style_Manager();
|
1292 |
|
1293 |
-
$
|
1294 |
-
|
1295 |
-
$menus = get_registered_nav_menus();
|
1296 |
-
|
1297 |
-
if ( count( $menus ) ) {
|
1298 |
-
|
1299 |
-
$locations = get_nav_menu_locations();
|
1300 |
-
|
1301 |
-
foreach ($menus as $location => $description ) {
|
1302 |
-
|
1303 |
-
if ( isset( $locations[ $location ] ) ) {
|
1304 |
-
|
1305 |
-
$menu_id = $locations[ $location ];
|
1306 |
-
continue;
|
1307 |
-
|
1308 |
-
}
|
1309 |
-
|
1310 |
-
}
|
1311 |
-
|
1312 |
-
}
|
1313 |
-
|
1314 |
-
$test = $style_manager->generate_css_for_location( 'test', $this->active_theme, $menu_id );
|
1315 |
|
1316 |
if ( is_wp_error( $test ) ) {
|
1317 |
echo "<p class='fail'>" . $test->get_error_message() . "</p>";
|
@@ -1486,7 +1537,7 @@ class Mega_Menu_Settings {
|
|
1486 |
$settings = apply_filters( 'megamenu_theme_editor_settings', array(
|
1487 |
|
1488 |
'general' => array(
|
1489 |
-
'title' => __( "General
|
1490 |
'settings' => array(
|
1491 |
'title' => array(
|
1492 |
'priority' => 10,
|
@@ -3106,14 +3157,29 @@ class Mega_Menu_Settings {
|
|
3106 |
)
|
3107 |
) );
|
3108 |
|
3109 |
-
echo "<
|
3110 |
-
|
|
|
3111 |
|
3112 |
foreach ( $settings as $section_id => $section ) {
|
3113 |
|
3114 |
-
|
3115 |
-
|
3116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3117 |
echo " <table class='{$section_id}'>";
|
3118 |
|
3119 |
// order the fields by priority
|
@@ -3227,17 +3293,14 @@ class Mega_Menu_Settings {
|
|
3227 |
|
3228 |
echo "</table>";
|
3229 |
echo "</div>";
|
3230 |
-
echo "</li>";
|
3231 |
-
|
3232 |
}
|
3233 |
|
3234 |
?>
|
3235 |
-
|
3236 |
-
</div>
|
3237 |
|
3238 |
<div class='megamenu_submit'>
|
3239 |
<div class='mega_left'>
|
3240 |
-
<?php submit_button();
|
3241 |
</div>
|
3242 |
<div class='mega_right'>
|
3243 |
<?php if ( $this->string_contains( $this->id, array("custom") ) ) : ?>
|
@@ -3654,7 +3717,8 @@ class Mega_Menu_Settings {
|
|
3654 |
|
3655 |
wp_localize_script( 'mega-menu-theme-editor', 'megamenu_settings',
|
3656 |
array(
|
3657 |
-
'confirm' => __("Are you sure?", "megamenu")
|
|
|
3658 |
)
|
3659 |
);
|
3660 |
|
37 |
*/
|
38 |
public function __construct() {
|
39 |
|
40 |
+
add_action( 'wp_ajax_megamenu_save_theme', array( $this, 'ajax_save_theme' ) );
|
41 |
add_action( 'admin_post_megamenu_save_theme', array( $this, 'save_theme') );
|
42 |
add_action( 'admin_post_megamenu_add_theme', array( $this, 'create_theme') );
|
43 |
add_action( 'admin_post_megamenu_delete_theme', array( $this, 'delete_theme') );
|
84 |
|
85 |
}
|
86 |
|
87 |
+
|
88 |
/**
|
|
|
89 |
*
|
90 |
+
* @since 2.4.1
|
91 |
*/
|
92 |
+
public function ajax_save_theme() {
|
93 |
|
94 |
+
check_ajax_referer( 'megamenu_save_theme' );
|
95 |
|
96 |
+
$style_manager = new Mega_Menu_Style_Manager();
|
97 |
|
98 |
+
$test = $style_manager->test_theme_compilation( $this->get_prepared_theme_for_saving() );
|
99 |
|
100 |
+
if ( is_wp_error( $test ) ) {
|
101 |
+
wp_send_json_error( $test->get_error_message() );
|
102 |
+
} else {
|
103 |
+
$this->save_theme(true);
|
104 |
+
wp_send_json_success( "Saved" );
|
105 |
}
|
106 |
|
107 |
+
wp_die();
|
108 |
+
|
109 |
+
}
|
110 |
+
|
111 |
+
|
112 |
+
/**
|
113 |
+
*
|
114 |
+
* @since 2.4.1
|
115 |
+
*/
|
116 |
+
public function get_prepared_theme_for_saving() {
|
117 |
+
|
118 |
$submitted_settings = $_POST['settings'];
|
119 |
|
120 |
if ( isset( $_POST['checkboxes'] ) ) {
|
|
|
121 |
foreach ( $_POST['checkboxes'] as $checkbox => $value ) {
|
|
|
122 |
if ( isset( $submitted_settings[ $checkbox ] ) ) {
|
|
|
123 |
$submitted_settings[ $checkbox ] = 'on';
|
|
|
124 |
} else {
|
|
|
125 |
$submitted_settings[ $checkbox ] = 'off';
|
|
|
126 |
}
|
|
|
127 |
}
|
|
|
128 |
}
|
129 |
|
130 |
if ( is_numeric( $submitted_settings['responsive_breakpoint'] ) ) {
|
135 |
unset( $submitted_settings['toggle_blocks'] );
|
136 |
}
|
137 |
|
138 |
+
$theme = array_map( 'esc_attr', $submitted_settings );
|
139 |
+
|
140 |
+
return $theme;
|
141 |
+
|
142 |
+
}
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Save changes to an exiting theme.
|
146 |
+
*
|
147 |
+
* @since 1.0
|
148 |
+
*/
|
149 |
+
public function save_theme($is_ajax = false) {
|
150 |
+
|
151 |
+
check_admin_referer( 'megamenu_save_theme' );
|
152 |
+
|
153 |
+
$theme = esc_attr( $_POST['theme_id'] );
|
154 |
+
|
155 |
+
$saved_themes = get_site_option( "megamenu_themes" );
|
156 |
+
|
157 |
+
if ( isset( $saved_themes[ $theme ] ) ) {
|
158 |
+
unset( $saved_themes[ $theme ] );
|
159 |
+
}
|
160 |
+
|
161 |
+
$prepared_theme = $this->get_prepared_theme_for_saving();
|
162 |
+
|
163 |
+
$saved_themes[ $theme ] = $prepared_theme;
|
164 |
|
165 |
update_site_option( "megamenu_themes", $saved_themes );
|
166 |
update_site_option( "megamenu_themes_last_updated", $theme );
|
167 |
|
168 |
do_action("megamenu_after_theme_save");
|
|
|
169 |
do_action("megamenu_delete_cache");
|
170 |
|
171 |
+
if ( ! $is_ajax ) {
|
172 |
+
$this->redirect( admin_url( "admin.php?page=maxmegamenu_theme_editor&theme={$theme}&saved=true" ) );
|
173 |
+
return;
|
174 |
+
}
|
175 |
+
|
176 |
+
return $prepared_theme;
|
177 |
|
178 |
}
|
179 |
|
486 |
|
487 |
$new_theme_id = "custom_theme_" . $next_id;
|
488 |
|
489 |
+
$style_manager = new Mega_Menu_Style_Manager();
|
490 |
+
$new_theme = $style_manager->get_default_theme();
|
491 |
|
492 |
$new_theme['title'] = "Custom {$next_id}";
|
493 |
|
661 |
$mobile_second_click = isset( $saved_settings['second_click'] ) ? $saved_settings['second_click'] : 'close';
|
662 |
$mobile_behaviour = isset( $saved_settings['mobile_behaviour'] ) ? $saved_settings['mobile_behaviour'] : 'standard';
|
663 |
$descriptions = isset( $saved_settings['descriptions'] ) ? $saved_settings['descriptions'] : 'disabled';
|
664 |
+
$unbind = isset( $saved_settings['unbind'] ) ? $saved_settings['unbind'] : 'enabled';
|
665 |
+
$prefix = isset( $saved_settings['prefix'] ) ? $saved_settings['prefix'] : 'enabled';
|
666 |
+
|
667 |
$locations = get_registered_nav_menus();
|
668 |
|
669 |
?>
|
732 |
<td class='mega-name'>
|
733 |
<?php _e("Menu Item Descriptions", "megamenu"); ?>
|
734 |
<div class='mega-description'>
|
735 |
+
<?php _e("Enable output of menu item descriptions", "megamenu"); ?>
|
736 |
</div>
|
737 |
</td>
|
738 |
<td class='mega-value'>
|
744 |
</div>
|
745 |
</td>
|
746 |
</tr>
|
747 |
+
<tr>
|
748 |
+
<td class='mega-name'>
|
749 |
+
<?php _e("Unbind JavaScript Events", "megamenu"); ?>
|
750 |
+
<div class='mega-description'>
|
751 |
+
<?php _e("To avoid conflicts with theme menu systems, JavaScript events which have been added to menu items will be removed by default.", "megamenu"); ?>
|
752 |
+
</div>
|
753 |
+
</td>
|
754 |
+
<td class='mega-value'>
|
755 |
+
<select name='settings[unbind]'>
|
756 |
+
<option value='disabled' <?php echo selected( $unbind == 'disabled'); ?>><?php _e("No", "megamenu"); ?></option>
|
757 |
+
<option value='enabled' <?php echo selected( $unbind == 'enabled'); ?>><?php _e("Yes", "megamenu"); ?></option>
|
758 |
+
<select>
|
759 |
+
<div class='mega-description'>
|
760 |
+
</div>
|
761 |
+
</td>
|
762 |
+
</tr>
|
763 |
+
<tr>
|
764 |
+
<td class='mega-name'>
|
765 |
+
<?php _e("Prefix Menu Item Classes", "megamenu"); ?>
|
766 |
+
<div class='mega-description'>
|
767 |
+
<?php _e("Prefix custom menu item classes with 'mega-'?", "megamenu"); ?>
|
768 |
+
</div>
|
769 |
+
</td>
|
770 |
+
<td class='mega-value'>
|
771 |
+
<select name='settings[prefix]'>
|
772 |
+
<option value='disabled' <?php echo selected( $prefix == 'disabled'); ?>><?php _e("No", "megamenu"); ?></option>
|
773 |
+
<option value='enabled' <?php echo selected( $prefix == 'enabled'); ?>><?php _e("Yes", "megamenu"); ?></option>
|
774 |
+
<select>
|
775 |
+
<div class='mega-description'>
|
776 |
+
</div>
|
777 |
+
</td>
|
778 |
+
</tr>
|
779 |
<tr>
|
780 |
<td class='mega-name'>
|
781 |
<?php _e("Active Menu Instances", "megamenu"); ?>
|
1221 |
|
1222 |
$header_links = apply_filters( "megamenu_header_links", array(
|
1223 |
'homepage' => array(
|
1224 |
+
'url' => 'https://www.megamenu.com/?utm_source=free&utm_medium=settings&utm_campaign=pro',
|
1225 |
'target' => '_mmmpro',
|
1226 |
'text' => __("Homepage", "megamenu"),
|
1227 |
'class' => ''
|
1228 |
),
|
1229 |
'documentation' => array(
|
1230 |
+
'url' => 'https://www.megamenu.com/documentation/installation/?utm_source=free&utm_medium=settings&utm_campaign=pro',
|
1231 |
'text' => __("Documentation", "megamenu"),
|
1232 |
'target' => '_mmmpro',
|
1233 |
'class' => ''
|
1234 |
),
|
1235 |
'troubleshooting' => array(
|
1236 |
+
'url' => 'https://www.megamenu.com/articles/troubleshooting/?utm_source=free&utm_medium=settings&utm_campaign=pro',
|
1237 |
'text' => __("Troubleshooting", "megamenu"),
|
1238 |
'target' => '_mmmpro',
|
1239 |
'class' => ''
|
1242 |
|
1243 |
if ( ! is_plugin_active('megamenu-pro/megamenu-pro.php') ) {
|
1244 |
$header_links['pro'] = array(
|
1245 |
+
'url' => 'https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=settings&utm_campaign=pro',
|
1246 |
'target' => '_mmmpro',
|
1247 |
'text' => __("Upgrade to Pro - $19", "megamenu"),
|
1248 |
'class' => 'mega-highlight'
|
1255 |
'text' => __("Core version", "megamenu")
|
1256 |
),
|
1257 |
'pro' => array(
|
1258 |
+
'version' => "<a href='https://www.megamenu.com/upgrade/?utm_source=free&utm_medium=settings&utm_campaign=pro' target='_mmmpro'>not installed</a>",
|
1259 |
'text' => __("Pro extension", "megamenu")
|
1260 |
)
|
1261 |
) );
|
1362 |
|
1363 |
$style_manager = new Mega_Menu_Style_Manager();
|
1364 |
|
1365 |
+
$test = $style_manager->test_theme_compilation( $this->active_theme );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1366 |
|
1367 |
if ( is_wp_error( $test ) ) {
|
1368 |
echo "<p class='fail'>" . $test->get_error_message() . "</p>";
|
1537 |
$settings = apply_filters( 'megamenu_theme_editor_settings', array(
|
1538 |
|
1539 |
'general' => array(
|
1540 |
+
'title' => __( "General Settings", "megamenu" ),
|
1541 |
'settings' => array(
|
1542 |
'title' => array(
|
1543 |
'priority' => 10,
|
3157 |
)
|
3158 |
) );
|
3159 |
|
3160 |
+
echo "<h2 class='nav-tab-wrapper'>";
|
3161 |
+
|
3162 |
+
$is_first = true;
|
3163 |
|
3164 |
foreach ( $settings as $section_id => $section ) {
|
3165 |
|
3166 |
+
if ($is_first) {
|
3167 |
+
$active = 'nav-tab-active ';
|
3168 |
+
$is_first = false;
|
3169 |
+
} else {
|
3170 |
+
$active = '';
|
3171 |
+
}
|
3172 |
+
|
3173 |
+
echo "<a class='mega-tab nav-tab {$active}' data-tab='mega-tab-content-{$section_id}'>".$section['title'] . "</a>";
|
3174 |
+
|
3175 |
+
}
|
3176 |
+
|
3177 |
+
echo "</h2>";
|
3178 |
+
|
3179 |
+
|
3180 |
+
foreach ( $settings as $section_id => $section ) {
|
3181 |
+
|
3182 |
+
echo " <div class='mega-tab-content mega-tab-content-{$section_id}'>";
|
3183 |
echo " <table class='{$section_id}'>";
|
3184 |
|
3185 |
// order the fields by priority
|
3293 |
|
3294 |
echo "</table>";
|
3295 |
echo "</div>";
|
|
|
|
|
3296 |
}
|
3297 |
|
3298 |
?>
|
3299 |
+
|
|
|
3300 |
|
3301 |
<div class='megamenu_submit'>
|
3302 |
<div class='mega_left'>
|
3303 |
+
<?php submit_button(); ?><span class='spinner'></span>
|
3304 |
</div>
|
3305 |
<div class='mega_right'>
|
3306 |
<?php if ( $this->string_contains( $this->id, array("custom") ) ) : ?>
|
3717 |
|
3718 |
wp_localize_script( 'mega-menu-theme-editor', 'megamenu_settings',
|
3719 |
array(
|
3720 |
+
'confirm' => __("Are you sure?", "megamenu"),
|
3721 |
+
"theme_save_error" => __("Error saving theme, please try refreshing the page", "megamenu")
|
3722 |
)
|
3723 |
);
|
3724 |
|
classes/style-manager.class.php
CHANGED
@@ -444,7 +444,6 @@ final class Mega_Menu_Style_Manager {
|
|
444 |
}
|
445 |
|
446 |
if ( strlen( $css ) ) {
|
447 |
-
|
448 |
$scss_location = 'core';
|
449 |
|
450 |
foreach ( $this->get_possible_scss_file_locations() as $path ) {
|
@@ -455,6 +454,8 @@ final class Mega_Menu_Style_Manager {
|
|
455 |
|
456 |
$css = "/** " . date('l jS \of F Y h:i:s A') . " ({$scss_location}) **/\n\n" . $css;
|
457 |
|
|
|
|
|
458 |
$this->set_cached_css( $css );
|
459 |
|
460 |
if ( $this->get_css_output_method() == 'fs' ) {
|
@@ -571,6 +572,25 @@ final class Mega_Menu_Style_Manager {
|
|
571 |
|
572 |
}
|
573 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
574 |
|
575 |
/**
|
576 |
* Compiles raw SCSS into CSS for a particular menu location.
|
@@ -628,6 +648,7 @@ final class Mega_Menu_Style_Manager {
|
|
628 |
|
629 |
$vars['wrap'] = "'$wrap_selector'";
|
630 |
$vars['menu'] = "'$menu_selector'";
|
|
|
631 |
$vars['menu_id'] = "'$menu_id'";
|
632 |
|
633 |
$settings = $this->get_menu_settings_for_location( $location );
|
@@ -792,7 +813,6 @@ final class Mega_Menu_Style_Manager {
|
|
792 |
);
|
793 |
|
794 |
wp_localize_script( 'megamenu', 'megamenu', $params );
|
795 |
-
|
796 |
}
|
797 |
|
798 |
/**
|
444 |
}
|
445 |
|
446 |
if ( strlen( $css ) ) {
|
|
|
447 |
$scss_location = 'core';
|
448 |
|
449 |
foreach ( $this->get_possible_scss_file_locations() as $path ) {
|
454 |
|
455 |
$css = "/** " . date('l jS \of F Y h:i:s A') . " ({$scss_location}) **/\n\n" . $css;
|
456 |
|
457 |
+
$css = apply_filters( "megamenu_compiled_css", $css );
|
458 |
+
|
459 |
$this->set_cached_css( $css );
|
460 |
|
461 |
if ( $this->get_css_output_method() == 'fs' ) {
|
572 |
|
573 |
}
|
574 |
|
575 |
+
public function test_theme_compilation($theme) {
|
576 |
+
$menu_id = 0;
|
577 |
+
|
578 |
+
$menus = get_registered_nav_menus();
|
579 |
+
|
580 |
+
if ( count( $menus ) ) {
|
581 |
+
$locations = get_nav_menu_locations();
|
582 |
+
|
583 |
+
foreach ($menus as $location => $description ) {
|
584 |
+
if ( isset( $locations[ $location ] ) ) {
|
585 |
+
$menu_id = $locations[ $location ];
|
586 |
+
continue;
|
587 |
+
}
|
588 |
+
}
|
589 |
+
}
|
590 |
+
|
591 |
+
return $this->generate_css_for_location( 'test', $theme, $menu_id );
|
592 |
+
|
593 |
+
}
|
594 |
|
595 |
/**
|
596 |
* Compiles raw SCSS into CSS for a particular menu location.
|
648 |
|
649 |
$vars['wrap'] = "'$wrap_selector'";
|
650 |
$vars['menu'] = "'$menu_selector'";
|
651 |
+
$vars['location'] = "'$sanitized_location'";
|
652 |
$vars['menu_id'] = "'$menu_id'";
|
653 |
|
654 |
$settings = $this->get_menu_settings_for_location( $location );
|
813 |
);
|
814 |
|
815 |
wp_localize_script( 'megamenu', 'megamenu', $params );
|
|
|
816 |
}
|
817 |
|
818 |
/**
|
classes/toggle-blocks.class.php
CHANGED
@@ -496,8 +496,13 @@ class Mega_Menu_Toggle_Blocks {
|
|
496 |
</div>
|
497 |
|
498 |
</div>
|
|
|
|
|
499 |
</div>
|
500 |
|
|
|
|
|
|
|
501 |
<?php
|
502 |
}
|
503 |
|
@@ -568,7 +573,7 @@ class Mega_Menu_Toggle_Blocks {
|
|
568 |
?>
|
569 |
|
570 |
<div class='block'>
|
571 |
-
<div class='block-title'
|
572 |
<div class='block-settings'>
|
573 |
<h3><?php _e("Menu Toggle Settings", "megamenu") ?></h3>
|
574 |
<input type='hidden' class='type' name='toggle_blocks[<?php echo $block_id; ?>][type]' value='menu_toggle' />
|
496 |
</div>
|
497 |
|
498 |
</div>
|
499 |
+
|
500 |
+
|
501 |
</div>
|
502 |
|
503 |
+
<p class='mega-info'><?php _e("Click on a block to edit it, or drag and drop it to resposition the block within the toggle bar", "megamenu"); ?></p>
|
504 |
+
|
505 |
+
|
506 |
<?php
|
507 |
}
|
508 |
|
573 |
?>
|
574 |
|
575 |
<div class='block'>
|
576 |
+
<div class='block-title'><?php _e("MENU", "megamenu"); ?> <span title='<?php _e("Menu Toggle", "megamenu"); ?>' class="dashicons dashicons-menu"></span></div>
|
577 |
<div class='block-settings'>
|
578 |
<h3><?php _e("Menu Toggle Settings", "megamenu") ?></h3>
|
579 |
<input type='hidden' class='type' name='toggle_blocks[<?php echo $block_id; ?>][type]' value='menu_toggle' />
|
css/admin/menus.css
CHANGED
@@ -145,11 +145,16 @@
|
|
145 |
margin-top: -5px;
|
146 |
}
|
147 |
|
|
|
|
|
|
|
|
|
|
|
148 |
#cboxContent .mm_tab_container {
|
149 |
width: 20%;
|
150 |
float: left;
|
151 |
position: relative;
|
152 |
-
height:
|
153 |
background: white;
|
154 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0,0,0,0.2);
|
155 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0,0,0,0.2);
|
@@ -159,7 +164,7 @@
|
|
159 |
#cboxContent .mm_content_container {
|
160 |
padding: 20px;
|
161 |
float: right;
|
162 |
-
height:
|
163 |
width: 80%;
|
164 |
overflow: auto;
|
165 |
box-sizing: border-box;
|
@@ -459,6 +464,9 @@
|
|
459 |
width: 100%;
|
460 |
}
|
461 |
|
|
|
|
|
|
|
462 |
|
463 |
#cboxContent .mega_menu #widgets[data-columns='1'] .widget[data-columns='1'] {
|
464 |
width: 100%;
|
@@ -586,6 +594,36 @@
|
|
586 |
}
|
587 |
|
588 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
589 |
#cboxContent .mega_menu #widgets .widget h4 {
|
590 |
max-width: 700px;
|
591 |
}
|
@@ -604,6 +642,7 @@
|
|
604 |
padding: 0 19px 19px 0;
|
605 |
width: 24px;
|
606 |
height: 24px;
|
|
|
607 |
}
|
608 |
|
609 |
#cboxContent .menu_icon .icon_selector label {
|
@@ -662,6 +701,10 @@
|
|
662 |
#cboxContent table td {
|
663 |
padding-bottom: 10px;
|
664 |
}
|
|
|
|
|
|
|
|
|
665 |
#cboxContent h4.first {
|
666 |
margin: 0em 0 0.7em 0;
|
667 |
}
|
@@ -696,6 +739,13 @@
|
|
696 |
color: #999;
|
697 |
line-height: 1.5em;
|
698 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
|
700 |
#cboxContent table td.mega-value .mega-description {
|
701 |
text-indent: 2px;
|
@@ -748,6 +798,16 @@
|
|
748 |
background: #2ea2cc;
|
749 |
border-color: #0074a2;
|
750 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
751 |
.mm_launch {
|
752 |
margin-left: 10px;
|
753 |
font-size: 0.8em;
|
145 |
margin-top: -5px;
|
146 |
}
|
147 |
|
148 |
+
#cboxContent p.submit {
|
149 |
+
margin-bottom: 0;
|
150 |
+
padding-bottom: 0;
|
151 |
+
}
|
152 |
+
|
153 |
#cboxContent .mm_tab_container {
|
154 |
width: 20%;
|
155 |
float: left;
|
156 |
position: relative;
|
157 |
+
height: 454px;
|
158 |
background: white;
|
159 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0,0,0,0.2);
|
160 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0,0,0,0.2);
|
164 |
#cboxContent .mm_content_container {
|
165 |
padding: 20px;
|
166 |
float: right;
|
167 |
+
height: 454px;
|
168 |
width: 80%;
|
169 |
overflow: auto;
|
170 |
box-sizing: border-box;
|
464 |
width: 100%;
|
465 |
}
|
466 |
|
467 |
+
#cboxContent .mega_menu .widget[data-columns='1'] .widget-contract {
|
468 |
+
display: none;
|
469 |
+
}
|
470 |
|
471 |
#cboxContent .mega_menu #widgets[data-columns='1'] .widget[data-columns='1'] {
|
472 |
width: 100%;
|
594 |
}
|
595 |
|
596 |
|
597 |
+
|
598 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='1'] {
|
599 |
+
width: 11.11%;
|
600 |
+
}
|
601 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='2'] {
|
602 |
+
width: 22.22%;
|
603 |
+
}
|
604 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='3'] {
|
605 |
+
width: 33.33%;
|
606 |
+
}
|
607 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='4'] {
|
608 |
+
width: 44.44%;
|
609 |
+
}
|
610 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='5'] {
|
611 |
+
width: 55.55%;
|
612 |
+
}
|
613 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='6'] {
|
614 |
+
width: 66.66%;
|
615 |
+
}
|
616 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='7'] {
|
617 |
+
width: 77.77%;
|
618 |
+
}
|
619 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='8'] {
|
620 |
+
width: 88.88%;
|
621 |
+
}
|
622 |
+
#cboxContent .mega_menu #widgets[data-columns='9'] .widget[data-columns='9'] {
|
623 |
+
width: 100%;
|
624 |
+
}
|
625 |
+
|
626 |
+
|
627 |
#cboxContent .mega_menu #widgets .widget h4 {
|
628 |
max-width: 700px;
|
629 |
}
|
642 |
padding: 0 19px 19px 0;
|
643 |
width: 24px;
|
644 |
height: 24px;
|
645 |
+
box-sizing: initial; /* fix conflict with maps builder plugin */
|
646 |
}
|
647 |
|
648 |
#cboxContent .menu_icon .icon_selector label {
|
701 |
#cboxContent table td {
|
702 |
padding-bottom: 10px;
|
703 |
}
|
704 |
+
|
705 |
+
#cboxContent .general_settings table td {
|
706 |
+
padding-bottom: 5px;
|
707 |
+
}
|
708 |
#cboxContent h4.first {
|
709 |
margin: 0em 0 0.7em 0;
|
710 |
}
|
739 |
color: #999;
|
740 |
line-height: 1.5em;
|
741 |
}
|
742 |
+
#cboxContent table .mega-menu-item-align td.mega-value select,
|
743 |
+
#cboxContent table .mega-sub-menu-align td.mega-value select,
|
744 |
+
#cboxContent table .mega-menu-item-align td.mega-value .mega-description,
|
745 |
+
#cboxContent table .mega-sub-menu-align td.mega-value .mega-description {
|
746 |
+
float: left;
|
747 |
+
margin-right: 10px;
|
748 |
+
}
|
749 |
|
750 |
#cboxContent table td.mega-value .mega-description {
|
751 |
text-indent: 2px;
|
798 |
background: #2ea2cc;
|
799 |
border-color: #0074a2;
|
800 |
}
|
801 |
+
.megamenu_enabled .mm_prefix {
|
802 |
+
display: block;
|
803 |
+
font-size: 0.9em;
|
804 |
+
border-left: 3px solid orange;
|
805 |
+
padding-left: 10px;
|
806 |
+
margin-top: 3px;
|
807 |
+
}
|
808 |
+
.mm_prefix {
|
809 |
+
display: none;
|
810 |
+
}
|
811 |
.mm_launch {
|
812 |
margin-left: 10px;
|
813 |
font-size: 0.8em;
|
css/admin/settings.css
CHANGED
@@ -114,9 +114,13 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
114 |
float: left;
|
115 |
width: 50%;
|
116 |
}
|
117 |
-
.megamenu_outer_wrap .megamenu_submit
|
|
|
|
|
|
|
118 |
margin: 0;
|
119 |
padding: 0;
|
|
|
120 |
}
|
121 |
.megamenu_outer_wrap .megamenu_submit .mega_right {
|
122 |
text-align: right;
|
@@ -171,6 +175,9 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
171 |
.megamenu_outer_wrap .megamenu_wrap {
|
172 |
background: white;
|
173 |
}
|
|
|
|
|
|
|
174 |
.megamenu_outer_wrap .megamenu_right .nav-tab-active {
|
175 |
background: white;
|
176 |
}
|
@@ -278,7 +285,9 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
278 |
line-height: 1.5em;
|
279 |
}
|
280 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .CodeMirror {
|
281 |
-
height:
|
|
|
|
|
282 |
border: 1px solid #aaa;
|
283 |
}
|
284 |
|
@@ -364,7 +373,14 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
364 |
font-size: 16px;
|
365 |
color: #333;
|
366 |
}
|
367 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
|
369 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .mega-left,
|
370 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .mega-center,
|
@@ -402,6 +418,7 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
402 |
display: inline-block;
|
403 |
height: 35px;
|
404 |
line-height: 35px;
|
|
|
405 |
background: white;
|
406 |
color: #555;
|
407 |
cursor: move;
|
@@ -409,6 +426,12 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
409 |
position: relative;
|
410 |
z-index: 2;
|
411 |
border-radius: 3px;
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
}
|
413 |
|
414 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .block .block-title .dashicons {
|
@@ -516,27 +539,6 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
516 |
border: 1px solid #dfdfdf;
|
517 |
}
|
518 |
|
519 |
-
/*
|
520 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-general {
|
521 |
-
border-left: 5px solid #03A9F4;
|
522 |
-
}
|
523 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-menu_bar {
|
524 |
-
border-left: 5px solid #009688;
|
525 |
-
}
|
526 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-mega_panels {
|
527 |
-
border-left: 5px solid #FFA000;
|
528 |
-
}
|
529 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-flyout_menus {
|
530 |
-
border-left: 5px solid #4CAF50;
|
531 |
-
}
|
532 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-mobile_menu {
|
533 |
-
border-left: 5px solid #C2185B;
|
534 |
-
}
|
535 |
-
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section.mega-custom_styling {
|
536 |
-
border-left: 5px solid #607D8B;
|
537 |
-
}
|
538 |
-
*/
|
539 |
-
|
540 |
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section-content {
|
541 |
padding-left: 10px;
|
542 |
padding-right: 10px;
|
@@ -550,25 +552,76 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
550 |
font-size: 1em;
|
551 |
}
|
552 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
.megamenu_outer_wrap .megamenu_right .fail {
|
554 |
border: 1px solid #aaa;
|
555 |
border-left: 4px solid #dd3d36;
|
556 |
background: #fff;
|
557 |
-
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
558 |
padding: 7px 0 7px 15px;
|
559 |
margin: 0 0 20px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
}
|
561 |
.megamenu_outer_wrap .megamenu_wrap .success {
|
562 |
-
border: 1px solid #
|
563 |
-
border-left: 4px solid #7ad03a;
|
564 |
background: #fff;
|
565 |
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
566 |
-
|
567 |
margin: 0 0 20px 0;
|
|
|
|
|
|
|
568 |
}
|
569 |
.megamenu_outer_wrap .megamenu_wrap .success .dashicons {
|
570 |
-
|
|
|
571 |
margin-right: 7px;
|
|
|
|
|
|
|
572 |
}
|
573 |
.megamenu_outer_wrap .megamenu_right .menu_settings select.icon_dropdown {
|
574 |
margin-right: 0;
|
@@ -580,7 +633,11 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
|
|
580 |
font-size: 0.9em;
|
581 |
}
|
582 |
.megamenu_outer_wrap .megamenu_right .menu_settings h3.editing_theme {
|
583 |
-
margin:
|
|
|
|
|
|
|
|
|
584 |
}
|
585 |
|
586 |
.megamenu_outer_wrap .mm-picker-container .sp-replacer {
|
114 |
float: left;
|
115 |
width: 50%;
|
116 |
}
|
117 |
+
.megamenu_outer_wrap .megamenu_submit .spinner {
|
118 |
+
float: left;
|
119 |
+
}
|
120 |
+
.megamenu_outer_wrap .megamenu_submit p.submit {
|
121 |
margin: 0;
|
122 |
padding: 0;
|
123 |
+
float: left;
|
124 |
}
|
125 |
.megamenu_outer_wrap .megamenu_submit .mega_right {
|
126 |
text-align: right;
|
175 |
.megamenu_outer_wrap .megamenu_wrap {
|
176 |
background: white;
|
177 |
}
|
178 |
+
.megamenu_outer_wrap .megamenu_right h2.nav-tab-wrapper {
|
179 |
+
margin: 0;
|
180 |
+
}
|
181 |
.megamenu_outer_wrap .megamenu_right .nav-tab-active {
|
182 |
background: white;
|
183 |
}
|
285 |
line-height: 1.5em;
|
286 |
}
|
287 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .CodeMirror {
|
288 |
+
height: auto;
|
289 |
+
max-height: 500px;
|
290 |
+
min-height: 150px;
|
291 |
border: 1px solid #aaa;
|
292 |
}
|
293 |
|
373 |
font-size: 16px;
|
374 |
color: #333;
|
375 |
}
|
376 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings table .mega-toggle_blocks .mega-value {
|
377 |
+
padding-bottom: 0;
|
378 |
+
}
|
379 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings table .mega-toggle_blocks .mega-description {
|
380 |
+
float: left;
|
381 |
+
width: 100%;
|
382 |
+
margin-top: 20px;
|
383 |
+
}
|
384 |
|
385 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .mega-left,
|
386 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .mega-center,
|
418 |
display: inline-block;
|
419 |
height: 35px;
|
420 |
line-height: 35px;
|
421 |
+
font-size: 0.9em;
|
422 |
background: white;
|
423 |
color: #555;
|
424 |
cursor: move;
|
426 |
position: relative;
|
427 |
z-index: 2;
|
428 |
border-radius: 3px;
|
429 |
+
text-align: left;
|
430 |
+
box-sizing: border-box;
|
431 |
+
}
|
432 |
+
|
433 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .block.ui-sortable-helper {
|
434 |
+
width: auto !important;
|
435 |
}
|
436 |
|
437 |
.megamenu_outer_wrap .megamenu_right .menu_settings table .toggle-bar-designer .mega-blocks .block .block-title .dashicons {
|
539 |
border: 1px solid #dfdfdf;
|
540 |
}
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
.megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section-content {
|
543 |
padding-left: 10px;
|
544 |
padding-right: 10px;
|
552 |
font-size: 1em;
|
553 |
}
|
554 |
|
555 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings a.nav-tab {
|
556 |
+
cursor: pointer;
|
557 |
+
}
|
558 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings a.nav-tab-active {
|
559 |
+
position: relative;
|
560 |
+
z-index: 1;
|
561 |
+
border-bottom: 1px solid white;
|
562 |
+
}
|
563 |
+
|
564 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings .megamenu_submit {
|
565 |
+
float: left;
|
566 |
+
width: 100%;
|
567 |
+
}
|
568 |
+
.megamenu_outer_wrap .megamenu_right .menu_settings div.mega-tab-content {
|
569 |
+
position: relative;
|
570 |
+
top: -1px;
|
571 |
+
clear: both;
|
572 |
+
padding: 10px;
|
573 |
+
border: 1px solid #ccc;
|
574 |
+
float: left;
|
575 |
+
width: 100%;
|
576 |
+
box-sizing: border-box;
|
577 |
+
}
|
578 |
.megamenu_outer_wrap .megamenu_right .fail {
|
579 |
border: 1px solid #aaa;
|
580 |
border-left: 4px solid #dd3d36;
|
581 |
background: #fff;
|
|
|
582 |
padding: 7px 0 7px 15px;
|
583 |
margin: 0 0 20px 0;
|
584 |
+
float: left;
|
585 |
+
width: 100%;
|
586 |
+
box-sizing: border-box;
|
587 |
+
}
|
588 |
+
.megamenu_outer_wrap .megamenu_wrap .megamenu_submit .success {
|
589 |
+
border: 1px solid #7ad03a;
|
590 |
+
background: #7ad03a;
|
591 |
+
line-height: 26px;
|
592 |
+
margin: 0 0 0 15px;
|
593 |
+
float: left;
|
594 |
+
width: auto;
|
595 |
+
box-sizing: border-box;
|
596 |
+
border-radius: 2px;
|
597 |
+
padding-right: 20px;
|
598 |
+
color: white;
|
599 |
+
}
|
600 |
+
.megamenu_outer_wrap .megamenu_wrap .megamenu_submit .success .dashicons {
|
601 |
+
background: #7ad03a;
|
602 |
+
color: white;
|
603 |
+
margin-right: 7px;
|
604 |
+
width: 26px;
|
605 |
+
line-height: 26px;
|
606 |
+
height: 26px;
|
607 |
}
|
608 |
.megamenu_outer_wrap .megamenu_wrap .success {
|
609 |
+
border: 1px solid #7ad03a;
|
|
|
610 |
background: #fff;
|
611 |
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
612 |
+
line-height: 35px;
|
613 |
margin: 0 0 20px 0;
|
614 |
+
float: left;
|
615 |
+
width: 100%;
|
616 |
+
box-sizing: border-box;
|
617 |
}
|
618 |
.megamenu_outer_wrap .megamenu_wrap .success .dashicons {
|
619 |
+
background: #7ad03a;
|
620 |
+
color: white;
|
621 |
margin-right: 7px;
|
622 |
+
width: 35px;
|
623 |
+
line-height: 35px;
|
624 |
+
height: 35px;
|
625 |
}
|
626 |
.megamenu_outer_wrap .megamenu_right .menu_settings select.icon_dropdown {
|
627 |
margin-right: 0;
|
633 |
font-size: 0.9em;
|
634 |
}
|
635 |
.megamenu_outer_wrap .megamenu_right .menu_settings h3.editing_theme {
|
636 |
+
margin: 0 0 30px 0;
|
637 |
+
padding: 0;
|
638 |
+
border: 0;
|
639 |
+
float: left;
|
640 |
+
width: 100%;
|
641 |
}
|
642 |
|
643 |
.megamenu_outer_wrap .mm-picker-container .sp-replacer {
|
css/megamenu.scss
CHANGED
@@ -106,7 +106,12 @@
|
|
106 |
}
|
107 |
}
|
108 |
|
109 |
-
li.mega-
|
|
|
|
|
|
|
|
|
|
|
110 |
cursor: default;
|
111 |
}
|
112 |
|
@@ -283,6 +288,12 @@
|
|
283 |
}
|
284 |
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
&.mega-toggle-on > a.mega-menu-link,
|
287 |
> a.mega-menu-link:hover,
|
288 |
> a.mega-menu-link:focus {
|
@@ -403,7 +414,7 @@
|
|
403 |
}
|
404 |
|
405 |
@include desktop {
|
406 |
-
@for $of from 1 through
|
407 |
@for $cols from 1 through $of {
|
408 |
li.mega-menu-columns-#{$cols}-of-#{$of} {
|
409 |
width: (100% / $of) * $cols;
|
@@ -533,6 +544,29 @@
|
|
533 |
}
|
534 |
}
|
535 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
536 |
// Sub menu items (flyout)
|
537 |
> li.mega-menu-flyout ul.mega-sub-menu {
|
538 |
z-index: $z_index;
|
106 |
}
|
107 |
}
|
108 |
|
109 |
+
> li.mega-animating > ul.mega-sub-menu {
|
110 |
+
pointer-events: none;
|
111 |
+
}
|
112 |
+
|
113 |
+
li.mega-disable-link > a.mega-menu-link,
|
114 |
+
li.mega-menu-megamenu li.mega-disable-link > a.mega-menu-link {
|
115 |
cursor: default;
|
116 |
}
|
117 |
|
288 |
}
|
289 |
}
|
290 |
|
291 |
+
&.mega-item-align-float-left {
|
292 |
+
@include desktop {
|
293 |
+
float: left;
|
294 |
+
}
|
295 |
+
}
|
296 |
+
|
297 |
&.mega-toggle-on > a.mega-menu-link,
|
298 |
> a.mega-menu-link:hover,
|
299 |
> a.mega-menu-link:focus {
|
414 |
}
|
415 |
|
416 |
@include desktop {
|
417 |
+
@for $of from 1 through 9 {
|
418 |
@for $cols from 1 through $of {
|
419 |
li.mega-menu-columns-#{$cols}-of-#{$of} {
|
420 |
width: (100% / $of) * $cols;
|
544 |
}
|
545 |
}
|
546 |
|
547 |
+
> li.mega-menu-megamenu.mega-no-headers > ul.mega-sub-menu {
|
548 |
+
> li.mega-menu-item > a.mega-menu-link {
|
549 |
+
color: $panel_third_level_font_color;
|
550 |
+
font-family: $panel_third_level_font;
|
551 |
+
font-size: $panel_third_level_font_size;
|
552 |
+
text-transform: $panel_third_level_text_transform;
|
553 |
+
text-decoration: $panel_third_level_text_decoration;
|
554 |
+
font-weight: $panel_third_level_font_weight;
|
555 |
+
margin: 0;
|
556 |
+
padding: $panel_third_level_padding_top $panel_third_level_padding_right $panel_third_level_padding_bottom $panel_third_level_padding_left;
|
557 |
+
vertical-align: top;
|
558 |
+
display: block;
|
559 |
+
}
|
560 |
+
|
561 |
+
> li.mega-menu-item > a.mega-menu-link:hover,
|
562 |
+
> li.mega-menu-item > a.mega-menu-link:focus {
|
563 |
+
color: $panel_third_level_font_color_hover;
|
564 |
+
font-weight: $panel_third_level_font_weight_hover;
|
565 |
+
text-decoration: $panel_third_level_text_decoration_hover;
|
566 |
+
@include background($panel_third_level_background_hover_from, $panel_third_level_background_hover_to);
|
567 |
+
}
|
568 |
+
}
|
569 |
+
|
570 |
// Sub menu items (flyout)
|
571 |
> li.mega-menu-flyout ul.mega-sub-menu {
|
572 |
z-index: $z_index;
|
integration/twentyseventeen/functions.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // disable direct access
|
5 |
+
}
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Append integration CSS
|
9 |
+
*/
|
10 |
+
function megamenu_twentyseventeen_style($scss) {
|
11 |
+
$path = trailingslashit( plugin_dir_path( __FILE__ ) ) . 'style.scss';
|
12 |
+
$contents = file_get_contents( $path );
|
13 |
+
return $scss . $contents;
|
14 |
+
}
|
15 |
+
add_filter( 'megamenu_load_scss_file_contents', 'megamenu_twentyseventeen_style', 9999 );
|
16 |
+
|
17 |
+
|
18 |
+
/**
|
19 |
+
* TwentySeventeen JavaScript helper
|
20 |
+
*/
|
21 |
+
function megamenu_twentyseventeen_script() {
|
22 |
+
wp_enqueue_script( "megamenu-twentyseventeen", plugins_url( 'script.js' , __FILE__ ), array('megamenu'), MEGAMENU_VERSION, true );
|
23 |
+
}
|
24 |
+
add_action( 'wp_enqueue_scripts', 'megamenu_twentyseventeen_script', 999 );
|
25 |
+
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Restore menu-item class on menu items. Required for the sticky menu to work.
|
29 |
+
*/
|
30 |
+
function megamenu_twentyseventeen_add_menu_item_class($classes) {
|
31 |
+
$classes[] = 'menu-item';
|
32 |
+
return $classes;
|
33 |
+
}
|
34 |
+
add_filter( 'megamenu_nav_menu_css_class', 'megamenu_twentyseventeen_add_menu_item_class', 9999 );
|
integration/twentyseventeen/script.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
jQuery("body.mega-menu-top #mega-menu-top").on("after_mega_menu_init", function() {
|
2 |
+
jQuery(this).parent().parent().removeClass("main-navigation");
|
3 |
+
});
|
integration/twentyseventeen/style.scss
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@if $location == 'top' {
|
2 |
+
body.mega-menu-top {
|
3 |
+
button.menu-toggle {
|
4 |
+
height: 0;
|
5 |
+
padding: 0;
|
6 |
+
visibility: hidden;
|
7 |
+
margin: 0;
|
8 |
+
}
|
9 |
+
.site-header .navigation-top .menu-scroll-down {
|
10 |
+
display: none;
|
11 |
+
}
|
12 |
+
.navigation-top a {
|
13 |
+
font-weight: normal;
|
14 |
+
}
|
15 |
+
.navigation-top .wrap {
|
16 |
+
padding: 0 2em;
|
17 |
+
}
|
18 |
+
.navigation-top nav {
|
19 |
+
margin-left: 0;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
integration/zerif/functions.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Zerif binds smoothscroll events to the top level menu items. Stop MMM from unbinding these events.
|
5 |
+
*/
|
6 |
+
if ( ! function_exists('megamenu_dont_unbind_menu_events') ) {
|
7 |
+
function megamenu_dont_unbind_menu_events($attributes, $menu_id, $menu_settings, $settings, $current_theme_location) {
|
8 |
+
|
9 |
+
$attributes['data-unbind'] = "false";
|
10 |
+
|
11 |
+
return $attributes;
|
12 |
+
}
|
13 |
+
}
|
14 |
+
add_filter("megamenu_wrap_attributes", "megamenu_dont_unbind_menu_events", 11, 5);
|
js/admin.js
CHANGED
@@ -33,8 +33,8 @@
|
|
33 |
scrolling: true,
|
34 |
fixed: true,
|
35 |
top: '10%',
|
36 |
-
initialHeight: '
|
37 |
-
maxHeight: '
|
38 |
});
|
39 |
|
40 |
$.ajax({
|
@@ -581,8 +581,16 @@ jQuery(function ($) {
|
|
581 |
});
|
582 |
|
583 |
$('.item-title', menu_item).append(button);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
584 |
});
|
585 |
|
|
|
586 |
// AJAX Save MMM Settings
|
587 |
$(".max-mega-menu-save").on('click', function(e) {
|
588 |
e.preventDefault();
|
@@ -615,4 +623,11 @@ jQuery(document).on('megamenu_content_loaded', function() {
|
|
615 |
jQuery('.hide-pro-nags').html(response);
|
616 |
});
|
617 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
618 |
});
|
33 |
scrolling: true,
|
34 |
fixed: true,
|
35 |
top: '10%',
|
36 |
+
initialHeight: '502',
|
37 |
+
maxHeight: '530'
|
38 |
});
|
39 |
|
40 |
$.ajax({
|
581 |
});
|
582 |
|
583 |
$('.item-title', menu_item).append(button);
|
584 |
+
|
585 |
+
if (megamenu.css_prefix === "true") {
|
586 |
+
var custom_css_classes = menu_item.find('.edit-menu-item-classes');
|
587 |
+
var css_prefix = $("<span>").addClass("mm_prefix").html(megamenu.css_prefix_message);
|
588 |
+
custom_css_classes.after(css_prefix);
|
589 |
+
}
|
590 |
+
|
591 |
});
|
592 |
|
593 |
+
|
594 |
// AJAX Save MMM Settings
|
595 |
$(".max-mega-menu-save").on('click', function(e) {
|
596 |
e.preventDefault();
|
623 |
jQuery('.hide-pro-nags').html(response);
|
624 |
});
|
625 |
});
|
626 |
+
|
627 |
+
jQuery('select#mega-item-align').on("change", function() {
|
628 |
+
var select = jQuery(this);
|
629 |
+
var selected = jQuery(this).val();
|
630 |
+
select.next().children().hide();
|
631 |
+
select.next().children('.' + selected).show();
|
632 |
+
});
|
633 |
});
|
js/maxmegamenu.js
CHANGED
@@ -18,14 +18,12 @@
|
|
18 |
second_click: $menu.attr("data-second-click"),
|
19 |
vertical_behaviour: $menu.attr("data-vertical-behaviour"),
|
20 |
document_click: $menu.attr("data-document-click"),
|
21 |
-
breakpoint: $menu.attr("data-breakpoint")
|
|
|
22 |
};
|
23 |
|
24 |
plugin.settings = {};
|
25 |
|
26 |
-
/**
|
27 |
-
* Hides a single panel (sub menu)
|
28 |
-
*/
|
29 |
plugin.hidePanel = function(anchor, immediate) {
|
30 |
if (!immediate && plugin.settings.effect == 'slide' ) {
|
31 |
anchor.siblings(".mega-sub-menu").animate({"height":"hide"}, plugin.settings.effect_speed, function() {
|
@@ -42,51 +40,48 @@
|
|
42 |
}
|
43 |
|
44 |
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
};
|
46 |
|
47 |
-
/**
|
48 |
-
* Hide all open sub menus
|
49 |
-
*/
|
50 |
plugin.hideAllPanels = function() {
|
51 |
$(".mega-toggle-on > a.mega-menu-link", $menu).each(function() {
|
52 |
plugin.hidePanel($(this), false);
|
53 |
});
|
54 |
};
|
55 |
|
56 |
-
/**
|
57 |
-
* For flyout menus: Hide open sub menus at the same level as the sub menu that"s being opened
|
58 |
-
*/
|
59 |
plugin.hideSiblingPanels = function(anchor, immediate) {
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
plugin.hidePanel($(this), immediate);
|
64 |
-
});
|
65 |
-
} else {
|
66 |
-
anchor.parent().siblings().find(".mega-toggle-on").andSelf().children("a").each(function() { // all open children of open siblings
|
67 |
-
plugin.hidePanel($(this), immediate);
|
68 |
-
});
|
69 |
-
}
|
70 |
};
|
71 |
|
72 |
-
/**
|
73 |
-
* Returns true if the browser width is wider than the Responsive Breakpoint (set in Menu Theme Editor)
|
74 |
-
*/
|
75 |
plugin.isDesktopView = function() {
|
76 |
-
return $(window).width() >= plugin.settings.breakpoint;
|
77 |
};
|
78 |
|
79 |
-
/**
|
80 |
-
*
|
81 |
-
*/
|
82 |
plugin.isMobileView = function() {
|
83 |
return !plugin.isDesktopView();
|
84 |
};
|
85 |
|
86 |
-
/**
|
87 |
-
* Display a single panel. Also handles closing of panels that are currently open and need to be closed.
|
88 |
-
*/
|
89 |
plugin.showPanel = function(anchor) {
|
|
|
|
|
90 |
if (plugin.isMobileView() && anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
91 |
return;
|
92 |
}
|
@@ -99,15 +94,34 @@
|
|
99 |
plugin.hideSiblingPanels(anchor, false);
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
// apply dynamic width and sub menu position
|
103 |
-
if (anchor.parent().hasClass("mega-menu-megamenu") &&
|
104 |
-
|
105 |
-
|
|
|
106 |
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
}
|
112 |
|
113 |
// apply inner width to sub menu by adding padding to the left and right of the mega menu
|
@@ -124,25 +138,20 @@
|
|
124 |
|
125 |
var submenu_width = parseInt(anchor.siblings(".mega-sub-menu").innerWidth(), 10);
|
126 |
|
127 |
-
if (target_width > 0 && target_width < submenu_width) {
|
128 |
anchor.siblings(".mega-sub-menu").css({
|
129 |
"paddingLeft": (submenu_width - target_width) / 2 + "px",
|
130 |
"paddingRight": (submenu_width - target_width) / 2 + "px"
|
131 |
});
|
|
|
|
|
|
|
|
|
|
|
132 |
}
|
133 |
}
|
|
|
134 |
|
135 |
-
// apply jQuery transition (only if the effect is set to "slide", other transitions are CSS based)
|
136 |
-
if ( plugin.settings.effect == "slide" ) {
|
137 |
-
anchor.siblings(".mega-sub-menu").css("display", "none").animate({'height':'show'}, plugin.settings.effect_speed);
|
138 |
-
}
|
139 |
-
|
140 |
-
anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel");
|
141 |
-
};
|
142 |
-
|
143 |
-
/**
|
144 |
-
* Open sub menus on click
|
145 |
-
*/
|
146 |
var bindClickEvents = function() {
|
147 |
var dragging = false;
|
148 |
|
@@ -158,9 +167,15 @@
|
|
158 |
dragging = false;
|
159 |
});
|
160 |
|
161 |
-
var items_with_submenus = $("li.mega-menu-megamenu.mega-menu-item-has-children > a.mega-menu-link, li.mega-menu-flyout.mega-menu-item-has-children > a.mega-menu-link, li.mega-menu-flyout li.mega-menu-item-has-children > a.mega-menu-link", menu);
|
162 |
|
163 |
items_with_submenus.on("click.megamenu touchend.megamenu", function(e) {
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
if (dragging) {
|
165 |
return;
|
166 |
}
|
@@ -168,8 +183,7 @@
|
|
168 |
return; // allow all clicks on parent items when sub menu is hidden on mobile
|
169 |
}
|
170 |
|
171 |
-
// check for second click
|
172 |
-
if (plugin.settings.second_click === "go" || $(this).parent().hasClass("mega-click-click-go")) {
|
173 |
if (!$(this).parent().hasClass("mega-toggle-on")) {
|
174 |
e.preventDefault();
|
175 |
plugin.showPanel($(this));
|
@@ -186,35 +200,33 @@
|
|
186 |
});
|
187 |
};
|
188 |
|
189 |
-
/**
|
190 |
-
* Open sub menus on hover
|
191 |
-
*/
|
192 |
var bindHoverEvents = function() {
|
193 |
-
$("li.mega-menu-item-has-children", menu).not("li.mega-menu-megamenu li.mega-menu-item-has-children", menu).on({
|
194 |
mouseenter: function() {
|
195 |
plugin.unbindClickEvents();
|
196 |
-
|
|
|
|
|
197 |
},
|
198 |
mouseleave: function() {
|
199 |
-
if ($(this).hasClass("mega-toggle-on")) {
|
200 |
-
plugin.hidePanel($(this).children("a"), false);
|
201 |
}
|
202 |
}
|
203 |
});
|
204 |
};
|
205 |
|
206 |
-
/**
|
207 |
-
* Open sub menus on hoverIntent
|
208 |
-
*/
|
209 |
var bindHoverIntentEvents = function() {
|
210 |
-
$("li.mega-menu-item-has-children", menu).not("li.mega-menu-megamenu li.mega-menu-item-has-children", menu).hoverIntent({
|
211 |
over: function () {
|
212 |
plugin.unbindClickEvents();
|
213 |
-
|
|
|
|
|
214 |
},
|
215 |
out: function () {
|
216 |
-
if ($(this).hasClass("mega-toggle-on")) {
|
217 |
-
plugin.hidePanel($(this).children("a"), false);
|
218 |
}
|
219 |
},
|
220 |
timeout: megamenu.timeout,
|
@@ -222,16 +234,10 @@
|
|
222 |
});
|
223 |
};
|
224 |
|
225 |
-
/**
|
226 |
-
*
|
227 |
-
*/
|
228 |
plugin.unbindClickEvents = function() {
|
229 |
-
$("a.mega-menu-link").off("click.megamenu touchend.megamenu");
|
230 |
};
|
231 |
|
232 |
-
/**
|
233 |
-
* Handle keyboard navigation of the menu. Highlight focused items.
|
234 |
-
*/
|
235 |
plugin.keyboardNavigation = function() {
|
236 |
var tab_key = 9;
|
237 |
var escape_key = 27;
|
@@ -270,17 +276,10 @@
|
|
270 |
});
|
271 |
};
|
272 |
|
273 |
-
/**
|
274 |
-
* Remove all events from mega menu
|
275 |
-
*/
|
276 |
plugin.unbindAllEvents = function() {
|
277 |
$("ul.mega-sub-menu, li.mega-menu-item, a.mega-menu-link", menu).off().unbind();
|
278 |
};
|
279 |
|
280 |
-
/**
|
281 |
-
* Bind events to the menu items to allow it to be opened on click, hover or hover intent.
|
282 |
-
* The event will always be "click" if the current view is "mobile"
|
283 |
-
*/
|
284 |
plugin.bindMegaMenuEvents = function() {
|
285 |
if (plugin.isDesktopView() && plugin.settings.event === "hover_intent") {
|
286 |
bindHoverIntentEvents();
|
@@ -293,10 +292,6 @@
|
|
293 |
bindClickEvents(); // always bind click events for touch screen devices
|
294 |
};
|
295 |
|
296 |
-
/**
|
297 |
-
* Monitor the width of the browser so we can tell when the browser has been resized to the point
|
298 |
-
* where the mobile menu is displayed, and vice versa
|
299 |
-
*/
|
300 |
plugin.monitorView = function() {
|
301 |
if (plugin.isDesktopView()) {
|
302 |
$menu.data("view", "desktop");
|
@@ -312,9 +307,6 @@
|
|
312 |
});
|
313 |
};
|
314 |
|
315 |
-
/**
|
316 |
-
* Monitor the width of the browser and call functions when menu switches between desktop and mobile view
|
317 |
-
*/
|
318 |
plugin.checkWidth = function() {
|
319 |
if ( plugin.isMobileView() && $menu.data("view") === "desktop" ) {
|
320 |
$menu.data("view", "mobile");
|
@@ -325,36 +317,30 @@
|
|
325 |
$menu.data("view", "desktop");
|
326 |
plugin.switchToDesktop();
|
327 |
}
|
|
|
|
|
|
|
|
|
328 |
};
|
329 |
|
330 |
-
/**
|
331 |
-
* Reverse right aligned menu items so that they appear in the same order on mobile as they do on desktop
|
332 |
-
*/
|
333 |
plugin.reverseRightAlignedItems = function() {
|
334 |
$menu.append($menu.children("li.mega-item-align-right").get().reverse());
|
335 |
};
|
336 |
|
337 |
-
/**
|
338 |
-
* Called when the menu view loads in mobile, or switches from desktop to mobile
|
339 |
-
*/
|
340 |
plugin.switchToMobile = function() {
|
341 |
plugin.unbindAllEvents();
|
342 |
plugin.bindMegaMenuEvents();
|
343 |
plugin.reverseRightAlignedItems();
|
|
|
344 |
};
|
345 |
|
346 |
-
/**
|
347 |
-
* Called when the menu view switches from mobile to desktop
|
348 |
-
*/
|
349 |
plugin.switchToDesktop = function() {
|
350 |
plugin.unbindAllEvents();
|
351 |
plugin.bindMegaMenuEvents();
|
352 |
plugin.reverseRightAlignedItems();
|
|
|
353 |
};
|
354 |
|
355 |
-
/**
|
356 |
-
* Initialise the mega menu
|
357 |
-
*/
|
358 |
plugin.init = function() {
|
359 |
$menu.triggerHandler("before_mega_menu_init");
|
360 |
plugin.settings = $.extend({}, defaults, options);
|
@@ -367,7 +353,10 @@
|
|
367 |
}
|
368 |
});
|
369 |
|
370 |
-
plugin.
|
|
|
|
|
|
|
371 |
plugin.bindMegaMenuEvents();
|
372 |
plugin.monitorView();
|
373 |
plugin.keyboardNavigation();
|
18 |
second_click: $menu.attr("data-second-click"),
|
19 |
vertical_behaviour: $menu.attr("data-vertical-behaviour"),
|
20 |
document_click: $menu.attr("data-document-click"),
|
21 |
+
breakpoint: $menu.attr("data-breakpoint"),
|
22 |
+
unbind_events: $menu.attr("data-unbind")
|
23 |
};
|
24 |
|
25 |
plugin.settings = {};
|
26 |
|
|
|
|
|
|
|
27 |
plugin.hidePanel = function(anchor, immediate) {
|
28 |
if (!immediate && plugin.settings.effect == 'slide' ) {
|
29 |
anchor.siblings(".mega-sub-menu").animate({"height":"hide"}, plugin.settings.effect_speed, function() {
|
40 |
}
|
41 |
|
42 |
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
|
43 |
+
plugin.addAnimatingClass(anchor.parent());
|
44 |
+
};
|
45 |
+
|
46 |
+
plugin.addAnimatingClass = function(element) {
|
47 |
+
if (plugin.settings.effect === "disabled") {
|
48 |
+
return;
|
49 |
+
}
|
50 |
+
|
51 |
+
$(".mega-animating").removeClass("mega-animating");
|
52 |
+
|
53 |
+
var timeout = plugin.settings.effect_speed + parseInt(megamenu.timeout, 10);
|
54 |
+
|
55 |
+
element.addClass("mega-animating");
|
56 |
+
|
57 |
+
setTimeout(function() {
|
58 |
+
element.removeClass("mega-animating");
|
59 |
+
}, timeout );
|
60 |
};
|
61 |
|
|
|
|
|
|
|
62 |
plugin.hideAllPanels = function() {
|
63 |
$(".mega-toggle-on > a.mega-menu-link", $menu).each(function() {
|
64 |
plugin.hidePanel($(this), false);
|
65 |
});
|
66 |
};
|
67 |
|
|
|
|
|
|
|
68 |
plugin.hideSiblingPanels = function(anchor, immediate) {
|
69 |
+
anchor.parent().parent().find(".mega-toggle-on").children("a.mega-menu-link").each(function() { // all open children of open siblings
|
70 |
+
plugin.hidePanel($(this), immediate);
|
71 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
};
|
73 |
|
|
|
|
|
|
|
74 |
plugin.isDesktopView = function() {
|
75 |
+
return Math.max(window.outerWidth, $(window).width()) >= plugin.settings.breakpoint; // account for scrollbars
|
76 |
};
|
77 |
|
|
|
|
|
|
|
78 |
plugin.isMobileView = function() {
|
79 |
return !plugin.isDesktopView();
|
80 |
};
|
81 |
|
|
|
|
|
|
|
82 |
plugin.showPanel = function(anchor) {
|
83 |
+
$(".mega-animating").removeClass("mega-animating");
|
84 |
+
|
85 |
if (plugin.isMobileView() && anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
86 |
return;
|
87 |
}
|
94 |
plugin.hideSiblingPanels(anchor, false);
|
95 |
}
|
96 |
|
97 |
+
plugin.calculateDynamicSubmenuWidths(anchor);
|
98 |
+
|
99 |
+
// apply jQuery transition (only if the effect is set to "slide", other transitions are CSS based)
|
100 |
+
if ( plugin.settings.effect == "slide" ) {
|
101 |
+
anchor.siblings(".mega-sub-menu").css("display", "none").animate({'height':'show'}, plugin.settings.effect_speed);
|
102 |
+
}
|
103 |
+
|
104 |
+
anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel");
|
105 |
+
};
|
106 |
+
|
107 |
+
plugin.calculateDynamicSubmenuWidths = function(anchor) {
|
108 |
+
|
109 |
// apply dynamic width and sub menu position
|
110 |
+
if (anchor.parent().hasClass("mega-menu-megamenu") && plugin.settings.panel_width && plugin.settings.panel_width.length > 0) {
|
111 |
+
if (plugin.isDesktopView()) {
|
112 |
+
var submenu_offset = $menu.offset();
|
113 |
+
var target_offset = $(plugin.settings.panel_width).offset();
|
114 |
|
115 |
+
anchor.siblings(".mega-sub-menu").css({
|
116 |
+
width: $(plugin.settings.panel_width).outerWidth(),
|
117 |
+
left: (target_offset.left - submenu_offset.left) + "px"
|
118 |
+
});
|
119 |
+
} else {
|
120 |
+
anchor.siblings(".mega-sub-menu").css({
|
121 |
+
width: "",
|
122 |
+
left: ""
|
123 |
+
});
|
124 |
+
}
|
125 |
}
|
126 |
|
127 |
// apply inner width to sub menu by adding padding to the left and right of the mega menu
|
138 |
|
139 |
var submenu_width = parseInt(anchor.siblings(".mega-sub-menu").innerWidth(), 10);
|
140 |
|
141 |
+
if (plugin.isDesktopView() && target_width > 0 && target_width < submenu_width) {
|
142 |
anchor.siblings(".mega-sub-menu").css({
|
143 |
"paddingLeft": (submenu_width - target_width) / 2 + "px",
|
144 |
"paddingRight": (submenu_width - target_width) / 2 + "px"
|
145 |
});
|
146 |
+
} else {
|
147 |
+
anchor.siblings(".mega-sub-menu").css({
|
148 |
+
"paddingLeft": "",
|
149 |
+
"paddingRight": ""
|
150 |
+
});
|
151 |
}
|
152 |
}
|
153 |
+
}
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
var bindClickEvents = function() {
|
156 |
var dragging = false;
|
157 |
|
167 |
dragging = false;
|
168 |
});
|
169 |
|
170 |
+
var items_with_submenus = $("li.mega-menu-megamenu.mega-menu-item-has-children > a.mega-menu-link, li.mega-menu-flyout.mega-menu-item-has-children > a.mega-menu-link, li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children > a.mega-menu-link, li.mega-menu-flyout li.mega-menu-item-has-children > a.mega-menu-link", menu);
|
171 |
|
172 |
items_with_submenus.on("click.megamenu touchend.megamenu", function(e) {
|
173 |
+
|
174 |
+
if ($(this).parent().hasClass("mega-toggle-on") && $(this).parent().parent().parent().hasClass("mega-menu-tabbed")) {
|
175 |
+
e.preventDefault();
|
176 |
+
return;
|
177 |
+
}
|
178 |
+
|
179 |
if (dragging) {
|
180 |
return;
|
181 |
}
|
183 |
return; // allow all clicks on parent items when sub menu is hidden on mobile
|
184 |
}
|
185 |
|
186 |
+
if (plugin.settings.second_click === "go" || $(this).parent().hasClass("mega-click-click-go")) { // check for second click
|
|
|
187 |
if (!$(this).parent().hasClass("mega-toggle-on")) {
|
188 |
e.preventDefault();
|
189 |
plugin.showPanel($(this));
|
200 |
});
|
201 |
};
|
202 |
|
|
|
|
|
|
|
203 |
var bindHoverEvents = function() {
|
204 |
+
$("li.mega-menu-item-has-children", menu).not("li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children", menu).on({
|
205 |
mouseenter: function() {
|
206 |
plugin.unbindClickEvents();
|
207 |
+
if (! $(this).hasClass("mega-toggle-on")) {
|
208 |
+
plugin.showPanel($(this).children("a.mega-menu-link"));
|
209 |
+
}
|
210 |
},
|
211 |
mouseleave: function() {
|
212 |
+
if ($(this).hasClass("mega-toggle-on") && ! $(this).parent().parent().hasClass("mega-menu-tabbed")) {
|
213 |
+
plugin.hidePanel($(this).children("a.mega-menu-link"), false);
|
214 |
}
|
215 |
}
|
216 |
});
|
217 |
};
|
218 |
|
|
|
|
|
|
|
219 |
var bindHoverIntentEvents = function() {
|
220 |
+
$("li.mega-menu-item-has-children", menu).not("li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children", menu).hoverIntent({
|
221 |
over: function () {
|
222 |
plugin.unbindClickEvents();
|
223 |
+
if (! $(this).hasClass("mega-toggle-on")) {
|
224 |
+
plugin.showPanel($(this).children("a.mega-menu-link"));
|
225 |
+
}
|
226 |
},
|
227 |
out: function () {
|
228 |
+
if ($(this).hasClass("mega-toggle-on") && ! $(this).parent().parent().hasClass("mega-menu-tabbed")) {
|
229 |
+
plugin.hidePanel($(this).children("a.mega-menu-link"), false);
|
230 |
}
|
231 |
},
|
232 |
timeout: megamenu.timeout,
|
234 |
});
|
235 |
};
|
236 |
|
|
|
|
|
|
|
237 |
plugin.unbindClickEvents = function() {
|
238 |
+
$("a.mega-menu-link", menu).off("click.megamenu touchend.megamenu");
|
239 |
};
|
240 |
|
|
|
|
|
|
|
241 |
plugin.keyboardNavigation = function() {
|
242 |
var tab_key = 9;
|
243 |
var escape_key = 27;
|
276 |
});
|
277 |
};
|
278 |
|
|
|
|
|
|
|
279 |
plugin.unbindAllEvents = function() {
|
280 |
$("ul.mega-sub-menu, li.mega-menu-item, a.mega-menu-link", menu).off().unbind();
|
281 |
};
|
282 |
|
|
|
|
|
|
|
|
|
283 |
plugin.bindMegaMenuEvents = function() {
|
284 |
if (plugin.isDesktopView() && plugin.settings.event === "hover_intent") {
|
285 |
bindHoverIntentEvents();
|
292 |
bindClickEvents(); // always bind click events for touch screen devices
|
293 |
};
|
294 |
|
|
|
|
|
|
|
|
|
295 |
plugin.monitorView = function() {
|
296 |
if (plugin.isDesktopView()) {
|
297 |
$menu.data("view", "desktop");
|
307 |
});
|
308 |
};
|
309 |
|
|
|
|
|
|
|
310 |
plugin.checkWidth = function() {
|
311 |
if ( plugin.isMobileView() && $menu.data("view") === "desktop" ) {
|
312 |
$menu.data("view", "mobile");
|
317 |
$menu.data("view", "desktop");
|
318 |
plugin.switchToDesktop();
|
319 |
}
|
320 |
+
|
321 |
+
if ( plugin.isDesktopView() ) {
|
322 |
+
plugin.calculateDynamicSubmenuWidths($("li.mega-menu-megamenu.mega-toggle-on > a.mega-menu-link", $menu));
|
323 |
+
}
|
324 |
};
|
325 |
|
|
|
|
|
|
|
326 |
plugin.reverseRightAlignedItems = function() {
|
327 |
$menu.append($menu.children("li.mega-item-align-right").get().reverse());
|
328 |
};
|
329 |
|
|
|
|
|
|
|
330 |
plugin.switchToMobile = function() {
|
331 |
plugin.unbindAllEvents();
|
332 |
plugin.bindMegaMenuEvents();
|
333 |
plugin.reverseRightAlignedItems();
|
334 |
+
plugin.hideAllPanels();
|
335 |
};
|
336 |
|
|
|
|
|
|
|
337 |
plugin.switchToDesktop = function() {
|
338 |
plugin.unbindAllEvents();
|
339 |
plugin.bindMegaMenuEvents();
|
340 |
plugin.reverseRightAlignedItems();
|
341 |
+
plugin.hideAllPanels();
|
342 |
};
|
343 |
|
|
|
|
|
|
|
344 |
plugin.init = function() {
|
345 |
$menu.triggerHandler("before_mega_menu_init");
|
346 |
plugin.settings = $.extend({}, defaults, options);
|
353 |
}
|
354 |
});
|
355 |
|
356 |
+
if (plugin.settings.unbind_events == 'true') {
|
357 |
+
plugin.unbindAllEvents();
|
358 |
+
}
|
359 |
+
|
360 |
plugin.bindMegaMenuEvents();
|
361 |
plugin.monitorView();
|
362 |
plugin.keyboardNavigation();
|
js/settings.js
CHANGED
@@ -11,6 +11,7 @@ jQuery(function ($) {
|
|
11 |
tabMode: 'indent',
|
12 |
lineNumbers: true,
|
13 |
lineWrapping: true,
|
|
|
14 |
onChange: function(cm) {
|
15 |
cm.save();
|
16 |
}
|
@@ -83,6 +84,48 @@ jQuery(function ($) {
|
|
83 |
});
|
84 |
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
$('select#mega_css').on("change", function() {
|
87 |
var select = $(this);
|
88 |
var selected = $(this).val();
|
11 |
tabMode: 'indent',
|
12 |
lineNumbers: true,
|
13 |
lineWrapping: true,
|
14 |
+
viewportMargin: Infinity,
|
15 |
onChange: function(cm) {
|
16 |
cm.save();
|
17 |
}
|
84 |
});
|
85 |
|
86 |
|
87 |
+
|
88 |
+
$('.mega-tab-content').each(function() {
|
89 |
+
if (!$(this).hasClass('mega-tab-content-general')) {
|
90 |
+
$(this).hide();
|
91 |
+
}
|
92 |
+
});
|
93 |
+
|
94 |
+
$('.mega-tab').on("click", function() {
|
95 |
+
var selected_tab = $(this);
|
96 |
+
selected_tab.siblings().removeClass('nav-tab-active');
|
97 |
+
selected_tab.addClass('nav-tab-active');
|
98 |
+
var content_to_show = $(this).attr('data-tab');
|
99 |
+
$('.mega-tab-content').hide();
|
100 |
+
$('.' + content_to_show).show();
|
101 |
+
});
|
102 |
+
|
103 |
+
$(".theme_editor").on("submit", function(e) {
|
104 |
+
e.preventDefault();
|
105 |
+
$(".theme_result_message").remove();
|
106 |
+
$(".spinner").css('visibility', 'visible').css('display', 'block');
|
107 |
+
$("input#submit").attr('disabled', 'disabled');
|
108 |
+
var data = $(this).serialize();
|
109 |
+
|
110 |
+
$.post(ajaxurl, data, function (message) {
|
111 |
+
$(".spinner").css('display', 'none');
|
112 |
+
$("input#submit").removeAttr('disabled');
|
113 |
+
if (message.success !== true) {
|
114 |
+
var error = $("<p>").addClass('fail theme_result_message').html(message.data);
|
115 |
+
$('.megamenu_submit').after(error);
|
116 |
+
} else {
|
117 |
+
var success = $("<p>").addClass('success theme_result_message');
|
118 |
+
var icon = $("<span>").addClass('dashicons dashicons-yes');
|
119 |
+
$('.megamenu_submit .mega_left').append(success.html(icon).append(message.data));
|
120 |
+
}
|
121 |
+
|
122 |
+
}).fail(function() {
|
123 |
+
alert( megamenu.theme_save_error );
|
124 |
+
});
|
125 |
+
}).on("change", function(e) {
|
126 |
+
$(".theme_result_message").css('visibility', 'hidden');
|
127 |
+
});;
|
128 |
+
|
129 |
$('select#mega_css').on("change", function() {
|
130 |
var select = $(this);
|
131 |
var selected = $(this).val();
|
js/toggledesigner.js
CHANGED
@@ -74,11 +74,11 @@ jQuery(function($) {
|
|
74 |
|
75 |
|
76 |
// Show/hide block settings
|
77 |
-
$( '.mega-toggle_blocks').on('click', '.block-title
|
78 |
e.preventDefault();
|
79 |
e.stopPropagation();
|
80 |
|
81 |
-
var settings = $(this).parent().
|
82 |
$(".block").removeClass('mega-open');
|
83 |
|
84 |
if ( settings.is(":visible") ) {
|
74 |
|
75 |
|
76 |
// Show/hide block settings
|
77 |
+
$( '.mega-toggle_blocks').on('click', '.block-title', function(e) {
|
78 |
e.preventDefault();
|
79 |
e.stopPropagation();
|
80 |
|
81 |
+
var settings = $(this).parent().find(".block-settings");
|
82 |
$(".block").removeClass('mega-open');
|
83 |
|
84 |
if ( settings.is(":visible") ) {
|
languages/megamenu-fr_FR.mo
CHANGED
Binary file
|
languages/megamenu-fr_FR.po
CHANGED
@@ -1,107 +1,128 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: megamenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Pierre Sudarovich <translate@tips02.fr>\n"
|
8 |
-
"Language:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
"X-Poedit-SearchPath-1: .\n"
|
18 |
|
19 |
-
#: ../
|
20 |
-
msgid "
|
21 |
-
msgstr "
|
22 |
|
23 |
-
#: ../
|
|
|
|
|
|
|
|
|
24 |
msgid ""
|
25 |
-
"
|
26 |
-
"
|
27 |
msgstr ""
|
28 |
-
"
|
29 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
-
#: ../
|
32 |
msgid ""
|
33 |
-
"
|
|
|
34 |
msgstr ""
|
35 |
-
"
|
|
|
36 |
|
37 |
-
#: ../
|
38 |
-
msgid "
|
39 |
-
msgstr "
|
40 |
|
41 |
-
#: ../
|
42 |
-
|
43 |
-
msgid "
|
44 |
-
msgstr "
|
45 |
|
46 |
-
#: ../
|
47 |
-
msgid "clear the CSS cache"
|
48 |
-
msgstr "vider le cache CSS"
|
49 |
-
|
50 |
-
#: ../megamenu.php:728
|
51 |
-
#, php-format
|
52 |
msgid ""
|
53 |
-
"
|
54 |
-
"
|
|
|
55 |
msgstr ""
|
56 |
-
"
|
57 |
-
"
|
|
|
58 |
|
59 |
-
#: ../classes/menu-item-manager.class.php:
|
60 |
-
|
61 |
-
|
62 |
-
#: ../classes/nav-menus.class.php:161 ../classes/settings.class.php:554
|
63 |
-
msgid "Mega Menu"
|
64 |
-
msgstr ""
|
65 |
|
66 |
-
#: ../classes/menu-item-manager.class.php:
|
67 |
msgid "Mega Menus can only be created on top level menu items."
|
68 |
msgstr "Mega Menu peut seulement être créé pour les items de plus haut niveau."
|
69 |
|
70 |
-
#: ../classes/menu-item-manager.class.php:
|
71 |
-
msgid "Sub menu display mode"
|
72 |
-
msgstr "Mode d'affichage du sous-menu"
|
73 |
-
|
74 |
-
#: ../classes/menu-item-manager.class.php:189
|
75 |
msgid "Flyout Menu"
|
76 |
msgstr "Menu volant"
|
77 |
|
78 |
-
#: ../classes/menu-item-manager.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
msgid "column"
|
80 |
msgstr "colonne"
|
81 |
|
82 |
-
#: ../classes/menu-item-manager.class.php:
|
83 |
-
#: ../classes/menu-item-manager.class.php:
|
84 |
-
#: ../classes/menu-item-manager.class.php:
|
85 |
-
#: ../classes/menu-item-manager.class.php:
|
86 |
-
#: ../classes/menu-item-manager.class.php:
|
87 |
-
#: ../classes/menu-item-manager.class.php:
|
88 |
-
#: ../classes/menu-item-manager.class.php:
|
89 |
msgid "columns"
|
90 |
msgstr "colonnes"
|
91 |
|
92 |
-
#: ../classes/menu-item-manager.class.php:
|
93 |
msgid "Select a Widget to add to the panel"
|
94 |
msgstr "Sélectionner un widget à ajouter au panneau"
|
95 |
|
96 |
-
#: ../classes/menu-item-manager.class.php:
|
97 |
-
|
98 |
-
|
|
|
99 |
|
100 |
-
#: ../classes/menu-item-manager.class.php:
|
101 |
-
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
-
#: ../classes/menu-item-manager.class.php:
|
105 |
msgid ""
|
106 |
"No widgets found. Add a widget to this area using the Widget Selector (top "
|
107 |
"right)"
|
@@ -109,61 +130,61 @@ msgstr ""
|
|
109 |
"Aucun widget trouvé. Ajoutez un widget à cette zone en utilisant le "
|
110 |
"sélecteur de widget (en haut à droite)"
|
111 |
|
112 |
-
#: ../classes/menu-item-manager.class.php:
|
113 |
msgid "Menu Item Settings"
|
114 |
msgstr "Paramètres des items du menu"
|
115 |
|
116 |
-
#: ../classes/menu-item-manager.class.php:
|
117 |
msgid "Hide Text"
|
118 |
msgstr "Cacher le texte"
|
119 |
|
120 |
-
#: ../classes/menu-item-manager.class.php:
|
121 |
-
#: ../classes/menu-item-manager.class.php:341
|
122 |
-
#: ../classes/menu-item-manager.class.php:366
|
123 |
-
msgid "Option only available for top level menu items"
|
124 |
-
msgstr "Option seulement disponible pour les items du plus haut niveau"
|
125 |
-
|
126 |
-
#: ../classes/menu-item-manager.class.php:312
|
127 |
msgid "Hide Arrow"
|
128 |
msgstr "Cacher la flèche"
|
129 |
|
130 |
-
#: ../classes/menu-item-manager.class.php:
|
131 |
msgid "Disable Link"
|
132 |
msgstr "Désactiver le lien"
|
133 |
|
134 |
-
#: ../classes/menu-item-manager.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
msgid "Menu Item Align"
|
136 |
msgstr "Alignement de l'item du menu"
|
137 |
|
138 |
-
#: ../classes/menu-item-manager.class.php:
|
139 |
-
#: ../classes/
|
140 |
-
#: ../classes/settings.class.php:
|
141 |
-
#: ../classes/settings.class.php:
|
142 |
-
#: ../classes/settings.class.php:
|
143 |
-
#: ../classes/settings.class.php:
|
144 |
-
#: ../classes/settings.class.php:
|
145 |
-
#: ../classes/settings.class.php:
|
146 |
-
#: ../classes/settings.class.php:
|
147 |
-
#: ../classes/settings.class.php:
|
148 |
-
#: ../classes/settings.class.php:2486 ../classes/settings.class.php:2626
|
149 |
msgid "Left"
|
150 |
msgstr "Gauche"
|
151 |
|
152 |
-
#: ../classes/menu-item-manager.class.php:
|
153 |
-
#: ../classes/
|
154 |
-
#: ../classes/settings.class.php:
|
155 |
-
#: ../classes/settings.class.php:
|
156 |
-
#: ../classes/settings.class.php:
|
157 |
-
#: ../classes/settings.class.php:
|
158 |
-
#: ../classes/settings.class.php:
|
159 |
-
#: ../classes/settings.class.php:
|
160 |
-
#: ../classes/settings.class.php:
|
161 |
-
#: ../classes/settings.class.php:
|
162 |
-
#: ../classes/settings.class.php:2478 ../classes/settings.class.php:2628
|
163 |
msgid "Right"
|
164 |
msgstr "Droite"
|
165 |
|
166 |
-
#: ../classes/menu-item-manager.class.php:
|
167 |
msgid ""
|
168 |
"Right aligned items will appear in reverse order on the right hand side of "
|
169 |
"the menu bar"
|
@@ -171,97 +192,125 @@ msgstr ""
|
|
171 |
"Les items alignés à droite apparaîtront dans un ordre inversé sur le côté "
|
172 |
"droit de la barre de menu"
|
173 |
|
174 |
-
#: ../classes/menu-item-manager.class.php:
|
|
|
|
|
|
|
|
|
|
|
175 |
msgid "Sub Menu Settings"
|
176 |
msgstr "Paramètres du sous-menu"
|
177 |
|
178 |
-
#: ../classes/menu-item-manager.class.php:
|
179 |
msgid "Sub Menu Align"
|
180 |
msgstr "Alignement du sous-menu"
|
181 |
|
182 |
-
#: ../classes/menu-item-manager.class.php:
|
183 |
-
msgid ""
|
184 |
-
"
|
185 |
-
"expand to the left"
|
186 |
-
msgstr ""
|
187 |
-
"Les sous-menus aligné à droite seront alignés à droite de l'item parent du "
|
188 |
-
"menu et étendu à gauche"
|
189 |
|
190 |
-
#: ../classes/menu-item-manager.class.php:
|
191 |
-
|
192 |
-
|
193 |
-
msgstr "Paramètres généraux"
|
194 |
|
195 |
-
#: ../classes/menu-item-manager.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
msgid "Dashicons"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: ../classes/menu-item-manager.class.php:
|
200 |
msgid "Font Awesome"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: ../classes/menu-item-manager.class.php:
|
204 |
-
#: ../classes/menu-item-manager.class.php:
|
205 |
-
#: ../classes/menu-item-manager.class.php:
|
206 |
msgid "Max Mega Menu Pro"
|
207 |
msgstr "Max Mega Menu Pro"
|
208 |
|
209 |
-
#: ../classes/menu-item-manager.class.php:
|
210 |
msgid "Get access to over 400 Font Awesome Icons with {link}"
|
211 |
msgstr "Accédez à plus de 400 icones de Font Awesome avec {link}"
|
212 |
|
213 |
-
#: ../classes/menu-item-manager.class.php:
|
214 |
msgid "Genericons"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: ../classes/menu-item-manager.class.php:
|
218 |
msgid "Choose from over 100 genericons with {link}"
|
219 |
msgstr "Choisissez parmi plus de 100 genericons avec {link}"
|
220 |
|
221 |
-
#: ../classes/menu-item-manager.class.php:
|
222 |
msgid "Custom Icon"
|
223 |
msgstr "Icone personnalisée"
|
224 |
|
225 |
-
#: ../classes/menu-item-manager.class.php:
|
226 |
msgid "Select icons from your media library with {link}"
|
227 |
msgstr "Sélectionnez une icone depuis votre bibliothèque de médias avec {link}"
|
228 |
|
229 |
-
#: ../classes/menu-item-manager.class.php:
|
230 |
-
msgid "Menu Icon"
|
231 |
-
msgstr "
|
|
|
|
|
|
|
|
|
232 |
|
233 |
-
#: ../classes/
|
|
|
|
|
|
|
|
|
234 |
msgid "Max Mega Menu Settings"
|
235 |
msgstr "Paramètres Max Mega Menu"
|
236 |
|
237 |
-
#: ../classes/nav-menus.class.php:
|
238 |
msgid "Launched for Menu ID"
|
239 |
msgstr "Chargé pour l'ID du menu"
|
240 |
|
241 |
-
#: ../classes/nav-menus.class.php:
|
|
|
|
|
|
|
|
|
242 |
msgid ""
|
243 |
"Please enable Max Mega Menu using the settings on the left of this page."
|
244 |
msgstr ""
|
245 |
"Activez Max Mega Menu en utilisant les paramètres sur la gauche de cette "
|
246 |
"page, svp."
|
247 |
|
248 |
-
#: ../classes/nav-menus.class.php:
|
249 |
msgid "Saving"
|
250 |
msgstr "Sauvegarde"
|
251 |
|
252 |
-
#: ../classes/nav-menus.class.php:
|
253 |
msgid "Oops. Something went wrong. Please reload the page."
|
254 |
msgstr "Oups... Quelque chose a cloché. Rechargez la page, svp."
|
255 |
|
256 |
-
#: ../classes/nav-menus.class.php:
|
|
|
|
|
|
|
|
|
257 |
msgid "here"
|
258 |
msgstr "ici"
|
259 |
|
260 |
-
#: ../classes/nav-menus.class.php:
|
261 |
msgid "This theme does not register any menu locations."
|
262 |
msgstr "Ce thème n'a aucun emplacement de menu."
|
263 |
|
264 |
-
#: ../classes/nav-menus.class.php:
|
265 |
msgid ""
|
266 |
"You will need to create a new menu location and use the Max Mega Menu widget "
|
267 |
"or shortcode to display the menu on your site."
|
@@ -269,98 +318,177 @@ msgstr ""
|
|
269 |
"Vous aurez besoin de créer un nouvel emplacement de menu et d'utiliser le "
|
270 |
"widget Max Mega Menu ou un shortcode pour afficher le menu sur votre site."
|
271 |
|
272 |
-
#: ../classes/nav-menus.class.php:
|
273 |
msgid "Click {link} for instructions."
|
274 |
msgstr "Cliquez sur {link pour les instructions."
|
275 |
|
276 |
-
#: ../classes/nav-menus.class.php:
|
277 |
msgid ""
|
278 |
"Please assign this menu to a theme location to enable the Mega Menu settings."
|
279 |
msgstr ""
|
280 |
"Assignez ce menu à un emplacement de thème, svp, pour activer les paramètres "
|
281 |
"de Mega Menu."
|
282 |
|
283 |
-
#: ../classes/nav-menus.class.php:
|
284 |
msgid "Save"
|
285 |
msgstr "Sauver"
|
286 |
|
287 |
-
#: ../classes/nav-menus.class.php:
|
288 |
msgid "Enable"
|
289 |
msgstr "Activer"
|
290 |
|
291 |
-
#: ../classes/nav-menus.class.php:
|
292 |
msgid "Event"
|
293 |
msgstr "Evénement"
|
294 |
|
295 |
-
#: ../classes/nav-menus.class.php:
|
|
|
|
|
|
|
|
|
296 |
msgid "Hover"
|
297 |
msgstr "Survol"
|
298 |
|
299 |
-
#: ../classes/nav-menus.class.php:
|
300 |
msgid "Click"
|
301 |
msgstr "Clic"
|
302 |
|
303 |
-
#: ../classes/nav-menus.class.php:
|
304 |
msgid "Effect"
|
305 |
msgstr "Effet"
|
306 |
|
307 |
-
#: ../classes/nav-menus.class.php:
|
308 |
msgid "None"
|
309 |
msgstr "Aucun"
|
310 |
|
311 |
-
#: ../classes/nav-menus.class.php:
|
312 |
msgid "Fade"
|
313 |
msgstr "Fondu"
|
314 |
|
315 |
-
#: ../classes/nav-menus.class.php:
|
|
|
|
|
|
|
|
|
316 |
msgid "Slide"
|
317 |
msgstr "Glissement"
|
318 |
|
319 |
-
#: ../classes/nav-menus.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
msgid "Theme"
|
321 |
msgstr "Thème"
|
322 |
|
323 |
-
#: ../classes/settings.class.php:
|
324 |
msgid "(Imported)"
|
325 |
msgstr "(Importé)"
|
326 |
|
327 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
328 |
msgid "Copy"
|
329 |
msgstr "Copier"
|
330 |
|
331 |
-
#: ../classes/settings.class.php:
|
|
|
332 |
msgid "Max Mega Menu"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
msgid "CSS Output"
|
337 |
msgstr "Sortie CSS"
|
338 |
|
339 |
-
#: ../classes/settings.class.php:
|
340 |
msgid "Save to filesystem"
|
341 |
msgstr "Sauver dans un fichier"
|
342 |
|
343 |
-
#: ../classes/settings.class.php:
|
344 |
msgid "Output in <head>"
|
345 |
msgstr "Dans la section <head>"
|
346 |
|
347 |
-
#: ../classes/settings.class.php:
|
348 |
-
msgid "Enqueue dynamically via admin-ajax.php"
|
349 |
-
msgstr "Mettre à la file dynamiquement via admin-ajax.php"
|
350 |
-
|
351 |
-
#: ../classes/settings.class.php:614
|
352 |
msgid "Don't output CSS"
|
353 |
msgstr "Ne pas générer de sortie CSS"
|
354 |
|
355 |
-
#: ../classes/settings.class.php:
|
356 |
-
msgid ""
|
357 |
-
"CSS will be enqueued dynamically through admin-ajax.php and loaded from the "
|
358 |
-
"cache."
|
359 |
-
msgstr ""
|
360 |
-
"La CSS sera dynamiquement placé dans la file à travers admin-ajax.php et "
|
361 |
-
"chargé depuis le cache."
|
362 |
-
|
363 |
-
#: ../classes/settings.class.php:618
|
364 |
msgid ""
|
365 |
"CSS will be saved to wp-content/uploads/maxmegamenu/style.css and enqueued "
|
366 |
"from there."
|
@@ -368,7 +496,7 @@ msgstr ""
|
|
368 |
"Le CSS sera sauvegardé dans wp-content/uploads/maxmegamenu/style.css et mis "
|
369 |
"dans la file depuis cet emplacement."
|
370 |
|
371 |
-
#: ../classes/settings.class.php:
|
372 |
msgid ""
|
373 |
"CSS will be loaded from the cache in a <style> tag in the <head> "
|
374 |
"of the page."
|
@@ -376,73 +504,73 @@ msgstr ""
|
|
376 |
"Le CSS sera chargé depuis le cache dans une balise <style> dans la "
|
377 |
"section <head> de la page."
|
378 |
|
379 |
-
#: ../classes/settings.class.php:
|
380 |
msgid "CSS will not be output, you must enqueue the CSS for the menu manually."
|
381 |
msgstr ""
|
382 |
"Le CSS ne sera pas généré, vous devez le placer dans la file manuellement "
|
383 |
"pour le menu."
|
384 |
|
385 |
-
#: ../classes/settings.class.php:
|
386 |
-
msgid "
|
387 |
-
msgstr "
|
388 |
|
389 |
-
#: ../classes/settings.class.php:
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
msgstr ""
|
394 |
-
"Définissez ce qu'il arrivera lorsque l'évènement est paramétré sur 'click'. "
|
395 |
-
"Cela s'applique aussi aux mobiles."
|
396 |
|
397 |
-
#: ../classes/settings.class.php:
|
398 |
-
|
399 |
-
|
|
|
|
|
|
|
400 |
|
401 |
-
#: ../classes/settings.class.php:
|
402 |
-
msgid "
|
403 |
-
msgstr "
|
404 |
|
405 |
-
#: ../classes/settings.class.php:
|
406 |
-
msgid "
|
407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
|
409 |
-
#: ../classes/settings.class.php:
|
410 |
-
msgid "
|
411 |
-
msgstr "
|
412 |
|
413 |
-
#: ../classes/settings.class.php:
|
414 |
-
msgid "
|
415 |
-
msgstr ""
|
416 |
-
"Standard - Un sous menu restera ouvert tant qu'il n'est pas fermé par "
|
417 |
-
"l'utilisateur."
|
418 |
|
419 |
-
#: ../classes/settings.class.php:
|
420 |
-
msgid ""
|
421 |
-
"Accordion - Open sub menus will automatically close when another one is "
|
422 |
-
"opened."
|
423 |
msgstr ""
|
424 |
-
"
|
425 |
-
"s'ouvrira"
|
426 |
-
|
427 |
-
#: ../classes/settings.class.php:658
|
428 |
-
msgid "Menu Locations"
|
429 |
-
msgstr "Emplacement de menu"
|
430 |
|
431 |
-
#: ../classes/settings.class.php:
|
432 |
msgid "Registered Menu Locations"
|
433 |
msgstr "Emplacements de menu enregistrés"
|
434 |
|
435 |
-
#: ../classes/settings.class.php:
|
436 |
msgid ""
|
437 |
-
"
|
438 |
-
"Max Mega Menu and adjust the settings for a specific menu location by
|
439 |
-
"to Appearance > Menus."
|
440 |
msgstr ""
|
441 |
-
"
|
442 |
-
"Max Mega Menu et ajuster les paramètres pour un
|
443 |
-
"menu en allant dans Apparence >
|
444 |
|
445 |
-
#: ../classes/settings.class.php:
|
446 |
msgid ""
|
447 |
"Your theme does not natively support menus, but you can add a new menu "
|
448 |
"location using Max Mega Menu and display the menu using the Max Mega Menu "
|
@@ -452,39 +580,27 @@ msgstr ""
|
|
452 |
"un nouvel emplacement de menu en utilisant Max Mega Menu et afficher le menu "
|
453 |
"en utilisant le widget Max Mega Menu ou le shortcode."
|
454 |
|
455 |
-
#: ../classes/settings.class.php:
|
456 |
-
msgid "Your theme supports one menu."
|
457 |
-
msgstr "Votre thème supporte un menu."
|
458 |
-
|
459 |
-
#: ../classes/settings.class.php:671
|
460 |
-
msgid "Your theme supports {number} menus."
|
461 |
-
msgstr "Votre thème supporte {number} menus."
|
462 |
-
|
463 |
-
#: ../classes/settings.class.php:687
|
464 |
-
msgid "Add another menu location."
|
465 |
-
msgstr "Ajouter un autre emplacement de menu."
|
466 |
|
467 |
-
#: ../classes/settings.class.php:
|
468 |
-
msgid "
|
469 |
-
msgstr ""
|
470 |
-
|
471 |
-
#: ../classes/settings.class.php:718
|
472 |
-
msgid "Assign a menu"
|
473 |
-
msgstr "Assigner un menu"
|
474 |
|
475 |
-
#: ../classes/settings.class.php:
|
476 |
msgid "Location Description"
|
477 |
msgstr "Description d'emplacement"
|
478 |
|
479 |
-
#: ../classes/settings.class.php:
|
480 |
msgid "Change the name of the location."
|
481 |
msgstr "Changer le nom de l'emplacement."
|
482 |
|
483 |
-
#: ../classes/settings.class.php:
|
484 |
msgid "Menu Display Options"
|
485 |
msgstr "Options d'affichage de menu"
|
486 |
|
487 |
-
#: ../classes/settings.class.php:
|
488 |
msgid ""
|
489 |
"These options are for advanced users only. Your theme should already include "
|
490 |
"the code required to display this menu on your site."
|
@@ -492,59 +608,64 @@ msgstr ""
|
|
492 |
"Ces options sont pour les utilisateurs expérimentés seulement. Votre thème "
|
493 |
"devrait déjà inclure le code nécessaire pour afficher ce menu sur votre site."
|
494 |
|
495 |
-
#: ../classes/settings.class.php:
|
496 |
msgid "PHP Function"
|
497 |
msgstr "fonction PHP"
|
498 |
|
499 |
-
#: ../classes/settings.class.php:
|
500 |
msgid "For use in a theme template (usually header.php)"
|
501 |
msgstr "Pour l'utiliser dans un modèle du thème (habituellement header.php)"
|
502 |
|
503 |
-
#: ../classes/settings.class.php:
|
504 |
msgid "Shortcode"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../classes/settings.class.php:
|
508 |
msgid "For use in a post or page."
|
509 |
msgstr "Pour l'utiliser dans un article ou dans une page."
|
510 |
|
511 |
-
#: ../classes/settings.class.php:
|
512 |
msgid "Widget"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: ../classes/settings.class.php:
|
516 |
msgid "For use in a widget area."
|
517 |
msgstr "Pour l'utiliser dans une zone widget."
|
518 |
|
519 |
-
#: ../classes/settings.class.php:
|
520 |
msgid "Add the 'Max Mega Menu' widget to a widget area."
|
521 |
msgstr "Ajouter le widget 'Max Mega Menu' à une zone de widget."
|
522 |
|
523 |
-
#: ../classes/settings.class.php:
|
524 |
msgid "Delete location"
|
525 |
msgstr "Effacer l'emplacement"
|
526 |
|
527 |
-
#: ../classes/settings.class.php:
|
528 |
-
msgid "
|
529 |
-
msgstr "
|
530 |
|
531 |
-
#: ../classes/settings.class.php:
|
532 |
msgid "Cache"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: ../classes/settings.class.php:
|
536 |
-
msgid "
|
537 |
-
|
|
|
|
|
|
|
|
|
|
|
538 |
|
539 |
-
#: ../classes/settings.class.php:
|
540 |
msgid "Clear CSS Cache"
|
541 |
msgstr "Vider le cache CSS"
|
542 |
|
543 |
-
#: ../classes/settings.class.php:
|
544 |
msgid "Plugin Data"
|
545 |
msgstr "Données du plugin"
|
546 |
|
547 |
-
#: ../classes/settings.class.php:
|
548 |
msgid ""
|
549 |
"Delete all saved Max Mega Menu plugin data from the database. Use with "
|
550 |
"caution!"
|
@@ -552,234 +673,234 @@ msgstr ""
|
|
552 |
"Effacer toutes les données de Max Mega Menu de la base de données. A "
|
553 |
"utiliser avec précaution !"
|
554 |
|
555 |
-
#: ../classes/settings.class.php:
|
556 |
msgid "Delete Data"
|
557 |
msgstr "Effacer les données"
|
558 |
|
559 |
-
#: ../classes/settings.class.php:
|
560 |
msgid "Export Theme"
|
561 |
msgstr "Exporter thème"
|
562 |
|
563 |
-
#: ../classes/settings.class.php:
|
564 |
msgid "Export a menu theme"
|
565 |
msgstr "Exporter un thème de menu"
|
566 |
|
567 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
msgid "Import Theme"
|
569 |
msgstr "Importer thème"
|
570 |
|
571 |
-
#: ../classes/settings.class.php:
|
572 |
msgid "Import a menu theme"
|
573 |
msgstr "Importer un thème de menu"
|
574 |
|
575 |
-
#: ../classes/settings.class.php:
|
576 |
msgid "Homepage"
|
577 |
msgstr "Page d'accueil"
|
578 |
|
579 |
-
#: ../classes/settings.class.php:
|
580 |
msgid "Documentation"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
584 |
msgid "Upgrade to Pro - $19"
|
585 |
msgstr "Mettre à jour vers Pro - 19$"
|
586 |
|
587 |
-
#: ../classes/settings.class.php:
|
588 |
msgid "Core version"
|
589 |
msgstr "version du noyau"
|
590 |
|
591 |
-
#: ../classes/settings.class.php:
|
592 |
msgid "Pro extension"
|
593 |
msgstr "Extension Pro"
|
594 |
|
595 |
-
#: ../classes/settings.class.php:
|
596 |
-
msgid "Menu Themes"
|
597 |
-
msgstr "Thèmes de menu"
|
598 |
-
|
599 |
-
#: ../classes/settings.class.php:1129
|
600 |
msgid "Failed to delete theme. The theme is in use by a menu."
|
601 |
msgstr ""
|
602 |
"Echec lors de la suppression du thème. Le thème est utilisé par un menu."
|
603 |
|
604 |
-
#: ../classes/settings.class.php:
|
605 |
msgid "CSS cache cleared"
|
606 |
msgstr "Cache CSS vidé"
|
607 |
|
608 |
-
#: ../classes/settings.class.php:
|
609 |
msgid "All plugin data removed"
|
610 |
msgstr "Tous les plugins ont été enlevés"
|
611 |
|
612 |
-
#: ../classes/settings.class.php:
|
613 |
msgid "Theme Deleted"
|
614 |
msgstr "Thème effacé"
|
615 |
|
616 |
-
#: ../classes/settings.class.php:
|
617 |
msgid "Theme Duplicated"
|
618 |
msgstr "Thème dupliqué"
|
619 |
|
620 |
-
#: ../classes/settings.class.php:
|
621 |
msgid "Changes Saved"
|
622 |
msgstr "Changements sauvegardés"
|
623 |
|
624 |
-
#: ../classes/settings.class.php:
|
625 |
msgid "Theme Reverted"
|
626 |
msgstr "Thème rétabli"
|
627 |
|
628 |
-
#: ../classes/settings.class.php:
|
629 |
msgid "New Theme Created"
|
630 |
msgstr "Nouveau thème créé"
|
631 |
|
632 |
-
#: ../classes/settings.class.php:
|
633 |
msgid "New Menu Location Created"
|
634 |
msgstr "Nouvel emplacement de thème créé"
|
635 |
|
636 |
-
#: ../classes/settings.class.php:
|
637 |
msgid "Menu Location Deleted"
|
638 |
msgstr "Emplacement de menu effacé"
|
639 |
|
640 |
-
#: ../classes/settings.class.php:
|
641 |
msgid "Theme Imported"
|
642 |
msgstr "Thème Importé"
|
643 |
|
644 |
-
#: ../classes/settings.class.php:
|
645 |
msgid "Theme Import Failed"
|
646 |
msgstr "Echec d'importation du thème"
|
647 |
|
648 |
-
#: ../classes/settings.class.php:
|
649 |
msgid "Theme Exported"
|
650 |
msgstr "Thème Exporté"
|
651 |
|
652 |
-
#: ../classes/settings.class.php:
|
653 |
msgid "Select theme to edit"
|
654 |
msgstr "Sélectionner un thème à éditer"
|
655 |
|
656 |
-
#: ../classes/settings.class.php:
|
657 |
msgid "or"
|
658 |
msgstr "ou"
|
659 |
|
660 |
-
#: ../classes/settings.class.php:
|
661 |
msgid "create a new theme"
|
662 |
msgstr "Créer un nouveau thème"
|
663 |
|
664 |
-
#: ../classes/settings.class.php:
|
665 |
msgid "duplicate this theme"
|
666 |
msgstr "Dupliquer ce thème"
|
667 |
|
668 |
-
#: ../classes/settings.class.php:
|
669 |
-
msgid "Editing
|
670 |
-
msgstr "Edition du thème
|
671 |
|
672 |
-
#: ../classes/settings.class.php:
|
673 |
msgid "General Theme Settings"
|
674 |
msgstr "Paramètres généraux du thème"
|
675 |
|
676 |
-
#: ../classes/settings.class.php:
|
677 |
msgid "Theme Title"
|
678 |
msgstr "Titre du thème"
|
679 |
|
680 |
-
#: ../classes/settings.class.php:
|
681 |
msgid "Arrow"
|
682 |
msgstr "Flèche"
|
683 |
|
684 |
-
#: ../classes/settings.class.php:
|
685 |
msgid "Select the arrow styles."
|
686 |
msgstr "Choisissez le stle de flèche."
|
687 |
|
688 |
-
#: ../classes/settings.class.php:
|
689 |
msgid "Up"
|
690 |
msgstr "Haut"
|
691 |
|
692 |
-
#: ../classes/settings.class.php:
|
693 |
msgid "Down"
|
694 |
msgstr "Bas"
|
695 |
|
696 |
-
#: ../classes/settings.class.php:
|
697 |
-
msgid "Responsive Breakpoint"
|
698 |
-
msgstr "Point de bascule responsive."
|
699 |
-
|
700 |
-
#: ../classes/settings.class.php:1322
|
701 |
-
msgid ""
|
702 |
-
"Set the width at which the menu turns into a mobile menu. Set to 0 to "
|
703 |
-
"disable responsive menu."
|
704 |
-
msgstr ""
|
705 |
-
"Régler la largeur à laquelle le menu se transformera en version mobile. "
|
706 |
-
"Mettez 0 pour désactiver le menu responsive."
|
707 |
-
|
708 |
-
#: ../classes/settings.class.php:1329
|
709 |
-
msgid "Responsive Menu Text"
|
710 |
-
msgstr "Text du menu responsive"
|
711 |
-
|
712 |
-
#: ../classes/settings.class.php:1331
|
713 |
-
msgid "Text to display next to the mobile toggle icon."
|
714 |
-
msgstr "Texte à afficher à côté de l'icone pour les mobiles."
|
715 |
-
|
716 |
-
#: ../classes/settings.class.php:1338
|
717 |
msgid "Line Height"
|
718 |
msgstr "Hauteur de ligne"
|
719 |
|
720 |
-
#: ../classes/settings.class.php:
|
721 |
msgid "Set the general line height to use in the panel contents."
|
722 |
msgstr ""
|
723 |
"Régler la hauteur de ligne général à utiliser dans le contenu des panneaux."
|
724 |
|
725 |
-
#: ../classes/settings.class.php:
|
726 |
-
msgid "Z
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../classes/settings.class.php:
|
730 |
msgid "Set the z-index to ensure the panels appear ontop of other content."
|
731 |
msgstr ""
|
732 |
"Régler le z-index pour être sûr que les panneaux apparaîtront au-dessus des "
|
733 |
"autres contenus."
|
734 |
|
735 |
-
#: ../classes/settings.class.php:
|
736 |
msgid "Shadow"
|
737 |
msgstr "Ombre"
|
738 |
|
739 |
-
#: ../classes/settings.class.php:
|
740 |
msgid "Apply a shadow to mega and flyout menus."
|
741 |
msgstr "Applique une ombre au menus Mega et volant"
|
742 |
|
743 |
-
#: ../classes/settings.class.php:
|
744 |
-
|
745 |
-
#: ../classes/settings.class.php:2557
|
746 |
-
msgid "Enabled"
|
747 |
-
msgstr "Activé"
|
748 |
-
|
749 |
-
#: ../classes/settings.class.php:1367
|
750 |
-
msgid "Horizonal"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: ../classes/settings.class.php:
|
754 |
msgid "Vertical"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: ../classes/settings.class.php:
|
758 |
msgid "Blur"
|
759 |
msgstr "Flou"
|
760 |
|
761 |
-
#: ../classes/settings.class.php:
|
762 |
msgid "Spread"
|
763 |
msgstr "Propagation"
|
764 |
|
765 |
-
#: ../classes/settings.class.php:
|
766 |
-
#: ../classes/settings.class.php:
|
767 |
-
#: ../classes/settings.class.php:
|
768 |
-
#: ../classes/settings.class.php:
|
769 |
-
#: ../classes/settings.class.php:
|
770 |
-
#: ../classes/settings.class.php:
|
771 |
-
#: ../classes/settings.class.php:
|
772 |
-
#: ../classes/settings.class.php:
|
773 |
-
#: ../classes/settings.class.php:
|
774 |
-
#: ../classes/settings.class.php:
|
775 |
msgid "Color"
|
776 |
msgstr "Couleur"
|
777 |
|
778 |
-
#: ../classes/settings.class.php:
|
779 |
msgid "Hover Transitions"
|
780 |
msgstr "Transitions au survol"
|
781 |
|
782 |
-
#: ../classes/settings.class.php:
|
783 |
msgid ""
|
784 |
"Apply hover transitions to menu items. Note: Transitions will not apply to "
|
785 |
"gradient backgrounds."
|
@@ -787,23 +908,37 @@ msgstr ""
|
|
787 |
"Applique la transition au survol de souris aux items de menu. Note : les "
|
788 |
"transitions ne seront pas appliquées au couleur de fond dégradées."
|
789 |
|
790 |
-
#: ../classes/settings.class.php:
|
791 |
msgid "Reset Widget Styling"
|
792 |
msgstr "Réinitialiser le style des widgets"
|
793 |
|
794 |
-
#: ../classes/settings.class.php:
|
795 |
msgid "Reset the styling of widgets within the mega menu?"
|
796 |
msgstr "Réinitialiser le style des widgets avec le mega menu ?"
|
797 |
|
798 |
-
#: ../classes/settings.class.php:
|
799 |
msgid "Menu Bar"
|
800 |
msgstr "Barre de menu"
|
801 |
|
802 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
803 |
msgid "Menu Background"
|
804 |
msgstr "Couleur de fond du menu"
|
805 |
|
806 |
-
#: ../classes/settings.class.php:
|
807 |
msgid ""
|
808 |
"The background color for the main menu bar. Set each value to transparent "
|
809 |
"for a 'button' style menu."
|
@@ -811,92 +946,94 @@ msgstr ""
|
|
811 |
"La couleur de fond pour la barre de menu principale. Réglez chaque valeur à "
|
812 |
"transparent pour un style de menu 'bouton'."
|
813 |
|
814 |
-
#: ../classes/settings.class.php:
|
815 |
-
#: ../classes/settings.class.php:
|
816 |
-
#: ../classes/settings.class.php:
|
817 |
-
#: ../classes/settings.class.php:
|
818 |
-
#: ../classes/settings.class.php:
|
|
|
819 |
msgid "From"
|
820 |
msgstr "De"
|
821 |
|
822 |
-
#: ../classes/settings.class.php:
|
823 |
-
#: ../classes/settings.class.php:
|
824 |
-
#: ../classes/settings.class.php:
|
825 |
-
#: ../classes/settings.class.php:
|
826 |
-
#: ../classes/settings.class.php:
|
|
|
827 |
msgid "To"
|
828 |
msgstr "à"
|
829 |
|
830 |
-
#: ../classes/settings.class.php:
|
831 |
msgid "Menu Padding"
|
832 |
msgstr "Padding de menu"
|
833 |
|
834 |
-
#: ../classes/settings.class.php:
|
835 |
msgid "Padding for the main menu bar."
|
836 |
msgstr "Pas pour la barre de menu principale."
|
837 |
|
838 |
-
#: ../classes/settings.class.php:
|
839 |
-
#: ../classes/settings.class.php:
|
840 |
-
#: ../classes/settings.class.php:
|
841 |
-
#: ../classes/settings.class.php:
|
842 |
-
#: ../classes/settings.class.php:
|
843 |
-
#: ../classes/settings.class.php:
|
844 |
-
#: ../classes/settings.class.php:
|
845 |
-
#: ../classes/settings.class.php:
|
846 |
msgid "Top"
|
847 |
msgstr "Haut"
|
848 |
|
849 |
-
#: ../classes/settings.class.php:
|
850 |
-
#: ../classes/settings.class.php:
|
851 |
-
#: ../classes/settings.class.php:
|
852 |
-
#: ../classes/settings.class.php:
|
853 |
-
#: ../classes/settings.class.php:
|
854 |
-
#: ../classes/settings.class.php:
|
855 |
-
#: ../classes/settings.class.php:
|
856 |
-
#: ../classes/settings.class.php:
|
857 |
msgid "Bottom"
|
858 |
msgstr "Bas"
|
859 |
|
860 |
-
#: ../classes/settings.class.php:
|
861 |
msgid "Menu Border Radius"
|
862 |
msgstr "Radius de la bordure de menu"
|
863 |
|
864 |
-
#: ../classes/settings.class.php:
|
865 |
msgid "Set a border radius on the main menu bar."
|
866 |
msgstr "Régler le radius de la bordure sur la barre de menu principale."
|
867 |
|
868 |
-
#: ../classes/settings.class.php:
|
869 |
-
#: ../classes/settings.class.php:
|
870 |
msgid "Top Left"
|
871 |
msgstr "En haut à gauche"
|
872 |
|
873 |
-
#: ../classes/settings.class.php:
|
874 |
-
#: ../classes/settings.class.php:
|
875 |
msgid "Top Right"
|
876 |
msgstr "En haut à droite"
|
877 |
|
878 |
-
#: ../classes/settings.class.php:
|
879 |
-
#: ../classes/settings.class.php:
|
880 |
msgid "Bottom Right"
|
881 |
msgstr "E n bas à droite"
|
882 |
|
883 |
-
#: ../classes/settings.class.php:
|
884 |
-
#: ../classes/settings.class.php:
|
885 |
msgid "Bottom Left"
|
886 |
msgstr "En bas à gauche"
|
887 |
|
888 |
-
#: ../classes/settings.class.php:
|
889 |
msgid "Menu Items Align"
|
890 |
msgstr "Alignement des items du menu"
|
891 |
|
892 |
-
#: ../classes/settings.class.php:
|
893 |
msgid ""
|
894 |
"Align <i>all</i> menu items to the left (default), centrally or to the right."
|
895 |
msgstr ""
|
896 |
"Aligner <i>tous</i> les items de menu (la barre de menu) à gauche (par "
|
897 |
"défaut), centré ou à droite."
|
898 |
|
899 |
-
#: ../classes/settings.class.php:
|
900 |
msgid ""
|
901 |
"This option will apply to all menu items. To align an individual menu item "
|
902 |
"to the right, edit the menu item itself and set 'Menu Item Align' to 'Right'."
|
@@ -905,15 +1042,15 @@ msgstr ""
|
|
905 |
"du menu spécifique à droite, éditez l'item de menu lui-même et définissez "
|
906 |
"'Alignement d'item de menu' à 'Droite'."
|
907 |
|
908 |
-
#: ../classes/settings.class.php:
|
909 |
msgid "Top Level Menu Items"
|
910 |
msgstr "Items de menu du plus haut niveau"
|
911 |
|
912 |
-
#: ../classes/settings.class.php:
|
913 |
msgid "Menu Item Background"
|
914 |
msgstr "Couleur de fond d'item de menu"
|
915 |
|
916 |
-
#: ../classes/settings.class.php:
|
917 |
msgid ""
|
918 |
"The background color for each top level menu item. Tip: Set these values to "
|
919 |
"transparent if you've already set a background color on the menu bar."
|
@@ -922,169 +1059,159 @@ msgstr ""
|
|
922 |
"Définissez ces valeurs à transparent si vous avez déjà défini une couleur de "
|
923 |
"fond à la barre de menu."
|
924 |
|
925 |
-
#: ../classes/settings.class.php:
|
926 |
msgid "Menu Item Background (Hover)"
|
927 |
msgstr "Couleur de fond d'item de menu (au survol de la souris)"
|
928 |
|
929 |
-
#: ../classes/settings.class.php:
|
930 |
msgid "The background color for a top level menu item (on hover)."
|
931 |
msgstr ""
|
932 |
"Couleur de fond pour un item du menu du plus haut niveau (au survol de la "
|
933 |
"souris)."
|
934 |
|
935 |
-
#: ../classes/settings.class.php:
|
936 |
msgid "Menu Item Spacing"
|
937 |
msgstr "Espacement d'item du menu"
|
938 |
|
939 |
-
#: ../classes/settings.class.php:
|
940 |
msgid "Define the size of the gap between each top level menu item."
|
941 |
msgstr ""
|
942 |
"Définir la taille de l'écart entre chaque élément du niveau le plus haut."
|
943 |
|
944 |
-
#: ../classes/settings.class.php:
|
945 |
-
|
946 |
-
msgstr "Hauteur d'item du menu"
|
947 |
-
|
948 |
-
#: ../classes/settings.class.php:1559
|
949 |
-
msgid ""
|
950 |
-
"Define the height of each top level menu item. This value, plus the "
|
951 |
-
"container top and bottom padding values define the overall height of the "
|
952 |
-
"menu bar."
|
953 |
-
msgstr ""
|
954 |
-
"Définir la hauteur de chaque item de menu du plus haut niveau. Cette valeur, "
|
955 |
-
"plus les valeurs de pas haut et bas du contenant définissent la hauteur "
|
956 |
-
"totale de la barre de menu."
|
957 |
-
|
958 |
-
#: ../classes/settings.class.php:1568 ../classes/settings.class.php:2039
|
959 |
-
#: ../classes/settings.class.php:2201
|
960 |
msgid "Font"
|
961 |
msgstr "Police"
|
962 |
|
963 |
-
#: ../classes/settings.class.php:
|
964 |
msgid "The font to use for each top level menu item."
|
965 |
msgstr "La police à utiliser pour chaque item de menu du plus haut niveau."
|
966 |
|
967 |
-
#: ../classes/settings.class.php:
|
968 |
-
#: ../classes/settings.class.php:
|
969 |
-
#: ../classes/settings.class.php:
|
970 |
msgid "Size"
|
971 |
msgstr "Taille"
|
972 |
|
973 |
-
#: ../classes/settings.class.php:
|
974 |
-
#: ../classes/settings.class.php:
|
975 |
-
#: ../classes/settings.class.php:
|
976 |
msgid "Family"
|
977 |
msgstr "Famille"
|
978 |
|
979 |
-
#: ../classes/settings.class.php:
|
980 |
-
#: ../classes/settings.class.php:
|
981 |
-
#: ../classes/settings.class.php:
|
982 |
msgid "Transform"
|
983 |
msgstr "Transformation"
|
984 |
|
985 |
-
#: ../classes/settings.class.php:
|
986 |
-
#: ../classes/settings.class.php:
|
987 |
-
#: ../classes/settings.class.php:
|
988 |
-
#: ../classes/settings.class.php:
|
989 |
-
#: ../classes/settings.class.php:
|
990 |
msgid "Weight"
|
991 |
msgstr "Poids"
|
992 |
|
993 |
-
#: ../classes/settings.class.php:
|
994 |
-
#: ../classes/settings.class.php:
|
995 |
-
#: ../classes/settings.class.php:
|
996 |
-
#: ../classes/settings.class.php:
|
997 |
-
#: ../classes/settings.class.php:
|
998 |
msgid "Decoration"
|
999 |
msgstr "Décoration"
|
1000 |
|
1001 |
-
#: ../classes/settings.class.php:
|
1002 |
-
|
|
|
|
|
|
|
|
|
1003 |
msgid "Font (Hover)"
|
1004 |
msgstr "Police (au survol de la souris)"
|
1005 |
|
1006 |
-
#: ../classes/settings.class.php:
|
1007 |
msgid "Set the font to use for each top level menu item (on hover)."
|
1008 |
msgstr ""
|
1009 |
"Régler la police à utiliser pour chaque item de menu du plus niveau (au "
|
1010 |
"survol de la souris)."
|
1011 |
|
1012 |
-
#: ../classes/settings.class.php:
|
1013 |
msgid "Menu Item Padding"
|
1014 |
msgstr "Padding d'item de menu"
|
1015 |
|
1016 |
-
#: ../classes/settings.class.php:
|
1017 |
msgid "Set the padding for each top level menu item."
|
1018 |
msgstr "Régler le pas pour chaque item du menu du plus haut niveau."
|
1019 |
|
1020 |
-
#: ../classes/settings.class.php:
|
1021 |
msgid "Menu Item Border"
|
1022 |
msgstr "Bordure d'item du menu"
|
1023 |
|
1024 |
-
#: ../classes/settings.class.php:
|
1025 |
msgid "Set the border to display on each top level menu item."
|
1026 |
msgstr ""
|
1027 |
"Régler la bordure à afficher sur chaque item de menu du plus haut niveau."
|
1028 |
|
1029 |
-
#: ../classes/settings.class.php:
|
1030 |
msgid "Menu Item Border (Hover)"
|
1031 |
msgstr "Bordure d'item de menu (au survol de la souris)"
|
1032 |
|
1033 |
-
#: ../classes/settings.class.php:
|
1034 |
msgid "Set the hover border color."
|
1035 |
msgstr "Régler la couleur de la bordure au survol de la souris."
|
1036 |
|
1037 |
-
#: ../classes/settings.class.php:
|
1038 |
msgid "Menu Item Border Radius"
|
1039 |
msgstr "Radius des bordures des items du menu"
|
1040 |
|
1041 |
-
#: ../classes/settings.class.php:
|
1042 |
msgid "Set rounded corners for each top level menu item."
|
1043 |
msgstr ""
|
1044 |
"Régler des bords arrondis pour chaque item de menu du plus haut niveau."
|
1045 |
|
1046 |
-
#: ../classes/settings.class.php:
|
1047 |
msgid "Menu Item Divider"
|
1048 |
msgstr "Séparateur d'item de menu"
|
1049 |
|
1050 |
-
#: ../classes/settings.class.php:
|
1051 |
msgid "Show a small divider bar between each menu item."
|
1052 |
msgstr "Afficher une petite barre de séparation entre chaque item de menu."
|
1053 |
|
1054 |
-
#: ../classes/settings.class.php:
|
1055 |
msgid "Glow Opacity"
|
1056 |
msgstr "Opacité de la lueur"
|
1057 |
|
1058 |
-
#: ../classes/settings.class.php:
|
1059 |
msgid "Highlight Current Item"
|
1060 |
msgstr "Item actuel en surbrillance"
|
1061 |
|
1062 |
-
#: ../classes/settings.class.php:
|
1063 |
msgid "Apply the 'hover' styling to current menu items."
|
1064 |
msgstr ""
|
1065 |
"Appliquer le style 'survol de la souris' (hover) aux items de menu actuels."
|
1066 |
|
1067 |
-
#: ../classes/settings.class.php:
|
1068 |
-
msgid "Mega
|
1069 |
-
msgstr "
|
1070 |
|
1071 |
-
#: ../classes/settings.class.php:
|
1072 |
msgid "Panel Background"
|
1073 |
msgstr "Couleur de fond du panneau"
|
1074 |
|
1075 |
-
#: ../classes/settings.class.php:
|
1076 |
msgid "Set a background color for a whole panel."
|
1077 |
msgstr "Régler une couleur de fond pour tout le panneau."
|
1078 |
|
1079 |
-
#: ../classes/settings.class.php:
|
1080 |
msgid "Panel Width"
|
1081 |
msgstr "Largeur de panneau"
|
1082 |
|
1083 |
-
#: ../classes/settings.class.php:
|
1084 |
-
msgid "Mega Panel width"
|
1085 |
-
msgstr "Largeur
|
1086 |
|
1087 |
-
#: ../classes/settings.class.php:
|
1088 |
msgid ""
|
1089 |
"A 100% wide panel will only ever be as wide as the menu itself. For a fixed "
|
1090 |
"panel width set this to a pixel value."
|
@@ -1092,7 +1219,7 @@ msgstr ""
|
|
1092 |
"Un panneau large de 100% sera seulement aussi large que le menu lui-même. "
|
1093 |
"Pour une taille fixe de panneau, définissez celle-ci en pixel."
|
1094 |
|
1095 |
-
#: ../classes/settings.class.php:
|
1096 |
msgid ""
|
1097 |
"Advanced: Enter a jQuery selector to synchronize the width and position of "
|
1098 |
"the sub menu with existing page element (e.g. body, #container, .page)."
|
@@ -1101,11 +1228,19 @@ msgstr ""
|
|
1101 |
"position du sous-menu avec un élement existant de la page (ex : body, "
|
1102 |
"#container, .page)."
|
1103 |
|
1104 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1105 |
msgid "Panel Padding"
|
1106 |
msgstr "Padding de panneau"
|
1107 |
|
1108 |
-
#: ../classes/settings.class.php:
|
1109 |
msgid ""
|
1110 |
"Set the padding for the whole panel. Set these values 0px if you wish your "
|
1111 |
"panel content to go edge-to-edge."
|
@@ -1113,39 +1248,43 @@ msgstr ""
|
|
1113 |
"Régler le pas pour tout le panneau. Définissez cette valeur à 0px si vous "
|
1114 |
"souhaitez que le contenu de votre panneau soit bord-à-bord."
|
1115 |
|
1116 |
-
#: ../classes/settings.class.php:
|
1117 |
msgid "Panel Border"
|
1118 |
msgstr "Bordure du panneau"
|
1119 |
|
1120 |
-
#: ../classes/settings.class.php:
|
1121 |
msgid "Set the border to display on the Mega Panel."
|
1122 |
msgstr "Régler la bordure à afficher sur le Mega Panneau."
|
1123 |
|
1124 |
-
#: ../classes/settings.class.php:
|
1125 |
msgid "Panel Border Radius"
|
1126 |
msgstr "Radius de la bordure du panneau"
|
1127 |
|
1128 |
-
#: ../classes/settings.class.php:
|
1129 |
msgid "Set rounded corners for the panel."
|
1130 |
msgstr "Définir des bords arrondis pour le panneau."
|
1131 |
|
1132 |
-
#: ../classes/settings.class.php:
|
1133 |
-
msgid "
|
1134 |
-
msgstr "
|
1135 |
|
1136 |
-
#: ../classes/settings.class.php:
|
1137 |
msgid ""
|
1138 |
-
"
|
1139 |
-
"
|
1140 |
msgstr ""
|
1141 |
-
"
|
1142 |
-
"
|
1143 |
|
1144 |
-
#: ../classes/settings.class.php:
|
1145 |
-
msgid "
|
1146 |
-
msgstr "
|
1147 |
|
1148 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
1149 |
msgid ""
|
1150 |
"Set the font to use Widget headers in the mega menu. Tip: set this to the "
|
1151 |
"same style as the Second Level Menu Item Header font to keep your styling "
|
@@ -1155,43 +1294,43 @@ msgstr ""
|
|
1155 |
"Astuce : définissez le même style qu'avec la police des en-têtes des items "
|
1156 |
"de menu de 2ème niveau pour garder une cohérence de style."
|
1157 |
|
1158 |
-
#: ../classes/settings.class.php:
|
1159 |
-
msgid "
|
1160 |
-
msgstr "
|
1161 |
-
|
1162 |
-
#: ../classes/settings.class.php:1931
|
1163 |
-
msgid "Set the font to use for panel contents."
|
1164 |
-
msgstr "Définissez la police à utiliser pour le contenu du panneau."
|
1165 |
-
|
1166 |
-
#: ../classes/settings.class.php:1951
|
1167 |
-
msgid "Widget Heading Padding"
|
1168 |
-
msgstr "Padding des en-têtes de widget"
|
1169 |
|
1170 |
-
#: ../classes/settings.class.php:
|
1171 |
msgid "Set the padding for the widget headings."
|
1172 |
-
msgstr "Régler le pas pour les
|
1173 |
|
1174 |
-
#: ../classes/settings.class.php:
|
1175 |
-
msgid "
|
1176 |
-
msgstr "Marge
|
1177 |
|
1178 |
-
#: ../classes/settings.class.php:
|
1179 |
msgid "Set the margin for the widget headings."
|
1180 |
-
msgstr "Régler la marge pour les
|
1181 |
|
1182 |
-
#: ../classes/settings.class.php:
|
1183 |
-
msgid "Border"
|
1184 |
-
msgstr "Bordure"
|
1185 |
|
1186 |
-
#: ../classes/settings.class.php:
|
1187 |
msgid "Set the border for the widget headings."
|
1188 |
msgstr "Régler la bordure pour les en-têtes du widget."
|
1189 |
|
1190 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1191 |
msgid "Second Level Menu Items"
|
1192 |
msgstr "Items du menu de 2ème niveau"
|
1193 |
|
1194 |
-
#: ../classes/settings.class.php:
|
1195 |
msgid ""
|
1196 |
"Set the font for second level menu items when they're displayed in a Mega "
|
1197 |
"Menu."
|
@@ -1199,45 +1338,49 @@ msgstr ""
|
|
1199 |
"Régler la police pour les items du menu de 2ème niveau quand ils sont "
|
1200 |
"affichés dans un Mega Menu."
|
1201 |
|
1202 |
-
#: ../classes/settings.class.php:
|
1203 |
msgid "Set the font style on hover."
|
1204 |
msgstr "Régler le style de police au survol de la souris."
|
1205 |
|
1206 |
-
#: ../classes/settings.class.php:
|
1207 |
msgid "Background (Hover)"
|
1208 |
msgstr "Couleur de fond (au survol de la souris)"
|
1209 |
|
1210 |
-
#: ../classes/settings.class.php:
|
1211 |
msgid "Set the background hover color for second level menu items."
|
1212 |
msgstr ""
|
1213 |
"Régler la couleur de fond au survol de la souris pour les items de menus de "
|
1214 |
"2ème niveau."
|
1215 |
|
1216 |
-
#: ../classes/settings.class.php:
|
1217 |
msgid "Padding"
|
1218 |
-
msgstr ""
|
1219 |
|
1220 |
-
#: ../classes/settings.class.php:
|
1221 |
msgid "Set the padding for the second level menu items."
|
1222 |
msgstr "Régler le pas pour les items du menu de 2ème niveau."
|
1223 |
|
1224 |
-
#: ../classes/settings.class.php:
|
1225 |
msgid "Margin"
|
1226 |
msgstr "Marge"
|
1227 |
|
1228 |
-
#: ../classes/settings.class.php:
|
1229 |
msgid "Set the margin for the second level menu items."
|
1230 |
msgstr "Régler la marge pour les items du menu de 2ème niveau."
|
1231 |
|
1232 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
1233 |
msgid "Set the border for the second level menu items."
|
1234 |
msgstr "Régler la bordure pour les items du menu de 2ème niveau."
|
1235 |
|
1236 |
-
#: ../classes/settings.class.php:
|
1237 |
msgid "Third Level Menu Items"
|
1238 |
msgstr "Items de 3ème niveau du menu"
|
1239 |
|
1240 |
-
#: ../classes/settings.class.php:
|
1241 |
msgid ""
|
1242 |
"Set the font for third level menu items when they're displayed in a Mega "
|
1243 |
"Menu."
|
@@ -1245,33 +1388,33 @@ msgstr ""
|
|
1245 |
"Régler la police pour les items du menu de 3ème niveau quand ils seront "
|
1246 |
"affichés dans un Mega Menu."
|
1247 |
|
1248 |
-
#: ../classes/settings.class.php:
|
1249 |
msgid "Set the background hover color for third level menu items."
|
1250 |
msgstr ""
|
1251 |
"Régler la couleur de fond au survol de la souris pour les items du menu de "
|
1252 |
"3ème niveau."
|
1253 |
|
1254 |
-
#: ../classes/settings.class.php:
|
1255 |
msgid "Set the padding for the third level menu items."
|
1256 |
msgstr "Régler le pas pour les items du menu de 3ème niveau."
|
1257 |
|
1258 |
-
#: ../classes/settings.class.php:
|
1259 |
msgid "Flyout Menus"
|
1260 |
msgstr "Menus volants"
|
1261 |
|
1262 |
-
#: ../classes/settings.class.php:
|
1263 |
msgid "Set the background color for the flyout menu."
|
1264 |
msgstr "Régler la couleur de fond du menu volant."
|
1265 |
|
1266 |
-
#: ../classes/settings.class.php:
|
1267 |
msgid "Menu Width"
|
1268 |
msgstr "Largeur du menu"
|
1269 |
|
1270 |
-
#: ../classes/settings.class.php:
|
1271 |
msgid "The width of each flyout menu. This must be a fixed pixel value."
|
1272 |
msgstr "La largeur de chaque menu volant. Ce doit être une valeur fixe."
|
1273 |
|
1274 |
-
#: ../classes/settings.class.php:
|
1275 |
msgid ""
|
1276 |
"Set this value to the width of your longest menu item title to stop menu "
|
1277 |
"items wrapping onto 2 lines."
|
@@ -1279,11 +1422,11 @@ msgstr ""
|
|
1279 |
"Régler cette valeur à la largeur de votre titre d'item de menu le plus grand "
|
1280 |
"pour que votre menu ne se retrouve plus sur 2 lignes."
|
1281 |
|
1282 |
-
#: ../classes/settings.class.php:
|
1283 |
msgid "Set the padding for the whole flyout menu."
|
1284 |
msgstr "Régler le pas pour tout le menu volant."
|
1285 |
|
1286 |
-
#: ../classes/settings.class.php:
|
1287 |
msgid ""
|
1288 |
"Only suitable for single level flyout menus. If you're using multi level "
|
1289 |
"flyout menus set these values to 0px."
|
@@ -1291,15 +1434,15 @@ msgstr ""
|
|
1291 |
"Applicable seulement au premier niveau des menus volants. Si vous utilisez "
|
1292 |
"plusieurs niveaux de menus volants réglez cette valeur à 0px."
|
1293 |
|
1294 |
-
#: ../classes/settings.class.php:
|
1295 |
msgid "Menu Border"
|
1296 |
msgstr "Bordure du menu"
|
1297 |
|
1298 |
-
#: ../classes/settings.class.php:
|
1299 |
msgid "Set the border for the flyout menu."
|
1300 |
msgstr "Régler la bordure pour les menus volants."
|
1301 |
|
1302 |
-
#: ../classes/settings.class.php:
|
1303 |
msgid ""
|
1304 |
"Set rounded corners for flyout menus. Rounded corners will be applied to all "
|
1305 |
"flyout menu levels."
|
@@ -1307,75 +1450,127 @@ msgstr ""
|
|
1307 |
"Régler l'arrondi des angles pour les menus volants. Les angles arrondis "
|
1308 |
"seront appliqués à tous les niveaux des menus volants."
|
1309 |
|
1310 |
-
#: ../classes/settings.class.php:
|
1311 |
msgid "Item Background"
|
1312 |
msgstr "Couleur de fond de l'item"
|
1313 |
|
1314 |
-
#: ../classes/settings.class.php:
|
1315 |
msgid "Set the background color for a flyout menu item."
|
1316 |
msgstr "Régler la couleur de fond pour un item du menu volant."
|
1317 |
|
1318 |
-
#: ../classes/settings.class.php:
|
1319 |
msgid "Item Background (Hover)"
|
1320 |
msgstr "Couleur de fond de l'item (au survol de la souris)"
|
1321 |
|
1322 |
-
#: ../classes/settings.class.php:
|
1323 |
msgid "Set the background color for a flyout menu item (on hover)."
|
1324 |
msgstr ""
|
1325 |
"Régler la couleur de fond pour un item du menu volant (au survol de la "
|
1326 |
"souris)."
|
1327 |
|
1328 |
-
#: ../classes/settings.class.php:
|
1329 |
msgid "Item Height"
|
1330 |
msgstr "Hauteur de l'item"
|
1331 |
|
1332 |
-
#: ../classes/settings.class.php:
|
1333 |
msgid "The height of each flyout menu item."
|
1334 |
msgstr "La hauteur de chaque item du menu volant."
|
1335 |
|
1336 |
-
#: ../classes/settings.class.php:
|
1337 |
-
msgid "Item Padding"
|
1338 |
-
msgstr "Padding de l'item"
|
1339 |
-
|
1340 |
-
#: ../classes/settings.class.php:2469
|
1341 |
msgid "Set the padding for each flyout menu item."
|
1342 |
msgstr "Régler le pas pour chaque item du menu volant."
|
1343 |
|
1344 |
-
#: ../classes/settings.class.php:
|
1345 |
msgid "Item Font"
|
1346 |
msgstr "Police de l'item"
|
1347 |
|
1348 |
-
#: ../classes/settings.class.php:
|
1349 |
msgid "Set the font for the flyout menu items."
|
1350 |
msgstr "Régler la police pour les items du menu volant"
|
1351 |
|
1352 |
-
#: ../classes/settings.class.php:
|
1353 |
msgid "Item Font (Hover)"
|
1354 |
msgstr "Police de l'item (au survol de la souris)"
|
1355 |
|
1356 |
-
#: ../classes/settings.class.php:
|
1357 |
-
msgid "Set the font weight for the flyout menu items (on hover)."
|
1358 |
-
msgstr ""
|
1359 |
-
"Régler le poids de la police pour les items du menus volants (au survol de "
|
1360 |
-
"la souris)"
|
1361 |
-
|
1362 |
-
#: ../classes/settings.class.php:2550
|
1363 |
msgid "Item Divider"
|
1364 |
msgstr "Séparateur d'item"
|
1365 |
|
1366 |
-
#: ../classes/settings.class.php:
|
1367 |
msgid "Show a line divider below each menu item."
|
1368 |
msgstr "Afficher une ligne séparatrice entre chaque item du menu."
|
1369 |
|
1370 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1371 |
msgid "Custom Styling"
|
1372 |
msgstr "Style personnalisé"
|
1373 |
|
1374 |
-
#: ../classes/settings.class.php:
|
1375 |
msgid "CSS Editor"
|
1376 |
msgstr "Editeur CSS"
|
1377 |
|
1378 |
-
#: ../classes/settings.class.php:
|
1379 |
msgid ""
|
1380 |
"Define any custom CSS you wish to add to menus using this theme. You can use "
|
1381 |
"standard CSS or SCSS."
|
@@ -1383,90 +1578,106 @@ msgstr ""
|
|
1383 |
"Définissez des règles CSS que vous souhaitez ajouter aux menus utilisant ce "
|
1384 |
"thème. Vous pouvez utiliser du CSS standard ou du SCSS."
|
1385 |
|
1386 |
-
#: ../classes/settings.class.php:
|
1387 |
-
msgid "
|
1388 |
-
msgstr "
|
1389 |
|
1390 |
-
#: ../classes/settings.class.php:
|
1391 |
-
msgid ""
|
1392 |
-
"
|
1393 |
-
"primary"
|
1394 |
-
msgstr ""
|
1395 |
-
"converti vers le sélecteur ID du menu wrapper, ex : ul#mega-menu-wrap-primary"
|
1396 |
-
|
1397 |
-
#: ../classes/settings.class.php:2584
|
1398 |
-
msgid "converts to the ID selector of the menu, e.g. ul#mega-menu-primary"
|
1399 |
-
msgstr "converti vers le sélecteur ID du menu, ex : ul#mega-menu-primary"
|
1400 |
|
1401 |
-
#: ../classes/settings.class.php:
|
1402 |
-
msgid ""
|
1403 |
-
"
|
1404 |
-
"e.g:"
|
1405 |
-
msgstr ""
|
1406 |
-
"Utilisez la règle @import pour importer une CSS d'un autre plugin ou du "
|
1407 |
-
"répertoire de votre thème, ex :"
|
1408 |
|
1409 |
-
#: ../classes/settings.class.php:
|
1410 |
msgid "Delete Theme"
|
1411 |
msgstr "Supprimer le thème"
|
1412 |
|
1413 |
-
#: ../classes/settings.class.php:
|
1414 |
msgid "Revert Theme"
|
1415 |
msgstr "Rétablir le thème"
|
1416 |
|
1417 |
-
#: ../classes/settings.class.php:
|
1418 |
msgid "Center"
|
1419 |
msgstr "Centré"
|
1420 |
|
1421 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1422 |
msgid "Underline"
|
1423 |
msgstr "Souligné"
|
1424 |
|
1425 |
-
#: ../classes/settings.class.php:
|
1426 |
-
msgid "Disabled"
|
1427 |
-
msgstr "Désactivé"
|
1428 |
-
|
1429 |
-
#: ../classes/settings.class.php:2750 ../classes/settings.class.php:2829
|
1430 |
msgid "Theme Default"
|
1431 |
msgstr "Thème par défaut"
|
1432 |
|
1433 |
-
#: ../classes/settings.class.php:
|
1434 |
msgid "Light (300)"
|
1435 |
msgstr "Léger (300)"
|
1436 |
|
1437 |
-
#: ../classes/settings.class.php:
|
1438 |
msgid "Normal (400)"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
-
#: ../classes/settings.class.php:
|
1442 |
msgid "Bold (700)"
|
1443 |
msgstr "Gras (700)"
|
1444 |
|
1445 |
-
#: ../classes/settings.class.php:
|
1446 |
msgid "Normal"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: ../classes/settings.class.php:
|
1450 |
msgid "Capitalize"
|
1451 |
msgstr "Capitalisation"
|
1452 |
|
1453 |
-
#: ../classes/settings.class.php:
|
1454 |
msgid "Uppercase"
|
1455 |
msgstr "Majuscule"
|
1456 |
|
1457 |
-
#: ../classes/settings.class.php:
|
1458 |
msgid "Lowercase"
|
1459 |
msgstr "minuscule"
|
1460 |
|
1461 |
-
#: ../classes/settings.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1462 |
msgid "Are you sure?"
|
1463 |
msgstr "Etes-vous sûr ?"
|
1464 |
|
1465 |
-
#: ../classes/style-manager.class.php:
|
1466 |
msgid "Default"
|
1467 |
msgstr "Défaut"
|
1468 |
|
1469 |
-
#: ../classes/style-manager.class.php:
|
1470 |
msgid ""
|
1471 |
"Warning: CSS compilation failed. Please check your changes or revert the "
|
1472 |
"theme."
|
@@ -1474,64 +1685,137 @@ msgstr ""
|
|
1474 |
"Attention : Echec lors de la compilation de la CSS. Vérifiez vos changements "
|
1475 |
"ou rétablissez votre thème."
|
1476 |
|
1477 |
-
#: ../classes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1478 |
msgid "Mega Menu Widgets"
|
1479 |
msgstr "Widgets Mega Menu"
|
1480 |
|
1481 |
-
#: ../classes/widget-manager.class.php:
|
1482 |
msgid "Do not manually edit this area."
|
1483 |
msgstr "N'éditez pas manuellement cet emplacement."
|
1484 |
|
1485 |
-
#: ../classes/widget-manager.class.php:
|
1486 |
#, php-format
|
1487 |
msgid "Saved %s"
|
1488 |
msgstr "%s sauvegardé"
|
1489 |
|
1490 |
-
#: ../classes/widget-manager.class.php:
|
1491 |
#, php-format
|
1492 |
msgid "Failed to save %s"
|
1493 |
msgstr "Echec lors de la sauvegarde de %s"
|
1494 |
|
1495 |
-
#: ../classes/widget-manager.class.php:
|
|
|
1496 |
#, php-format
|
1497 |
msgid "Updated %s (new columns: %d)"
|
1498 |
msgstr "Mise à jour de %s (nouvelle colonne : %d)"
|
1499 |
|
1500 |
-
#: ../classes/widget-manager.class.php:
|
|
|
1501 |
#, php-format
|
1502 |
msgid "Failed to update %s"
|
1503 |
msgstr "Echec lors de la mise à jour de %s"
|
1504 |
|
1505 |
-
#: ../classes/widget-manager.class.php:
|
1506 |
#, php-format
|
1507 |
msgid "Failed to add %s to %d"
|
1508 |
msgstr "Echec lors de l'ajout de %s vers %d"
|
1509 |
|
1510 |
-
#: ../classes/widget-manager.class.php:
|
1511 |
#, php-format
|
1512 |
msgid "Deleted %s"
|
1513 |
msgstr "%s supprimé"
|
1514 |
|
1515 |
-
#: ../classes/widget-manager.class.php:
|
1516 |
#, php-format
|
1517 |
msgid "Failed to delete %s"
|
1518 |
msgstr "Echec lors de la suppresion de %s"
|
1519 |
|
1520 |
-
#: ../classes/widget-manager.class.php:
|
1521 |
#, php-format
|
1522 |
-
msgid "Moved
|
1523 |
-
msgstr "
|
1524 |
|
1525 |
-
#: ../classes/widget-manager.class.php:
|
1526 |
-
|
1527 |
-
|
1528 |
-
msgstr "Echec lors du déplacement de %s vers %d"
|
1529 |
-
|
1530 |
-
#: ../classes/widget-manager.class.php:458
|
1531 |
-
msgid "Delete"
|
1532 |
-
msgstr "Supprimer"
|
1533 |
|
1534 |
-
#: ../classes/widget-manager.class.php:
|
1535 |
msgid "Close"
|
1536 |
msgstr "Fermer"
|
1537 |
|
@@ -1551,6 +1835,163 @@ msgstr "Emplacement de menu"
|
|
1551 |
msgid "No menu locations found"
|
1552 |
msgstr "Aucun emplacement de menu trouvé"
|
1553 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1554 |
#~ msgid "regenerate the CSS"
|
1555 |
#~ msgstr "Regénérer le CSS"
|
1556 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: megamenu\n"
|
4 |
+
"POT-Creation-Date: 2016-10-12 14:35+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-10-12 15:30+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Pierre Sudarovich <translate@tips02.fr>\n"
|
8 |
+
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.9\n"
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
"X-Poedit-SearchPath-1: .\n"
|
18 |
|
19 |
+
#: ../classes/menu-item-manager.class.php:55
|
20 |
+
msgid "Custom Item Styling"
|
21 |
+
msgstr "Style des élément personnalisés"
|
22 |
|
23 |
+
#: ../classes/menu-item-manager.class.php:56
|
24 |
+
msgid "Customize the styling of this menu item only."
|
25 |
+
msgstr "Personnaliser le style de cet item de menu seulement."
|
26 |
+
|
27 |
+
#: ../classes/menu-item-manager.class.php:57
|
28 |
msgid ""
|
29 |
+
"Set custom sub menu widths, font colors, font size, icon styling, sub menu "
|
30 |
+
"background images and lots more."
|
31 |
msgstr ""
|
32 |
+
"Définir les largeurs personnalisées des sous-menus, couleurs, taille de la "
|
33 |
+
"police, style de l'icone, image d'arrière-plan du sous-menu et bien plus."
|
34 |
+
|
35 |
+
#: ../classes/menu-item-manager.class.php:62
|
36 |
+
msgid "Styling"
|
37 |
+
msgstr "Style"
|
38 |
+
|
39 |
+
#: ../classes/menu-item-manager.class.php:82
|
40 |
+
msgid "Roles & Restrictions"
|
41 |
+
msgstr "Rôles et restrictions"
|
42 |
|
43 |
+
#: ../classes/menu-item-manager.class.php:83
|
44 |
msgid ""
|
45 |
+
"Restrict the display of this menu item to users with a specific role, or by "
|
46 |
+
"logged in status."
|
47 |
msgstr ""
|
48 |
+
"Restreindre l'affichage de cet item de menu aux utilisateurs avec un rôle "
|
49 |
+
"spécifique, ou par statut de connexion."
|
50 |
|
51 |
+
#: ../classes/menu-item-manager.class.php:87
|
52 |
+
msgid "Roles"
|
53 |
+
msgstr "Rôles"
|
54 |
|
55 |
+
#: ../classes/menu-item-manager.class.php:108
|
56 |
+
#: ../classes/menu-item-manager.class.php:114
|
57 |
+
msgid "Replacements"
|
58 |
+
msgstr "Remplacements"
|
59 |
|
60 |
+
#: ../classes/menu-item-manager.class.php:109
|
|
|
|
|
|
|
|
|
|
|
61 |
msgid ""
|
62 |
+
"Replace this menu item with something else: a logo, a search box, "
|
63 |
+
"WooCommerce cart total, Easy Digital Downloads cart total, custom HTML or a "
|
64 |
+
"shortcode"
|
65 |
msgstr ""
|
66 |
+
"Remplacer cet item de menu par quelque-chose d'autre : un logo, un champ de "
|
67 |
+
"recherche, panier WooCommerce, Panier Easy Digital Downloads, HTML "
|
68 |
+
"personnalisé ou un shortcode"
|
69 |
|
70 |
+
#: ../classes/menu-item-manager.class.php:319
|
71 |
+
msgid "Sub Menu"
|
72 |
+
msgstr "Sous-menu!"
|
|
|
|
|
|
|
73 |
|
74 |
+
#: ../classes/menu-item-manager.class.php:320
|
75 |
msgid "Mega Menus can only be created on top level menu items."
|
76 |
msgstr "Mega Menu peut seulement être créé pour les items de plus haut niveau."
|
77 |
|
78 |
+
#: ../classes/menu-item-manager.class.php:331
|
|
|
|
|
|
|
|
|
79 |
msgid "Flyout Menu"
|
80 |
msgstr "Menu volant"
|
81 |
|
82 |
+
#: ../classes/menu-item-manager.class.php:332
|
83 |
+
#: ../classes/menu-item-manager.class.php:396
|
84 |
+
#: ../classes/nav-menus.class.php:186 ../classes/settings.class.php:595
|
85 |
+
msgid "Mega Menu"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: ../classes/menu-item-manager.class.php:335
|
89 |
+
msgid "Sub menu display mode"
|
90 |
+
msgstr "Mode d'affichage du sous-menu"
|
91 |
+
|
92 |
+
#: ../classes/menu-item-manager.class.php:345
|
93 |
msgid "column"
|
94 |
msgstr "colonne"
|
95 |
|
96 |
+
#: ../classes/menu-item-manager.class.php:346
|
97 |
+
#: ../classes/menu-item-manager.class.php:347
|
98 |
+
#: ../classes/menu-item-manager.class.php:348
|
99 |
+
#: ../classes/menu-item-manager.class.php:349
|
100 |
+
#: ../classes/menu-item-manager.class.php:350
|
101 |
+
#: ../classes/menu-item-manager.class.php:351
|
102 |
+
#: ../classes/menu-item-manager.class.php:352
|
103 |
msgid "columns"
|
104 |
msgstr "colonnes"
|
105 |
|
106 |
+
#: ../classes/menu-item-manager.class.php:356
|
107 |
msgid "Select a Widget to add to the panel"
|
108 |
msgstr "Sélectionner un widget à ajouter au panneau"
|
109 |
|
110 |
+
#: ../classes/menu-item-manager.class.php:376
|
111 |
+
#: ../classes/widget-manager.class.php:656
|
112 |
+
msgid "Contract"
|
113 |
+
msgstr "Contrat"
|
114 |
|
115 |
+
#: ../classes/menu-item-manager.class.php:378
|
116 |
+
#: ../classes/widget-manager.class.php:658
|
117 |
+
msgid "Expand"
|
118 |
+
msgstr "Développer"
|
119 |
+
|
120 |
+
#: ../classes/menu-item-manager.class.php:379
|
121 |
+
#: ../classes/widget-manager.class.php:659
|
122 |
+
msgid "Edit"
|
123 |
+
msgstr "Editer"
|
124 |
|
125 |
+
#: ../classes/menu-item-manager.class.php:390
|
126 |
msgid ""
|
127 |
"No widgets found. Add a widget to this area using the Widget Selector (top "
|
128 |
"right)"
|
130 |
"Aucun widget trouvé. Ajoutez un widget à cette zone en utilisant le "
|
131 |
"sélecteur de widget (en haut à droite)"
|
132 |
|
133 |
+
#: ../classes/menu-item-manager.class.php:417
|
134 |
msgid "Menu Item Settings"
|
135 |
msgstr "Paramètres des items du menu"
|
136 |
|
137 |
+
#: ../classes/menu-item-manager.class.php:421
|
138 |
msgid "Hide Text"
|
139 |
msgstr "Cacher le texte"
|
140 |
|
141 |
+
#: ../classes/menu-item-manager.class.php:429
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
msgid "Hide Arrow"
|
143 |
msgstr "Cacher la flèche"
|
144 |
|
145 |
+
#: ../classes/menu-item-manager.class.php:437
|
146 |
msgid "Disable Link"
|
147 |
msgstr "Désactiver le lien"
|
148 |
|
149 |
+
#: ../classes/menu-item-manager.class.php:445
|
150 |
+
msgid "Hide Item on Mobile"
|
151 |
+
msgstr "Cacher l'item sur mobile"
|
152 |
+
|
153 |
+
#: ../classes/menu-item-manager.class.php:453
|
154 |
+
msgid "Hide Item on Desktop"
|
155 |
+
msgstr "Cacher l'item sur grand écran"
|
156 |
+
|
157 |
+
#: ../classes/menu-item-manager.class.php:461
|
158 |
msgid "Menu Item Align"
|
159 |
msgstr "Alignement de l'item du menu"
|
160 |
|
161 |
+
#: ../classes/menu-item-manager.class.php:467
|
162 |
+
#: ../classes/settings.class.php:1519 ../classes/settings.class.php:1684
|
163 |
+
#: ../classes/settings.class.php:1886 ../classes/settings.class.php:1922
|
164 |
+
#: ../classes/settings.class.php:2079 ../classes/settings.class.php:2115
|
165 |
+
#: ../classes/settings.class.php:2177 ../classes/settings.class.php:2251
|
166 |
+
#: ../classes/settings.class.php:2282 ../classes/settings.class.php:2318
|
167 |
+
#: ../classes/settings.class.php:2459 ../classes/settings.class.php:2490
|
168 |
+
#: ../classes/settings.class.php:2526 ../classes/settings.class.php:2644
|
169 |
+
#: ../classes/settings.class.php:2717 ../classes/settings.class.php:2753
|
170 |
+
#: ../classes/settings.class.php:2872 ../classes/settings.class.php:3287
|
|
|
171 |
msgid "Left"
|
172 |
msgstr "Gauche"
|
173 |
|
174 |
+
#: ../classes/menu-item-manager.class.php:468
|
175 |
+
#: ../classes/settings.class.php:1524 ../classes/settings.class.php:1672
|
176 |
+
#: ../classes/settings.class.php:1874 ../classes/settings.class.php:1910
|
177 |
+
#: ../classes/settings.class.php:2067 ../classes/settings.class.php:2103
|
178 |
+
#: ../classes/settings.class.php:2165 ../classes/settings.class.php:2239
|
179 |
+
#: ../classes/settings.class.php:2270 ../classes/settings.class.php:2306
|
180 |
+
#: ../classes/settings.class.php:2447 ../classes/settings.class.php:2478
|
181 |
+
#: ../classes/settings.class.php:2514 ../classes/settings.class.php:2632
|
182 |
+
#: ../classes/settings.class.php:2705 ../classes/settings.class.php:2741
|
183 |
+
#: ../classes/settings.class.php:2860 ../classes/settings.class.php:3289
|
|
|
184 |
msgid "Right"
|
185 |
msgstr "Droite"
|
186 |
|
187 |
+
#: ../classes/menu-item-manager.class.php:471
|
188 |
msgid ""
|
189 |
"Right aligned items will appear in reverse order on the right hand side of "
|
190 |
"the menu bar"
|
192 |
"Les items alignés à droite apparaîtront dans un ordre inversé sur le côté "
|
193 |
"droit de la barre de menu"
|
194 |
|
195 |
+
#: ../classes/menu-item-manager.class.php:474
|
196 |
+
#: ../classes/menu-item-manager.class.php:499
|
197 |
+
msgid "Option only available for top level menu items"
|
198 |
+
msgstr "Option seulement disponible pour les items du plus haut niveau"
|
199 |
+
|
200 |
+
#: ../classes/menu-item-manager.class.php:481
|
201 |
msgid "Sub Menu Settings"
|
202 |
msgstr "Paramètres du sous-menu"
|
203 |
|
204 |
+
#: ../classes/menu-item-manager.class.php:486
|
205 |
msgid "Sub Menu Align"
|
206 |
msgstr "Alignement du sous-menu"
|
207 |
|
208 |
+
#: ../classes/menu-item-manager.class.php:492
|
209 |
+
msgid "Left edge of Parent"
|
210 |
+
msgstr "Bord gauche du parent"
|
|
|
|
|
|
|
|
|
211 |
|
212 |
+
#: ../classes/menu-item-manager.class.php:493
|
213 |
+
msgid "Right edge of Parent"
|
214 |
+
msgstr "Bord droit du parent"
|
|
|
215 |
|
216 |
+
#: ../classes/menu-item-manager.class.php:496
|
217 |
+
msgid "Right aligned flyout menus will expand to the left"
|
218 |
+
msgstr "Menus volants aligné à droite s'étendant vers la gauche"
|
219 |
+
|
220 |
+
#: ../classes/menu-item-manager.class.php:506
|
221 |
+
msgid "Hide Sub Menu on Mobile"
|
222 |
+
msgstr "Cacher le sous-menu sur mobile"
|
223 |
+
|
224 |
+
#: ../classes/menu-item-manager.class.php:517
|
225 |
+
msgid "Settings"
|
226 |
+
msgstr "Paramètres"
|
227 |
+
|
228 |
+
#: ../classes/menu-item-manager.class.php:536
|
229 |
msgid "Dashicons"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: ../classes/menu-item-manager.class.php:541
|
233 |
msgid "Font Awesome"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: ../classes/menu-item-manager.class.php:543
|
237 |
+
#: ../classes/menu-item-manager.class.php:548
|
238 |
+
#: ../classes/menu-item-manager.class.php:553
|
239 |
msgid "Max Mega Menu Pro"
|
240 |
msgstr "Max Mega Menu Pro"
|
241 |
|
242 |
+
#: ../classes/menu-item-manager.class.php:543
|
243 |
msgid "Get access to over 400 Font Awesome Icons with {link}"
|
244 |
msgstr "Accédez à plus de 400 icones de Font Awesome avec {link}"
|
245 |
|
246 |
+
#: ../classes/menu-item-manager.class.php:546
|
247 |
msgid "Genericons"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../classes/menu-item-manager.class.php:548
|
251 |
msgid "Choose from over 100 genericons with {link}"
|
252 |
msgstr "Choisissez parmi plus de 100 genericons avec {link}"
|
253 |
|
254 |
+
#: ../classes/menu-item-manager.class.php:551
|
255 |
msgid "Custom Icon"
|
256 |
msgstr "Icone personnalisée"
|
257 |
|
258 |
+
#: ../classes/menu-item-manager.class.php:553
|
259 |
msgid "Select icons from your media library with {link}"
|
260 |
msgstr "Sélectionnez une icone depuis votre bibliothèque de médias avec {link}"
|
261 |
|
262 |
+
#: ../classes/menu-item-manager.class.php:559
|
263 |
+
msgid "Menu Item Icon"
|
264 |
+
msgstr "Élément de menu Icône"
|
265 |
+
|
266 |
+
#: ../classes/menu-item-manager.class.php:574
|
267 |
+
msgid "Search"
|
268 |
+
msgstr "Recherche"
|
269 |
|
270 |
+
#: ../classes/menu-item-manager.class.php:592
|
271 |
+
msgid "Icon"
|
272 |
+
msgstr "Icone"
|
273 |
+
|
274 |
+
#: ../classes/nav-menus.class.php:121
|
275 |
msgid "Max Mega Menu Settings"
|
276 |
msgstr "Paramètres Max Mega Menu"
|
277 |
|
278 |
+
#: ../classes/nav-menus.class.php:184
|
279 |
msgid "Launched for Menu ID"
|
280 |
msgstr "Chargé pour l'ID du menu"
|
281 |
|
282 |
+
#: ../classes/nav-menus.class.php:185
|
283 |
+
msgid "Use these settings to enable Max Mega Menu"
|
284 |
+
msgstr "Utiliser ces réglages pour activer Max Mega Menu"
|
285 |
+
|
286 |
+
#: ../classes/nav-menus.class.php:187
|
287 |
msgid ""
|
288 |
"Please enable Max Mega Menu using the settings on the left of this page."
|
289 |
msgstr ""
|
290 |
"Activez Max Mega Menu en utilisant les paramètres sur la gauche de cette "
|
291 |
"page, svp."
|
292 |
|
293 |
+
#: ../classes/nav-menus.class.php:188
|
294 |
msgid "Saving"
|
295 |
msgstr "Sauvegarde"
|
296 |
|
297 |
+
#: ../classes/nav-menus.class.php:190
|
298 |
msgid "Oops. Something went wrong. Please reload the page."
|
299 |
msgstr "Oups... Quelque chose a cloché. Rechargez la page, svp."
|
300 |
|
301 |
+
#: ../classes/nav-menus.class.php:222
|
302 |
+
msgid "No problem! This tab will be hidden for the next 90 days."
|
303 |
+
msgstr "Pas de problème ! Cet onglet sera caché pour les 90 prochains jours."
|
304 |
+
|
305 |
+
#: ../classes/nav-menus.class.php:297
|
306 |
msgid "here"
|
307 |
msgstr "ici"
|
308 |
|
309 |
+
#: ../classes/nav-menus.class.php:299
|
310 |
msgid "This theme does not register any menu locations."
|
311 |
msgstr "Ce thème n'a aucun emplacement de menu."
|
312 |
|
313 |
+
#: ../classes/nav-menus.class.php:300
|
314 |
msgid ""
|
315 |
"You will need to create a new menu location and use the Max Mega Menu widget "
|
316 |
"or shortcode to display the menu on your site."
|
318 |
"Vous aurez besoin de créer un nouvel emplacement de menu et d'utiliser le "
|
319 |
"widget Max Mega Menu ou un shortcode pour afficher le menu sur votre site."
|
320 |
|
321 |
+
#: ../classes/nav-menus.class.php:301
|
322 |
msgid "Click {link} for instructions."
|
323 |
msgstr "Cliquez sur {link pour les instructions."
|
324 |
|
325 |
+
#: ../classes/nav-menus.class.php:305
|
326 |
msgid ""
|
327 |
"Please assign this menu to a theme location to enable the Mega Menu settings."
|
328 |
msgstr ""
|
329 |
"Assignez ce menu à un emplacement de thème, svp, pour activer les paramètres "
|
330 |
"de Mega Menu."
|
331 |
|
332 |
+
#: ../classes/nav-menus.class.php:345 ../classes/widget-manager.class.php:598
|
333 |
msgid "Save"
|
334 |
msgstr "Sauver"
|
335 |
|
336 |
+
#: ../classes/nav-menus.class.php:366
|
337 |
msgid "Enable"
|
338 |
msgstr "Activer"
|
339 |
|
340 |
+
#: ../classes/nav-menus.class.php:372
|
341 |
msgid "Event"
|
342 |
msgstr "Evénement"
|
343 |
|
344 |
+
#: ../classes/nav-menus.class.php:375
|
345 |
+
msgid "Hover Intent"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: ../classes/nav-menus.class.php:376
|
349 |
msgid "Hover"
|
350 |
msgstr "Survol"
|
351 |
|
352 |
+
#: ../classes/nav-menus.class.php:377
|
353 |
msgid "Click"
|
354 |
msgstr "Clic"
|
355 |
|
356 |
+
#: ../classes/nav-menus.class.php:382
|
357 |
msgid "Effect"
|
358 |
msgstr "Effet"
|
359 |
|
360 |
+
#: ../classes/nav-menus.class.php:391 ../classes/settings.class.php:3349
|
361 |
msgid "None"
|
362 |
msgstr "Aucun"
|
363 |
|
364 |
+
#: ../classes/nav-menus.class.php:395
|
365 |
msgid "Fade"
|
366 |
msgstr "Fondu"
|
367 |
|
368 |
+
#: ../classes/nav-menus.class.php:399
|
369 |
+
msgid "Fade Up"
|
370 |
+
msgstr "Fondu haut"
|
371 |
+
|
372 |
+
#: ../classes/nav-menus.class.php:403
|
373 |
msgid "Slide"
|
374 |
msgstr "Glissement"
|
375 |
|
376 |
+
#: ../classes/nav-menus.class.php:407
|
377 |
+
msgid "Slide Up"
|
378 |
+
msgstr "Glissement haut"
|
379 |
+
|
380 |
+
#: ../classes/nav-menus.class.php:425
|
381 |
+
msgid "Slow"
|
382 |
+
msgstr "Lent"
|
383 |
+
|
384 |
+
#: ../classes/nav-menus.class.php:426
|
385 |
+
msgid "Med"
|
386 |
+
msgstr "Moyen"
|
387 |
+
|
388 |
+
#: ../classes/nav-menus.class.php:427
|
389 |
+
msgid "Fast"
|
390 |
+
msgstr "Rapide"
|
391 |
+
|
392 |
+
#: ../classes/nav-menus.class.php:441
|
393 |
msgid "Theme"
|
394 |
msgstr "Thème"
|
395 |
|
396 |
+
#: ../classes/settings.class.php:319
|
397 |
msgid "(Imported)"
|
398 |
msgstr "(Importé)"
|
399 |
|
400 |
+
#: ../classes/settings.class.php:359 ../classes/settings.class.php:1649
|
401 |
+
#: ../classes/settings.class.php:1751 ../classes/settings.class.php:1773
|
402 |
+
#: ../classes/settings.class.php:2023 ../classes/settings.class.php:2424
|
403 |
+
#: ../classes/settings.class.php:2609 ../classes/settings.class.php:2667
|
404 |
+
#: ../classes/settings.class.php:2802 ../classes/settings.class.php:2824
|
405 |
+
#: ../classes/settings.class.php:2994 ../classes/settings.class.php:3065
|
406 |
msgid "Copy"
|
407 |
msgstr "Copier"
|
408 |
|
409 |
+
#: ../classes/settings.class.php:595 ../classes/settings.class.php:607
|
410 |
+
#: ../classes/settings.class.php:609 ../classes/settings.class.php:1207
|
411 |
msgid "Max Mega Menu"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: ../classes/settings.class.php:599 ../classes/settings.class.php:637
|
415 |
+
#: ../classes/settings.class.php:1251
|
416 |
+
msgid "General Settings"
|
417 |
+
msgstr "Paramètres généraux"
|
418 |
+
|
419 |
+
#: ../classes/settings.class.php:600 ../classes/settings.class.php:1252
|
420 |
+
msgid "Menu Themes"
|
421 |
+
msgstr "Thèmes de menu"
|
422 |
+
|
423 |
+
#: ../classes/settings.class.php:601 ../classes/settings.class.php:781
|
424 |
+
#: ../classes/settings.class.php:1253
|
425 |
+
msgid "Menu Locations"
|
426 |
+
msgstr "Emplacement de menu"
|
427 |
+
|
428 |
+
#: ../classes/settings.class.php:602 ../classes/settings.class.php:1001
|
429 |
+
#: ../classes/settings.class.php:1254
|
430 |
+
msgid "Tools"
|
431 |
+
msgstr "Outils"
|
432 |
+
|
433 |
+
#: ../classes/settings.class.php:642
|
434 |
+
msgid "Click Event Behaviour"
|
435 |
+
msgstr "Comportement de l'événement sur clic"
|
436 |
+
|
437 |
+
#: ../classes/settings.class.php:644
|
438 |
+
msgid ""
|
439 |
+
"Define what should happen when the event is set to 'click'. This also "
|
440 |
+
"applies to mobiles."
|
441 |
+
msgstr ""
|
442 |
+
"Définissez ce qu'il arrivera lorsque l'évènement est paramétré sur 'click'. "
|
443 |
+
"Cela s'applique aussi aux mobiles."
|
444 |
+
|
445 |
+
#: ../classes/settings.class.php:649
|
446 |
+
msgid "First click will open a sub menu, second click will close the sub menu."
|
447 |
+
msgstr "Le premier clic ouvrira un sous-menu, le second fermera le sous-menu."
|
448 |
+
|
449 |
+
#: ../classes/settings.class.php:650
|
450 |
+
msgid "First click will open a sub menu, second click will follow the link."
|
451 |
+
msgstr "Le premier clic ouvrira un sous-menu, le second suivra le lien."
|
452 |
+
|
453 |
+
#: ../classes/settings.class.php:658
|
454 |
+
msgid "Mobile Menu Behaviour"
|
455 |
+
msgstr "Comportement du Menu Mobile"
|
456 |
+
|
457 |
+
#: ../classes/settings.class.php:660
|
458 |
+
msgid "Define the sub menu toggle behaviour for the mobile menu."
|
459 |
+
msgstr "Définir le comportement du menu bascule sous le menu pour mobile."
|
460 |
+
|
461 |
+
#: ../classes/settings.class.php:665
|
462 |
+
msgid "Standard - Open sub menus will remain open until closed by the user."
|
463 |
+
msgstr ""
|
464 |
+
"Standard - Un sous menu restera ouvert tant qu'il n'est pas fermé par "
|
465 |
+
"l'utilisateur."
|
466 |
+
|
467 |
+
#: ../classes/settings.class.php:666
|
468 |
+
msgid ""
|
469 |
+
"Accordion - Open sub menus will automatically close when another one is "
|
470 |
+
"opened."
|
471 |
+
msgstr ""
|
472 |
+
"Accordéon - Un sous menu ouvert se fermera automatiquement quand un autre "
|
473 |
+
"s'ouvrira"
|
474 |
+
|
475 |
+
#: ../classes/settings.class.php:674
|
476 |
msgid "CSS Output"
|
477 |
msgstr "Sortie CSS"
|
478 |
|
479 |
+
#: ../classes/settings.class.php:680
|
480 |
msgid "Save to filesystem"
|
481 |
msgstr "Sauver dans un fichier"
|
482 |
|
483 |
+
#: ../classes/settings.class.php:681
|
484 |
msgid "Output in <head>"
|
485 |
msgstr "Dans la section <head>"
|
486 |
|
487 |
+
#: ../classes/settings.class.php:682
|
|
|
|
|
|
|
|
|
488 |
msgid "Don't output CSS"
|
489 |
msgstr "Ne pas générer de sortie CSS"
|
490 |
|
491 |
+
#: ../classes/settings.class.php:685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
msgid ""
|
493 |
"CSS will be saved to wp-content/uploads/maxmegamenu/style.css and enqueued "
|
494 |
"from there."
|
496 |
"Le CSS sera sauvegardé dans wp-content/uploads/maxmegamenu/style.css et mis "
|
497 |
"dans la file depuis cet emplacement."
|
498 |
|
499 |
+
#: ../classes/settings.class.php:686
|
500 |
msgid ""
|
501 |
"CSS will be loaded from the cache in a <style> tag in the <head> "
|
502 |
"of the page."
|
504 |
"Le CSS sera chargé depuis le cache dans une balise <style> dans la "
|
505 |
"section <head> de la page."
|
506 |
|
507 |
+
#: ../classes/settings.class.php:687
|
508 |
msgid "CSS will not be output, you must enqueue the CSS for the menu manually."
|
509 |
msgstr ""
|
510 |
"Le CSS ne sera pas généré, vous devez le placer dans la file manuellement "
|
511 |
"pour le menu."
|
512 |
|
513 |
+
#: ../classes/settings.class.php:693
|
514 |
+
msgid "Menu Item Descriptions"
|
515 |
+
msgstr "Description de l'item du menu"
|
516 |
|
517 |
+
#: ../classes/settings.class.php:700 ../classes/settings.class.php:3394
|
518 |
+
#: ../classes/toggle-blocks.class.php:626
|
519 |
+
msgid "Disabled"
|
520 |
+
msgstr "Désactivé"
|
|
|
|
|
|
|
521 |
|
522 |
+
#: ../classes/settings.class.php:701 ../classes/settings.class.php:1561
|
523 |
+
#: ../classes/settings.class.php:1602 ../classes/settings.class.php:1614
|
524 |
+
#: ../classes/settings.class.php:1978 ../classes/settings.class.php:2001
|
525 |
+
#: ../classes/settings.class.php:2945
|
526 |
+
msgid "Enabled"
|
527 |
+
msgstr "Activé"
|
528 |
|
529 |
+
#: ../classes/settings.class.php:709
|
530 |
+
msgid "Active Menu Instances"
|
531 |
+
msgstr "Instances du menu actif"
|
532 |
|
533 |
+
#: ../classes/settings.class.php:711
|
534 |
+
msgid ""
|
535 |
+
"Some themes will output a menu location multiple times on the same page. For "
|
536 |
+
"example, your theme may output a menu location once for the main menu, then "
|
537 |
+
"again for the mobile menu. This setting can be used to make sure Max Mega "
|
538 |
+
"Menu is only applied to one of those instances."
|
539 |
+
msgstr ""
|
540 |
+
"Certains thèmes vont afficher un emplacement de menu plusieurs fois sur la "
|
541 |
+
"même page. Par exemple, votre thème peut utiliser un emplacement du menu une "
|
542 |
+
"fois pour le menu principal, puis de nouveau pour le menu mobile. Ce réglage "
|
543 |
+
"peut être utilisé pour faire en sorte que Max Mega Menu l'applique seulement "
|
544 |
+
"à l'une de ces instances."
|
545 |
|
546 |
+
#: ../classes/settings.class.php:718
|
547 |
+
msgid "Menu Location"
|
548 |
+
msgstr "Emplacement du menu"
|
549 |
|
550 |
+
#: ../classes/settings.class.php:718
|
551 |
+
msgid "Active Instance"
|
552 |
+
msgstr "Instance active"
|
|
|
|
|
553 |
|
554 |
+
#: ../classes/settings.class.php:729
|
555 |
+
msgid "0: Apply to all instances. 1: Apply to first instance"
|
|
|
|
|
556 |
msgstr ""
|
557 |
+
"0 : Appliquer à toutes les instances. 1 : Appliquer à la première instance"
|
|
|
|
|
|
|
|
|
|
|
558 |
|
559 |
+
#: ../classes/settings.class.php:786
|
560 |
msgid "Registered Menu Locations"
|
561 |
msgstr "Emplacements de menu enregistrés"
|
562 |
|
563 |
+
#: ../classes/settings.class.php:787
|
564 |
msgid ""
|
565 |
+
"This is an overview of the menu locations supported by your theme. You can "
|
566 |
+
"enable Max Mega Menu and adjust the settings for a specific menu location by "
|
567 |
+
"going to Appearance > Menus."
|
568 |
msgstr ""
|
569 |
+
"Voici un aperçu des emplacements de menu pris en charge par votre thème. "
|
570 |
+
"Vous pouvez activer Max Mega Menu et ajuster les paramètres pour un "
|
571 |
+
"emplacement de menu spécifique en allant dans Apparence > Menus."
|
572 |
|
573 |
+
#: ../classes/settings.class.php:792
|
574 |
msgid ""
|
575 |
"Your theme does not natively support menus, but you can add a new menu "
|
576 |
"location using Max Mega Menu and display the menu using the Max Mega Menu "
|
580 |
"un nouvel emplacement de menu en utilisant Max Mega Menu et afficher le menu "
|
581 |
"en utilisant le widget Max Mega Menu ou le shortcode."
|
582 |
|
583 |
+
#: ../classes/settings.class.php:793
|
584 |
+
msgid "Your theme supports one menu location."
|
585 |
+
msgstr "Votre thème supporte un emplacement de menu."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
|
587 |
+
#: ../classes/settings.class.php:794
|
588 |
+
msgid "Your theme supports {number} menu locations."
|
589 |
+
msgstr "Votre thème supporte {number} emplacement de menu."
|
|
|
|
|
|
|
|
|
590 |
|
591 |
+
#: ../classes/settings.class.php:845
|
592 |
msgid "Location Description"
|
593 |
msgstr "Description d'emplacement"
|
594 |
|
595 |
+
#: ../classes/settings.class.php:846
|
596 |
msgid "Change the name of the location."
|
597 |
msgstr "Changer le nom de l'emplacement."
|
598 |
|
599 |
+
#: ../classes/settings.class.php:855
|
600 |
msgid "Menu Display Options"
|
601 |
msgstr "Options d'affichage de menu"
|
602 |
|
603 |
+
#: ../classes/settings.class.php:858
|
604 |
msgid ""
|
605 |
"These options are for advanced users only. Your theme should already include "
|
606 |
"the code required to display this menu on your site."
|
608 |
"Ces options sont pour les utilisateurs expérimentés seulement. Votre thème "
|
609 |
"devrait déjà inclure le code nécessaire pour afficher ce menu sur votre site."
|
610 |
|
611 |
+
#: ../classes/settings.class.php:864
|
612 |
msgid "PHP Function"
|
613 |
msgstr "fonction PHP"
|
614 |
|
615 |
+
#: ../classes/settings.class.php:865
|
616 |
msgid "For use in a theme template (usually header.php)"
|
617 |
msgstr "Pour l'utiliser dans un modèle du thème (habituellement header.php)"
|
618 |
|
619 |
+
#: ../classes/settings.class.php:873
|
620 |
msgid "Shortcode"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: ../classes/settings.class.php:874
|
624 |
msgid "For use in a post or page."
|
625 |
msgstr "Pour l'utiliser dans un article ou dans une page."
|
626 |
|
627 |
+
#: ../classes/settings.class.php:882
|
628 |
msgid "Widget"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: ../classes/settings.class.php:883
|
632 |
msgid "For use in a widget area."
|
633 |
msgstr "Pour l'utiliser dans une zone widget."
|
634 |
|
635 |
+
#: ../classes/settings.class.php:886
|
636 |
msgid "Add the 'Max Mega Menu' widget to a widget area."
|
637 |
msgstr "Ajouter le widget 'Max Mega Menu' à une zone de widget."
|
638 |
|
639 |
+
#: ../classes/settings.class.php:907
|
640 |
msgid "Delete location"
|
641 |
msgstr "Effacer l'emplacement"
|
642 |
|
643 |
+
#: ../classes/settings.class.php:934
|
644 |
+
msgid "Add another menu location"
|
645 |
+
msgstr "Ajouter un autre emplacement de menu"
|
646 |
|
647 |
+
#: ../classes/settings.class.php:1006
|
648 |
msgid "Cache"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: ../classes/settings.class.php:1007
|
652 |
+
msgid ""
|
653 |
+
"The CSS cache is automatically cleared every time a menu or a menu theme is "
|
654 |
+
"saved. You can manually clear the CSS cache using this tool."
|
655 |
+
msgstr ""
|
656 |
+
"Le cache CSS est automatiquement vidé chaque fois qu'un menu ou qu'un thème "
|
657 |
+
"de menu est sauvé. Vous pouvez vider manuellement le cache CSS en utilisant "
|
658 |
+
"cet outil."
|
659 |
|
660 |
+
#: ../classes/settings.class.php:1014
|
661 |
msgid "Clear CSS Cache"
|
662 |
msgstr "Vider le cache CSS"
|
663 |
|
664 |
+
#: ../classes/settings.class.php:1020
|
665 |
msgid "Plugin Data"
|
666 |
msgstr "Données du plugin"
|
667 |
|
668 |
+
#: ../classes/settings.class.php:1021
|
669 |
msgid ""
|
670 |
"Delete all saved Max Mega Menu plugin data from the database. Use with "
|
671 |
"caution!"
|
673 |
"Effacer toutes les données de Max Mega Menu de la base de données. A "
|
674 |
"utiliser avec précaution !"
|
675 |
|
676 |
+
#: ../classes/settings.class.php:1028
|
677 |
msgid "Delete Data"
|
678 |
msgstr "Effacer les données"
|
679 |
|
680 |
+
#: ../classes/settings.class.php:1034 ../classes/settings.class.php:1103
|
681 |
msgid "Export Theme"
|
682 |
msgstr "Exporter thème"
|
683 |
|
684 |
+
#: ../classes/settings.class.php:1035
|
685 |
msgid "Export a menu theme"
|
686 |
msgstr "Exporter un thème de menu"
|
687 |
|
688 |
+
#: ../classes/settings.class.php:1063
|
689 |
+
msgid ""
|
690 |
+
"Log into the site you wish to import the theme to. Go to Mega Menu > Tools "
|
691 |
+
"and paste this into the 'Import Theme' text area:"
|
692 |
+
msgstr ""
|
693 |
+
"Connectez-vous au site dont vous souhaitez importer le thème. Allez dans "
|
694 |
+
"Mega Menu > Outils et coller-le dans la zone de texte \"Importer thème\""
|
695 |
+
|
696 |
+
#: ../classes/settings.class.php:1072
|
697 |
+
msgid "Paste this code into your themes functions.php file:"
|
698 |
+
msgstr "Coller ce code dans le ficher functions.php de votre thème :"
|
699 |
+
|
700 |
+
#: ../classes/settings.class.php:1099
|
701 |
+
msgid "Export Format"
|
702 |
+
msgstr "Format d'export"
|
703 |
+
|
704 |
+
#: ../classes/settings.class.php:1100
|
705 |
+
msgid "JSON - I want to import this theme into another site I'm developing"
|
706 |
+
msgstr "JSON - Je souhaite importer ce thème dans un autre site"
|
707 |
+
|
708 |
+
#: ../classes/settings.class.php:1101
|
709 |
+
msgid ""
|
710 |
+
"PHP - I want to distribute this Menu Theme in a WordPress Theme I'm "
|
711 |
+
"developing"
|
712 |
+
msgstr "PHP - Je souhaite distribuer ce thème de menu dans un thème WordPress"
|
713 |
+
|
714 |
+
#: ../classes/settings.class.php:1113 ../classes/settings.class.php:1121
|
715 |
msgid "Import Theme"
|
716 |
msgstr "Importer thème"
|
717 |
|
718 |
+
#: ../classes/settings.class.php:1114
|
719 |
msgid "Import a menu theme"
|
720 |
msgstr "Importer un thème de menu"
|
721 |
|
722 |
+
#: ../classes/settings.class.php:1154
|
723 |
msgid "Homepage"
|
724 |
msgstr "Page d'accueil"
|
725 |
|
726 |
+
#: ../classes/settings.class.php:1159
|
727 |
msgid "Documentation"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: ../classes/settings.class.php:1165
|
731 |
+
msgid "Troubleshooting"
|
732 |
+
msgstr "Dépannage"
|
733 |
+
|
734 |
+
#: ../classes/settings.class.php:1175
|
735 |
msgid "Upgrade to Pro - $19"
|
736 |
msgstr "Mettre à jour vers Pro - 19$"
|
737 |
|
738 |
+
#: ../classes/settings.class.php:1183
|
739 |
msgid "Core version"
|
740 |
msgstr "version du noyau"
|
741 |
|
742 |
+
#: ../classes/settings.class.php:1187
|
743 |
msgid "Pro extension"
|
744 |
msgstr "Extension Pro"
|
745 |
|
746 |
+
#: ../classes/settings.class.php:1321
|
|
|
|
|
|
|
|
|
747 |
msgid "Failed to delete theme. The theme is in use by a menu."
|
748 |
msgstr ""
|
749 |
"Echec lors de la suppression du thème. Le thème est utilisé par un menu."
|
750 |
|
751 |
+
#: ../classes/settings.class.php:1325
|
752 |
msgid "CSS cache cleared"
|
753 |
msgstr "Cache CSS vidé"
|
754 |
|
755 |
+
#: ../classes/settings.class.php:1329
|
756 |
msgid "All plugin data removed"
|
757 |
msgstr "Tous les plugins ont été enlevés"
|
758 |
|
759 |
+
#: ../classes/settings.class.php:1333
|
760 |
msgid "Theme Deleted"
|
761 |
msgstr "Thème effacé"
|
762 |
|
763 |
+
#: ../classes/settings.class.php:1337
|
764 |
msgid "Theme Duplicated"
|
765 |
msgstr "Thème dupliqué"
|
766 |
|
767 |
+
#: ../classes/settings.class.php:1341
|
768 |
msgid "Changes Saved"
|
769 |
msgstr "Changements sauvegardés"
|
770 |
|
771 |
+
#: ../classes/settings.class.php:1345
|
772 |
msgid "Theme Reverted"
|
773 |
msgstr "Thème rétabli"
|
774 |
|
775 |
+
#: ../classes/settings.class.php:1349
|
776 |
msgid "New Theme Created"
|
777 |
msgstr "Nouveau thème créé"
|
778 |
|
779 |
+
#: ../classes/settings.class.php:1353
|
780 |
msgid "New Menu Location Created"
|
781 |
msgstr "Nouvel emplacement de thème créé"
|
782 |
|
783 |
+
#: ../classes/settings.class.php:1357
|
784 |
msgid "Menu Location Deleted"
|
785 |
msgstr "Emplacement de menu effacé"
|
786 |
|
787 |
+
#: ../classes/settings.class.php:1361
|
788 |
msgid "Theme Imported"
|
789 |
msgstr "Thème Importé"
|
790 |
|
791 |
+
#: ../classes/settings.class.php:1365
|
792 |
msgid "Theme Import Failed"
|
793 |
msgstr "Echec d'importation du thème"
|
794 |
|
795 |
+
#: ../classes/settings.class.php:1369
|
796 |
msgid "Theme Exported"
|
797 |
msgstr "Thème Exporté"
|
798 |
|
799 |
+
#: ../classes/settings.class.php:1472
|
800 |
msgid "Select theme to edit"
|
801 |
msgstr "Sélectionner un thème à éditer"
|
802 |
|
803 |
+
#: ../classes/settings.class.php:1472 ../classes/settings.class.php:1473
|
804 |
msgid "or"
|
805 |
msgstr "ou"
|
806 |
|
807 |
+
#: ../classes/settings.class.php:1473
|
808 |
msgid "create a new theme"
|
809 |
msgstr "Créer un nouveau thème"
|
810 |
|
811 |
+
#: ../classes/settings.class.php:1474
|
812 |
msgid "duplicate this theme"
|
813 |
msgstr "Dupliquer ce thème"
|
814 |
|
815 |
+
#: ../classes/settings.class.php:1477
|
816 |
+
msgid "Editing theme"
|
817 |
+
msgstr "Edition du thème"
|
818 |
|
819 |
+
#: ../classes/settings.class.php:1489
|
820 |
msgid "General Theme Settings"
|
821 |
msgstr "Paramètres généraux du thème"
|
822 |
|
823 |
+
#: ../classes/settings.class.php:1493
|
824 |
msgid "Theme Title"
|
825 |
msgstr "Titre du thème"
|
826 |
|
827 |
+
#: ../classes/settings.class.php:1505
|
828 |
msgid "Arrow"
|
829 |
msgstr "Flèche"
|
830 |
|
831 |
+
#: ../classes/settings.class.php:1506
|
832 |
msgid "Select the arrow styles."
|
833 |
msgstr "Choisissez le stle de flèche."
|
834 |
|
835 |
+
#: ../classes/settings.class.php:1509
|
836 |
msgid "Up"
|
837 |
msgstr "Haut"
|
838 |
|
839 |
+
#: ../classes/settings.class.php:1514
|
840 |
msgid "Down"
|
841 |
msgstr "Bas"
|
842 |
|
843 |
+
#: ../classes/settings.class.php:1532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
844 |
msgid "Line Height"
|
845 |
msgstr "Hauteur de ligne"
|
846 |
|
847 |
+
#: ../classes/settings.class.php:1533
|
848 |
msgid "Set the general line height to use in the panel contents."
|
849 |
msgstr ""
|
850 |
"Régler la hauteur de ligne général à utiliser dans le contenu des panneaux."
|
851 |
|
852 |
+
#: ../classes/settings.class.php:1544
|
853 |
+
msgid "Z Index"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: ../classes/settings.class.php:1545
|
857 |
msgid "Set the z-index to ensure the panels appear ontop of other content."
|
858 |
msgstr ""
|
859 |
"Régler le z-index pour être sûr que les panneaux apparaîtront au-dessus des "
|
860 |
"autres contenus."
|
861 |
|
862 |
+
#: ../classes/settings.class.php:1557
|
863 |
msgid "Shadow"
|
864 |
msgstr "Ombre"
|
865 |
|
866 |
+
#: ../classes/settings.class.php:1558
|
867 |
msgid "Apply a shadow to mega and flyout menus."
|
868 |
msgstr "Applique une ombre au menus Mega et volant"
|
869 |
|
870 |
+
#: ../classes/settings.class.php:1566
|
871 |
+
msgid "Horizontal"
|
|
|
|
|
|
|
|
|
|
|
|
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: ../classes/settings.class.php:1572
|
875 |
msgid "Vertical"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: ../classes/settings.class.php:1578
|
879 |
msgid "Blur"
|
880 |
msgstr "Flou"
|
881 |
|
882 |
+
#: ../classes/settings.class.php:1584
|
883 |
msgid "Spread"
|
884 |
msgstr "Propagation"
|
885 |
|
886 |
+
#: ../classes/settings.class.php:1590 ../classes/settings.class.php:1803
|
887 |
+
#: ../classes/settings.class.php:1846 ../classes/settings.class.php:1899
|
888 |
+
#: ../classes/settings.class.php:1935 ../classes/settings.class.php:1983
|
889 |
+
#: ../classes/settings.class.php:2092 ../classes/settings.class.php:2195
|
890 |
+
#: ../classes/settings.class.php:2295 ../classes/settings.class.php:2331
|
891 |
+
#: ../classes/settings.class.php:2359 ../classes/settings.class.php:2397
|
892 |
+
#: ../classes/settings.class.php:2503 ../classes/settings.class.php:2544
|
893 |
+
#: ../classes/settings.class.php:2582 ../classes/settings.class.php:2730
|
894 |
+
#: ../classes/settings.class.php:2885 ../classes/settings.class.php:2923
|
895 |
+
#: ../classes/settings.class.php:2950
|
896 |
msgid "Color"
|
897 |
msgstr "Couleur"
|
898 |
|
899 |
+
#: ../classes/settings.class.php:1598
|
900 |
msgid "Hover Transitions"
|
901 |
msgstr "Transitions au survol"
|
902 |
|
903 |
+
#: ../classes/settings.class.php:1599
|
904 |
msgid ""
|
905 |
"Apply hover transitions to menu items. Note: Transitions will not apply to "
|
906 |
"gradient backgrounds."
|
908 |
"Applique la transition au survol de souris aux items de menu. Note : les "
|
909 |
"transitions ne seront pas appliquées au couleur de fond dégradées."
|
910 |
|
911 |
+
#: ../classes/settings.class.php:1610
|
912 |
msgid "Reset Widget Styling"
|
913 |
msgstr "Réinitialiser le style des widgets"
|
914 |
|
915 |
+
#: ../classes/settings.class.php:1611
|
916 |
msgid "Reset the styling of widgets within the mega menu?"
|
917 |
msgstr "Réinitialiser le style des widgets avec le mega menu ?"
|
918 |
|
919 |
+
#: ../classes/settings.class.php:1623
|
920 |
msgid "Menu Bar"
|
921 |
msgstr "Barre de menu"
|
922 |
|
923 |
+
#: ../classes/settings.class.php:1627
|
924 |
+
msgid "Menu Height"
|
925 |
+
msgstr "Hauteur du menu"
|
926 |
+
|
927 |
+
#: ../classes/settings.class.php:1628
|
928 |
+
msgid ""
|
929 |
+
"Define the height of each top level menu item link. This value plus the Menu "
|
930 |
+
"Padding (top and bottom) settings define the overall height of the menu bar."
|
931 |
+
msgstr ""
|
932 |
+
"Définir la hauteur de chaque lien de l'élément de menu de niveau supérieur. "
|
933 |
+
"Cette valeur plus les paramètres de pas du Menu (haut et bas) définissent la "
|
934 |
+
"hauteur totale de la barre de menu."
|
935 |
+
|
936 |
+
#: ../classes/settings.class.php:1640 ../classes/settings.class.php:2658
|
937 |
+
#: ../classes/settings.class.php:3056
|
938 |
msgid "Menu Background"
|
939 |
msgstr "Couleur de fond du menu"
|
940 |
|
941 |
+
#: ../classes/settings.class.php:1641
|
942 |
msgid ""
|
943 |
"The background color for the main menu bar. Set each value to transparent "
|
944 |
"for a 'button' style menu."
|
946 |
"La couleur de fond pour la barre de menu principale. Réglez chaque valeur à "
|
947 |
"transparent pour un style de menu 'bouton'."
|
948 |
|
949 |
+
#: ../classes/settings.class.php:1644 ../classes/settings.class.php:1746
|
950 |
+
#: ../classes/settings.class.php:1768 ../classes/settings.class.php:2018
|
951 |
+
#: ../classes/settings.class.php:2419 ../classes/settings.class.php:2604
|
952 |
+
#: ../classes/settings.class.php:2662 ../classes/settings.class.php:2797
|
953 |
+
#: ../classes/settings.class.php:2819 ../classes/settings.class.php:2989
|
954 |
+
#: ../classes/settings.class.php:3060
|
955 |
msgid "From"
|
956 |
msgstr "De"
|
957 |
|
958 |
+
#: ../classes/settings.class.php:1654 ../classes/settings.class.php:1756
|
959 |
+
#: ../classes/settings.class.php:1778 ../classes/settings.class.php:2028
|
960 |
+
#: ../classes/settings.class.php:2429 ../classes/settings.class.php:2614
|
961 |
+
#: ../classes/settings.class.php:2672 ../classes/settings.class.php:2807
|
962 |
+
#: ../classes/settings.class.php:2829 ../classes/settings.class.php:2999
|
963 |
+
#: ../classes/settings.class.php:3070
|
964 |
msgid "To"
|
965 |
msgstr "à"
|
966 |
|
967 |
+
#: ../classes/settings.class.php:1662 ../classes/settings.class.php:2694
|
968 |
msgid "Menu Padding"
|
969 |
msgstr "Padding de menu"
|
970 |
|
971 |
+
#: ../classes/settings.class.php:1663
|
972 |
msgid "Padding for the main menu bar."
|
973 |
msgstr "Pas pour la barre de menu principale."
|
974 |
|
975 |
+
#: ../classes/settings.class.php:1666 ../classes/settings.class.php:1868
|
976 |
+
#: ../classes/settings.class.php:1904 ../classes/settings.class.php:2061
|
977 |
+
#: ../classes/settings.class.php:2097 ../classes/settings.class.php:2159
|
978 |
+
#: ../classes/settings.class.php:2233 ../classes/settings.class.php:2264
|
979 |
+
#: ../classes/settings.class.php:2300 ../classes/settings.class.php:2441
|
980 |
+
#: ../classes/settings.class.php:2472 ../classes/settings.class.php:2508
|
981 |
+
#: ../classes/settings.class.php:2626 ../classes/settings.class.php:2699
|
982 |
+
#: ../classes/settings.class.php:2735 ../classes/settings.class.php:2854
|
983 |
msgid "Top"
|
984 |
msgstr "Haut"
|
985 |
|
986 |
+
#: ../classes/settings.class.php:1678 ../classes/settings.class.php:1880
|
987 |
+
#: ../classes/settings.class.php:1916 ../classes/settings.class.php:2073
|
988 |
+
#: ../classes/settings.class.php:2109 ../classes/settings.class.php:2171
|
989 |
+
#: ../classes/settings.class.php:2245 ../classes/settings.class.php:2276
|
990 |
+
#: ../classes/settings.class.php:2312 ../classes/settings.class.php:2453
|
991 |
+
#: ../classes/settings.class.php:2484 ../classes/settings.class.php:2520
|
992 |
+
#: ../classes/settings.class.php:2638 ../classes/settings.class.php:2711
|
993 |
+
#: ../classes/settings.class.php:2747 ../classes/settings.class.php:2866
|
994 |
msgid "Bottom"
|
995 |
msgstr "Bas"
|
996 |
|
997 |
+
#: ../classes/settings.class.php:1693 ../classes/settings.class.php:2762
|
998 |
msgid "Menu Border Radius"
|
999 |
msgstr "Radius de la bordure de menu"
|
1000 |
|
1001 |
+
#: ../classes/settings.class.php:1694
|
1002 |
msgid "Set a border radius on the main menu bar."
|
1003 |
msgstr "Régler le radius de la bordure sur la barre de menu principale."
|
1004 |
|
1005 |
+
#: ../classes/settings.class.php:1697 ../classes/settings.class.php:1947
|
1006 |
+
#: ../classes/settings.class.php:2128 ../classes/settings.class.php:2766
|
1007 |
msgid "Top Left"
|
1008 |
msgstr "En haut à gauche"
|
1009 |
|
1010 |
+
#: ../classes/settings.class.php:1703 ../classes/settings.class.php:1953
|
1011 |
+
#: ../classes/settings.class.php:2134 ../classes/settings.class.php:2772
|
1012 |
msgid "Top Right"
|
1013 |
msgstr "En haut à droite"
|
1014 |
|
1015 |
+
#: ../classes/settings.class.php:1709 ../classes/settings.class.php:1959
|
1016 |
+
#: ../classes/settings.class.php:2140 ../classes/settings.class.php:2778
|
1017 |
msgid "Bottom Right"
|
1018 |
msgstr "E n bas à droite"
|
1019 |
|
1020 |
+
#: ../classes/settings.class.php:1715 ../classes/settings.class.php:1965
|
1021 |
+
#: ../classes/settings.class.php:2146 ../classes/settings.class.php:2784
|
1022 |
msgid "Bottom Left"
|
1023 |
msgstr "En bas à gauche"
|
1024 |
|
1025 |
+
#: ../classes/settings.class.php:1724
|
1026 |
msgid "Menu Items Align"
|
1027 |
msgstr "Alignement des items du menu"
|
1028 |
|
1029 |
+
#: ../classes/settings.class.php:1725
|
1030 |
msgid ""
|
1031 |
"Align <i>all</i> menu items to the left (default), centrally or to the right."
|
1032 |
msgstr ""
|
1033 |
"Aligner <i>tous</i> les items de menu (la barre de menu) à gauche (par "
|
1034 |
"défaut), centré ou à droite."
|
1035 |
|
1036 |
+
#: ../classes/settings.class.php:1726
|
1037 |
msgid ""
|
1038 |
"This option will apply to all menu items. To align an individual menu item "
|
1039 |
"to the right, edit the menu item itself and set 'Menu Item Align' to 'Right'."
|
1042 |
"du menu spécifique à droite, éditez l'item de menu lui-même et définissez "
|
1043 |
"'Alignement d'item de menu' à 'Droite'."
|
1044 |
|
1045 |
+
#: ../classes/settings.class.php:1737
|
1046 |
msgid "Top Level Menu Items"
|
1047 |
msgstr "Items de menu du plus haut niveau"
|
1048 |
|
1049 |
+
#: ../classes/settings.class.php:1742
|
1050 |
msgid "Menu Item Background"
|
1051 |
msgstr "Couleur de fond d'item de menu"
|
1052 |
|
1053 |
+
#: ../classes/settings.class.php:1743
|
1054 |
msgid ""
|
1055 |
"The background color for each top level menu item. Tip: Set these values to "
|
1056 |
"transparent if you've already set a background color on the menu bar."
|
1059 |
"Définissez ces valeurs à transparent si vous avez déjà défini une couleur de "
|
1060 |
"fond à la barre de menu."
|
1061 |
|
1062 |
+
#: ../classes/settings.class.php:1764
|
1063 |
msgid "Menu Item Background (Hover)"
|
1064 |
msgstr "Couleur de fond d'item de menu (au survol de la souris)"
|
1065 |
|
1066 |
+
#: ../classes/settings.class.php:1765
|
1067 |
msgid "The background color for a top level menu item (on hover)."
|
1068 |
msgstr ""
|
1069 |
"Couleur de fond pour un item du menu du plus haut niveau (au survol de la "
|
1070 |
"souris)."
|
1071 |
|
1072 |
+
#: ../classes/settings.class.php:1786
|
1073 |
msgid "Menu Item Spacing"
|
1074 |
msgstr "Espacement d'item du menu"
|
1075 |
|
1076 |
+
#: ../classes/settings.class.php:1787
|
1077 |
msgid "Define the size of the gap between each top level menu item."
|
1078 |
msgstr ""
|
1079 |
"Définir la taille de l'écart entre chaque élément du niveau le plus haut."
|
1080 |
|
1081 |
+
#: ../classes/settings.class.php:1799 ../classes/settings.class.php:2355
|
1082 |
+
#: ../classes/settings.class.php:2540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1083 |
msgid "Font"
|
1084 |
msgstr "Police"
|
1085 |
|
1086 |
+
#: ../classes/settings.class.php:1800
|
1087 |
msgid "The font to use for each top level menu item."
|
1088 |
msgstr "La police à utiliser pour chaque item de menu du plus haut niveau."
|
1089 |
|
1090 |
+
#: ../classes/settings.class.php:1808 ../classes/settings.class.php:2200
|
1091 |
+
#: ../classes/settings.class.php:2336 ../classes/settings.class.php:2364
|
1092 |
+
#: ../classes/settings.class.php:2549 ../classes/settings.class.php:2890
|
1093 |
msgid "Size"
|
1094 |
msgstr "Taille"
|
1095 |
|
1096 |
+
#: ../classes/settings.class.php:1814 ../classes/settings.class.php:2206
|
1097 |
+
#: ../classes/settings.class.php:2342 ../classes/settings.class.php:2370
|
1098 |
+
#: ../classes/settings.class.php:2555 ../classes/settings.class.php:2896
|
1099 |
msgid "Family"
|
1100 |
msgstr "Famille"
|
1101 |
|
1102 |
+
#: ../classes/settings.class.php:1819 ../classes/settings.class.php:2211
|
1103 |
+
#: ../classes/settings.class.php:2375 ../classes/settings.class.php:2560
|
1104 |
+
#: ../classes/settings.class.php:2901
|
1105 |
msgid "Transform"
|
1106 |
msgstr "Transformation"
|
1107 |
|
1108 |
+
#: ../classes/settings.class.php:1824 ../classes/settings.class.php:1851
|
1109 |
+
#: ../classes/settings.class.php:2216 ../classes/settings.class.php:2380
|
1110 |
+
#: ../classes/settings.class.php:2402 ../classes/settings.class.php:2565
|
1111 |
+
#: ../classes/settings.class.php:2587 ../classes/settings.class.php:2906
|
1112 |
+
#: ../classes/settings.class.php:2928
|
1113 |
msgid "Weight"
|
1114 |
msgstr "Poids"
|
1115 |
|
1116 |
+
#: ../classes/settings.class.php:1829 ../classes/settings.class.php:1856
|
1117 |
+
#: ../classes/settings.class.php:2221 ../classes/settings.class.php:2385
|
1118 |
+
#: ../classes/settings.class.php:2407 ../classes/settings.class.php:2570
|
1119 |
+
#: ../classes/settings.class.php:2592 ../classes/settings.class.php:2911
|
1120 |
+
#: ../classes/settings.class.php:2933
|
1121 |
msgid "Decoration"
|
1122 |
msgstr "Décoration"
|
1123 |
|
1124 |
+
#: ../classes/settings.class.php:1834
|
1125 |
+
msgid "Align"
|
1126 |
+
msgstr "Alignement"
|
1127 |
+
|
1128 |
+
#: ../classes/settings.class.php:1842 ../classes/settings.class.php:2393
|
1129 |
+
#: ../classes/settings.class.php:2578
|
1130 |
msgid "Font (Hover)"
|
1131 |
msgstr "Police (au survol de la souris)"
|
1132 |
|
1133 |
+
#: ../classes/settings.class.php:1843
|
1134 |
msgid "Set the font to use for each top level menu item (on hover)."
|
1135 |
msgstr ""
|
1136 |
"Régler la police à utiliser pour chaque item de menu du plus niveau (au "
|
1137 |
"survol de la souris)."
|
1138 |
|
1139 |
+
#: ../classes/settings.class.php:1864
|
1140 |
msgid "Menu Item Padding"
|
1141 |
msgstr "Padding d'item de menu"
|
1142 |
|
1143 |
+
#: ../classes/settings.class.php:1865
|
1144 |
msgid "Set the padding for each top level menu item."
|
1145 |
msgstr "Régler le pas pour chaque item du menu du plus haut niveau."
|
1146 |
|
1147 |
+
#: ../classes/settings.class.php:1895
|
1148 |
msgid "Menu Item Border"
|
1149 |
msgstr "Bordure d'item du menu"
|
1150 |
|
1151 |
+
#: ../classes/settings.class.php:1896
|
1152 |
msgid "Set the border to display on each top level menu item."
|
1153 |
msgstr ""
|
1154 |
"Régler la bordure à afficher sur chaque item de menu du plus haut niveau."
|
1155 |
|
1156 |
+
#: ../classes/settings.class.php:1931
|
1157 |
msgid "Menu Item Border (Hover)"
|
1158 |
msgstr "Bordure d'item de menu (au survol de la souris)"
|
1159 |
|
1160 |
+
#: ../classes/settings.class.php:1932
|
1161 |
msgid "Set the hover border color."
|
1162 |
msgstr "Régler la couleur de la bordure au survol de la souris."
|
1163 |
|
1164 |
+
#: ../classes/settings.class.php:1943
|
1165 |
msgid "Menu Item Border Radius"
|
1166 |
msgstr "Radius des bordures des items du menu"
|
1167 |
|
1168 |
+
#: ../classes/settings.class.php:1944
|
1169 |
msgid "Set rounded corners for each top level menu item."
|
1170 |
msgstr ""
|
1171 |
"Régler des bords arrondis pour chaque item de menu du plus haut niveau."
|
1172 |
|
1173 |
+
#: ../classes/settings.class.php:1974
|
1174 |
msgid "Menu Item Divider"
|
1175 |
msgstr "Séparateur d'item de menu"
|
1176 |
|
1177 |
+
#: ../classes/settings.class.php:1975
|
1178 |
msgid "Show a small divider bar between each menu item."
|
1179 |
msgstr "Afficher une petite barre de séparation entre chaque item de menu."
|
1180 |
|
1181 |
+
#: ../classes/settings.class.php:1988
|
1182 |
msgid "Glow Opacity"
|
1183 |
msgstr "Opacité de la lueur"
|
1184 |
|
1185 |
+
#: ../classes/settings.class.php:1997
|
1186 |
msgid "Highlight Current Item"
|
1187 |
msgstr "Item actuel en surbrillance"
|
1188 |
|
1189 |
+
#: ../classes/settings.class.php:1998
|
1190 |
msgid "Apply the 'hover' styling to current menu items."
|
1191 |
msgstr ""
|
1192 |
"Appliquer le style 'survol de la souris' (hover) aux items de menu actuels."
|
1193 |
|
1194 |
+
#: ../classes/settings.class.php:2010
|
1195 |
+
msgid "Mega Menus"
|
1196 |
+
msgstr ""
|
1197 |
|
1198 |
+
#: ../classes/settings.class.php:2014
|
1199 |
msgid "Panel Background"
|
1200 |
msgstr "Couleur de fond du panneau"
|
1201 |
|
1202 |
+
#: ../classes/settings.class.php:2015
|
1203 |
msgid "Set a background color for a whole panel."
|
1204 |
msgstr "Régler une couleur de fond pour tout le panneau."
|
1205 |
|
1206 |
+
#: ../classes/settings.class.php:2036
|
1207 |
msgid "Panel Width"
|
1208 |
msgstr "Largeur de panneau"
|
1209 |
|
1210 |
+
#: ../classes/settings.class.php:2037
|
1211 |
+
msgid "Mega Panel width."
|
1212 |
+
msgstr "Largeur du panneau Mega"
|
1213 |
|
1214 |
+
#: ../classes/settings.class.php:2039
|
1215 |
msgid ""
|
1216 |
"A 100% wide panel will only ever be as wide as the menu itself. For a fixed "
|
1217 |
"panel width set this to a pixel value."
|
1219 |
"Un panneau large de 100% sera seulement aussi large que le menu lui-même. "
|
1220 |
"Pour une taille fixe de panneau, définissez celle-ci en pixel."
|
1221 |
|
1222 |
+
#: ../classes/settings.class.php:2040
|
1223 |
msgid ""
|
1224 |
"Advanced: Enter a jQuery selector to synchronize the width and position of "
|
1225 |
"the sub menu with existing page element (e.g. body, #container, .page)."
|
1228 |
"position du sous-menu avec un élement existant de la page (ex : body, "
|
1229 |
"#container, .page)."
|
1230 |
|
1231 |
+
#: ../classes/settings.class.php:2044
|
1232 |
+
msgid "Outer Width"
|
1233 |
+
msgstr "Largeur extérieure"
|
1234 |
+
|
1235 |
+
#: ../classes/settings.class.php:2049
|
1236 |
+
msgid "Inner Width"
|
1237 |
+
msgstr "Largeur intérieure"
|
1238 |
+
|
1239 |
+
#: ../classes/settings.class.php:2057
|
1240 |
msgid "Panel Padding"
|
1241 |
msgstr "Padding de panneau"
|
1242 |
|
1243 |
+
#: ../classes/settings.class.php:2058
|
1244 |
msgid ""
|
1245 |
"Set the padding for the whole panel. Set these values 0px if you wish your "
|
1246 |
"panel content to go edge-to-edge."
|
1248 |
"Régler le pas pour tout le panneau. Définissez cette valeur à 0px si vous "
|
1249 |
"souhaitez que le contenu de votre panneau soit bord-à-bord."
|
1250 |
|
1251 |
+
#: ../classes/settings.class.php:2088
|
1252 |
msgid "Panel Border"
|
1253 |
msgstr "Bordure du panneau"
|
1254 |
|
1255 |
+
#: ../classes/settings.class.php:2089
|
1256 |
msgid "Set the border to display on the Mega Panel."
|
1257 |
msgstr "Régler la bordure à afficher sur le Mega Panneau."
|
1258 |
|
1259 |
+
#: ../classes/settings.class.php:2124
|
1260 |
msgid "Panel Border Radius"
|
1261 |
msgstr "Radius de la bordure du panneau"
|
1262 |
|
1263 |
+
#: ../classes/settings.class.php:2125
|
1264 |
msgid "Set rounded corners for the panel."
|
1265 |
msgstr "Définir des bords arrondis pour le panneau."
|
1266 |
|
1267 |
+
#: ../classes/settings.class.php:2155 ../classes/settings.class.php:2850
|
1268 |
+
msgid "Item Padding"
|
1269 |
+
msgstr "Padding de l'item"
|
1270 |
|
1271 |
+
#: ../classes/settings.class.php:2156
|
1272 |
msgid ""
|
1273 |
+
"Use this to define the spacing between each widget / set of menu items "
|
1274 |
+
"within the panel."
|
1275 |
msgstr ""
|
1276 |
+
"Utilisez ceci pour définir l'espace entre chaque widget / ensemble des "
|
1277 |
+
"éléments de menu dans le panneau."
|
1278 |
|
1279 |
+
#: ../classes/settings.class.php:2186
|
1280 |
+
msgid "Widgets"
|
1281 |
+
msgstr ""
|
1282 |
|
1283 |
+
#: ../classes/settings.class.php:2191
|
1284 |
+
msgid "Heading Font"
|
1285 |
+
msgstr "Police du titre"
|
1286 |
+
|
1287 |
+
#: ../classes/settings.class.php:2192
|
1288 |
msgid ""
|
1289 |
"Set the font to use Widget headers in the mega menu. Tip: set this to the "
|
1290 |
"same style as the Second Level Menu Item Header font to keep your styling "
|
1294 |
"Astuce : définissez le même style qu'avec la police des en-têtes des items "
|
1295 |
"de menu de 2ème niveau pour garder une cohérence de style."
|
1296 |
|
1297 |
+
#: ../classes/settings.class.php:2229
|
1298 |
+
msgid "Heading Padding"
|
1299 |
+
msgstr "Pas du titre"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1300 |
|
1301 |
+
#: ../classes/settings.class.php:2230
|
1302 |
msgid "Set the padding for the widget headings."
|
1303 |
+
msgstr "Régler le pas pour les titres de widget."
|
1304 |
|
1305 |
+
#: ../classes/settings.class.php:2260
|
1306 |
+
msgid "Heading Margin"
|
1307 |
+
msgstr "Marge du titre"
|
1308 |
|
1309 |
+
#: ../classes/settings.class.php:2261
|
1310 |
msgid "Set the margin for the widget headings."
|
1311 |
+
msgstr "Régler la marge pour les titres de widget."
|
1312 |
|
1313 |
+
#: ../classes/settings.class.php:2291
|
1314 |
+
msgid "Header Border"
|
1315 |
+
msgstr "Bordure de l'entête"
|
1316 |
|
1317 |
+
#: ../classes/settings.class.php:2292
|
1318 |
msgid "Set the border for the widget headings."
|
1319 |
msgstr "Régler la bordure pour les en-têtes du widget."
|
1320 |
|
1321 |
+
#: ../classes/settings.class.php:2327
|
1322 |
+
msgid "Content Font"
|
1323 |
+
msgstr "Police du contenu"
|
1324 |
+
|
1325 |
+
#: ../classes/settings.class.php:2328
|
1326 |
+
msgid "Set the font to use for panel contents."
|
1327 |
+
msgstr "Définissez la police à utiliser pour le contenu du panneau."
|
1328 |
+
|
1329 |
+
#: ../classes/settings.class.php:2350
|
1330 |
msgid "Second Level Menu Items"
|
1331 |
msgstr "Items du menu de 2ème niveau"
|
1332 |
|
1333 |
+
#: ../classes/settings.class.php:2356
|
1334 |
msgid ""
|
1335 |
"Set the font for second level menu items when they're displayed in a Mega "
|
1336 |
"Menu."
|
1338 |
"Régler la police pour les items du menu de 2ème niveau quand ils sont "
|
1339 |
"affichés dans un Mega Menu."
|
1340 |
|
1341 |
+
#: ../classes/settings.class.php:2394 ../classes/settings.class.php:2579
|
1342 |
msgid "Set the font style on hover."
|
1343 |
msgstr "Régler le style de police au survol de la souris."
|
1344 |
|
1345 |
+
#: ../classes/settings.class.php:2415 ../classes/settings.class.php:2600
|
1346 |
msgid "Background (Hover)"
|
1347 |
msgstr "Couleur de fond (au survol de la souris)"
|
1348 |
|
1349 |
+
#: ../classes/settings.class.php:2416
|
1350 |
msgid "Set the background hover color for second level menu items."
|
1351 |
msgstr ""
|
1352 |
"Régler la couleur de fond au survol de la souris pour les items de menus de "
|
1353 |
"2ème niveau."
|
1354 |
|
1355 |
+
#: ../classes/settings.class.php:2437 ../classes/settings.class.php:2622
|
1356 |
msgid "Padding"
|
1357 |
+
msgstr "Pas"
|
1358 |
|
1359 |
+
#: ../classes/settings.class.php:2438
|
1360 |
msgid "Set the padding for the second level menu items."
|
1361 |
msgstr "Régler le pas pour les items du menu de 2ème niveau."
|
1362 |
|
1363 |
+
#: ../classes/settings.class.php:2468
|
1364 |
msgid "Margin"
|
1365 |
msgstr "Marge"
|
1366 |
|
1367 |
+
#: ../classes/settings.class.php:2469
|
1368 |
msgid "Set the margin for the second level menu items."
|
1369 |
msgstr "Régler la marge pour les items du menu de 2ème niveau."
|
1370 |
|
1371 |
+
#: ../classes/settings.class.php:2499
|
1372 |
+
msgid "Border"
|
1373 |
+
msgstr "Bordure"
|
1374 |
+
|
1375 |
+
#: ../classes/settings.class.php:2500
|
1376 |
msgid "Set the border for the second level menu items."
|
1377 |
msgstr "Régler la bordure pour les items du menu de 2ème niveau."
|
1378 |
|
1379 |
+
#: ../classes/settings.class.php:2535
|
1380 |
msgid "Third Level Menu Items"
|
1381 |
msgstr "Items de 3ème niveau du menu"
|
1382 |
|
1383 |
+
#: ../classes/settings.class.php:2541
|
1384 |
msgid ""
|
1385 |
"Set the font for third level menu items when they're displayed in a Mega "
|
1386 |
"Menu."
|
1388 |
"Régler la police pour les items du menu de 3ème niveau quand ils seront "
|
1389 |
"affichés dans un Mega Menu."
|
1390 |
|
1391 |
+
#: ../classes/settings.class.php:2601
|
1392 |
msgid "Set the background hover color for third level menu items."
|
1393 |
msgstr ""
|
1394 |
"Régler la couleur de fond au survol de la souris pour les items du menu de "
|
1395 |
"3ème niveau."
|
1396 |
|
1397 |
+
#: ../classes/settings.class.php:2623
|
1398 |
msgid "Set the padding for the third level menu items."
|
1399 |
msgstr "Régler le pas pour les items du menu de 3ème niveau."
|
1400 |
|
1401 |
+
#: ../classes/settings.class.php:2654
|
1402 |
msgid "Flyout Menus"
|
1403 |
msgstr "Menus volants"
|
1404 |
|
1405 |
+
#: ../classes/settings.class.php:2659
|
1406 |
msgid "Set the background color for the flyout menu."
|
1407 |
msgstr "Régler la couleur de fond du menu volant."
|
1408 |
|
1409 |
+
#: ../classes/settings.class.php:2680
|
1410 |
msgid "Menu Width"
|
1411 |
msgstr "Largeur du menu"
|
1412 |
|
1413 |
+
#: ../classes/settings.class.php:2681
|
1414 |
msgid "The width of each flyout menu. This must be a fixed pixel value."
|
1415 |
msgstr "La largeur de chaque menu volant. Ce doit être une valeur fixe."
|
1416 |
|
1417 |
+
#: ../classes/settings.class.php:2682
|
1418 |
msgid ""
|
1419 |
"Set this value to the width of your longest menu item title to stop menu "
|
1420 |
"items wrapping onto 2 lines."
|
1422 |
"Régler cette valeur à la largeur de votre titre d'item de menu le plus grand "
|
1423 |
"pour que votre menu ne se retrouve plus sur 2 lignes."
|
1424 |
|
1425 |
+
#: ../classes/settings.class.php:2695
|
1426 |
msgid "Set the padding for the whole flyout menu."
|
1427 |
msgstr "Régler le pas pour tout le menu volant."
|
1428 |
|
1429 |
+
#: ../classes/settings.class.php:2696
|
1430 |
msgid ""
|
1431 |
"Only suitable for single level flyout menus. If you're using multi level "
|
1432 |
"flyout menus set these values to 0px."
|
1434 |
"Applicable seulement au premier niveau des menus volants. Si vous utilisez "
|
1435 |
"plusieurs niveaux de menus volants réglez cette valeur à 0px."
|
1436 |
|
1437 |
+
#: ../classes/settings.class.php:2726
|
1438 |
msgid "Menu Border"
|
1439 |
msgstr "Bordure du menu"
|
1440 |
|
1441 |
+
#: ../classes/settings.class.php:2727
|
1442 |
msgid "Set the border for the flyout menu."
|
1443 |
msgstr "Régler la bordure pour les menus volants."
|
1444 |
|
1445 |
+
#: ../classes/settings.class.php:2763
|
1446 |
msgid ""
|
1447 |
"Set rounded corners for flyout menus. Rounded corners will be applied to all "
|
1448 |
"flyout menu levels."
|
1450 |
"Régler l'arrondi des angles pour les menus volants. Les angles arrondis "
|
1451 |
"seront appliqués à tous les niveaux des menus volants."
|
1452 |
|
1453 |
+
#: ../classes/settings.class.php:2793
|
1454 |
msgid "Item Background"
|
1455 |
msgstr "Couleur de fond de l'item"
|
1456 |
|
1457 |
+
#: ../classes/settings.class.php:2794
|
1458 |
msgid "Set the background color for a flyout menu item."
|
1459 |
msgstr "Régler la couleur de fond pour un item du menu volant."
|
1460 |
|
1461 |
+
#: ../classes/settings.class.php:2815
|
1462 |
msgid "Item Background (Hover)"
|
1463 |
msgstr "Couleur de fond de l'item (au survol de la souris)"
|
1464 |
|
1465 |
+
#: ../classes/settings.class.php:2816
|
1466 |
msgid "Set the background color for a flyout menu item (on hover)."
|
1467 |
msgstr ""
|
1468 |
"Régler la couleur de fond pour un item du menu volant (au survol de la "
|
1469 |
"souris)."
|
1470 |
|
1471 |
+
#: ../classes/settings.class.php:2837
|
1472 |
msgid "Item Height"
|
1473 |
msgstr "Hauteur de l'item"
|
1474 |
|
1475 |
+
#: ../classes/settings.class.php:2838
|
1476 |
msgid "The height of each flyout menu item."
|
1477 |
msgstr "La hauteur de chaque item du menu volant."
|
1478 |
|
1479 |
+
#: ../classes/settings.class.php:2851
|
|
|
|
|
|
|
|
|
1480 |
msgid "Set the padding for each flyout menu item."
|
1481 |
msgstr "Régler le pas pour chaque item du menu volant."
|
1482 |
|
1483 |
+
#: ../classes/settings.class.php:2881
|
1484 |
msgid "Item Font"
|
1485 |
msgstr "Police de l'item"
|
1486 |
|
1487 |
+
#: ../classes/settings.class.php:2882 ../classes/settings.class.php:2920
|
1488 |
msgid "Set the font for the flyout menu items."
|
1489 |
msgstr "Régler la police pour les items du menu volant"
|
1490 |
|
1491 |
+
#: ../classes/settings.class.php:2919
|
1492 |
msgid "Item Font (Hover)"
|
1493 |
msgstr "Police de l'item (au survol de la souris)"
|
1494 |
|
1495 |
+
#: ../classes/settings.class.php:2941
|
|
|
|
|
|
|
|
|
|
|
|
|
1496 |
msgid "Item Divider"
|
1497 |
msgstr "Séparateur d'item"
|
1498 |
|
1499 |
+
#: ../classes/settings.class.php:2942
|
1500 |
msgid "Show a line divider below each menu item."
|
1501 |
msgstr "Afficher une ligne séparatrice entre chaque item du menu."
|
1502 |
|
1503 |
+
#: ../classes/settings.class.php:2959
|
1504 |
+
msgid "Mobile Menu"
|
1505 |
+
msgstr "Menu mobile"
|
1506 |
+
|
1507 |
+
#: ../classes/settings.class.php:2985
|
1508 |
+
msgid "Toggle Bar Background"
|
1509 |
+
msgstr "Arrière-plan de la barre de bascule"
|
1510 |
+
|
1511 |
+
#: ../classes/settings.class.php:2986
|
1512 |
+
msgid "Set the background color for the mobile menu toggle bar."
|
1513 |
+
msgstr "Définir la couleur d'arrière-plan pour la barre de menu mobile."
|
1514 |
+
|
1515 |
+
#: ../classes/settings.class.php:3007
|
1516 |
+
msgid "Toggle Bar Height"
|
1517 |
+
msgstr "Hauteur de la barre de bascule"
|
1518 |
+
|
1519 |
+
#: ../classes/settings.class.php:3008
|
1520 |
+
msgid "Set the height of the mobile menu toggle bar."
|
1521 |
+
msgstr "Définir la hauteur de la barre de menu mobile."
|
1522 |
+
|
1523 |
+
#: ../classes/settings.class.php:3019
|
1524 |
+
msgid "Disable Mobile Toggle"
|
1525 |
+
msgstr "Désactiver la bascule de mobile"
|
1526 |
+
|
1527 |
+
#: ../classes/settings.class.php:3020
|
1528 |
+
msgid "Hide the toggle bar and display the menu in it's open state by default."
|
1529 |
+
msgstr ""
|
1530 |
+
"Cacher la barre de bascule et afficher le menu dans son état ouvert par "
|
1531 |
+
"défaut."
|
1532 |
+
|
1533 |
+
#: ../classes/settings.class.php:3031
|
1534 |
+
msgid "Responsive Breakpoint"
|
1535 |
+
msgstr "Point de bascule responsive."
|
1536 |
+
|
1537 |
+
#: ../classes/settings.class.php:3032
|
1538 |
+
msgid ""
|
1539 |
+
"Set the width at which the menu turns into a mobile menu. Set to 0px to "
|
1540 |
+
"disable responsive menu."
|
1541 |
+
msgstr ""
|
1542 |
+
"Définir la largeur à laquelle le menu bascule en menu mobile. Mettez 0px "
|
1543 |
+
"pour désactiver le menu responsive."
|
1544 |
+
|
1545 |
+
#: ../classes/settings.class.php:3044
|
1546 |
+
msgid "Mega Menu Columns"
|
1547 |
+
msgstr "Colonnes Mega Menu"
|
1548 |
+
|
1549 |
+
#: ../classes/settings.class.php:3045
|
1550 |
+
msgid "Number of columns to display widgets/second level menu items in."
|
1551 |
+
msgstr "Nombre de colonnes à afficher dans les widgets/menu de second niveau."
|
1552 |
+
|
1553 |
+
#: ../classes/settings.class.php:3057
|
1554 |
+
msgid "Set the background color for the mobile menu."
|
1555 |
+
msgstr "Définir la couleur d'arrière-plan pour le menu mobile."
|
1556 |
+
|
1557 |
+
#: ../classes/settings.class.php:3078
|
1558 |
+
msgid "Menu Item Height"
|
1559 |
+
msgstr "Hauteur d'item du menu"
|
1560 |
+
|
1561 |
+
#: ../classes/settings.class.php:3079
|
1562 |
+
msgid "Height of each top level item in the mobile menu."
|
1563 |
+
msgstr "Hauteur de chaque item de niveau supérieur dans le menu mobile."
|
1564 |
+
|
1565 |
+
#: ../classes/settings.class.php:3091
|
1566 |
msgid "Custom Styling"
|
1567 |
msgstr "Style personnalisé"
|
1568 |
|
1569 |
+
#: ../classes/settings.class.php:3095
|
1570 |
msgid "CSS Editor"
|
1571 |
msgstr "Editeur CSS"
|
1572 |
|
1573 |
+
#: ../classes/settings.class.php:3096
|
1574 |
msgid ""
|
1575 |
"Define any custom CSS you wish to add to menus using this theme. You can use "
|
1576 |
"standard CSS or SCSS."
|
1578 |
"Définissez des règles CSS que vous souhaitez ajouter aux menus utilisant ce "
|
1579 |
"thème. Vous pouvez utiliser du CSS standard ou du SCSS."
|
1580 |
|
1581 |
+
#: ../classes/settings.class.php:3198
|
1582 |
+
msgid "Enter a whole number (e.g. 1, 5, 100, 999)"
|
1583 |
+
msgstr "Entrez un nombre entier (ex : 1, 5, 100, 999)"
|
1584 |
|
1585 |
+
#: ../classes/settings.class.php:3202
|
1586 |
+
msgid "Enter a value including a unit (e.g. 10px, 10rem, 10%)"
|
1587 |
+
msgstr "Entrez une valeur incluant une unité (ex : 10px, 10em, 10%)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1588 |
|
1589 |
+
#: ../classes/settings.class.php:3206
|
1590 |
+
msgid "Enter a valid number (e.g. 0.1, 1, 10, 999)"
|
1591 |
+
msgstr "Entrez un ombre valide (ex : 0, 1, 10, 999)"
|
|
|
|
|
|
|
|
|
1592 |
|
1593 |
+
#: ../classes/settings.class.php:3244
|
1594 |
msgid "Delete Theme"
|
1595 |
msgstr "Supprimer le thème"
|
1596 |
|
1597 |
+
#: ../classes/settings.class.php:3246
|
1598 |
msgid "Revert Theme"
|
1599 |
msgstr "Rétablir le thème"
|
1600 |
|
1601 |
+
#: ../classes/settings.class.php:3288
|
1602 |
msgid "Center"
|
1603 |
msgstr "Centré"
|
1604 |
|
1605 |
+
#: ../classes/settings.class.php:3327
|
1606 |
+
msgid "1 Column"
|
1607 |
+
msgstr "1 colonne"
|
1608 |
+
|
1609 |
+
#: ../classes/settings.class.php:3328
|
1610 |
+
msgid "2 Columns"
|
1611 |
+
msgstr "2 colonnes"
|
1612 |
+
|
1613 |
+
#: ../classes/settings.class.php:3350
|
1614 |
msgid "Underline"
|
1615 |
msgstr "Souligné"
|
1616 |
|
1617 |
+
#: ../classes/settings.class.php:3451 ../classes/settings.class.php:3547
|
|
|
|
|
|
|
|
|
1618 |
msgid "Theme Default"
|
1619 |
msgstr "Thème par défaut"
|
1620 |
|
1621 |
+
#: ../classes/settings.class.php:3452
|
1622 |
msgid "Light (300)"
|
1623 |
msgstr "Léger (300)"
|
1624 |
|
1625 |
+
#: ../classes/settings.class.php:3453
|
1626 |
msgid "Normal (400)"
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: ../classes/settings.class.php:3454
|
1630 |
msgid "Bold (700)"
|
1631 |
msgstr "Gras (700)"
|
1632 |
|
1633 |
+
#: ../classes/settings.class.php:3492
|
1634 |
msgid "Normal"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: ../classes/settings.class.php:3493
|
1638 |
msgid "Capitalize"
|
1639 |
msgstr "Capitalisation"
|
1640 |
|
1641 |
+
#: ../classes/settings.class.php:3494
|
1642 |
msgid "Uppercase"
|
1643 |
msgstr "Majuscule"
|
1644 |
|
1645 |
+
#: ../classes/settings.class.php:3495
|
1646 |
msgid "Lowercase"
|
1647 |
msgstr "minuscule"
|
1648 |
|
1649 |
+
#: ../classes/settings.class.php:3515
|
1650 |
+
msgid "Custom Styling Tips"
|
1651 |
+
msgstr "Astuce de style personnalisé"
|
1652 |
+
|
1653 |
+
#: ../classes/settings.class.php:3517
|
1654 |
+
msgid ""
|
1655 |
+
"converts to the ID selector of the menu wrapper, e.g. div#mega-menu-wrap-"
|
1656 |
+
"primary"
|
1657 |
+
msgstr ""
|
1658 |
+
"converti vers le sélecteur ID du menu wrapper, ex : ul#mega-menu-wrap-primary"
|
1659 |
+
|
1660 |
+
#: ../classes/settings.class.php:3518
|
1661 |
+
msgid "converts to the ID selector of the menu, e.g. ul#mega-menu-primary"
|
1662 |
+
msgstr "converti vers le sélecteur ID du menu, ex : ul#mega-menu-primary"
|
1663 |
+
|
1664 |
+
#: ../classes/settings.class.php:3520
|
1665 |
+
msgid ""
|
1666 |
+
"Using the %wrap% and %menu% variables makes your theme portable (allowing "
|
1667 |
+
"you to apply the same theme to multiple menu locations)."
|
1668 |
+
msgstr ""
|
1669 |
+
"L'utilisation des variables %wrap% et %menu% rend votre thème portable (vous "
|
1670 |
+
"permettant d'appliquer le même thème à plusieurs emplacements)."
|
1671 |
+
|
1672 |
+
#: ../classes/settings.class.php:3657
|
1673 |
msgid "Are you sure?"
|
1674 |
msgstr "Etes-vous sûr ?"
|
1675 |
|
1676 |
+
#: ../classes/style-manager.class.php:60
|
1677 |
msgid "Default"
|
1678 |
msgstr "Défaut"
|
1679 |
|
1680 |
+
#: ../classes/style-manager.class.php:604
|
1681 |
msgid ""
|
1682 |
"Warning: CSS compilation failed. Please check your changes or revert the "
|
1683 |
"theme."
|
1685 |
"Attention : Echec lors de la compilation de la CSS. Vérifiez vos changements "
|
1686 |
"ou rétablissez votre thème."
|
1687 |
|
1688 |
+
#: ../classes/toggle-blocks.class.php:221
|
1689 |
+
msgid "Toggle Bar Designer"
|
1690 |
+
msgstr "Designer de barre de bascule"
|
1691 |
+
|
1692 |
+
#: ../classes/toggle-blocks.class.php:222
|
1693 |
+
msgid "Configure the contents of the mobile toggle bar"
|
1694 |
+
msgstr "Configurer le contenu de la barre de bascule mobile"
|
1695 |
+
|
1696 |
+
#: ../classes/toggle-blocks.class.php:430
|
1697 |
+
msgid "Add block to toggle bar"
|
1698 |
+
msgstr "Ajouter un bloc à la barre de nascule"
|
1699 |
+
|
1700 |
+
#: ../classes/toggle-blocks.class.php:431
|
1701 |
+
#: ../classes/toggle-blocks.class.php:571
|
1702 |
+
msgid "Menu Toggle"
|
1703 |
+
msgstr "Menu de bascule"
|
1704 |
+
|
1705 |
+
#: ../classes/toggle-blocks.class.php:432
|
1706 |
+
#: ../classes/toggle-blocks.class.php:528
|
1707 |
+
msgid "Spacer"
|
1708 |
+
msgstr "Séparateur"
|
1709 |
+
|
1710 |
+
#: ../classes/toggle-blocks.class.php:530
|
1711 |
+
msgid "Spacer Settings"
|
1712 |
+
msgstr "Paramètres du séparateur"
|
1713 |
+
|
1714 |
+
#: ../classes/toggle-blocks.class.php:534
|
1715 |
+
msgid "Width"
|
1716 |
+
msgstr "Largeur"
|
1717 |
+
|
1718 |
+
#: ../classes/toggle-blocks.class.php:536
|
1719 |
+
#: ../classes/toggle-blocks.class.php:604
|
1720 |
+
#: ../classes/widget-manager.class.php:593
|
1721 |
+
msgid "Delete"
|
1722 |
+
msgstr "Supprimer"
|
1723 |
+
|
1724 |
+
#: ../classes/toggle-blocks.class.php:573
|
1725 |
+
msgid "Menu Toggle Settings"
|
1726 |
+
msgstr "Paramètres du menu bascule"
|
1727 |
+
|
1728 |
+
#: ../classes/toggle-blocks.class.php:577
|
1729 |
+
msgid "Closed Text"
|
1730 |
+
msgstr "Texte fermé"
|
1731 |
+
|
1732 |
+
#: ../classes/toggle-blocks.class.php:580
|
1733 |
+
msgid "Open Text"
|
1734 |
+
msgstr "Texte ouvert"
|
1735 |
+
|
1736 |
+
#: ../classes/toggle-blocks.class.php:583
|
1737 |
+
msgid "Closed Icon"
|
1738 |
+
msgstr "Icône fermée"
|
1739 |
+
|
1740 |
+
#: ../classes/toggle-blocks.class.php:587
|
1741 |
+
msgid "Open Icon"
|
1742 |
+
msgstr "Icone ouverte"
|
1743 |
+
|
1744 |
+
#: ../classes/toggle-blocks.class.php:591
|
1745 |
+
msgid "Text Color"
|
1746 |
+
msgstr "Couleur du texte"
|
1747 |
+
|
1748 |
+
#: ../classes/toggle-blocks.class.php:595
|
1749 |
+
msgid "Icon Color"
|
1750 |
+
msgstr "Couleur de l'icone"
|
1751 |
+
|
1752 |
+
#: ../classes/toggle-blocks.class.php:599
|
1753 |
+
msgid "Icon Position"
|
1754 |
+
msgstr "Position de l'icone"
|
1755 |
+
|
1756 |
+
#: ../classes/toggle-blocks.class.php:600
|
1757 |
+
msgid "Before"
|
1758 |
+
msgstr "Avant"
|
1759 |
+
|
1760 |
+
#: ../classes/toggle-blocks.class.php:601
|
1761 |
+
msgid "After"
|
1762 |
+
msgstr "Après"
|
1763 |
+
|
1764 |
+
#: ../classes/widget-manager.class.php:81
|
1765 |
msgid "Mega Menu Widgets"
|
1766 |
msgstr "Widgets Mega Menu"
|
1767 |
|
1768 |
+
#: ../classes/widget-manager.class.php:82
|
1769 |
msgid "Do not manually edit this area."
|
1770 |
msgstr "N'éditez pas manuellement cet emplacement."
|
1771 |
|
1772 |
+
#: ../classes/widget-manager.class.php:121
|
1773 |
#, php-format
|
1774 |
msgid "Saved %s"
|
1775 |
msgstr "%s sauvegardé"
|
1776 |
|
1777 |
+
#: ../classes/widget-manager.class.php:123
|
1778 |
#, php-format
|
1779 |
msgid "Failed to save %s"
|
1780 |
msgstr "Echec lors de la sauvegarde de %s"
|
1781 |
|
1782 |
+
#: ../classes/widget-manager.class.php:144
|
1783 |
+
#: ../classes/widget-manager.class.php:167
|
1784 |
#, php-format
|
1785 |
msgid "Updated %s (new columns: %d)"
|
1786 |
msgstr "Mise à jour de %s (nouvelle colonne : %d)"
|
1787 |
|
1788 |
+
#: ../classes/widget-manager.class.php:146
|
1789 |
+
#: ../classes/widget-manager.class.php:169
|
1790 |
#, php-format
|
1791 |
msgid "Failed to update %s"
|
1792 |
msgstr "Echec lors de la mise à jour de %s"
|
1793 |
|
1794 |
+
#: ../classes/widget-manager.class.php:193
|
1795 |
#, php-format
|
1796 |
msgid "Failed to add %s to %d"
|
1797 |
msgstr "Echec lors de l'ajout de %s vers %d"
|
1798 |
|
1799 |
+
#: ../classes/widget-manager.class.php:213
|
1800 |
#, php-format
|
1801 |
msgid "Deleted %s"
|
1802 |
msgstr "%s supprimé"
|
1803 |
|
1804 |
+
#: ../classes/widget-manager.class.php:215
|
1805 |
#, php-format
|
1806 |
msgid "Failed to delete %s"
|
1807 |
msgstr "Echec lors de la suppresion de %s"
|
1808 |
|
1809 |
+
#: ../classes/widget-manager.class.php:239
|
1810 |
#, php-format
|
1811 |
+
msgid "Moved (%s)"
|
1812 |
+
msgstr "Déplacé (%s)"
|
1813 |
|
1814 |
+
#: ../classes/widget-manager.class.php:241
|
1815 |
+
msgid "Didn't move items"
|
1816 |
+
msgstr "Ne pas déplacer les items"
|
|
|
|
|
|
|
|
|
|
|
1817 |
|
1818 |
+
#: ../classes/widget-manager.class.php:594
|
1819 |
msgid "Close"
|
1820 |
msgstr "Fermer"
|
1821 |
|
1835 |
msgid "No menu locations found"
|
1836 |
msgstr "Aucun emplacement de menu trouvé"
|
1837 |
|
1838 |
+
#: ../megamenu.php:867
|
1839 |
+
msgid ""
|
1840 |
+
"Max Mega Menu is not compatible with your version of WordPress. Please "
|
1841 |
+
"upgrade WordPress to the latest version or disable Max Mega Menu."
|
1842 |
+
msgstr ""
|
1843 |
+
"Max Mega Menu n'est pas compatible avec votre version de WordPress. Mettez à "
|
1844 |
+
"jour WordPress à la dernière version, svp, ou désactivez Max Mega Menu."
|
1845 |
+
|
1846 |
+
#: ../megamenu.php:879
|
1847 |
+
msgid "click here"
|
1848 |
+
msgstr "cliquez ici"
|
1849 |
+
|
1850 |
+
#: ../megamenu.php:882
|
1851 |
+
#, php-format
|
1852 |
+
msgid "Thanks for installing Max Mega Menu! Please %s to get started."
|
1853 |
+
msgstr "Merci d'avoir installé Max Mega Menu ! %s, svp pour commencer."
|
1854 |
+
|
1855 |
+
#: ../megamenu.php:904
|
1856 |
+
msgid "clear the CSS cache"
|
1857 |
+
msgstr "vider le cache CSS"
|
1858 |
+
|
1859 |
+
#: ../megamenu.php:907
|
1860 |
+
#, php-format
|
1861 |
+
msgid ""
|
1862 |
+
"Max Mega Menu has been updated. Please %s to ensure maximum compatibility "
|
1863 |
+
"with the latest version."
|
1864 |
+
msgstr ""
|
1865 |
+
"Max Mega Menu mis à jour. %s, svp pour vous assurer du maximum de "
|
1866 |
+
"compatibilité avec la dernière version."
|
1867 |
+
|
1868 |
+
#~ msgid "Go Pro"
|
1869 |
+
#~ msgstr "Passer à la version Pro"
|
1870 |
+
|
1871 |
+
#~ msgid ""
|
1872 |
+
#~ "Max Mega Menu is not compatible with Uber Menu. Please disable Uber Menu."
|
1873 |
+
#~ msgstr ""
|
1874 |
+
#~ "Max Mega Menu n'est pas compatible avec Uber Menu. Désactivez Uber Menu, "
|
1875 |
+
#~ "svp."
|
1876 |
+
|
1877 |
+
#~ msgid "Sub menu items"
|
1878 |
+
#~ msgstr "Items de sous-menu"
|
1879 |
+
|
1880 |
+
#~ msgid ""
|
1881 |
+
#~ "Right aligned sub menus will align to the right of the parent menu item "
|
1882 |
+
#~ "and expand to the left"
|
1883 |
+
#~ msgstr ""
|
1884 |
+
#~ "Les sous-menus aligné à droite seront alignés à droite de l'item parent "
|
1885 |
+
#~ "du menu et étendu à gauche"
|
1886 |
+
|
1887 |
+
#~ msgid "Menu Icon"
|
1888 |
+
#~ msgstr "Icone du menu"
|
1889 |
+
|
1890 |
+
#~ msgid "Enqueue dynamically via admin-ajax.php"
|
1891 |
+
#~ msgstr "Mettre à la file dynamiquement via admin-ajax.php"
|
1892 |
+
|
1893 |
+
#~ msgid ""
|
1894 |
+
#~ "CSS will be enqueued dynamically through admin-ajax.php and loaded from "
|
1895 |
+
#~ "the cache."
|
1896 |
+
#~ msgstr ""
|
1897 |
+
#~ "La CSS sera dynamiquement placé dans la file à travers admin-ajax.php et "
|
1898 |
+
#~ "chargé depuis le cache."
|
1899 |
+
|
1900 |
+
#~ msgid ""
|
1901 |
+
#~ "An overview of the menu locations supported by your theme. You can enable "
|
1902 |
+
#~ "Max Mega Menu and adjust the settings for a specific menu location by "
|
1903 |
+
#~ "going to Appearance > Menus."
|
1904 |
+
#~ msgstr ""
|
1905 |
+
#~ "Un aperçu des emplacements supportés par votre thème. Vous pouvez activer "
|
1906 |
+
#~ "Max Mega Menu et ajuster les paramètres pour un emplacement spécifique de "
|
1907 |
+
#~ "menu en allant dans Apparence > Menus."
|
1908 |
+
|
1909 |
+
#~ msgid "Your theme supports one menu."
|
1910 |
+
#~ msgstr "Votre thème supporte un menu."
|
1911 |
+
|
1912 |
+
#~ msgid "Your theme supports {number} menus."
|
1913 |
+
#~ msgstr "Votre thème supporte {number} menus."
|
1914 |
+
|
1915 |
+
#~ msgid "Add another menu location."
|
1916 |
+
#~ msgstr "Ajouter un autre emplacement de menu."
|
1917 |
+
|
1918 |
+
#~ msgid "Assign a menu"
|
1919 |
+
#~ msgstr "Assigner un menu"
|
1920 |
+
|
1921 |
+
#~ msgid "Use this tool to clear the CSS cache."
|
1922 |
+
#~ msgstr "Utilisez cet outil pour nettoyer le cache."
|
1923 |
+
|
1924 |
+
#~ msgid "Editing Theme:"
|
1925 |
+
#~ msgstr "Edition du thème :"
|
1926 |
+
|
1927 |
+
#~ msgid ""
|
1928 |
+
#~ "Set the width at which the menu turns into a mobile menu. Set to 0 to "
|
1929 |
+
#~ "disable responsive menu."
|
1930 |
+
#~ msgstr ""
|
1931 |
+
#~ "Régler la largeur à laquelle le menu se transformera en version mobile. "
|
1932 |
+
#~ "Mettez 0 pour désactiver le menu responsive."
|
1933 |
+
|
1934 |
+
#~ msgid "Responsive Menu Text"
|
1935 |
+
#~ msgstr "Text du menu responsive"
|
1936 |
+
|
1937 |
+
#~ msgid "Text to display next to the mobile toggle icon."
|
1938 |
+
#~ msgstr "Texte à afficher à côté de l'icone pour les mobiles."
|
1939 |
+
|
1940 |
+
#~ msgid ""
|
1941 |
+
#~ "Define the height of each top level menu item. This value, plus the "
|
1942 |
+
#~ "container top and bottom padding values define the overall height of the "
|
1943 |
+
#~ "menu bar."
|
1944 |
+
#~ msgstr ""
|
1945 |
+
#~ "Définir la hauteur de chaque item de menu du plus haut niveau. Cette "
|
1946 |
+
#~ "valeur, plus les valeurs de pas haut et bas du contenant définissent la "
|
1947 |
+
#~ "hauteur totale de la barre de menu."
|
1948 |
+
|
1949 |
+
#~ msgid "Mega Panels"
|
1950 |
+
#~ msgstr "Mega Panneaux"
|
1951 |
+
|
1952 |
+
#~ msgid "Mega Panel width"
|
1953 |
+
#~ msgstr "Largeur de Mega Panneau"
|
1954 |
+
|
1955 |
+
#~ msgid "Widget Padding"
|
1956 |
+
#~ msgstr "Paddind de widget"
|
1957 |
+
|
1958 |
+
#~ msgid ""
|
1959 |
+
#~ "Set the padding for each widget in the panel. Use this to define the "
|
1960 |
+
#~ "spacing between each widget in the panel."
|
1961 |
+
#~ msgstr ""
|
1962 |
+
#~ "Régler le pas pour chaque widget dans le panneau. Utilisez cela pour "
|
1963 |
+
#~ "définir un espace entre chaque widget dans le panneau."
|
1964 |
+
|
1965 |
+
#~ msgid "Widget Heading Font"
|
1966 |
+
#~ msgstr "Police d'en-tête de widget"
|
1967 |
+
|
1968 |
+
#~ msgid "Widget Content Font"
|
1969 |
+
#~ msgstr "Police du contenu de widget"
|
1970 |
+
|
1971 |
+
#~ msgid "Widget Heading Padding"
|
1972 |
+
#~ msgstr "Padding des en-têtes de widget"
|
1973 |
+
|
1974 |
+
#~ msgid "Widget Heading Margin"
|
1975 |
+
#~ msgstr "Marge des en-têtes de widget"
|
1976 |
+
|
1977 |
+
#~ msgid "Set the font weight for the flyout menu items (on hover)."
|
1978 |
+
#~ msgstr ""
|
1979 |
+
#~ "Régler le poids de la police pour les items du menus volants (au survol "
|
1980 |
+
#~ "de la souris)"
|
1981 |
+
|
1982 |
+
#~ msgid ""
|
1983 |
+
#~ "Use @import rules to import CSS from other plugins or your theme "
|
1984 |
+
#~ "directory, e.g:"
|
1985 |
+
#~ msgstr ""
|
1986 |
+
#~ "Utilisez la règle @import pour importer une CSS d'un autre plugin ou du "
|
1987 |
+
#~ "répertoire de votre thème, ex :"
|
1988 |
+
|
1989 |
+
#~ msgid "Moved %s to %d (%s)"
|
1990 |
+
#~ msgstr "Déplacement de %s vers %d (%s)"
|
1991 |
+
|
1992 |
+
#~ msgid "Failed to move %s to %d"
|
1993 |
+
#~ msgstr "Echec lors du déplacement de %s vers %d"
|
1994 |
+
|
1995 |
#~ msgid "regenerate the CSS"
|
1996 |
#~ msgstr "Regénérer le CSS"
|
1997 |
|
megamenu.php
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
|
3 |
/*
|
4 |
* Plugin Name: Max Mega Menu
|
5 |
-
* Plugin URI: https://www.
|
6 |
* Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
|
7 |
-
* Version: 2.3
|
8 |
* Author: Tom Hemsley
|
9 |
-
* Author URI: https://www.
|
10 |
* License: GPL-2.0+
|
11 |
-
* Copyright: 2016 Tom Hemsley (https://www.
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -26,13 +26,13 @@ final class Mega_Menu {
|
|
26 |
/**
|
27 |
* @var string
|
28 |
*/
|
29 |
-
public $version = '2.3';
|
30 |
|
31 |
|
32 |
/**
|
33 |
* @var string
|
34 |
*/
|
35 |
-
public $scss_last_updated = '2.3';
|
36 |
|
37 |
|
38 |
/**
|
@@ -326,6 +326,16 @@ final class Mega_Menu {
|
|
326 |
|
327 |
}
|
328 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
}
|
330 |
|
331 |
|
@@ -363,21 +373,22 @@ final class Mega_Menu {
|
|
363 |
$return[] = 'mega-' . $class;
|
364 |
}
|
365 |
|
|
|
366 |
|
367 |
-
|
368 |
-
* @todo: Add a setting to enable/disable this.
|
369 |
-
* Suddendly adding 'new' classes to menu items could screw up menu styling for some users
|
370 |
-
// add in custom classes, sans 'mega-' prefix
|
371 |
-
foreach ( $classes as $class ) {
|
372 |
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
|
|
|
|
|
|
|
|
377 |
|
378 |
-
|
|
|
379 |
}
|
380 |
-
*/
|
381 |
|
382 |
return $return;
|
383 |
}
|
@@ -638,6 +649,7 @@ final class Mega_Menu {
|
|
638 |
foreach ( $items as $item ) {
|
639 |
if ( property_exists( $item, 'description' ) && strlen( $item->description ) ) {
|
640 |
$item->mega_description = $item->description;
|
|
|
641 |
}
|
642 |
}
|
643 |
}
|
@@ -668,6 +680,11 @@ final class Mega_Menu {
|
|
668 |
$item->classes[] = 'hide-arrow';
|
669 |
}
|
670 |
|
|
|
|
|
|
|
|
|
|
|
671 |
if ( $item->megamenu_settings['hide_text'] == 'true' && $item->depth === 0 ) {
|
672 |
$item->classes[] = 'hide-text';
|
673 |
}
|
@@ -795,6 +812,12 @@ final class Mega_Menu {
|
|
795 |
$second_click = $menu_settings['second_click'];
|
796 |
}
|
797 |
|
|
|
|
|
|
|
|
|
|
|
|
|
798 |
$event = 'hover_intent';
|
799 |
|
800 |
if ( isset( $menu_settings['event'] ) ) {
|
@@ -807,6 +830,7 @@ final class Mega_Menu {
|
|
807 |
}
|
808 |
}
|
809 |
|
|
|
810 |
$wrap_attributes = apply_filters("megamenu_wrap_attributes", array(
|
811 |
"id" => '%1$s',
|
812 |
"class" => '%2$s mega-no-js',
|
@@ -818,7 +842,8 @@ final class Mega_Menu {
|
|
818 |
"data-second-click" => $second_click,
|
819 |
"data-document-click" => 'collapse',
|
820 |
"data-vertical-behaviour" => $vertical_behaviour,
|
821 |
-
"data-breakpoint" => absint( $menu_theme['responsive_breakpoint'] )
|
|
|
822 |
), $menu_id, $menu_settings, $settings, $current_theme_location );
|
823 |
|
824 |
$attributes = "";
|
2 |
|
3 |
/*
|
4 |
* Plugin Name: Max Mega Menu
|
5 |
+
* Plugin URI: https://www.megamenu.com
|
6 |
* Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
|
7 |
+
* Version: 2.3.1
|
8 |
* Author: Tom Hemsley
|
9 |
+
* Author URI: https://www.megamenu.com
|
10 |
* License: GPL-2.0+
|
11 |
+
* Copyright: 2016 Tom Hemsley (https://www.megamenu.com)
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
26 |
/**
|
27 |
* @var string
|
28 |
*/
|
29 |
+
public $version = '2.3.1';
|
30 |
|
31 |
|
32 |
/**
|
33 |
* @var string
|
34 |
*/
|
35 |
+
public $scss_last_updated = '2.3.1';
|
36 |
|
37 |
|
38 |
/**
|
326 |
|
327 |
}
|
328 |
|
329 |
+
|
330 |
+
switch(get_template()) {
|
331 |
+
case "twentyseventeen":
|
332 |
+
require_once( MEGAMENU_PATH . 'integration/twentyseventeen/functions.php' );
|
333 |
+
break;
|
334 |
+
case "zerif":
|
335 |
+
case "zerif-pro":
|
336 |
+
require_once( MEGAMENU_PATH . 'integration/zerif/functions.php' );
|
337 |
+
break;
|
338 |
+
}
|
339 |
}
|
340 |
|
341 |
|
373 |
$return[] = 'mega-' . $class;
|
374 |
}
|
375 |
|
376 |
+
$settings = get_option( 'megamenu_settings' );
|
377 |
|
378 |
+
$prefix = isset( $settings['prefix'] ) ? $settings['prefix'] : 'enabled';
|
|
|
|
|
|
|
|
|
379 |
|
380 |
+
if ( $prefix === 'disabled' ) {
|
381 |
+
// add in custom classes, sans 'mega-' prefix
|
382 |
+
foreach ( $classes as $class ) {
|
383 |
+
|
384 |
+
// custom classes are added before the 'menu-item' class
|
385 |
+
if ( $class == 'menu-item' ) {
|
386 |
+
break;
|
387 |
+
}
|
388 |
|
389 |
+
$return[] = $class;
|
390 |
+
}
|
391 |
}
|
|
|
392 |
|
393 |
return $return;
|
394 |
}
|
649 |
foreach ( $items as $item ) {
|
650 |
if ( property_exists( $item, 'description' ) && strlen( $item->description ) ) {
|
651 |
$item->mega_description = $item->description;
|
652 |
+
$item->classes[] = 'has-description';
|
653 |
}
|
654 |
}
|
655 |
}
|
680 |
$item->classes[] = 'hide-arrow';
|
681 |
}
|
682 |
|
683 |
+
|
684 |
+
if ( $item->megamenu_settings['icon'] != 'disabled' ) {
|
685 |
+
$item->classes[] = 'has-icon';
|
686 |
+
}
|
687 |
+
|
688 |
if ( $item->megamenu_settings['hide_text'] == 'true' && $item->depth === 0 ) {
|
689 |
$item->classes[] = 'hide-text';
|
690 |
}
|
812 |
$second_click = $menu_settings['second_click'];
|
813 |
}
|
814 |
|
815 |
+
$unbind = isset( $settings['unbind'] ) ? $settings['unbind'] : 'enabled';
|
816 |
+
|
817 |
+
if ( isset( $menu_settings['unbind'] ) ) {
|
818 |
+
$unbind = $menu_settings['unbind'];
|
819 |
+
}
|
820 |
+
|
821 |
$event = 'hover_intent';
|
822 |
|
823 |
if ( isset( $menu_settings['event'] ) ) {
|
830 |
}
|
831 |
}
|
832 |
|
833 |
+
|
834 |
$wrap_attributes = apply_filters("megamenu_wrap_attributes", array(
|
835 |
"id" => '%1$s',
|
836 |
"class" => '%2$s mega-no-js',
|
842 |
"data-second-click" => $second_click,
|
843 |
"data-document-click" => 'collapse',
|
844 |
"data-vertical-behaviour" => $vertical_behaviour,
|
845 |
+
"data-breakpoint" => absint( $menu_theme['responsive_breakpoint'] ),
|
846 |
+
"data-unbind" => $unbind === "disabled" ? "false" : "true"
|
847 |
), $menu_id, $menu_settings, $settings, $current_theme_location );
|
848 |
|
849 |
$attributes = "";
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: megamenu
|
|
3 |
Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -15,7 +15,7 @@ Max Mega Menu will automatically convert your existing menu or menus into a mega
|
|
15 |
|
16 |
https://www.youtube.com/watch?v=44dJwP1AXT8
|
17 |
|
18 |
-
Documentation & Demo: https://www.
|
19 |
|
20 |
###Features:
|
21 |
|
@@ -61,7 +61,7 @@ Max Mega Menu is developed with a focus on code quality, performance and usabili
|
|
61 |
> * Automatic updates
|
62 |
> * Priority Support
|
63 |
>
|
64 |
-
> Find out more: https://www.
|
65 |
|
66 |
Translations:
|
67 |
|
@@ -73,15 +73,15 @@ Translations:
|
|
73 |
|
74 |
Troubleshooting:
|
75 |
|
76 |
-
https://www.
|
77 |
|
78 |
Getting started:
|
79 |
|
80 |
-
https://www.
|
81 |
|
82 |
Not working with your theme? Mobile menu not working? Multiple mobile menu toggle icons?
|
83 |
|
84 |
-
https://www.
|
85 |
|
86 |
== Installation ==
|
87 |
|
@@ -89,11 +89,11 @@ https://www.maxmegamenu.com/documentation/removing-residual-styling/
|
|
89 |
1. Search for "Max Mega Menu"
|
90 |
1. Click "Install"
|
91 |
|
92 |
-
https://www.
|
93 |
|
94 |
== Screenshots ==
|
95 |
|
96 |
-
See https://www.
|
97 |
|
98 |
1. New menu changes
|
99 |
2. Drag and Drop widget editor for each menu item
|
@@ -103,6 +103,26 @@ See https://www.maxmegamenu.com for more screenshots
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 2.3 =
|
107 |
|
108 |
* New Feature: "Hover" event added (options are now Hover Intent, Hover or Click)
|
3 |
Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 2.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
15 |
|
16 |
https://www.youtube.com/watch?v=44dJwP1AXT8
|
17 |
|
18 |
+
Documentation & Demo: https://www.megamenu.com
|
19 |
|
20 |
###Features:
|
21 |
|
61 |
> * Automatic updates
|
62 |
> * Priority Support
|
63 |
>
|
64 |
+
> Find out more: https://www.megamenu.com/upgrade/
|
65 |
|
66 |
Translations:
|
67 |
|
73 |
|
74 |
Troubleshooting:
|
75 |
|
76 |
+
https://www.megamenu.com/articles/troubleshooting/
|
77 |
|
78 |
Getting started:
|
79 |
|
80 |
+
https://www.megamenu.com/documentation/installation/
|
81 |
|
82 |
Not working with your theme? Mobile menu not working? Multiple mobile menu toggle icons?
|
83 |
|
84 |
+
https://www.megamenu.com/documentation/removing-residual-styling/
|
85 |
|
86 |
== Installation ==
|
87 |
|
89 |
1. Search for "Max Mega Menu"
|
90 |
1. Click "Install"
|
91 |
|
92 |
+
https://www.megamenu.com/documentation/installation/
|
93 |
|
94 |
== Screenshots ==
|
95 |
|
96 |
+
See https://www.megamenu.com for more screenshots
|
97 |
|
98 |
1. New menu changes
|
99 |
2. Drag and Drop widget editor for each menu item
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 2.3.1 =
|
107 |
+
|
108 |
+
* Improvement: Theme Editor switched to tabbed interface
|
109 |
+
* Improvement: Theme Editor now uses AJAX save so you don't lose your place in the theme editor
|
110 |
+
* Improvement: Allow Custom CSS editor to increase in size
|
111 |
+
* Improvement: Test theme CSS compilation before saving
|
112 |
+
* Improvement: Add support for 9 columns
|
113 |
+
* New: Option to stop MMM from unbinding JavaScript events from the menu
|
114 |
+
* New: Option to stop MMM from prefixing custom CSS classes with 'mega-'
|
115 |
+
* New: Add automatic integration for Twenty Seventeen
|
116 |
+
* New: Add automatic integration for Zerif and Zerif Pro
|
117 |
+
* New: Add force left menu item alignment option
|
118 |
+
* New: Add support for "no-headers" custom CSS class
|
119 |
+
* Fix: Mobile sub menu width when resizing screen and using Dynamic sub menu widths
|
120 |
+
* Fix: Issue where click events are unbound from all menus on page
|
121 |
+
* Fix: "Disable link" styling when link is within a mega menu
|
122 |
+
* Fix: Stop sub menus reappearing on hover
|
123 |
+
* Fix: Account for scrollbars when determining sub menu width
|
124 |
+
* Fix: Conflict with Maps Builder plugin
|
125 |
+
|
126 |
= 2.3 =
|
127 |
|
128 |
* New Feature: "Hover" event added (options are now Hover Intent, Hover or Click)
|