Changeset 2461659
- Timestamp:
- 01/24/2021 07:21:53 AM (5 years ago)
- Location:
- clear-comments
- Files:
-
- 12 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from clear-comments/trunk)
-
tags/1.0.1/clear-comments.php (modified) (2 diffs)
-
tags/1.0.1/includes/options.php (modified) (1 diff)
-
tags/1.0.1/languages/clear-comments-ru_RU.mo (modified) (previous)
-
tags/1.0.1/languages/clear-comments-ru_RU.po (modified) (4 diffs)
-
tags/1.0.1/languages/clear-comments.pot (modified) (4 diffs)
-
tags/1.0.1/readme.txt (modified) (2 diffs)
-
trunk/clear-comments.php (modified) (2 diffs)
-
trunk/includes/options.php (modified) (1 diff)
-
trunk/languages/clear-comments-ru_RU.mo (modified) (previous)
-
trunk/languages/clear-comments-ru_RU.po (modified) (4 diffs)
-
trunk/languages/clear-comments.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clear-comments/tags/1.0.1/clear-comments.php
r2461369 r2461659 6 6 Author: Brahman <fb@emelianovip.ru> 7 7 Author URI: https://emelianovip.ru 8 Version: 1.0. 08 Version: 1.0.1 9 9 License: GPLv2 10 10 */ … … 27 27 add_action( 'init', array( 'EPV_ClearComments_Admin', 'init' ) ); 28 28 add_action( 'admin_enqueue_scripts', 'clear_comments_admin_styles' ); 29 load_plugin_textdomain( "clear-comments", false, basename( dirname( __FILE__ ) ) . '/languages' ); 29 add_action( 'plugins_loaded', 'clear_comments_load_plugin_textdomain' ); 30 } 31 32 function clear_comments_load_plugin_textdomain() { 33 load_plugin_textdomain( 'clear-comments', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); 30 34 } 31 35 -
clear-comments/tags/1.0.1/includes/options.php
r2461369 r2461659 39 39 </div> 40 40 <div class="form-field"> 41 <label for="clear_comm_keywords_white"><?php print _ ("Еnter exclusion keywords, one word per line", "clear-comments") ?></label>41 <label for="clear_comm_keywords_white"><?php print __("Еnter exclusion keywords, one word per line", "clear-comments") ?></label> 42 42 </div> 43 43 <br /> -
clear-comments/tags/1.0.1/languages/clear-comments-ru_RU.po
r2461369 r2461659 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2021-01-20 07:07+0000\n" 6 "PO-Revision-Date: 2021-01-2 107:09+0000\n"6 "PO-Revision-Date: 2021-01-24 07:09+0000\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: Русский\n" … … 17 17 "X-Domain: clear-comments" 18 18 19 #: includes/options.php: 919 #: includes/options.php:27 20 20 msgid "Black list" 21 21 msgstr "Чёрный список" … … 26 26 27 27 #. Name of the plugin 28 #: class.clear-comments-admin.php: 19 includes/main.php:3 includes/main.php:1529 #: includes/ main.php:1828 #: class.clear-comments-admin.php:25 includes/options.php:2 29 #: includes/overview.php:2 includes/test.php:2 30 30 msgid "Clear comments" 31 31 msgstr "Чистые комментарии" 32 32 33 #: includes/test.php: 733 #: includes/test.php:5 34 34 msgid "Comment text" 35 35 msgstr "Текст комментария" 36 36 37 #: includes/test.php: 2837 #: includes/test.php:43 38 38 msgid "Found keywords" 39 39 msgstr "Найденные слова" 40 40 41 #. URI of the plugin42 41 #. Author URI of the plugin 43 42 msgid "https://emelianovip.ru" 44 43 msgstr "https://emelianovip.ru" 45 44 46 #: includes/test.php:32 45 #. URI of the plugin 46 msgid "https://emelianovip.ru/2021/01/21/318/" 47 msgstr "https://emelianovip.ru/2021/01/21/318/" 48 49 #: includes/test.php:47 47 50 msgid "Keywords list" 48 51 msgstr "Список ключевых слов" 49 52 50 #: includes/overview.php:1 553 #: includes/overview.php:19 51 54 msgid "Last comments" 52 55 msgstr "Последние комментарии" 53 56 54 #: includes/overview.php: 457 #: includes/overview.php:8 55 58 msgid "No cleared comments" 56 59 msgstr "Нет очищенных комментариев" 57 60 58 #: includes/main.php:15 includes/main.php:2961 #: class.clear-comments-admin.php:76 includes/options.php:2 59 62 msgid "Options" 60 63 msgstr "Настройки" 61 64 62 #: includes/main.php:3 includes/main.php:2865 #: class.clear-comments-admin.php:75 includes/overview.php:2 63 66 msgid "Overview" 64 67 msgstr "Обзор" 65 68 66 #: includes/test.php: 3069 #: includes/test.php:45 67 70 msgid "Result text" 68 71 msgstr "Результат" 69 72 70 #: includes/options.php: 2973 #: includes/options.php:46 71 74 msgid "Save" 72 75 msgstr "Сохранить" 73 76 74 #: includes/test.php: 1677 #: includes/test.php:31 75 78 msgid "Submit" 76 79 msgstr "Отправить" 77 80 78 #: class.clear-comments-admin.php: 27 class.clear-comments-admin.php:3381 #: class.clear-comments-admin.php:33 class.clear-comments-admin.php:39 79 82 msgid "Success" 80 83 msgstr "Успешно" 81 84 82 #: includes/main.php:18 includes/main.php:3085 #: class.clear-comments-admin.php:77 includes/test.php:2 83 86 msgid "Test" 84 87 msgstr "Тест" … … 88 91 msgstr "Этот плагин заменяет слова из стоп-листа звёздочками ***" 89 92 90 #: includes/options.php: 2093 #: includes/options.php:36 91 94 msgid "White list" 92 95 msgstr "Белый список" 93 96 94 #: includes/test.php: 1297 #: includes/test.php:25 95 98 msgid "Write a test comment" 96 99 msgstr "Напишите тестовый комментарий" 97 100 98 #: includes/options.php: 25101 #: includes/options.php:41 99 102 msgid "Еnter exclusion keywords, one word per line" 100 103 msgstr "Введите ключевые слова-исключения, по одному слову в строке" 101 104 102 #: includes/options.php: 15105 #: includes/options.php:33 103 106 msgid "Еnter keywords, one word per line" 104 107 msgstr "Введите ключевые слова, по одному слову в строке" -
clear-comments/tags/1.0.1/languages/clear-comments.pot
r2461369 r2461659 4 4 "Project-Id-Version: Clear comments\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2021-01-2 1 07:08+0000\n"6 "POT-Creation-Date: 2021-01-24 07:07+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "X-Domain: clear-comments" 18 18 19 #: includes/options.php: 919 #: includes/options.php:27 20 20 msgid "Black list" 21 21 msgstr "" … … 26 26 27 27 #. Name of the plugin 28 #: class.clear-comments-admin.php: 19 includes/main.php:3 includes/main.php:1529 #: includes/ main.php:1828 #: class.clear-comments-admin.php:25 includes/options.php:2 29 #: includes/overview.php:2 includes/test.php:2 30 30 msgid "Clear comments" 31 31 msgstr "" 32 32 33 #: includes/test.php: 733 #: includes/test.php:5 34 34 msgid "Comment text" 35 35 msgstr "" 36 36 37 #: includes/test.php: 2837 #: includes/test.php:43 38 38 msgid "Found keywords" 39 39 msgstr "" 40 40 41 #. URI of the plugin42 41 #. Author URI of the plugin 43 42 msgid "https://emelianovip.ru" 44 43 msgstr "" 45 44 46 #: includes/test.php:32 45 #. URI of the plugin 46 msgid "https://emelianovip.ru/2021/01/21/318/" 47 msgstr "" 48 49 #: includes/test.php:47 47 50 msgid "Keywords list" 48 51 msgstr "" 49 52 50 #: includes/overview.php:1 553 #: includes/overview.php:19 51 54 msgid "Last comments" 52 55 msgstr "" 53 56 54 #: includes/overview.php: 457 #: includes/overview.php:8 55 58 msgid "No cleared comments" 56 59 msgstr "" 57 60 58 #: includes/main.php:15 includes/main.php:2961 #: class.clear-comments-admin.php:76 includes/options.php:2 59 62 msgid "Options" 60 63 msgstr "" 61 64 62 #: includes/main.php:3 includes/main.php:2865 #: class.clear-comments-admin.php:75 includes/overview.php:2 63 66 msgid "Overview" 64 67 msgstr "" 65 68 66 #: includes/test.php: 3069 #: includes/test.php:45 67 70 msgid "Result text" 68 71 msgstr "" 69 72 70 #: includes/options.php: 2973 #: includes/options.php:46 71 74 msgid "Save" 72 75 msgstr "" 73 76 74 #: includes/test.php: 1677 #: includes/test.php:31 75 78 msgid "Submit" 76 79 msgstr "" 77 80 78 #: class.clear-comments-admin.php: 27 class.clear-comments-admin.php:3381 #: class.clear-comments-admin.php:33 class.clear-comments-admin.php:39 79 82 msgid "Success" 80 83 msgstr "" 81 84 82 #: includes/main.php:18 includes/main.php:3085 #: class.clear-comments-admin.php:77 includes/test.php:2 83 86 msgid "Test" 84 87 msgstr "" … … 88 91 msgstr "" 89 92 90 #: includes/options.php: 2093 #: includes/options.php:36 91 94 msgid "White list" 92 95 msgstr "" 93 96 94 #: includes/test.php: 1297 #: includes/test.php:25 95 98 msgid "Write a test comment" 96 99 msgstr "" 97 100 98 #: includes/options.php: 25101 #: includes/options.php:41 99 102 msgid "Еnter exclusion keywords, one word per line" 100 103 msgstr "" 101 104 102 #: includes/options.php: 15105 #: includes/options.php:33 103 106 msgid "Еnter keywords, one word per line" 104 107 msgstr "" -
clear-comments/tags/1.0.1/readme.txt
r2461369 r2461659 5 5 Requires PHP: 5.3 6 6 Tested up to: 5.6 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 * All processed comments in which stop words were found will be displayed in the "Overvew" tab. 41 42 == Changelog == 43 44 = 1.0.1 = 45 * Loading the translate using action plugins_loaded -
clear-comments/trunk/clear-comments.php
r2461369 r2461659 6 6 Author: Brahman <fb@emelianovip.ru> 7 7 Author URI: https://emelianovip.ru 8 Version: 1.0. 08 Version: 1.0.1 9 9 License: GPLv2 10 10 */ … … 27 27 add_action( 'init', array( 'EPV_ClearComments_Admin', 'init' ) ); 28 28 add_action( 'admin_enqueue_scripts', 'clear_comments_admin_styles' ); 29 load_plugin_textdomain( "clear-comments", false, basename( dirname( __FILE__ ) ) . '/languages' ); 29 add_action( 'plugins_loaded', 'clear_comments_load_plugin_textdomain' ); 30 } 31 32 function clear_comments_load_plugin_textdomain() { 33 load_plugin_textdomain( 'clear-comments', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); 30 34 } 31 35 -
clear-comments/trunk/includes/options.php
r2461369 r2461659 39 39 </div> 40 40 <div class="form-field"> 41 <label for="clear_comm_keywords_white"><?php print _ ("Еnter exclusion keywords, one word per line", "clear-comments") ?></label>41 <label for="clear_comm_keywords_white"><?php print __("Еnter exclusion keywords, one word per line", "clear-comments") ?></label> 42 42 </div> 43 43 <br /> -
clear-comments/trunk/languages/clear-comments-ru_RU.po
r2461369 r2461659 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2021-01-20 07:07+0000\n" 6 "PO-Revision-Date: 2021-01-2 107:09+0000\n"6 "PO-Revision-Date: 2021-01-24 07:09+0000\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: Русский\n" … … 17 17 "X-Domain: clear-comments" 18 18 19 #: includes/options.php: 919 #: includes/options.php:27 20 20 msgid "Black list" 21 21 msgstr "Чёрный список" … … 26 26 27 27 #. Name of the plugin 28 #: class.clear-comments-admin.php: 19 includes/main.php:3 includes/main.php:1529 #: includes/ main.php:1828 #: class.clear-comments-admin.php:25 includes/options.php:2 29 #: includes/overview.php:2 includes/test.php:2 30 30 msgid "Clear comments" 31 31 msgstr "Чистые комментарии" 32 32 33 #: includes/test.php: 733 #: includes/test.php:5 34 34 msgid "Comment text" 35 35 msgstr "Текст комментария" 36 36 37 #: includes/test.php: 2837 #: includes/test.php:43 38 38 msgid "Found keywords" 39 39 msgstr "Найденные слова" 40 40 41 #. URI of the plugin42 41 #. Author URI of the plugin 43 42 msgid "https://emelianovip.ru" 44 43 msgstr "https://emelianovip.ru" 45 44 46 #: includes/test.php:32 45 #. URI of the plugin 46 msgid "https://emelianovip.ru/2021/01/21/318/" 47 msgstr "https://emelianovip.ru/2021/01/21/318/" 48 49 #: includes/test.php:47 47 50 msgid "Keywords list" 48 51 msgstr "Список ключевых слов" 49 52 50 #: includes/overview.php:1 553 #: includes/overview.php:19 51 54 msgid "Last comments" 52 55 msgstr "Последние комментарии" 53 56 54 #: includes/overview.php: 457 #: includes/overview.php:8 55 58 msgid "No cleared comments" 56 59 msgstr "Нет очищенных комментариев" 57 60 58 #: includes/main.php:15 includes/main.php:2961 #: class.clear-comments-admin.php:76 includes/options.php:2 59 62 msgid "Options" 60 63 msgstr "Настройки" 61 64 62 #: includes/main.php:3 includes/main.php:2865 #: class.clear-comments-admin.php:75 includes/overview.php:2 63 66 msgid "Overview" 64 67 msgstr "Обзор" 65 68 66 #: includes/test.php: 3069 #: includes/test.php:45 67 70 msgid "Result text" 68 71 msgstr "Результат" 69 72 70 #: includes/options.php: 2973 #: includes/options.php:46 71 74 msgid "Save" 72 75 msgstr "Сохранить" 73 76 74 #: includes/test.php: 1677 #: includes/test.php:31 75 78 msgid "Submit" 76 79 msgstr "Отправить" 77 80 78 #: class.clear-comments-admin.php: 27 class.clear-comments-admin.php:3381 #: class.clear-comments-admin.php:33 class.clear-comments-admin.php:39 79 82 msgid "Success" 80 83 msgstr "Успешно" 81 84 82 #: includes/main.php:18 includes/main.php:3085 #: class.clear-comments-admin.php:77 includes/test.php:2 83 86 msgid "Test" 84 87 msgstr "Тест" … … 88 91 msgstr "Этот плагин заменяет слова из стоп-листа звёздочками ***" 89 92 90 #: includes/options.php: 2093 #: includes/options.php:36 91 94 msgid "White list" 92 95 msgstr "Белый список" 93 96 94 #: includes/test.php: 1297 #: includes/test.php:25 95 98 msgid "Write a test comment" 96 99 msgstr "Напишите тестовый комментарий" 97 100 98 #: includes/options.php: 25101 #: includes/options.php:41 99 102 msgid "Еnter exclusion keywords, one word per line" 100 103 msgstr "Введите ключевые слова-исключения, по одному слову в строке" 101 104 102 #: includes/options.php: 15105 #: includes/options.php:33 103 106 msgid "Еnter keywords, one word per line" 104 107 msgstr "Введите ключевые слова, по одному слову в строке" -
clear-comments/trunk/languages/clear-comments.pot
r2461369 r2461659 4 4 "Project-Id-Version: Clear comments\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2021-01-2 1 07:08+0000\n"6 "POT-Creation-Date: 2021-01-24 07:07+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "X-Domain: clear-comments" 18 18 19 #: includes/options.php: 919 #: includes/options.php:27 20 20 msgid "Black list" 21 21 msgstr "" … … 26 26 27 27 #. Name of the plugin 28 #: class.clear-comments-admin.php: 19 includes/main.php:3 includes/main.php:1529 #: includes/ main.php:1828 #: class.clear-comments-admin.php:25 includes/options.php:2 29 #: includes/overview.php:2 includes/test.php:2 30 30 msgid "Clear comments" 31 31 msgstr "" 32 32 33 #: includes/test.php: 733 #: includes/test.php:5 34 34 msgid "Comment text" 35 35 msgstr "" 36 36 37 #: includes/test.php: 2837 #: includes/test.php:43 38 38 msgid "Found keywords" 39 39 msgstr "" 40 40 41 #. URI of the plugin42 41 #. Author URI of the plugin 43 42 msgid "https://emelianovip.ru" 44 43 msgstr "" 45 44 46 #: includes/test.php:32 45 #. URI of the plugin 46 msgid "https://emelianovip.ru/2021/01/21/318/" 47 msgstr "" 48 49 #: includes/test.php:47 47 50 msgid "Keywords list" 48 51 msgstr "" 49 52 50 #: includes/overview.php:1 553 #: includes/overview.php:19 51 54 msgid "Last comments" 52 55 msgstr "" 53 56 54 #: includes/overview.php: 457 #: includes/overview.php:8 55 58 msgid "No cleared comments" 56 59 msgstr "" 57 60 58 #: includes/main.php:15 includes/main.php:2961 #: class.clear-comments-admin.php:76 includes/options.php:2 59 62 msgid "Options" 60 63 msgstr "" 61 64 62 #: includes/main.php:3 includes/main.php:2865 #: class.clear-comments-admin.php:75 includes/overview.php:2 63 66 msgid "Overview" 64 67 msgstr "" 65 68 66 #: includes/test.php: 3069 #: includes/test.php:45 67 70 msgid "Result text" 68 71 msgstr "" 69 72 70 #: includes/options.php: 2973 #: includes/options.php:46 71 74 msgid "Save" 72 75 msgstr "" 73 76 74 #: includes/test.php: 1677 #: includes/test.php:31 75 78 msgid "Submit" 76 79 msgstr "" 77 80 78 #: class.clear-comments-admin.php: 27 class.clear-comments-admin.php:3381 #: class.clear-comments-admin.php:33 class.clear-comments-admin.php:39 79 82 msgid "Success" 80 83 msgstr "" 81 84 82 #: includes/main.php:18 includes/main.php:3085 #: class.clear-comments-admin.php:77 includes/test.php:2 83 86 msgid "Test" 84 87 msgstr "" … … 88 91 msgstr "" 89 92 90 #: includes/options.php: 2093 #: includes/options.php:36 91 94 msgid "White list" 92 95 msgstr "" 93 96 94 #: includes/test.php: 1297 #: includes/test.php:25 95 98 msgid "Write a test comment" 96 99 msgstr "" 97 100 98 #: includes/options.php: 25101 #: includes/options.php:41 99 102 msgid "Еnter exclusion keywords, one word per line" 100 103 msgstr "" 101 104 102 #: includes/options.php: 15105 #: includes/options.php:33 103 106 msgid "Еnter keywords, one word per line" 104 107 msgstr "" -
clear-comments/trunk/readme.txt
r2461369 r2461659 5 5 Requires PHP: 5.3 6 6 Tested up to: 5.6 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 * All processed comments in which stop words were found will be displayed in the "Overvew" tab. 41 42 == Changelog == 43 44 = 1.0.1 = 45 * Loading the translate using action plugins_loaded
Note: See TracChangeset
for help on using the changeset viewer.