Plugin Directory

Changeset 1243285


Ignore:
Timestamp:
09/11/2015 11:28:54 AM (11 years ago)
Author:
real.master
Message:

update 3.0

Location:
real-kit/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • real-kit/trunk/inc/ids.php

    r1117073 r1243285  
    5151  foreach ($args as $arg) {
    5252    $arg = explode('=', $arg);
    53     if ($arg[0] != 'orderby' and $arg[0] != 'order') {
     53    if ($arg[0] != 'orderby' and $arg[0] != 'order' and isset($arg[1])) {
    5454      $arr[$arg[0]] = $arg[1];
    5555      foreach ($arr as $k => $v) {
  • real-kit/trunk/inc/translit.php

    r1121129 r1243285  
    8080  if (isset($_POST['realkit_translit_standard'])) {
    8181    update_option('realkit_translit_standard', $_POST['realkit_translit_standard']);
    82     $updated = '<div class="updated"><p><strong>Настройки сохранены.</strong></p></div>';
     82    $updated = '<div class="updated"><p><strong>' . __('Saved') . '</strong></p></div>';
    8383  }
    8484
  • real-kit/trunk/lng/realkit-ru_RU.po

    r1146677 r1243285  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2015-04-26 09:19+0300\n"
    5 "PO-Revision-Date: 2015-04-26 09:19+0300\n"
     4"POT-Creation-Date: 2015-09-11 14:11+0300\n"
     5"PO-Revision-Date: 2015-09-11 14:13+0300\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 1.7.4\n"
    13 "X-Poedit-Basepath: d:\\Web\\OpenServer\\domains\\wordpress\\www\\wp-content"
    14 "\\plugins\\real-kit\\\n"
     12"X-Generator: Poedit 1.8.4\n"
     13"X-Poedit-Basepath: d:/Web/OpenServer/domains/wordpress/www/wp-content/"
     14"plugins/real-kit\n"
    1515"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
    1616"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
     
    2020"X-Poedit-SearchPathExcluded-0: js\n"
    2121
    22 #: inc/modals.php:16 inc/modals.php:170
     22#: inc/modals.php:16 inc/modals.php:171
    2323msgid "Modals"
    2424msgstr "Модальные окна"
     
    100100msgstr "Шорткод"
    101101
    102 #: inc/modals.php:78 inc/modals.php:163
     102#: inc/modals.php:78 inc/modals.php:164
    103103msgid "Button Title"
    104104msgstr "Текст кнопки"
    105105
    106 #: inc/modals.php:159
     106#: inc/modals.php:160
    107107msgid "Open Button Shortcode"
    108108msgstr "Шорткод кнопки открытия"
    109109
    110 #: inc/modals.php:178 inc/translit.php:82
     110#: inc/modals.php:179 inc/translit.php:82 inc/views.php:57
    111111msgid "Saved"
    112 msgstr ""
     112msgstr "Сохранено"
    113113
    114 #: inc/modals.php:178
     114#: inc/modals.php:179
    115115msgid "Please reload the page (press F5)."
    116116msgstr "Пожалуйста, перезагрузите страницу (можно нажать F5)"
    117117
    118 #: inc/modals.php:186
     118#: inc/modals.php:187
    119119msgid "Modals options"
    120120msgstr "Настройки модальных окон"
    121121
    122 #: inc/modals.php:197
     122#: inc/modals.php:198
    123123msgid "Use modal windows on this site."
    124124msgstr "Использовать модальные окна на этом сайте"
    125125
    126 #: inc/modals.php:205 inc/translit.php:116
     126#: inc/modals.php:206 inc/translit.php:116 inc/views.php:84
    127127msgid "Save Changes"
    128128msgstr "Сохранить изменения"
     
    161161msgstr "ГОСТ 16876-71"
    162162
     163#: inc/views.php:29 inc/views.php:49
     164msgid "Views"
     165msgstr "Просмотры"
     166
     167#: inc/views.php:65
     168msgid "views options"
     169msgstr "Настройки просмотров"
     170
     171#: inc/views.php:76
     172msgid "Use views counter on this site."
     173msgstr "Включить счетчик просмотров на этом сайте."
     174
    163175#: tpl/real.php:13
    164176msgid "Donation"
  • real-kit/trunk/readme.txt

    r1242197 r1243285  
    33Contributors: Realist
    44Donate link:
    5 Tags: kit, real, real., real.kit, image, images, thumb, thumbnail, thumbnails, category, categories, taxonomy, taxonomies, admin, id, ids, reveal, post, page, media, user, l10n, translit, transliteration, slugs, russian, rustolat, cyrtolat, cyrillic, javascript, js, add, modal, modals, window, windows, набор, реалист, картинка, миниатюра, категории, рубрики, таксономии, метки, админ, пост, запись, страница, меди, пользователи, транслит, транслитерация, слаг, ярлык, русский, кириллица, модальные окна
     5Tags: kit, real, real., real.kit, image, images, thumb, thumbnail, thumbnails, category, categories, taxonomy, taxonomies, admin, id, ids, reveal, post, page, media, user, l10n, translit, transliteration, slugs, russian, rustolat, cyrtolat, cyrillic, javascript, js, add, modal, modals, window, windows, views, views count, набор, реалист, картинка, миниатюра, категории, рубрики, таксономии, метки, админ, пост, запись, страница, меди, пользователи, транслит, транслитерация, слаг, ярлык, русский, кириллица, модальные окна, просмотры, счетчик просмотров
    66Requires at least: 4.1.1
    77Tested up to: 4.3
    8 Stable tag: 2.0
     8Stable tag: 3.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747`[modal open="540" id="button_id" class="button_class"]Текст кнопки[/modal]`
    4848
     496) Опционально добавляет на страницах админ панели колонку с количеством уникальных просмотров (страниц и записей).
     50
    4951*Machine translation:*
    5052
     
    8082`[modal open="540" id="button_id" class="button_class"]Button Title[/modal]`
    8183
     846) Optional adds on the pages admin panel column with the number of unique views (pages and posts).
     85
    8286== Installation ==
    8387
     
    981021. Модальные окна | Modal windows
    991031. Отключение модальных окон | Modal windows toggle
     1041. Количество просмотров | Views count
    100105
    101106== Changelog ==
     107
     108= 3.0 =
     109
     110* Добавлен опциональный счетчик количества просмотров
     111* Исправленна ошибка вызывающая NOTICE на странице категорий в админ панели.
     112
     113*Machine translation:*
     114
     115* Added optional views counter
     116* Fixed bug causing NOTICE on the category page in the admin panel.
    102117
    103118= 2.0 =
  • real-kit/trunk/real-kit.php

    r1146677 r1243285  
    1414  'plugin_dir_path'  => plugin_dir_path(__FILE__),
    1515  'plugin_dir_url'   => plugin_dir_url(__FILE__),
    16   'modals_post_type' => 'modal_window'
     16  'modals_post_type' => 'modal_window',
     17  'views_meta_key'   => 'views_count'
    1718);
    1819
     
    5758// Модальные окна
    5859require_once $realkit['plugin_dir_path'] . 'inc/modals.php';
     60
     61// Количество просмотров
     62require_once $realkit['plugin_dir_path'] . 'inc/views.php';
Note: See TracChangeset for help on using the changeset viewer.