| @@ -180,10 +180,10 @@ | ||
| 180 | 180 | $this->fields_list_tabs['templates'] [] = array( |
| 181 | 181 | 'field' => 'wdk_multilingual_float_language_picker', |
| 182 | 182 | 'field_label' => __('Float Language Picker', 'wpdirectorykit'), |
| 183 | 183 | 'field_type' => 'CHECKBOX', |
| 184 | - 'hint' => __('Multilingual float language picker required WDK Multilingual addon', 'wpdirectorykit'), | |
| 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>'), | |
| 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>'), | |
| 186 | 186 | 'rules' => '', |
| 187 | 187 | ); |
| 188 | 188 | |
| 189 | 189 | /* Fields */ |
| @@ -194,9 +194,10 @@ | ||
| 194 | 194 | array( |
| 195 | 195 | 'field' => 'wdk_seo_listing_title', |
| 196 | 196 | 'field_label' => __('SEO Title', 'wpdirectorykit'), |
| 197 | 197 | 'field_type' => 'SEO_INPUTBOX', |
| 198 | - '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}'), | |
| 199 | 200 | 'rules' => '', |
| 200 | 201 | ), |
| 201 | 202 | |
| 202 | 203 | array( |
| @@ -369,9 +370,14 @@ | ||
| 369 | 370 | $this->fields_list_tabs['apis'] = array( |
| 370 | 371 | array( |
| 371 | 372 | 'field' => 'wdk_recaptcha_site_key', |
| 372 | 373 | 'field_label' => __('Recaptcha site key', 'wpdirectorykit'), |
| 373 | - '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 | + ), | |
| 374 | 380 | 'field_type' => 'INPUTBOX', |
| 375 | 381 | 'rules' => '', |
| 376 | 382 | ), |
| 377 | 383 | array( |
| @@ -383,9 +389,14 @@ | ||
| 383 | 389 | ), |
| 384 | 390 | array( |
| 385 | 391 | 'field' => 'wdk_recaptcha_site_key_v3', |
| 386 | 392 | 'field_label' => __('Recaptcha site key v3', 'wpdirectorykit'), |
| 387 | - '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 | + ), | |
| 388 | 399 | 'field_type' => 'INPUTBOX', |
| 389 | 400 | 'rules' => '', |
| 390 | 401 | ), |
| 391 | 402 | array( |
| @@ -397,9 +408,14 @@ | ||
| 397 | 408 | ), |
| 398 | 409 | array( |
| 399 | 410 | 'field' => 'wdk_geo_google_api_key', |
| 400 | 411 | 'field_label' => __('Google API Key', 'wpdirectorykit'), |
| 401 | - '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 | + ), | |
| 402 | 418 | 'field_type' => 'INPUTBOX', |
| 403 | 419 | 'rules' => '', |
| 404 | 420 | ), |
| 405 | 421 | array( |
| @@ -534,54 +550,55 @@ | ||
| 534 | 550 | /* Autosuggestion */ |
| 535 | 551 | $this->fields_list_tabs['autosuggestion'] = array( |
| 536 | 552 | array( |
| 537 | 553 | 'field' => 'wdk_autosuggestion_google_api_key', |
| 538 | - 'field_label' => __('Google Api Key', 'wdk-autosuggestion'), | |
| 554 | + 'field_label' => __('Google Api Key', 'wpdirectorykit'), | |
| 539 | 555 | 'field_type' => 'INPUTBOX', |
| 540 | 556 | 'rules' => '', |
| 541 | 557 | ), |
| 542 | 558 | array( |
| 543 | 559 | 'field' => 'wdk_autosuggestion_google_cities', |
| 544 | - 'field_label' => __('Autosuggestion Google Cities', 'wdk-autosuggestion'), | |
| 560 | + 'field_label' => __('Autosuggestion Google Cities', 'wpdirectorykit'), | |
| 545 | 561 | 'field_type' => 'TEXTAREA', |
| 546 | 562 | 'rules' => '', |
| 547 | - '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'), | |
| 548 | 564 | ), |
| 549 | 565 | array( |
| 550 | 566 | 'field' => 'wdk_autosuggestion_google_countries', |
| 551 | - 'field_label' => __('Autosuggestion Google Countries', 'wdk-autosuggestion'), | |
| 567 | + 'field_label' => __('Autosuggestion Google Countries', 'wpdirectorykit'), | |
| 552 | 568 | 'field_type' => 'TEXTAREA', |
| 553 | 569 | 'rules' => '', |
| 554 | - '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'), | |
| 555 | 571 | ), |
| 556 | 572 | |
| 557 | 573 | array( |
| 558 | 574 | 'field' => 'wdk_autosuggestion_rapidapi_api_key', |
| 559 | - 'field_label' => __('Rapidapi', 'wdk-autosuggestion'), | |
| 575 | + 'field_label' => __('Rapidapi', 'wpdirectorykit'), | |
| 560 | 576 | 'field_type' => 'INPUTBOX', |
| 561 | 577 | 'rules' => '', |
| 562 | - '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>'), | |
| 563 | 580 | ), |
| 564 | 581 | array( |
| 565 | 582 | 'field' => 'wdk_autosuggestion_rapidapi_cities', |
| 566 | - 'field_label' => __('Autosuggestion Rapid Api Cities', 'wdk-autosuggestion'), | |
| 583 | + 'field_label' => __('Autosuggestion Rapid Api Cities', 'wpdirectorykit'), | |
| 567 | 584 | 'field_type' => 'TEXTAREA', |
| 568 | 585 | 'rules' => '', |
| 569 | - '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'), | |
| 570 | 587 | ), |
| 571 | 588 | array( |
| 572 | 589 | 'field' => 'wdk_autosuggestion_rapidapi_countries', |
| 573 | - 'field_label' => __('Autosuggestion Rapid Api Countries', 'wdk-autosuggestion'), | |
| 590 | + 'field_label' => __('Autosuggestion Rapid Api Countries', 'wpdirectorykit'), | |
| 574 | 591 | 'field_type' => 'TEXTAREA', |
| 575 | 592 | 'rules' => '', |
| 576 | - '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'), | |
| 577 | 594 | ), |
| 578 | 595 | array( |
| 579 | 596 | 'field' => 'wdk_autosuggestion_countriesapi_countries', |
| 580 | - 'field_label' => __('Autosuggestion REST Countries API Countries', 'wdk-autosuggestion'), | |
| 597 | + 'field_label' => __('Autosuggestion REST Countries API Countries', 'wpdirectorykit'), | |
| 581 | 598 | 'field_type' => 'TEXTAREA', |
| 582 | 599 | 'rules' => '', |
| 583 | - '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'), | |
| 584 | 601 | ), |
| 585 | 602 | ); |
| 586 | 603 | |
| 587 | 604 | foreach ($this->fields_list_tabs as $tab_fields) { |