Changeset 2979666
- Timestamp:
- 10/16/2023 05:02:15 PM (2 years ago)
- Location:
- belingogeo/trunk
- Files:
-
- 4 edited
-
includes/admin/settings.php (modified) (3 diffs)
-
languages/belingogeo-ru_RU.mo (modified) (previous)
-
languages/belingogeo-ru_RU.po (modified) (29 diffs)
-
languages/belingogeo.pot (modified) (28 diffs)
Legend:
- Unmodified
- Added
- Removed
-
belingogeo/trunk/includes/admin/settings.php
r2979048 r2979666 138 138 register_setting( 'belingo_geo_excludes', 'belingo_geo_basic_woo_auto_detect_city_checkout'); 139 139 register_setting( 'belingo_geo_excludes', 'belingo_geo_basic_enable_search_in_popup'); 140 register_setting( 'belingo_geo_excludes', 'belingo_geo_basic_add_city_to_woo_page_title'); 140 141 add_settings_section( 'belingo_geo_basic', __('Basic', 'belingogeo'), '', $settings_page ); 141 142 add_settings_section( 'belingo_geo_excludes', __('Exceptions', 'belingogeo'), '', $settings_page ); … … 446 447 ); 447 448 449 add_settings_field( 450 'belingo_geo_basic_add_city_to_woo_page_title', 451 __('Add a city to the header of the WooCommerce category', 'belingogeo'), 452 'belingo_geo_display_settings', 453 $settings_page, 454 'belingo_geo_basic', 455 array( 456 'type' => 'text', 457 'option_name' => 'belingo_geo_basic_add_city_to_woo_page_title', 458 'descr' => __('You can specify any shortcode, it will be added to the woocommerce category header.', 'belingogeo'), 459 'post_type' => false, 460 'disabled' => true, 461 'is_pro' => true 462 ) 463 ); 464 448 465 } 449 466 add_action( 'admin_init', 'belingo_geo_settings' ); … … 493 510 494 511 case 'text': 495 echo "<input type='text' id='".esc_attr($option_name)."' name='" . esc_attr($option_name) . "' value='".esc_attr(get_option($option_name))."' style='min-width: 300px;'>"; 496 echo "<p class='description'>".esc_html($descr)."</p>"; 512 echo "<input type='text' id='".esc_attr($option_name)."' name='" . esc_attr($option_name) . "' value='".esc_attr(get_option($option_name))."' style='min-width: 300px;'"; 513 if(isset($disabled) && $disabled) { 514 echo ' disabled="disabled"'; 515 } 516 echo ">"; 517 echo "<p class='description'>".esc_html($descr); 518 if(isset($is_pro) && $is_pro) { 519 echo " <span style=\"color:red;\">"; 520 _e('Only available for Pro version', 'belingogeo'); 521 echo "</span>"; 522 } 523 echo "</p>"; 497 524 break; 498 525 -
belingogeo/trunk/languages/belingogeo-ru_RU.po
r2979048 r2979666 3 3 msgid "" 4 4 msgstr "" 5 "PO-Revision-Date: 2023-10-1 4 15:41+0000\n"5 "PO-Revision-Date: 2023-10-16 16:47+0000\n" 6 6 "MIME-Version: 1.0\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" … … 54 54 msgstr "О плагине" 55 55 56 #: includes/admin/settings.php:451 57 msgid "Add a city to the header of the WooCommerce category" 58 msgstr "Добавить город в заголовок категории WooCommerce" 59 56 60 #: includes/admin/functions.php:12 57 61 msgid "Add city" 58 62 msgstr "Добавить город" 59 63 60 #: includes/admin/settings.php:34 864 #: includes/admin/settings.php:349 61 65 msgid "Add city to breadcrumbs" 62 66 msgstr "Добавить город в хлебные крошки" … … 97 101 "рекомендуем разделить файл на несколько частей." 98 102 99 #: includes/admin/settings.php:41 8 includes/admin/settings.php:425103 #: includes/admin/settings.php:419 includes/admin/settings.php:426 100 104 msgid "Automatic city detection on the WooCommerce checkout page" 101 105 msgstr "" 102 106 "Автоматическое определение города на странице оформления заказа WooCommerce" 103 107 104 #: includes/admin/settings.php:14 0108 #: includes/admin/settings.php:141 105 109 msgid "Basic" 106 110 msgstr "Общие" … … 122 126 msgstr "Настройки плагина BelingoGeo" 123 127 124 #: includes/admin/settings.php:3 69128 #: includes/admin/settings.php:370 125 129 msgid "" 126 130 "By default, the plugin replaces links using internal functions that " … … 132 136 "устранения можно попробовать использовать эту опцию" 133 137 134 #: includes/admin/settings.php:24 5138 #: includes/admin/settings.php:246 135 139 msgid "Categories" 136 140 msgstr "Рубрики" … … 153 157 msgstr "Город" 154 158 155 #: includes/admin/settings.php:15 5159 #: includes/admin/settings.php:156 156 160 msgid "" 157 161 "City in subdirectory (the link will look like this: example.com/samara/)" … … 159 163 "Город в поддиректории (ссылка будет выглядеть так: example.com/samara/)" 160 164 161 #: includes/admin/settings.php:16 0165 #: includes/admin/settings.php:161 162 166 msgid "City in subdomain (the link will look like this: samara.example.com)" 163 167 msgstr "Город в субдомене (ссылка будет выглядеть так: samara.example.com)" 164 168 165 #: templates/ select_city.php:37 templates/question_city.php:27169 #: templates/question_city.php:27 templates/select_city.php:37 166 170 msgid "Continue without the city" 167 171 msgstr "Продолжить без города" … … 171 175 msgstr "Дательный падеж" 172 176 173 #: includes/admin/settings.php:17 3177 #: includes/admin/settings.php:174 174 178 msgid "Default city" 175 179 msgstr "Город по умолчанию" 176 180 177 #: includes/admin/settings.php:33 4181 #: includes/admin/settings.php:335 178 182 msgid "Definition of a city outside the list" 179 183 msgstr "Определение города вне списка" … … 187 191 msgstr "Не нашли Ваш город?" 188 192 189 #: includes/admin/settings.php:39 0193 #: includes/admin/settings.php:391 190 194 msgid "Disable forced slug generation for city" 191 195 msgstr "Отключить принудительную генерацию ярлыка для города" 192 196 193 #: includes/admin/settings.php:40 4197 #: includes/admin/settings.php:405 194 198 msgid "Disable forced slug generation for region" 195 199 msgstr "Отключить принудительную генерацию ярлыка для региона" 196 200 197 #: includes/admin/settings.php:32 0201 #: includes/admin/settings.php:321 198 202 msgid "Disable virtual URLs" 199 203 msgstr "Отключить виртуальные URLs" … … 207 211 msgstr "Изменить регион" 208 212 209 #: includes/admin/settings.php:43 4213 #: includes/admin/settings.php:435 210 214 msgid "Enable city search by pop-up window" 211 215 msgstr "Включить поиск города во всплывающем окне" 212 216 213 #: includes/admin/settings.php:14 1217 #: includes/admin/settings.php:142 214 218 msgid "Exceptions" 215 219 msgstr "Исключения" 216 220 217 #: includes/admin/settings.php:21 6221 #: includes/admin/settings.php:217 218 222 msgid "Exclude anything that is not a registered entity" 219 223 msgstr "Исключить все, что не является зарегистрированной сущностью" … … 224 228 msgstr "Экспорт" 225 229 226 #: includes/admin/settings.php:36 2230 #: includes/admin/settings.php:363 227 231 msgid "Filter links by url" 228 232 msgstr "Фильтровать ссылки по URL" … … 232 236 msgstr "Определение..." 233 237 234 #: includes/admin/settings.php:37 6238 #: includes/admin/settings.php:377 235 239 msgid "Forced confirmation of the city" 236 240 msgstr "Принудительное подтверждение города" 237 241 238 #: includes/admin/settings.php:38 3242 #: includes/admin/settings.php:384 239 243 msgid "" 240 244 "Forced confirmation of the city without a pop-up window with the question: " … … 269 273 msgstr "https://belingo.ru" 270 274 271 #: includes/admin/settings.php:19 5275 #: includes/admin/settings.php:196 272 276 msgid "" 273 277 "If no city is selected, and no default city is specified, you can specify " … … 277 281 " который будет отображаться. По умолчанию: «Не найдено»." 278 282 279 #: includes/admin/settings.php:18 8283 #: includes/admin/settings.php:189 280 284 msgid "If the city is not found" 281 285 msgstr "Если город не найден" 282 286 283 #: includes/admin/settings.php:34 1287 #: includes/admin/settings.php:342 284 288 msgid "" 285 289 "If this option is enabled, the city will be determined anyway, even if it is " … … 302 306 msgstr "Установка и настройка плагина belingoGeo" 303 307 304 #: includes/admin/settings.php:14 5308 #: includes/admin/settings.php:146 305 309 msgid "Link type" 306 310 msgstr "Тип ссылки" … … 322 326 msgstr "Не найдено в корзине" 323 327 324 #: includes/admin/settings.php:20 2328 #: includes/admin/settings.php:203 325 329 msgid "Number of urls in the sitemap" 326 330 msgstr "Количество URL-адресов в карте сайта" 327 331 328 332 #: includes/admin/settings.php:43 includes/admin/settings.php:56 329 #: includes/admin/settings.php:516 includes/admin/settings.php:538 333 #: includes/admin/settings.php:520 includes/admin/settings.php:543 334 #: includes/admin/settings.php:565 330 335 msgid "Only available for Pro version" 331 336 msgstr "Доступно только для версии Pro" 332 337 333 #: includes/admin/settings.php:35 5338 #: includes/admin/settings.php:356 334 339 msgid "Option to add the city to breadcrumbs on the website." 335 340 msgstr "Возможность добавить город в хлебные крошки на сайте." … … 339 344 msgstr "Другие наши плагины" 340 345 341 #: includes/admin/settings.php:23 0346 #: includes/admin/settings.php:231 342 347 msgid "Pages" 343 348 msgstr "Страницы" 344 349 345 #: includes/admin/settings.php:23 7350 #: includes/admin/settings.php:238 346 351 msgid "Pages selected in this list will be excluded from the plugin" 347 352 msgstr "" … … 357 362 msgstr "Родительский регион:" 358 363 359 #: includes/admin/settings.php:29 0364 #: includes/admin/settings.php:291 360 365 msgid "Post types" 361 366 msgstr "Типы записей" 362 367 363 #: includes/admin/settings.php:27 5368 #: includes/admin/settings.php:276 364 369 msgid "Posts" 365 370 msgstr "Записи" 366 371 367 #: includes/admin/settings.php:28 2372 #: includes/admin/settings.php:283 368 373 msgid "Posts selected in this list will be excluded from the plugin" 369 374 msgstr "" … … 408 413 msgstr "Поддержка" 409 414 410 #: includes/admin/settings.php:26 0415 #: includes/admin/settings.php:261 411 416 msgid "Tags" 412 417 msgstr "Метки" 413 418 414 #: includes/admin/settings.php:30 5419 #: includes/admin/settings.php:306 415 420 msgid "Taxonomies" 416 421 msgstr "Таксономии" … … 421 426 msgstr "Телефон" 422 427 423 #: includes/admin/settings.php:2 09428 #: includes/admin/settings.php:210 424 429 msgid "The number of URLs per page in the sitemap" 425 430 msgstr "Количество URL-адресов на странице, в карте сайта" 426 431 427 #: includes/admin/settings.php:44 1432 #: includes/admin/settings.php:442 428 433 msgid "The option displays a city search in a pop-up list of cities" 429 434 msgstr "Опция отображает поиск города во всплывающем списке городов" … … 449 454 "для поисковых систем." 450 455 451 #: includes/admin/settings.php:39 7456 #: includes/admin/settings.php:398 452 457 msgid "" 453 458 "The plugin automatically generates a slug for the city, this option disables " … … 457 462 "автоматическую генерацию и вы можете вручную указать ярлык для города." 458 463 459 #: includes/admin/settings.php:41 1464 #: includes/admin/settings.php:412 460 465 msgid "" 461 466 "The plugin automatically generates a slug for the region, this option " … … 466 471 "автоматическую генерацию и вы можете вручную указать ярлык для региона." 467 472 468 #: includes/admin/settings.php:25 2473 #: includes/admin/settings.php:253 469 474 msgid "" 470 475 "The selected headings will be excluded, urls with the city will not be " … … 476 481 "исключены" 477 482 478 #: includes/admin/settings.php:29 7483 #: includes/admin/settings.php:298 479 484 msgid "" 480 485 "The selected post types will be excluded, URLs with the city will not be " … … 485 490 "адреса с городом, а все записи указанного типа будут автоматически исключены." 486 491 487 #: includes/admin/settings.php:26 7492 #: includes/admin/settings.php:268 488 493 msgid "" 489 494 "The selected tags will be excluded, urls with the city will not be generated " … … 493 498 "с городом" 494 499 495 #: includes/admin/settings.php:31 2500 #: includes/admin/settings.php:313 496 501 msgid "" 497 502 "The selected taxonomies will be excluded, urls with the city will not be " … … 503 508 "исключены" 504 509 505 #: includes/admin/settings.php:18 0510 #: includes/admin/settings.php:181 506 511 msgid "" 507 512 "The string is displayed in the select_city shortcode if there is no selected " … … 509 514 msgstr "Строка будет отображаться в шорткоде select_city, если город не выбран" 510 515 511 #: includes/admin/settings.php:22 3516 #: includes/admin/settings.php:224 512 517 msgid "" 513 518 "This option excludes all pages not related to WP_Post, WP_Term, WP_Post_Type " … … 541 546 msgstr "Да" 542 547 543 #: includes/admin/settings.php:32 7548 #: includes/admin/settings.php:328 544 549 msgid "You can disable virtual URLs, the plugin will not generate them" 545 550 msgstr "Можно отключить виртуальные URLs, плагин не будет их генерировать" 551 552 #: includes/admin/settings.php:458 553 msgid "" 554 "You can specify any shortcode, it will be added to the woocommerce category " 555 "header." 556 msgstr "" 557 "Вы можете указать любой шорткод, он будет добавлен в заголовок категории " 558 "woocommerce." 546 559 547 560 #: templates/question_city.php:17 -
belingogeo/trunk/languages/belingogeo.pot
r2979048 r2979666 4 4 "Project-Id-Version: Belingo.GeoCiy\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2023-10-1 4 15:39+0000\n"6 "POT-Creation-Date: 2023-10-16 16:46+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 49 49 msgstr "" 50 50 51 #: includes/admin/settings.php:451 52 msgid "Add a city to the header of the WooCommerce category" 53 msgstr "" 54 51 55 #: includes/admin/functions.php:12 52 56 msgid "Add city" 53 57 msgstr "" 54 58 55 #: includes/admin/settings.php:34 859 #: includes/admin/settings.php:349 56 60 msgid "Add city to breadcrumbs" 57 61 msgstr "" … … 89 93 msgstr "" 90 94 91 #: includes/admin/settings.php:41 8 includes/admin/settings.php:42595 #: includes/admin/settings.php:419 includes/admin/settings.php:426 92 96 msgid "Automatic city detection on the WooCommerce checkout page" 93 97 msgstr "" 94 98 95 #: includes/admin/settings.php:14 099 #: includes/admin/settings.php:141 96 100 msgid "Basic" 97 101 msgstr "" … … 113 117 msgstr "" 114 118 115 #: includes/admin/settings.php:3 69119 #: includes/admin/settings.php:370 116 120 msgid "" 117 121 "By default, the plugin replaces links using internal functions that " … … 120 124 msgstr "" 121 125 122 #: includes/admin/settings.php:24 5126 #: includes/admin/settings.php:246 123 127 msgid "Categories" 124 128 msgstr "" … … 141 145 msgstr "" 142 146 143 #: includes/admin/settings.php:15 5147 #: includes/admin/settings.php:156 144 148 msgid "" 145 149 "City in subdirectory (the link will look like this: example.com/samara/)" 146 150 msgstr "" 147 151 148 #: includes/admin/settings.php:16 0152 #: includes/admin/settings.php:161 149 153 msgid "City in subdomain (the link will look like this: samara.example.com)" 150 154 msgstr "" 151 155 152 #: templates/ select_city.php:37 templates/question_city.php:27156 #: templates/question_city.php:27 templates/select_city.php:37 153 157 msgid "Continue without the city" 154 158 msgstr "" … … 158 162 msgstr "" 159 163 160 #: includes/admin/settings.php:17 3164 #: includes/admin/settings.php:174 161 165 msgid "Default city" 162 166 msgstr "" 163 167 164 #: includes/admin/settings.php:33 4168 #: includes/admin/settings.php:335 165 169 msgid "Definition of a city outside the list" 166 170 msgstr "" … … 174 178 msgstr "" 175 179 176 #: includes/admin/settings.php:39 0180 #: includes/admin/settings.php:391 177 181 msgid "Disable forced slug generation for city" 178 182 msgstr "" 179 183 180 #: includes/admin/settings.php:40 4184 #: includes/admin/settings.php:405 181 185 msgid "Disable forced slug generation for region" 182 186 msgstr "" 183 187 184 #: includes/admin/settings.php:32 0188 #: includes/admin/settings.php:321 185 189 msgid "Disable virtual URLs" 186 190 msgstr "" … … 194 198 msgstr "" 195 199 196 #: includes/admin/settings.php:43 4200 #: includes/admin/settings.php:435 197 201 msgid "Enable city search by pop-up window" 198 202 msgstr "" 199 203 200 #: includes/admin/settings.php:14 1204 #: includes/admin/settings.php:142 201 205 msgid "Exceptions" 202 206 msgstr "" 203 207 204 #: includes/admin/settings.php:21 6208 #: includes/admin/settings.php:217 205 209 msgid "Exclude anything that is not a registered entity" 206 210 msgstr "" … … 211 215 msgstr "" 212 216 213 #: includes/admin/settings.php:36 2217 #: includes/admin/settings.php:363 214 218 msgid "Filter links by url" 215 219 msgstr "" … … 219 223 msgstr "" 220 224 221 #: includes/admin/settings.php:37 6225 #: includes/admin/settings.php:377 222 226 msgid "Forced confirmation of the city" 223 227 msgstr "" 224 228 225 #: includes/admin/settings.php:38 3229 #: includes/admin/settings.php:384 226 230 msgid "" 227 231 "Forced confirmation of the city without a pop-up window with the question: " … … 254 258 msgstr "" 255 259 256 #: includes/admin/settings.php:19 5260 #: includes/admin/settings.php:196 257 261 msgid "" 258 262 "If no city is selected, and no default city is specified, you can specify " … … 260 264 msgstr "" 261 265 262 #: includes/admin/settings.php:18 8266 #: includes/admin/settings.php:189 263 267 msgid "If the city is not found" 264 268 msgstr "" 265 269 266 #: includes/admin/settings.php:34 1270 #: includes/admin/settings.php:342 267 271 msgid "" 268 272 "If this option is enabled, the city will be determined anyway, even if it is " … … 283 287 msgstr "" 284 288 285 #: includes/admin/settings.php:14 5289 #: includes/admin/settings.php:146 286 290 msgid "Link type" 287 291 msgstr "" … … 303 307 msgstr "" 304 308 305 #: includes/admin/settings.php:20 2309 #: includes/admin/settings.php:203 306 310 msgid "Number of urls in the sitemap" 307 311 msgstr "" 308 312 309 313 #: includes/admin/settings.php:43 includes/admin/settings.php:56 310 #: includes/admin/settings.php:516 includes/admin/settings.php:538 314 #: includes/admin/settings.php:520 includes/admin/settings.php:543 315 #: includes/admin/settings.php:565 311 316 msgid "Only available for Pro version" 312 317 msgstr "" 313 318 314 #: includes/admin/settings.php:35 5319 #: includes/admin/settings.php:356 315 320 msgid "Option to add the city to breadcrumbs on the website." 316 321 msgstr "" … … 320 325 msgstr "" 321 326 322 #: includes/admin/settings.php:23 0327 #: includes/admin/settings.php:231 323 328 msgid "Pages" 324 329 msgstr "" 325 330 326 #: includes/admin/settings.php:23 7331 #: includes/admin/settings.php:238 327 332 msgid "Pages selected in this list will be excluded from the plugin" 328 333 msgstr "" … … 336 341 msgstr "" 337 342 338 #: includes/admin/settings.php:29 0343 #: includes/admin/settings.php:291 339 344 msgid "Post types" 340 345 msgstr "" 341 346 342 #: includes/admin/settings.php:27 5347 #: includes/admin/settings.php:276 343 348 msgid "Posts" 344 349 msgstr "" 345 350 346 #: includes/admin/settings.php:28 2351 #: includes/admin/settings.php:283 347 352 msgid "Posts selected in this list will be excluded from the plugin" 348 353 msgstr "" … … 385 390 msgstr "" 386 391 387 #: includes/admin/settings.php:26 0392 #: includes/admin/settings.php:261 388 393 msgid "Tags" 389 394 msgstr "" 390 395 391 #: includes/admin/settings.php:30 5396 #: includes/admin/settings.php:306 392 397 msgid "Taxonomies" 393 398 msgstr "" … … 398 403 msgstr "" 399 404 400 #: includes/admin/settings.php:2 09405 #: includes/admin/settings.php:210 401 406 msgid "The number of URLs per page in the sitemap" 402 407 msgstr "" 403 408 404 #: includes/admin/settings.php:44 1409 #: includes/admin/settings.php:442 405 410 msgid "The option displays a city search in a pop-up list of cities" 406 411 msgstr "" … … 420 425 msgstr "" 421 426 422 #: includes/admin/settings.php:39 7427 #: includes/admin/settings.php:398 423 428 msgid "" 424 429 "The plugin automatically generates a slug for the city, this option disables " … … 426 431 msgstr "" 427 432 428 #: includes/admin/settings.php:41 1433 #: includes/admin/settings.php:412 429 434 msgid "" 430 435 "The plugin automatically generates a slug for the region, this option " … … 433 438 msgstr "" 434 439 435 #: includes/admin/settings.php:25 2440 #: includes/admin/settings.php:253 436 441 msgid "" 437 442 "The selected headings will be excluded, urls with the city will not be " … … 440 445 msgstr "" 441 446 442 #: includes/admin/settings.php:29 7447 #: includes/admin/settings.php:298 443 448 msgid "" 444 449 "The selected post types will be excluded, URLs with the city will not be " … … 447 452 msgstr "" 448 453 449 #: includes/admin/settings.php:26 7454 #: includes/admin/settings.php:268 450 455 msgid "" 451 456 "The selected tags will be excluded, urls with the city will not be generated " … … 453 458 msgstr "" 454 459 455 #: includes/admin/settings.php:31 2460 #: includes/admin/settings.php:313 456 461 msgid "" 457 462 "The selected taxonomies will be excluded, urls with the city will not be " … … 460 465 msgstr "" 461 466 462 #: includes/admin/settings.php:18 0467 #: includes/admin/settings.php:181 463 468 msgid "" 464 469 "The string is displayed in the select_city shortcode if there is no selected " … … 466 471 msgstr "" 467 472 468 #: includes/admin/settings.php:22 3473 #: includes/admin/settings.php:224 469 474 msgid "" 470 475 "This option excludes all pages not related to WP_Post, WP_Term, WP_Post_Type " … … 496 501 msgstr "" 497 502 498 #: includes/admin/settings.php:32 7503 #: includes/admin/settings.php:328 499 504 msgid "You can disable virtual URLs, the plugin will not generate them" 505 msgstr "" 506 507 #: includes/admin/settings.php:458 508 msgid "" 509 "You can specify any shortcode, it will be added to the woocommerce category " 510 "header." 500 511 msgstr "" 501 512
Note: See TracChangeset
for help on using the changeset viewer.