Changeset 3117065
- Timestamp:
- 07/12/2024 01:28:50 PM (21 months ago)
- Location:
- geoflex
- Files:
-
- 2 added
- 10 edited
- 1 copied
-
tags/1.6 (copied) (copied from geoflex/trunk)
-
tags/1.6/geoflex.php (modified) (2 diffs)
-
tags/1.6/languages/geoflex-ru_RU.mo (modified) (previous)
-
tags/1.6/languages/geoflex-ru_RU.po (modified) (4 diffs)
-
tags/1.6/languages/geoflex.pot (modified) (4 diffs)
-
tags/1.6/readme.txt (modified) (2 diffs)
-
tags/1.6/version-check.php (added)
-
trunk/geoflex.php (modified) (2 diffs)
-
trunk/languages/geoflex-ru_RU.mo (modified) (previous)
-
trunk/languages/geoflex-ru_RU.po (modified) (4 diffs)
-
trunk/languages/geoflex.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/version-check.php (added)
Legend:
- Unmodified
- Added
- Removed
-
geoflex/tags/1.6/geoflex.php
r3097910 r3117065 4 4 * Plugin Name: Geoflex 5 5 * Description: Adds multiregional capability to WordPress 6 * Version: 1. 56 * Version: 1.6 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 34 34 } 35 35 36 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]); 37 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex"); 38 define("GEOFLEX_URL", plugin_dir_url(__FILE__)); 39 define("GEOFLEX_DIR", plugin_dir_path(__FILE__)); 36 if (!class_exists("\GeoFlex\Plugin")) { 37 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]); 38 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex"); 39 define("GEOFLEX_URL", plugin_dir_url(__FILE__)); 40 define("GEOFLEX_DIR", plugin_dir_path(__FILE__)); 40 41 41 require_once GEOFLEX_DIR . "vendor/autoload.php";42 require_once GEOFLEX_DIR . "version-check.php"; 42 43 43 new Plugin();44 require_once GEOFLEX_DIR . "vendor/autoload.php"; 44 45 45 add_action("plugins_loaded", function () { 46 load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages"); 47 }); 46 new Plugin(); 47 48 add_action("plugins_loaded", function () { 49 load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages"); 50 }); 51 } -
geoflex/tags/1.6/languages/geoflex-ru_RU.po
r3071427 r3117065 2 2 msgstr "" 3 3 "Project-Id-Version: \n" 4 "POT-Creation-Date: 2024-0 4-04 16:11+0400\n"5 "PO-Revision-Date: 2024-0 4-04 16:11+0400\n"4 "POT-Creation-Date: 2024-07-12 12:38+0300\n" 5 "PO-Revision-Date: 2024-07-12 12:40+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 3. 4.2\n"12 "X-Generator: Poedit 3.0.1\n" 13 13 "X-Poedit-Basepath: ..\n" 14 14 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;" … … 254 254 #: src/Admin/Support.php:43 255 255 msgid "" 256 "For correct work of the plugin do not use Permalink structure "257 "\" Plain\"(Setting->Permalinks)."256 "For correct work of the plugin do not use Permalink structure \"Plain" 257 "\" (Setting->Permalinks)." 258 258 msgstr "" 259 259 "Для правильной работы плагина не используйте структуру постоянных ссылок " … … 308 308 msgstr "Пример замены PHP кода:" 309 309 310 #: src/Region.php:3 58310 #: src/Region.php:390 311 311 msgid "Select a region" 312 312 msgstr "Выберите регион" 313 314 #: version-check.php:50 315 msgid "" 316 "Geoflex and Geoflex Pro should not be active at the same time. We've " 317 "automatically deactivated Geoflex." 318 msgstr "" 319 "Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически " 320 "деактивировали Geoflex." 321 322 #: version-check.php:52 323 msgid "" 324 "Geoflex and Geoflex Pro should not be active at the same time. We've " 325 "automatically deactivated Geoflex Pro." 326 msgstr "" 327 "Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически " 328 "деактивировали Geoflex Pro." 313 329 314 330 #, fuzzy -
geoflex/tags/1.6/languages/geoflex.pot
r3071427 r3117065 3 3 msgstr "" 4 4 "Project-Id-Version: \n" 5 "POT-Creation-Date: 2024-0 4-04 16:11+0400\n"5 "POT-Creation-Date: 2024-07-12 12:38+0300\n" 6 6 "PO-Revision-Date: 2023-11-03 15:22+0400\n" 7 7 "Last-Translator: \n" … … 11 11 "Content-Type: text/plain; charset=UTF-8\n" 12 12 "Content-Transfer-Encoding: 8bit\n" 13 "X-Generator: Poedit 3. 4.2\n"13 "X-Generator: Poedit 3.0.1\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;" … … 251 251 #: src/Admin/Support.php:43 252 252 msgid "" 253 "For correct work of the plugin do not use Permalink structure "254 "\" Plain\"(Setting->Permalinks)."253 "For correct work of the plugin do not use Permalink structure \"Plain" 254 "\" (Setting->Permalinks)." 255 255 msgstr "" 256 256 … … 301 301 msgstr "" 302 302 303 #: src/Region.php:3 58303 #: src/Region.php:390 304 304 msgid "Select a region" 305 305 msgstr "" 306 307 #: version-check.php:50 308 msgid "" 309 "Geoflex and Geoflex Pro should not be active at the same time. We've " 310 "automatically deactivated Geoflex." 311 msgstr "" 312 313 #: version-check.php:52 314 msgid "" 315 "Geoflex and Geoflex Pro should not be active at the same time. We've " 316 "automatically deactivated Geoflex Pro." 317 msgstr "" -
geoflex/tags/1.6/readme.txt
r3097910 r3117065 3 3 Tags: seo, wordpress seo, yoast seo 4 4 Requires at least: 6.0 5 Tested up to: 6. 5.25 Tested up to: 6.6 6 6 Requires PHP: 7.4 7 Stable tag: 1. 57 Stable tag: 1.6 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 65 65 == Changelog == 66 66 67 = 1.6 = 68 Added version (free or pro) check 69 67 70 = 1.5 = 68 71 ACF extension bugfix -
geoflex/trunk/geoflex.php
r3097910 r3117065 4 4 * Plugin Name: Geoflex 5 5 * Description: Adds multiregional capability to WordPress 6 * Version: 1. 56 * Version: 1.6 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 34 34 } 35 35 36 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]); 37 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex"); 38 define("GEOFLEX_URL", plugin_dir_url(__FILE__)); 39 define("GEOFLEX_DIR", plugin_dir_path(__FILE__)); 36 if (!class_exists("\GeoFlex\Plugin")) { 37 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]); 38 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex"); 39 define("GEOFLEX_URL", plugin_dir_url(__FILE__)); 40 define("GEOFLEX_DIR", plugin_dir_path(__FILE__)); 40 41 41 require_once GEOFLEX_DIR . "vendor/autoload.php";42 require_once GEOFLEX_DIR . "version-check.php"; 42 43 43 new Plugin();44 require_once GEOFLEX_DIR . "vendor/autoload.php"; 44 45 45 add_action("plugins_loaded", function () { 46 load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages"); 47 }); 46 new Plugin(); 47 48 add_action("plugins_loaded", function () { 49 load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages"); 50 }); 51 } -
geoflex/trunk/languages/geoflex-ru_RU.po
r3071427 r3117065 2 2 msgstr "" 3 3 "Project-Id-Version: \n" 4 "POT-Creation-Date: 2024-0 4-04 16:11+0400\n"5 "PO-Revision-Date: 2024-0 4-04 16:11+0400\n"4 "POT-Creation-Date: 2024-07-12 12:38+0300\n" 5 "PO-Revision-Date: 2024-07-12 12:40+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 3. 4.2\n"12 "X-Generator: Poedit 3.0.1\n" 13 13 "X-Poedit-Basepath: ..\n" 14 14 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;" … … 254 254 #: src/Admin/Support.php:43 255 255 msgid "" 256 "For correct work of the plugin do not use Permalink structure "257 "\" Plain\"(Setting->Permalinks)."256 "For correct work of the plugin do not use Permalink structure \"Plain" 257 "\" (Setting->Permalinks)." 258 258 msgstr "" 259 259 "Для правильной работы плагина не используйте структуру постоянных ссылок " … … 308 308 msgstr "Пример замены PHP кода:" 309 309 310 #: src/Region.php:3 58310 #: src/Region.php:390 311 311 msgid "Select a region" 312 312 msgstr "Выберите регион" 313 314 #: version-check.php:50 315 msgid "" 316 "Geoflex and Geoflex Pro should not be active at the same time. We've " 317 "automatically deactivated Geoflex." 318 msgstr "" 319 "Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически " 320 "деактивировали Geoflex." 321 322 #: version-check.php:52 323 msgid "" 324 "Geoflex and Geoflex Pro should not be active at the same time. We've " 325 "automatically deactivated Geoflex Pro." 326 msgstr "" 327 "Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически " 328 "деактивировали Geoflex Pro." 313 329 314 330 #, fuzzy -
geoflex/trunk/languages/geoflex.pot
r3071427 r3117065 3 3 msgstr "" 4 4 "Project-Id-Version: \n" 5 "POT-Creation-Date: 2024-0 4-04 16:11+0400\n"5 "POT-Creation-Date: 2024-07-12 12:38+0300\n" 6 6 "PO-Revision-Date: 2023-11-03 15:22+0400\n" 7 7 "Last-Translator: \n" … … 11 11 "Content-Type: text/plain; charset=UTF-8\n" 12 12 "Content-Transfer-Encoding: 8bit\n" 13 "X-Generator: Poedit 3. 4.2\n"13 "X-Generator: Poedit 3.0.1\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;" … … 251 251 #: src/Admin/Support.php:43 252 252 msgid "" 253 "For correct work of the plugin do not use Permalink structure "254 "\" Plain\"(Setting->Permalinks)."253 "For correct work of the plugin do not use Permalink structure \"Plain" 254 "\" (Setting->Permalinks)." 255 255 msgstr "" 256 256 … … 301 301 msgstr "" 302 302 303 #: src/Region.php:3 58303 #: src/Region.php:390 304 304 msgid "Select a region" 305 305 msgstr "" 306 307 #: version-check.php:50 308 msgid "" 309 "Geoflex and Geoflex Pro should not be active at the same time. We've " 310 "automatically deactivated Geoflex." 311 msgstr "" 312 313 #: version-check.php:52 314 msgid "" 315 "Geoflex and Geoflex Pro should not be active at the same time. We've " 316 "automatically deactivated Geoflex Pro." 317 msgstr "" -
geoflex/trunk/readme.txt
r3097910 r3117065 3 3 Tags: seo, wordpress seo, yoast seo 4 4 Requires at least: 6.0 5 Tested up to: 6. 5.25 Tested up to: 6.6 6 6 Requires PHP: 7.4 7 Stable tag: 1. 57 Stable tag: 1.6 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 65 65 == Changelog == 66 66 67 = 1.6 = 68 Added version (free or pro) check 69 67 70 = 1.5 = 68 71 ACF extension bugfix
Note: See TracChangeset
for help on using the changeset viewer.