| @@ -166,8 +166,16 @@ | ||
| 166 | 166 | 'hint' => __('Disable the custom number format and use the default WordPress number formatting.', 'wpdirectorykit'), |
| 167 | 167 | 'field_type' => 'CHECKBOX', |
| 168 | 168 | 'rules' => '', |
| 169 | 169 | ), |
| 170 | + array( | |
| 171 | + 'field' => 'wdk_disable_outline_on_focus', | |
| 172 | + 'field_label' => __('Disable outline on focus', 'wpdirectorykit'), | |
| 173 | + 'hint' => __('Removes the outline style from form elements when they are focused.', 'wpdirectorykit'), | |
| 174 | + 'field_type' => 'CHECKBOX', | |
| 175 | + 'rules' => '', | |
| 176 | + ), | |
| 177 | + | |
| 170 | 178 | ); |
| 171 | 179 | |
| 172 | 180 | $this->fields_list_tabs['templates'] [] = array( |
| 173 | 181 | 'field' => 'wdk_multilingual_float_language_picker', |
| @@ -172,10 +180,10 @@ | ||
| 172 | 180 | $this->fields_list_tabs['templates'] [] = array( |
| 173 | 181 | 'field' => 'wdk_multilingual_float_language_picker', |
| 174 | 182 | 'field_label' => __('Float Language Picker', 'wpdirectorykit'), |
| 175 | 183 | 'field_type' => 'CHECKBOX', |
| 176 | - 'hint' => __('Multilingual float language picker required WDK Multilingual addon', 'wpdirectorykit'), | |
| 177 | - 'hint' => wdk_sprintf(__('Multilingual float language picker required %1$s WDK Multilingual addon%2$s','wpdirectorykit'),'<a target="_blank" href="https://wpdirectorykit.com/plugins.html">','</a>'), | |
| 184 | + /* translators: 1: Tag with link open, 2: close link tag. */ | |
| 185 | + 'hint' => wdk_sprintf(__('Multilingual float language picker required %1$s WDK Multilingual addon%2$s','wpdirectorykit'),'<a target="_blank" href="https://wpdirectorykit.com/plugins.html">','</a>'), | |
| 178 | 186 | 'rules' => '', |
| 179 | 187 | ); |
| 180 | 188 | |
| 181 | 189 | /* Fields */ |
| @@ -186,9 +194,10 @@ | ||
| 186 | 194 | array( |
| 187 | 195 | 'field' => 'wdk_seo_listing_title', |
| 188 | 196 | 'field_label' => __('SEO Title', 'wpdirectorykit'), |
| 189 | 197 | 'field_type' => 'SEO_INPUTBOX', |
| 190 | - 'hint' => wdk_sprintf(__('Example: %1$s', 'wpdirectorykit'), '{field_title} - {field_location} - {field_33}'), | |
| 198 | + /* translators: 1: Example field title placeholders. */ | |
| 199 | + 'hint' => wdk_sprintf(__('Example: %1$s', 'wpdirectorykit'), '{field_title} - {field_location} - {field_33}'), | |
| 191 | 200 | 'rules' => '', |
| 192 | 201 | ), |
| 193 | 202 | |
| 194 | 203 | array( |
| @@ -361,9 +370,14 @@ | ||
| 361 | 370 | $this->fields_list_tabs['apis'] = array( |
| 362 | 371 | array( |
| 363 | 372 | 'field' => 'wdk_recaptcha_site_key', |
| 364 | 373 | 'field_label' => __('Recaptcha site key', 'wpdirectorykit'), |
| 365 | - 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V2 recaptcha key)', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://www.google.com/recaptcha/admin">','</a>'), | |
| 374 | + 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V2 recaptcha key)', 'wpdirectorykit') . '. ' . wdk_sprintf( | |
| 375 | + /* translators: 1: Tag with link open, 2: close link tag. */ | |
| 376 | + __('Get key %1$s here %2$s', 'wpdirectorykit'), | |
| 377 | + '<a target="_blank" href="https://www.google.com/recaptcha/admin">', | |
| 378 | + '</a>' | |
| 379 | + ), | |
| 366 | 380 | 'field_type' => 'INPUTBOX', |
| 367 | 381 | 'rules' => '', |
| 368 | 382 | ), |
| 369 | 383 | array( |
| @@ -375,9 +389,14 @@ | ||
| 375 | 389 | ), |
| 376 | 390 | array( |
| 377 | 391 | 'field' => 'wdk_recaptcha_site_key_v3', |
| 378 | 392 | 'field_label' => __('Recaptcha site key v3', 'wpdirectorykit'), |
| 379 | - 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V3 recaptcha key)', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://www.google.com/recaptcha/admin">','</a>'), | |
| 393 | + 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V3 recaptcha key)', 'wpdirectorykit') . '. ' . wdk_sprintf( | |
| 394 | + /* translators: 1: Tag with link open, 2: close link tag. */ | |
| 395 | + __('Get key %1$s here %2$s', 'wpdirectorykit'), | |
| 396 | + '<a target="_blank" href="https://www.google.com/recaptcha/admin">', | |
| 397 | + '</a>' | |
| 398 | + ), | |
| 380 | 399 | 'field_type' => 'INPUTBOX', |
| 381 | 400 | 'rules' => '', |
| 382 | 401 | ), |
| 383 | 402 | array( |
| @@ -389,9 +408,14 @@ | ||
| 389 | 408 | ), |
| 390 | 409 | array( |
| 391 | 410 | 'field' => 'wdk_geo_google_api_key', |
| 392 | 411 | 'field_label' => __('Google API Key', 'wpdirectorykit'), |
| 393 | - 'hint' => __('Google API Key, for address to gps coordinates conversion', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://developers.google.com/maps/documentation/javascript/get-api-key">','</a>'), | |
| 412 | + 'hint' => __('Google API Key, for address to gps coordinates conversion', 'wpdirectorykit') . '. ' . wdk_sprintf( | |
| 413 | + /* translators: 1: Tag with link open, 2: close link tag. */ | |
| 414 | + __('Get key %1$s here %2$s', 'wpdirectorykit'), | |
| 415 | + '<a target="_blank" href="https://developers.google.com/maps/documentation/javascript/get-api-key">', | |
| 416 | + '</a>' | |
| 417 | + ), | |
| 394 | 418 | 'field_type' => 'INPUTBOX', |
| 395 | 419 | 'rules' => '', |
| 396 | 420 | ), |
| 397 | 421 | array( |
| @@ -526,54 +550,55 @@ | ||
| 526 | 550 | /* Autosuggestion */ |
| 527 | 551 | $this->fields_list_tabs['autosuggestion'] = array( |
| 528 | 552 | array( |
| 529 | 553 | 'field' => 'wdk_autosuggestion_google_api_key', |
| 530 | - 'field_label' => __('Google Api Key', 'wdk-autosuggestion'), | |
| 554 | + 'field_label' => __('Google Api Key', 'wpdirectorykit'), | |
| 531 | 555 | 'field_type' => 'INPUTBOX', |
| 532 | 556 | 'rules' => '', |
| 533 | 557 | ), |
| 534 | 558 | array( |
| 535 | 559 | 'field' => 'wdk_autosuggestion_google_cities', |
| 536 | - 'field_label' => __('Autosuggestion Google Cities', 'wdk-autosuggestion'), | |
| 560 | + 'field_label' => __('Autosuggestion Google Cities', 'wpdirectorykit'), | |
| 537 | 561 | 'field_type' => 'TEXTAREA', |
| 538 | 562 | 'rules' => '', |
| 539 | - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wdk-autosuggestion'), | |
| 563 | + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wpdirectorykit'), | |
| 540 | 564 | ), |
| 541 | 565 | array( |
| 542 | 566 | 'field' => 'wdk_autosuggestion_google_countries', |
| 543 | - 'field_label' => __('Autosuggestion Google Countries', 'wdk-autosuggestion'), | |
| 567 | + 'field_label' => __('Autosuggestion Google Countries', 'wpdirectorykit'), | |
| 544 | 568 | 'field_type' => 'TEXTAREA', |
| 545 | 569 | 'rules' => '', |
| 546 | - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wdk-autosuggestion'), | |
| 570 | + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wpdirectorykit'), | |
| 547 | 571 | ), |
| 548 | 572 | |
| 549 | 573 | array( |
| 550 | 574 | 'field' => 'wdk_autosuggestion_rapidapi_api_key', |
| 551 | - 'field_label' => __('Rapidapi', 'wdk-autosuggestion'), | |
| 575 | + 'field_label' => __('Rapidapi', 'wpdirectorykit'), | |
| 552 | 576 | 'field_type' => 'INPUTBOX', |
| 553 | 577 | 'rules' => '', |
| 554 | - 'hint' => wdk_sprintf(__('Please add Rapid Api Key, Get key %1$s here %2$s, then activate GeoDB Cities API','wpdirectorykit'),'<a target="_blank" href="https://rapidapi.com/products/pricing/">','</a>'), | |
| 578 | + /* translators: 1: Tag with link open, 2: close link tag. */ | |
| 579 | + 'hint' => wdk_sprintf(__('Please add Rapid Api Key, Get key %1$s here %2$s, then activate GeoDB Cities API','wpdirectorykit'),'<a target="_blank" href="https://rapidapi.com/products/pricing/">','</a>'), | |
| 555 | 580 | ), |
| 556 | 581 | array( |
| 557 | 582 | 'field' => 'wdk_autosuggestion_rapidapi_cities', |
| 558 | - 'field_label' => __('Autosuggestion Rapid Api Cities', 'wdk-autosuggestion'), | |
| 583 | + 'field_label' => __('Autosuggestion Rapid Api Cities', 'wpdirectorykit'), | |
| 559 | 584 | 'field_type' => 'TEXTAREA', |
| 560 | 585 | 'rules' => '', |
| 561 | - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wdk-autosuggestion'), | |
| 586 | + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wpdirectorykit'), | |
| 562 | 587 | ), |
| 563 | 588 | array( |
| 564 | 589 | 'field' => 'wdk_autosuggestion_rapidapi_countries', |
| 565 | - 'field_label' => __('Autosuggestion Rapid Api Countries', 'wdk-autosuggestion'), | |
| 590 | + 'field_label' => __('Autosuggestion Rapid Api Countries', 'wpdirectorykit'), | |
| 566 | 591 | 'field_type' => 'TEXTAREA', |
| 567 | 592 | 'rules' => '', |
| 568 | - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wdk-autosuggestion'), | |
| 593 | + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wpdirectorykit'), | |
| 569 | 594 | ), |
| 570 | 595 | array( |
| 571 | 596 | 'field' => 'wdk_autosuggestion_countriesapi_countries', |
| 572 | - 'field_label' => __('Autosuggestion REST Countries API Countries', 'wdk-autosuggestion'), | |
| 597 | + 'field_label' => __('Autosuggestion REST Countries API Countries', 'wpdirectorykit'), | |
| 573 | 598 | 'field_type' => 'TEXTAREA', |
| 574 | 599 | 'rules' => '', |
| 575 | - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3', 'wdk-autosuggestion'), | |
| 600 | + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3', 'wpdirectorykit'), | |
| 576 | 601 | ), |
| 577 | 602 | ); |
| 578 | 603 | |
| 579 | 604 | foreach ($this->fields_list_tabs as $tab_fields) { |