Changeset 2547060
- Timestamp:
- 06/13/2021 12:53:48 PM (5 years ago)
- Location:
- multi-level-menu-for-ecwid
- Files:
-
- 9 added
- 5 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/icon.png (added)
-
tags/1.0.1/index.php (added)
-
tags/1.0.1/kinvasoft-multi-level-menu.php (added)
-
tags/1.0.1/lang (added)
-
tags/1.0.1/lang/multi-level-menu-ru_RU.mo (added)
-
tags/1.0.1/lang/multi-level-menu-ru_RU.po (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/sample-token.png (added)
-
trunk/kinvasoft-multi-level-menu.php (modified) (22 diffs)
-
trunk/lang/multi-level-menu-ru_RU.mo (modified) (previous)
-
trunk/lang/multi-level-menu-ru_RU.po (modified) (5 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sample-token.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
multi-level-menu-for-ecwid/trunk/kinvasoft-multi-level-menu.php
r2286750 r2547060 13 13 * Author: Kinvasoft <[email protected]> 14 14 * Author URI: https://kinvasoft.com 15 * Version: 1.0 15 * Version: 1.0.1 16 16 * 17 17 * Copyright (c) 2013-present <[email protected]>. All rights reserved … … 27 27 const PUBLIC_TOKEN = 'kinvasoft-multi-level-menu-token'; 28 28 29 const APP_NAME = 'multi-level-menu ';30 const APP_VERSION = ' 4.0';29 const APP_NAME = 'multi-level-menu-dev'; 30 const APP_VERSION = 'src'; 31 31 32 32 public function __construct() … … 50 50 51 51 <p> 52 <label for="<?php echo $this->get_field_id('select'); ?>"><?php _e('Menu layout:', Kinvasoft_MultiLevelMenu:: APP_NAME); ?></label>52 <label for="<?php echo $this->get_field_id('select'); ?>"><?php _e('Menu layout:', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></label> 53 53 <select name="<?php echo $this->get_field_name('select'); ?>" id="<?php echo $this->get_field_id('select'); ?>" class="widefat"> 54 54 <?php 55 55 56 56 $options = array( 57 '0' => __('Horizontal', Kinvasoft_MultiLevelMenu:: APP_NAME),58 '1' => __('Vertical', Kinvasoft_MultiLevelMenu:: APP_NAME),57 '0' => __('Horizontal', Kinvasoft_MultiLevelMenu::getTranslationDomain()), 58 '1' => __('Vertical', Kinvasoft_MultiLevelMenu::getTranslationDomain()), 59 59 ); 60 60 … … 84 84 85 85 echo $before_widget; 86 87 echo '<div class="widget-text wp_widget_plugin_box">'; 86 echo '<div class="widget-text wp-widget-plugin-box">'; 87 88 $config = []; 89 if ($select == 1) { 90 $config += [ 91 'tpLayoutStyle' => 'vertical' 92 ]; 93 } 94 95 echo self::getWidgetCode($config); 96 97 echo '</div>'; 98 echo $after_widget; 99 } 100 101 public static function getMenuObject() 102 { 103 $multi_level_menu_id = get_option(Kinvasoft_MultiLevelMenu::SERVICE_CODE); 104 $multi_level_menu_object = wp_get_nav_menu_object($multi_level_menu_id); 105 106 return $multi_level_menu_object; 107 } 108 109 public static function getWidgetCode($config = []) 110 { 111 $appName = Kinvasoft_MultiLevelMenu::APP_NAME; 112 $appVer = Kinvasoft_MultiLevelMenu::APP_VERSION; 88 113 89 114 if (self::isEcwidPluginActive()) { 90 $config = [ 115 $id = get_ecwid_store_id(); 116 $token = get_option(Kinvasoft_MultiLevelMenu::PUBLIC_TOKEN); 117 118 $config += [ 91 119 'appWidgetSource' => 'WordPress', 92 120 'appWidgetStoreUrl' => Ecwid_Store_Page::get_store_url(), … … 94 122 } 95 123 96 if ($select == 1) {97 $config = [98 'tpLayoutStyle' => 'vertical'99 ];100 }101 102 echo self::getWidgetCode($config);103 104 echo '</div>';105 106 echo $after_widget;107 }108 109 public static function getMenuObject()110 {111 $multi_level_menu_id = get_option(Kinvasoft_MultiLevelMenu::SERVICE_CODE);112 $multi_level_menu_object = wp_get_nav_menu_object($multi_level_menu_id);113 114 return $multi_level_menu_object;115 }116 117 public static function getWidgetCode($config = [])118 {119 $appName = Kinvasoft_MultiLevelMenu::APP_NAME;120 $appVer = Kinvasoft_MultiLevelMenu::APP_VERSION;121 122 if (self::isEcwidPluginActive()) {123 $id = get_ecwid_store_id();124 $token = get_option(Kinvasoft_MultiLevelMenu::PUBLIC_TOKEN);125 }126 127 124 $configAttribute = ''; 128 125 129 126 if (!empty($config)) { 130 $configAttribute = ' "data-config="' . base64_encode(json_encode((object) $config)) . '" ';127 $configAttribute = 'data-config="' . base64_encode(json_encode((object) $config)) . '" '; 131 128 } 132 129 … … 154 151 if ( 155 152 $key === 'path' 156 && $item === 'app:name=multi-level-menu'153 && $item === ('app:name=' . self::APP_NAME) 157 154 ) { 158 155 $result = true; … … 161 158 162 159 return $result; 160 } 161 162 public static function getTranslationDomain() 163 { 164 return str_replace('-dev', '', self::APP_NAME); 163 165 } 164 166 } … … 184 186 '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>', 185 187 esc_url(network_admin_url('plugin-install.php?tab=plugin-information&plugin=' . Kinvasoft_MultiLevelMenu::SERVICE_CODE . '&TB_iframe=true&width=600&height=550')), 186 esc_attr(sprintf(__('More information about %s', Kinvasoft_MultiLevelMenu:: APP_NAME), $plugin_info['Name'])),188 esc_attr(sprintf(__('More information about %s', Kinvasoft_MultiLevelMenu::getTranslationDomain()), $plugin_info['Name'])), 187 189 esc_attr($plugin_info['Name']), 188 __('View details', Kinvasoft_MultiLevelMenu:: APP_NAME)190 __('View details', Kinvasoft_MultiLevelMenu::getTranslationDomain()) 189 191 ); 190 192 } … … 266 268 <div class="wrap multi-level-menu-settings"> 267 269 268 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu:: APP_NAME); ?></h2>270 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></h2> 269 271 270 272 <?php … … 279 281 280 282 <div class="notice notice-success is-dismissible"> 281 <p><?php _e('Settings saved successfully!', Kinvasoft_MultiLevelMenu:: APP_NAME); ?></p>283 <p><?php _e('Settings saved successfully!', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></p> 282 284 </div> 283 285 … … 289 291 290 292 <p> 291 <?php _e('To configure the Multi-level menu, you need to open the menu settings page <b>Menu widget > Widget HTML code block</b>. Then find the "<b>token=</b>" text in the code and copy the part of the code between the equal sign <b>(=)</b> and the quotation mark <b>(")</b>. See the example in the screenshot below.', Kinvasoft_MultiLevelMenu::APP_NAME); ?>293 <?php _e('To configure the Multi-level menu, you need to open the menu settings page <b>Menu widget > Widget HTML code</b>. Then click on the <b>Copy token</b> button. See the example in the screenshot below.', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 292 294 </p> 293 295 <figure> … … 295 297 </figure> 296 298 <p> 297 <?php _e('The copied code must be added to the "<b>Token</b>" field below. Finally click on the "<b>Save</b>" button to save changes.', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>299 <?php _e('The copied code must be added to the "<b>Token</b>" field below. Finally click on the "<b>Save</b>" button to save changes.', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 298 300 </p> 299 301 … … 301 303 <form method="post"> 302 304 <div class="input-text-wrap"> 303 <label for="token"><?php _e('Token', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>:</label>305 <label for="token"><?php _e('Token', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?>:</label> 304 306 <br /> 305 307 <input type="text" name="token" class="public-token" autocomplete="off" value="<?php echo get_option(Kinvasoft_MultiLevelMenu::PUBLIC_TOKEN); ?>" /> 306 308 </div> 307 309 <p class="submit"> 308 <input type="submit" name="save" class="button button-primary" value="<?php _e('Save', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>" />310 <input type="submit" name="save" class="button button-primary" value="<?php _e('Save', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?>" /> 309 311 </p> 310 312 </form> … … 322 324 <div class="wrap"> 323 325 324 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu:: APP_NAME); ?></h2>326 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></h2> 325 327 326 328 <div class="welcome-panel"> 327 329 328 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/>1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).<br/>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).<br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>330 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/>1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).<br/>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).<br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 329 331 330 332 <p class="submit"> 331 333 332 334 <a href="http://open.ecwid.com/hfZSF" class="button button-primary"> 333 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>335 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 334 336 </a> 335 337 … … 352 354 ?> 353 355 356 <div class="wrap multi-level-menu-redirect"> 357 358 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></h2> 359 360 <div class="welcome-panel"> 361 <?php _e('Redirecting to app configuration page...', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 362 </div> 363 364 </div> 365 354 366 <script> 355 367 window.location.replace('admin.php?page=ec-store-admin-app-name-<?php echo Kinvasoft_MultiLevelMenu::APP_NAME; ?>'); 356 368 </script> 357 369 358 <div class="wrap"> 359 360 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::APP_NAME); ?></h2> 361 362 <div class="welcome-panel"> 363 <?php _e('Redirecting to app configuration page...', Kinvasoft_MultiLevelMenu::APP_NAME); ?> 370 <?php 371 } else { 372 373 if (!Kinvasoft_MultiLevelMenu::isEcwidPluginActive()) { 374 375 ?> 376 377 <div class="wrap"> 378 379 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></h2> 380 381 <div class="welcome-panel"> 382 383 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/>1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).<br/>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).<br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 384 385 <p class="submit"> 386 387 <a href="http://open.ecwid.com/hfZSF" class="button button-primary"> 388 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 389 </a> 390 391 </p> 392 393 </div> 394 364 395 </div> 365 396 366 </div> 367 368 <?php 369 } else { 370 371 if (!Kinvasoft_MultiLevelMenu::isEcwidPluginActive()) { 397 <?php 398 } else { 372 399 373 400 ?> … … 375 402 <div class="wrap"> 376 403 377 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu:: APP_NAME); ?></h2>404 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?></h2> 378 405 379 406 <div class="welcome-panel"> 380 407 381 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/> 1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).<br/>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).<br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu::APP_NAME); ?>408 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/><strike>1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).</strike><br/><strike>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).</strike><br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 382 409 383 410 <p class="submit"> 384 411 385 412 <a href="http://open.ecwid.com/hfZSF" class="button button-primary"> 386 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu:: APP_NAME); ?>413 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu::getTranslationDomain()); ?> 387 414 </a> 388 415 … … 394 421 395 422 <?php 396 } else {397 398 ?>399 400 <div class="wrap">401 402 <h2><?php _e('Multi-level menu for Ecwid', Kinvasoft_MultiLevelMenu::APP_NAME); ?></h2>403 404 <div class="welcome-panel">405 406 <?php _e('The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For its work you need:<br/><strike>1. Register an account with Ecwid (<a href="http://open.ecwid.com/hfZSF">ecwid.com</a>).</strike><br/><strike>2. Install the Ecwid plugin in WordPress (<a href="plugin-install.php?tab=plugin-information&plugin=ecwid-shopping-cart">link to the plugin</a>).</strike><br/>3. Install the Multi-level menu application in Ecwid (<a href="https://bit.ly/2uJbiCg">link to the app</a>).<br/>4. Set up the Multi-level menu for Ecwid plugin in WordPress.', Kinvasoft_MultiLevelMenu::APP_NAME); ?>407 408 <p class="submit">409 410 <a href="http://open.ecwid.com/hfZSF" class="button button-primary">411 <?php _e('Proceed with registration at Ecwid', Kinvasoft_MultiLevelMenu::APP_NAME); ?>412 </a>413 414 </p>415 416 </div>417 418 </div>419 420 <?php421 423 422 424 } … … 431 433 if (current_user_can('edit_plugins')) { 432 434 433 add_menu_page('Multi-level menu for Ecwid', __('Multi-level menu', Kinvasoft_MultiLevelMenu:: APP_NAME), 'manage_options', 'kinvasoft_multi_level_menu_settings_page', 'kinvasoft_multi_level_menu_settings_page', 'dashicons-align-right', 4);435 add_menu_page('Multi-level menu for Ecwid', __('Multi-level menu', Kinvasoft_MultiLevelMenu::getTranslationDomain()), 'manage_options', 'kinvasoft_multi_level_menu_settings_page', 'kinvasoft_multi_level_menu_settings_page', 'dashicons-align-right', 4); 434 436 } 435 437 } … … 439 441 { 440 442 $links = array_merge([ 441 'settings' => '<a href="' . admin_url('admin.php?page=kinvasoft_multi_level_menu_settings_page&edit-token=on') . '">' . __('Settings', Kinvasoft_MultiLevelMenu:: APP_NAME) . '</a>'443 'settings' => '<a href="' . admin_url('admin.php?page=kinvasoft_multi_level_menu_settings_page&edit-token=on') . '">' . __('Settings', Kinvasoft_MultiLevelMenu::getTranslationDomain()) . '</a>' 442 444 ], $links); 443 445 … … 455 457 $js = '<script> 456 458 document.addEventListener("DOMContentLoaded", function(event) { 457 document.getElementById("menu-instructions").innerHTML = "<p>' . __('You can Add / Edit menu items on the application options' ) . ' <a href=admin.php?page=ec-store-admin-app-name-multi-level-menu>' . __('configuration page') . '</a>.</p>";459 document.getElementById("menu-instructions").innerHTML = "<p>' . __('You can Add / Edit menu items on the application options', Kinvasoft_MultiLevelMenu::getTranslationDomain()) . ' <a href=admin.php?page=ec-store-admin-app-name-multi-level-menu>' . __('configuration page', Kinvasoft_MultiLevelMenu::getTranslationDomain()) . '</a>.</p>"; 458 460 document.getElementById("menu-instructions").style.display = "block"; 459 461 }); … … 514 516 min-width: 100px; 515 517 } 518 .multi-level-menu-redirect .welcome-panel { 519 padding-bottom: 25px; 520 } 516 521 </style> 517 522 '; … … 541 546 function kinvasoft_multi_level_menu_translation() 542 547 { 543 load_plugin_textdomain(Kinvasoft_MultiLevelMenu:: APP_NAME, false, dirname(plugin_basename(__FILE__)) . '/lang');548 load_plugin_textdomain(Kinvasoft_MultiLevelMenu::getTranslationDomain(), false, dirname(plugin_basename(__FILE__)) . '/lang'); 544 549 } 545 550 add_action('plugins_loaded', 'kinvasoft_multi_level_menu_translation'); -
multi-level-menu-for-ecwid/trunk/lang/multi-level-menu-ru_RU.po
r2286750 r2547060 2 2 msgstr "" 3 3 "Project-Id-Version: Multi-level menu for Ecwid\n" 4 "POT-Creation-Date: 2020-0 3-29 23:22+0400\n"5 "PO-Revision-Date: 2020-0 3-29 23:26+0400\n"4 "POT-Creation-Date: 2020-09-13 14:53+0400\n" 5 "PO-Revision-Date: 2020-09-13 14:53+0400\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: https://kinvasoft.com/\n" … … 31 31 msgstr "Вертикальное" 32 32 33 #: kinvasoft-multi-level-menu.php:1 8633 #: kinvasoft-multi-level-menu.php:191 34 34 #, php-format 35 35 msgid "More information about %s" 36 36 msgstr "Больше информации о %s" 37 37 38 #: kinvasoft-multi-level-menu.php:1 8838 #: kinvasoft-multi-level-menu.php:193 39 39 msgid "View details" 40 40 msgstr "Посмотреть детали" 41 41 42 #: kinvasoft-multi-level-menu.php:27 2 kinvasoft-multi-level-menu.php:32843 #: kinvasoft-multi-level-menu.php:36 4 kinvasoft-multi-level-menu.php:38144 #: kinvasoft-multi-level-menu.php:40 642 #: kinvasoft-multi-level-menu.php:273 kinvasoft-multi-level-menu.php:329 43 #: kinvasoft-multi-level-menu.php:361 kinvasoft-multi-level-menu.php:382 44 #: kinvasoft-multi-level-menu.php:407 45 45 msgid "Multi-level menu for Ecwid" 46 46 msgstr "Много-уровневое меню для Ecwid" 47 47 48 #: kinvasoft-multi-level-menu.php:28 548 #: kinvasoft-multi-level-menu.php:286 49 49 msgid "Settings saved successfully!" 50 50 msgstr "Параметры успешно сохранены!" 51 51 52 #: kinvasoft-multi-level-menu.php:29 552 #: kinvasoft-multi-level-menu.php:296 53 53 msgid "" 54 54 "To configure the Multi-level menu, you need to open the menu settings page " 55 "<b>Menu widget > Widget HTML code block</b>. Then find the \"<b>token=</b>\" " 56 "text in the code and copy the part of the code between the equal sign " 57 "<b>(=)</b> and the quotation mark <b>(\")</b>. See the example in the " 58 "screenshot below." 55 "<b>Menu widget > Widget HTML code</b>. Then click on the <b>Copy token</b> " 56 "button. See the example in the screenshot below." 59 57 msgstr "" 60 58 "Чтобы настроить многоуровневое меню, необходимо перейти к настройкам меню в " 61 "<b>Menu widget > Widget HTML code block</b>, в коде нужно найти <b>token=</" 62 "b> и скопировать часть кода после знака равенства <b>(=)</b> кавычки " 63 "<b>(\"\")</b>. Смотрите пример на скриншоте ниже." 59 "<b>Menu widget > Widget HTML code</b>. Затем нажать кнопку <b>Copy token</" 60 "b>. Смотрите пример на скриншоте ниже." 64 61 65 #: kinvasoft-multi-level-menu.php:30 162 #: kinvasoft-multi-level-menu.php:302 66 63 msgid "" 67 64 "The copied code must be added to the \"<b>Token</b>\" field below. Finally " … … 71 68 "кнопку \"<b>Сохранить</b>\"." 72 69 73 #: kinvasoft-multi-level-menu.php:30 770 #: kinvasoft-multi-level-menu.php:308 74 71 msgid "Token" 75 72 msgstr "Токен" 76 73 77 #: kinvasoft-multi-level-menu.php:31 274 #: kinvasoft-multi-level-menu.php:313 78 75 msgid "Save" 79 76 msgstr "Сохранить" 80 77 81 #: kinvasoft-multi-level-menu.php:33 2 kinvasoft-multi-level-menu.php:38578 #: kinvasoft-multi-level-menu.php:333 kinvasoft-multi-level-menu.php:386 82 79 msgid "" 83 80 "The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For " … … 97 94 "a>).<br/>4. Настроить плагин Много-уровневое меню для Ecwid в WordPress." 98 95 99 #: kinvasoft-multi-level-menu.php:33 7 kinvasoft-multi-level-menu.php:390100 #: kinvasoft-multi-level-menu.php:41 596 #: kinvasoft-multi-level-menu.php:338 kinvasoft-multi-level-menu.php:391 97 #: kinvasoft-multi-level-menu.php:416 101 98 msgid "Proceed with registration at Ecwid" 102 99 msgstr "Перейти к регистрации в Ecwid" 103 100 104 #: kinvasoft-multi-level-menu.php:36 7101 #: kinvasoft-multi-level-menu.php:364 105 102 msgid "Redirecting to app configuration page..." 106 103 msgstr "Перенаправляем на страницу настройки приложения..." 107 104 108 #: kinvasoft-multi-level-menu.php:41 0105 #: kinvasoft-multi-level-menu.php:411 109 106 msgid "" 110 107 "The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For " … … 126 123 "уровневое меню для Ecwid в WordPress." 127 124 128 #: kinvasoft-multi-level-menu.php:43 5125 #: kinvasoft-multi-level-menu.php:438 129 126 msgid "Multi-level menu" 130 127 msgstr "Много-уровневое меню" 131 128 132 #: kinvasoft-multi-level-menu.php:44 2129 #: kinvasoft-multi-level-menu.php:446 133 130 msgid "Settings" 134 131 msgstr "Настройки" 135 132 136 #: kinvasoft-multi-level-menu.php:4 58133 #: kinvasoft-multi-level-menu.php:462 137 134 msgid "You can Add / Edit menu items on the application options" 138 135 msgstr "Вы можете Добавить / Изменить пункты меню в приложении" 139 136 140 #: kinvasoft-multi-level-menu.php:4 58137 #: kinvasoft-multi-level-menu.php:462 141 138 msgid "configuration page" 142 139 msgstr "на странице настроек" -
multi-level-menu-for-ecwid/trunk/readme.txt
r2286750 r2547060 3 3 Tags: multi-level-menu, design 4 4 Requires at least: 5.3 5 Tested up to: 5. 36 Stable tag: 1.0 5 Tested up to: 5.7 6 Stable tag: 1.0.1 7 7 Requires PHP: 7.2 8 8
Note: See TracChangeset
for help on using the changeset viewer.