Plugin Directory

Changeset 2547060


Ignore:
Timestamp:
06/13/2021 12:53:48 PM (5 years ago)
Author:
kinvasoft
Message:

Release v1.0.1

Location:
multi-level-menu-for-ecwid
Files:
9 added
5 edited

Legend:

Unmodified
Added
Removed
  • multi-level-menu-for-ecwid/trunk/kinvasoft-multi-level-menu.php

    r2286750 r2547060  
    1313 * Author: Kinvasoft <[email protected]>
    1414 * Author URI: https://kinvasoft.com
    15  * Version: 1.0
     15 * Version: 1.0.1
    1616 *
    1717 * Copyright (c) 2013-present <[email protected]>. All rights reserved
     
    2727    const PUBLIC_TOKEN = 'kinvasoft-multi-level-menu-token';
    2828
    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';
    3131
    3232    public function __construct()
     
    5050
    5151        <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>
    5353            <select name="<?php echo $this->get_field_name('select'); ?>" id="<?php echo $this->get_field_id('select'); ?>" class="widefat">
    5454<?php
    5555
    5656                $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()),
    5959                );
    6060
     
    8484
    8585        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;
    88113
    89114        if (self::isEcwidPluginActive()) {
    90             $config = [
     115            $id = get_ecwid_store_id();
     116            $token = get_option(Kinvasoft_MultiLevelMenu::PUBLIC_TOKEN);
     117
     118            $config += [
    91119                'appWidgetSource'   => 'WordPress',
    92120                'appWidgetStoreUrl' => Ecwid_Store_Page::get_store_url(),
     
    94122        }
    95123
    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 
    127124        $configAttribute = '';
    128125
    129126        if (!empty($config)) {
    130             $configAttribute = '"data-config="' . base64_encode(json_encode((object) $config)) . '" ';
     127            $configAttribute = 'data-config="' . base64_encode(json_encode((object) $config)) . '" ';
    131128        }
    132129
     
    154151            if (
    155152                $key === 'path'
    156                 && $item === 'app:name=multi-level-menu'
     153                && $item === ('app:name=' . self::APP_NAME)
    157154            ) {
    158155                $result = true;
     
    161158
    162159        return $result;
     160    }
     161
     162    public static function getTranslationDomain()
     163    {
     164        return str_replace('-dev', '', self::APP_NAME);
    163165    }
    164166}
     
    184186            '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>',
    185187            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'])),
    187189            esc_attr($plugin_info['Name']),
    188             __('View details', Kinvasoft_MultiLevelMenu::APP_NAME)
     190            __('View details', Kinvasoft_MultiLevelMenu::getTranslationDomain())
    189191        );
    190192    }
     
    266268        <div class="wrap multi-level-menu-settings">
    267269
    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>
    269271
    270272<?php
     
    279281
    280282                <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>
    282284                </div>
    283285
     
    289291
    290292            <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()); ?>
    292294            </p>
    293295            <figure>
     
    295297            </figure>
    296298            <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()); ?>
    298300            </p>
    299301
     
    301303                <form method="post">
    302304                    <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>
    304306                        <br />
    305307                        <input type="text" name="token" class="public-token" autocomplete="off" value="<?php echo get_option(Kinvasoft_MultiLevelMenu::PUBLIC_TOKEN); ?>" />
    306308                    </div>
    307309                    <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()); ?>" />
    309311                    </p>
    310312                </form>
     
    322324        <div class="wrap">
    323325
    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>
    325327
    326328            <div class="welcome-panel">
    327329
    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()); ?>
    329331
    330332                <p class="submit">
    331333
    332334                    <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()); ?>
    334336                    </a>
    335337
     
    352354?>
    353355
     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
    354366            <script>
    355367                window.location.replace('admin.php?page=ec-store-admin-app-name-<?php echo Kinvasoft_MultiLevelMenu::APP_NAME; ?>');
    356368            </script>
    357369
    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
    364395                </div>
    365396
    366             </div>
    367 
    368 <?php
    369         } else {
    370 
    371             if (!Kinvasoft_MultiLevelMenu::isEcwidPluginActive()) {
     397<?php
     398            } else {
    372399
    373400?>
     
    375402                <div class="wrap">
    376403
    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>
    378405
    379406                    <div class="welcome-panel">
    380407
    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()); ?>
    382409
    383410                        <p class="submit">
    384411
    385412                            <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()); ?>
    387414                            </a>
    388415
     
    394421
    395422<?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 <?php
    421423
    422424            }
     
    431433    if (current_user_can('edit_plugins')) {
    432434
    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);
    434436    }
    435437}
     
    439441{
    440442    $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>'
    442444    ], $links);
    443445
     
    455457        $js = '<script>
    456458            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>";
    458460                document.getElementById("menu-instructions").style.display = "block";
    459461            });
     
    514516                min-width: 100px;
    515517            }
     518            .multi-level-menu-redirect .welcome-panel {
     519                padding-bottom: 25px;
     520            }
    516521        </style>
    517522    ';
     
    541546function kinvasoft_multi_level_menu_translation()
    542547{
    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');
    544549}
    545550add_action('plugins_loaded', 'kinvasoft_multi_level_menu_translation');
  • multi-level-menu-for-ecwid/trunk/lang/multi-level-menu-ru_RU.po

    r2286750 r2547060  
    22msgstr ""
    33"Project-Id-Version: Multi-level menu for Ecwid\n"
    4 "POT-Creation-Date: 2020-03-29 23:22+0400\n"
    5 "PO-Revision-Date: 2020-03-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"
    66"Last-Translator: \n"
    77"Language-Team: https://kinvasoft.com/\n"
     
    3131msgstr "Вертикальное"
    3232
    33 #: kinvasoft-multi-level-menu.php:186
     33#: kinvasoft-multi-level-menu.php:191
    3434#, php-format
    3535msgid "More information about %s"
    3636msgstr "Больше информации о %s"
    3737
    38 #: kinvasoft-multi-level-menu.php:188
     38#: kinvasoft-multi-level-menu.php:193
    3939msgid "View details"
    4040msgstr "Посмотреть детали"
    4141
    42 #: kinvasoft-multi-level-menu.php:272 kinvasoft-multi-level-menu.php:328
    43 #: kinvasoft-multi-level-menu.php:364 kinvasoft-multi-level-menu.php:381
    44 #: kinvasoft-multi-level-menu.php:406
     42#: 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
    4545msgid "Multi-level menu for Ecwid"
    4646msgstr "Много-уровневое меню для Ecwid"
    4747
    48 #: kinvasoft-multi-level-menu.php:285
     48#: kinvasoft-multi-level-menu.php:286
    4949msgid "Settings saved successfully!"
    5050msgstr "Параметры успешно сохранены!"
    5151
    52 #: kinvasoft-multi-level-menu.php:295
     52#: kinvasoft-multi-level-menu.php:296
    5353msgid ""
    5454"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."
    5957msgstr ""
    6058"Чтобы настроить многоуровневое меню, необходимо перейти к настройкам меню в "
    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>. Смотрите пример на скриншоте ниже."
    6461
    65 #: kinvasoft-multi-level-menu.php:301
     62#: kinvasoft-multi-level-menu.php:302
    6663msgid ""
    6764"The copied code must be added to the \"<b>Token</b>\" field below. Finally "
     
    7168"кнопку \"<b>Сохранить</b>\"."
    7269
    73 #: kinvasoft-multi-level-menu.php:307
     70#: kinvasoft-multi-level-menu.php:308
    7471msgid "Token"
    7572msgstr "Токен"
    7673
    77 #: kinvasoft-multi-level-menu.php:312
     74#: kinvasoft-multi-level-menu.php:313
    7875msgid "Save"
    7976msgstr "Сохранить"
    8077
    81 #: kinvasoft-multi-level-menu.php:332 kinvasoft-multi-level-menu.php:385
     78#: kinvasoft-multi-level-menu.php:333 kinvasoft-multi-level-menu.php:386
    8279msgid ""
    8380"The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For "
     
    9794"a>).<br/>4. Настроить плагин Много-уровневое меню для Ecwid в WordPress."
    9895
    99 #: kinvasoft-multi-level-menu.php:337 kinvasoft-multi-level-menu.php:390
    100 #: kinvasoft-multi-level-menu.php:415
     96#: kinvasoft-multi-level-menu.php:338 kinvasoft-multi-level-menu.php:391
     97#: kinvasoft-multi-level-menu.php:416
    10198msgid "Proceed with registration at Ecwid"
    10299msgstr "Перейти к регистрации в Ecwid"
    103100
    104 #: kinvasoft-multi-level-menu.php:367
     101#: kinvasoft-multi-level-menu.php:364
    105102msgid "Redirecting to app configuration page..."
    106103msgstr "Перенаправляем на страницу настройки приложения..."
    107104
    108 #: kinvasoft-multi-level-menu.php:410
     105#: kinvasoft-multi-level-menu.php:411
    109106msgid ""
    110107"The Multi-level menu for Ecwid plugin works in conjunction with Ecwid. For "
     
    126123"уровневое меню для Ecwid в WordPress."
    127124
    128 #: kinvasoft-multi-level-menu.php:435
     125#: kinvasoft-multi-level-menu.php:438
    129126msgid "Multi-level menu"
    130127msgstr "Много-уровневое меню"
    131128
    132 #: kinvasoft-multi-level-menu.php:442
     129#: kinvasoft-multi-level-menu.php:446
    133130msgid "Settings"
    134131msgstr "Настройки"
    135132
    136 #: kinvasoft-multi-level-menu.php:458
     133#: kinvasoft-multi-level-menu.php:462
    137134msgid "You can Add / Edit menu items on the application options"
    138135msgstr "Вы можете Добавить / Изменить пункты меню в приложении"
    139136
    140 #: kinvasoft-multi-level-menu.php:458
     137#: kinvasoft-multi-level-menu.php:462
    141138msgid "configuration page"
    142139msgstr "на странице настроек"
  • multi-level-menu-for-ecwid/trunk/readme.txt

    r2286750 r2547060  
    33Tags: multi-level-menu, design
    44Requires at least: 5.3
    5 Tested up to: 5.3
    6 Stable tag: 1.0
     5Tested up to: 5.7
     6Stable tag: 1.0.1
    77Requires PHP: 7.2
    88
Note: See TracChangeset for help on using the changeset viewer.