This commit is contained in:
ThemeLexus 2019-10-02 11:06:01 +07:00
commit beac06217e
4 changed files with 248 additions and 213 deletions

View File

@ -124,7 +124,6 @@ class Opalestate_Agency_Front {
* *
*/ */
private function update_data_agent_or_agency( $prefix ) { private function update_data_agent_or_agency( $prefix ) {
global $current_user; global $current_user;
$post_id = isset( $_POST['object_id'] ) && absint( $_POST['object_id'] ) ? $_POST['object_id'] : 0; $post_id = isset( $_POST['object_id'] ) && absint( $_POST['object_id'] ) ? $_POST['object_id'] : 0;
@ -154,6 +153,7 @@ class Opalestate_Agency_Front {
unset( $_POST[ $prefix . 'text' ] ); unset( $_POST[ $prefix . 'text' ] );
if ( $data['ID'] > 0 ) { if ( $data['ID'] > 0 ) {
$data['post_status'] = 'publish';
$post_id = wp_update_post( $data, true ); $post_id = wp_update_post( $data, true );
} else { } else {
$data['post_status'] = 'pending'; $data['post_status'] = 'pending';
@ -275,11 +275,8 @@ class Opalestate_Agency_Front {
} }
public function on_save_front_data() { public function on_save_front_data() {
if ( isset( $_POST[ 'nonce_CMB2php' . OPALESTATE_AGENCY_PREFIX . 'front' ] ) ) { if ( isset( $_POST[ 'nonce_CMB2php' . OPALESTATE_AGENCY_PREFIX . 'front' ] ) ) {
$post_id = isset( $_POST['object_id'] ) && $_POST['object_id'] ? absint( $_POST['object_id'] ) : 0; $post_id = isset( $_POST['object_id'] ) && $_POST['object_id'] ? absint( $_POST['object_id'] ) : 0;
$post = get_post( $post_id ); $post = get_post( $post_id );
$post_id = $this->update_data_agent_or_agency( OPALESTATE_AGENCY_PREFIX ); $post_id = $this->update_data_agent_or_agency( OPALESTATE_AGENCY_PREFIX );
@ -368,7 +365,7 @@ class Opalestate_Agency_Front {
$post = get_post( $post_id ); $post = get_post( $post_id );
if ( isset( $post->ID ) && ( $post->post_status != 'publish' || $post->ID == get_the_ID() ) ) { if ( isset( $post->ID ) && ( $post->post_status != 'publish' || $post->ID == get_the_ID() ) ) {
opalestate_add_notice( 'warning', esc_html__( 'You account is under reviewing! It take some time to process.', 'opalestate-pro' ) ); opalestate_add_notice( 'warning', esc_html__( 'You need to enter some required information to publish your account.', 'opalestate-pro' ) );
add_action( 'opalestate_profile_agency_form_before', 'opalestate_print_notices' ); add_action( 'opalestate_profile_agency_form_before', 'opalestate_print_notices' );
} }
@ -516,7 +513,6 @@ class Opalestate_Agency_Front {
'post_author' => $user_id, 'post_author' => $user_id,
], true ); ], true );
do_action( 'opalesate_insert_user_agency', $agency_id ); do_action( 'opalesate_insert_user_agency', $agency_id );
return $agency_id; return $agency_id;

View File

@ -102,7 +102,7 @@ class Opalestate_Agent_Front {
$post = get_post( $post_id ); $post = get_post( $post_id );
if ( isset( $post->ID ) && ( $post->post_status != 'publish' || $post->ID == get_the_ID() ) ) { if ( isset( $post->ID ) && ( $post->post_status != 'publish' || $post->ID == get_the_ID() ) ) {
opalestate_add_notice( 'warning', esc_html__( 'You account is under reviewing! It take some time to process.', 'opalestate-pro' ) ); opalestate_add_notice( 'warning', esc_html__( 'You need to enter some required information to publish your account.', 'opalestate-pro' ) );
add_action( 'opalestate_profile_agent_form_before', 'opalestate_print_notices' ); add_action( 'opalestate_profile_agent_form_before', 'opalestate_print_notices' );
} }
@ -191,9 +191,7 @@ class Opalestate_Agent_Front {
} }
public function on_save_front_data() { public function on_save_front_data() {
if ( isset( $_POST[ 'nonce_CMB2php' . OPALESTATE_AGENT_PREFIX . 'front' ] ) ) { if ( isset( $_POST[ 'nonce_CMB2php' . OPALESTATE_AGENT_PREFIX . 'front' ] ) ) {
$post_id = $this->update_data_agent_or_agency( OPALESTATE_AGENT_PREFIX ); $post_id = $this->update_data_agent_or_agency( OPALESTATE_AGENT_PREFIX );
if ( $post_id ) { if ( $post_id ) {
@ -254,12 +252,11 @@ class Opalestate_Agent_Front {
'post_content' => wp_kses( $_POST[ $prefix . 'text' ], '<b><strong><i><em><h1><h2><h3><h4><h5><h6><pre><code><span><p>' ), 'post_content' => wp_kses( $_POST[ $prefix . 'text' ], '<b><strong><i><em><h1><h2><h3><h4><h5><h6><pre><code><span><p>' ),
]; ];
unset( $_POST[ $prefix . 'title' ] ); unset( $_POST[ $prefix . 'title' ] );
unset( $_POST[ $prefix . 'text' ] ); unset( $_POST[ $prefix . 'text' ] );
if ( $data['ID'] > 0 ) { if ( $data['ID'] > 0 ) {
$data['post_status'] = 'publish';
$post_id = wp_update_post( $data, true ); $post_id = wp_update_post( $data, true );
} else { } else {
$data['post_status'] = 'pending'; $data['post_status'] = 'pending';
@ -307,9 +304,7 @@ class Opalestate_Agent_Front {
} }
public function register_shortcodes() { public function register_shortcodes() {
$this->shortcodes = [ $this->shortcodes = [
'change_agent_profile' => [ 'code' => 'change_agent_profile', 'label' => esc_html__( 'Agent Profile', 'opalestate-pro' ) ], 'change_agent_profile' => [ 'code' => 'change_agent_profile', 'label' => esc_html__( 'Agent Profile', 'opalestate-pro' ) ],
'search_agents' => [ 'code' => 'search_agents', 'label' => esc_html__( 'Search Agents', 'opalestate-pro' ) ], 'search_agents' => [ 'code' => 'search_agents', 'label' => esc_html__( 'Search Agents', 'opalestate-pro' ) ],
'agent_carousel' => [ 'code' => 'agent_carousel', 'label' => esc_html__( 'Agent Carousel', 'opalestate-pro' ) ], 'agent_carousel' => [ 'code' => 'agent_carousel', 'label' => esc_html__( 'Agent Carousel', 'opalestate-pro' ) ],
@ -318,11 +313,9 @@ class Opalestate_Agent_Front {
foreach ( $this->shortcodes as $shortcode ) { foreach ( $this->shortcodes as $shortcode ) {
add_shortcode( 'opalestate_' . $shortcode['code'], [ $this, $shortcode['code'] ] ); add_shortcode( 'opalestate_' . $shortcode['code'], [ $this, $shortcode['code'] ] );
} }
} }
public function agent_carousel( $atts ) { public function agent_carousel( $atts ) {
$atts = is_array( $atts ) ? $atts : []; $atts = is_array( $atts ) ? $atts : [];
$layout = 'search-agency-form'; $layout = 'search-agency-form';
@ -341,9 +334,7 @@ class Opalestate_Agent_Front {
} }
public function archives_query( $query ) { public function archives_query( $query ) {
if ( $query->is_main_query() && is_post_type_archive( 'opalestate_agent' ) ) { if ( $query->is_main_query() && is_post_type_archive( 'opalestate_agent' ) ) {
$args = []; $args = [];
$min = opalestate_options( 'search_agent_min_price', 0 ); $min = opalestate_options( 'search_agent_min_price', 0 );
@ -368,7 +359,6 @@ class Opalestate_Agent_Front {
$tax_query = []; $tax_query = [];
if ( isset( $_GET['location'] ) && $_GET['location'] != -1 ) { if ( isset( $_GET['location'] ) && $_GET['location'] != -1 ) {
$tax_query[] = $tax_query[] =
[ [
@ -411,7 +401,6 @@ class Opalestate_Agent_Front {
] ); ] );
} }
///// search by address and geo location /// ///// search by address and geo location ///
if ( isset( $_GET['geo_long'] ) && isset( $_GET['geo_lat'] ) ) { if ( isset( $_GET['geo_long'] ) && isset( $_GET['geo_lat'] ) ) {

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Opal Estate Pro\n" "Project-Id-Version: Opal Estate Pro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-28 10:03+0000\n" "POT-Creation-Date: 2019-10-02 02:46+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: \n" "Language-Team: \n"
@ -38,8 +38,8 @@ msgstr ""
#: inc/class-opalestate-email.php:135 #: inc/class-opalestate-email.php:135
#: inc/message/class-opalestate-request-reviewing.php:98 #: inc/message/class-opalestate-request-reviewing.php:98
#: inc/message/class-opalestate-message.php:234 #: inc/message/class-opalestate-message.php:248
#: inc/message/class-opalestate-message.php:278 #: inc/message/class-opalestate-message.php:292
msgid "Unable to send a message." msgid "Unable to send a message."
msgstr "" msgstr ""
@ -51,10 +51,10 @@ msgstr ""
#: inc/classes/class-opalestate-metabox-user.php:154 #: inc/classes/class-opalestate-metabox-user.php:154
#: inc/classes/class-opalestate-metabox-user.php:219 #: inc/classes/class-opalestate-metabox-user.php:219
#: inc/agency/class-opalestate-agency-metabox.php:337 #: inc/agency/class-opalestate-agency-metabox.php:337
#: inc/message/class-opalestate-message.php:524 #: inc/message/class-opalestate-message.php:538
#: inc/message/class-opalestate-message.php:626 #: inc/message/class-opalestate-message.php:640
#: inc/agent/class-opalestate-agent-metabox.php:177 #: inc/agent/class-opalestate-agent-metabox.php:177
#: templates/rating/opalestate-ratings.php:239 #: templates/rating/opalestate-ratings.php:242
msgid "Email" msgid "Email"
msgstr "" msgstr ""
@ -87,49 +87,51 @@ msgstr ""
msgid "Email Submission Templates (Template Tags)" msgid "Email Submission Templates (Template Tags)"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:291 #: inc/class-opalestate-email.php:294
msgid "Notification For New Property Submission" msgid "Notification For New Property Submission"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:300 inc/class-opalestate-email.php:339 #: inc/class-opalestate-email.php:303 inc/class-opalestate-email.php:342
#: inc/class-opalestate-email.php:368 #: inc/class-opalestate-email.php:369 inc/class-opalestate-email.php:395
#: inc/class-opalestate-email.php:421
msgid "Email Subject" msgid "Email Subject"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:302 #: inc/class-opalestate-email.php:305
msgid "The email subject for admin notifications." msgid "The email subject for admin notifications."
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:307 inc/class-opalestate-email.php:347 #: inc/class-opalestate-email.php:310 inc/class-opalestate-email.php:350
#: inc/email/class-opalesate-approve.php:31 #: inc/email/class-opalestate-admin-new-submitted.php:25
#: inc/email/class-opalestate-new-submitted.php:31 #: inc/email/class-opalestate-new-submitted.php:31
msgid "New Property Listing Submitted: {property_name}" msgid "New Property Listing Submitted: {property_name}"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:312 inc/class-opalestate-email.php:352 #: inc/class-opalestate-email.php:315 inc/class-opalestate-email.php:355
#: inc/class-opalestate-email.php:381 #: inc/class-opalestate-email.php:382 inc/class-opalestate-email.php:408
#: inc/class-opalestate-email.php:434
msgid "Email Body" msgid "Email Body"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:314 #: inc/class-opalestate-email.php:317
msgid "" msgid ""
"Enter the email an admin should receive when an initial payment request is " "Enter the email an admin should receive when an initial payment request is "
"made." "made."
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:319 #: inc/class-opalestate-email.php:322
msgid "Approve property for publish" msgid "Approve property for publish"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:326 #: inc/class-opalestate-email.php:329
msgid "Enable approve property email" msgid "Enable approve property email"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:327 #: inc/class-opalestate-email.php:330
msgid "Enable approve property email." msgid "Enable approve property email."
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:331 #: inc/class-opalestate-email.php:334
#: inc/submission/class-opalestate-submission.php:179 #: inc/submission/class-opalestate-submission.php:179
#: inc/submission/class-opalestate-submission.php:189 #: inc/submission/class-opalestate-submission.php:189
#: inc/submission/class-opalestate-submission.php:199 #: inc/submission/class-opalestate-submission.php:199
@ -157,7 +159,7 @@ msgstr ""
msgid "Enable" msgid "Enable"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:332 #: inc/class-opalestate-email.php:335
#: inc/submission/class-opalestate-submission.php:180 #: inc/submission/class-opalestate-submission.php:180
#: inc/submission/class-opalestate-submission.php:190 #: inc/submission/class-opalestate-submission.php:190
#: inc/submission/class-opalestate-submission.php:200 #: inc/submission/class-opalestate-submission.php:200
@ -183,25 +185,39 @@ msgstr ""
msgid "Disable" msgid "Disable"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:341 inc/class-opalestate-email.php:370 #: inc/class-opalestate-email.php:344 inc/class-opalestate-email.php:371
#: inc/class-opalestate-email.php:397 inc/class-opalestate-email.php:423
msgid "" msgid ""
"The email subject a user should receive when they make an initial property " "The email subject a user should receive when they make an initial property "
"request." "request."
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:354 #: inc/class-opalestate-email.php:357
msgid "" msgid ""
"Enter the email a user should receive when they make an initial payment " "Enter the email a user should receive when they make an initial payment "
"request." "request."
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:360 #: inc/class-opalestate-email.php:362
msgid "Email Enquiry Contact Templates (Template Tags)"
msgstr ""
#: inc/class-opalestate-email.php:377 inc/class-opalestate-email.php:403
#: inc/message/class-opalestate-message.php:117
msgid "You got a message"
msgstr ""
#: inc/class-opalestate-email.php:388
msgid "Email Contact Templates (Template Tags)" msgid "Email Contact Templates (Template Tags)"
msgstr "" msgstr ""
#: inc/class-opalestate-email.php:376 #: inc/class-opalestate-email.php:414
#: inc/message/class-opalestate-message.php:103 msgid "Email Request Review Templates (Template Tags)"
msgid "You got a message" msgstr ""
#: inc/class-opalestate-email.php:429
#, php-format
msgid "You have a message request reviewing at: %s"
msgstr "" msgstr ""
#: inc/class-opalestate-roles.php:49 #: inc/class-opalestate-roles.php:49
@ -338,21 +354,21 @@ msgstr ""
msgid "Google Captcha" msgid "Google Captcha"
msgstr "" msgstr ""
#: inc/template-hook-functions.php:224 inc/template-hook-functions.php:269 #: inc/template-hook-functions.php:230 inc/template-hook-functions.php:279
msgid "Request Viewing" msgid "Request Viewing"
msgstr "" msgstr ""
#: inc/template-hook-functions.php:266 #: inc/template-hook-functions.php:276
msgid "" msgid ""
"Physical Arrange viewings is always been attractive to property clients. " "Physical Arrange viewings is always been attractive to property clients. "
"Fill out the form to arrange visualizations around our properties." "Fill out the form to arrange visualizations around our properties."
msgstr "" msgstr ""
#: inc/template-hook-functions.php:296 #: inc/template-hook-functions.php:306
msgid "User Management" msgid "User Management"
msgstr "" msgstr ""
#: inc/template-hook-functions.php:297 #: inc/template-hook-functions.php:307
msgid "Opalestate Fullwidth" msgid "Opalestate Fullwidth"
msgstr "" msgstr ""
@ -1289,7 +1305,7 @@ msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#. %s number of reviews #. %s number of reviews
#: inc/template-functions.php:982 templates/rating/opalestate-ratings.php:173 #: inc/template-functions.php:982 templates/rating/opalestate-ratings.php:176
#, php-format #, php-format
msgctxt "review numbers" msgctxt "review numbers"
msgid "%s review" msgid "%s review"
@ -1394,7 +1410,7 @@ msgstr ""
#: templates/single-agent/author-box.php:18 #: templates/single-agent/author-box.php:18
#: templates/single-agency/author-box.php:24 #: templates/single-agency/author-box.php:24
#: templates/parts/featured-label.php:9 #: templates/parts/featured-label.php:9
#: inc/admin/property/class-property.php:99 #: inc/admin/property/class-property.php:100
msgid "Featured" msgid "Featured"
msgstr "" msgstr ""
@ -1411,8 +1427,8 @@ msgstr ""
#: templates/single-agency/author-box.php:30 #: templates/single-agency/author-box.php:30
#: templates/single-property/user/author-member-box.php:28 #: templates/single-property/user/author-member-box.php:28
#: templates/single-property/user/author-member-box.php:28 #: templates/single-property/user/author-member-box.php:28
#: templates/single-property/user/author-user-box.php:66 #: templates/single-property/user/author-user-box.php:64
#: templates/single-property/user/author-user-box.php:67 #: templates/single-property/user/author-user-box.php:65
#: templates/single-property/user/author-user-box-list.php:51 #: templates/single-property/user/author-user-box-list.php:51
#: templates/single-property/user/author-user-box-list.php:52 #: templates/single-property/user/author-user-box-list.php:52
msgid "Trusted Member" msgid "Trusted Member"
@ -1462,7 +1478,7 @@ msgid ""
msgstr "" msgstr ""
#: templates/archive-opalestate_agency.php:38 #: templates/archive-opalestate_agency.php:38
#: templates/elementor-templates/opalestate-agency-collection.php:26 #: templates/elementor-templates/opalestate-agency-collection.php:27
#, php-format #, php-format
msgid "Found %s Agency" msgid "Found %s Agency"
msgstr "" msgstr ""
@ -1488,7 +1504,7 @@ msgid ""
msgstr "" msgstr ""
#: templates/archive-opalestate_agent.php:37 #: templates/archive-opalestate_agent.php:37
#: templates/elementor-templates/opalestate-agent-collection.php:29 #: templates/elementor-templates/opalestate-agent-collection.php:30
#: templates/shortcodes/search-agents.php:15 #: templates/shortcodes/search-agents.php:15
#, php-format #, php-format
msgid "Found %s Agents" msgid "Found %s Agents"
@ -1525,7 +1541,7 @@ msgstr ""
#: inc/classes/class-opalestate-metabox-user.php:110 #: inc/classes/class-opalestate-metabox-user.php:110
#: inc/property/class-metabox-property-admin.php:217 #: inc/property/class-metabox-property-admin.php:217
#: inc/submission/class-metabox-property-submission.php:382 #: inc/submission/class-metabox-property-submission.php:382
#: inc/admin/property/class-property.php:101 #: inc/admin/property/class-property.php:102
msgid "Address" msgid "Address"
msgstr "" msgstr ""
@ -1555,7 +1571,7 @@ msgstr ""
#: templates/content-single-agency.php:110 #: templates/content-single-agency.php:110
#: templates/content-single-agent.php:22 #: templates/content-single-agent.php:22
#: inc/property/class-opalestate-shortcodes.php:39 #: inc/property/class-opalestate-shortcodes.php:50
#: inc/property/class-opalestate-posttype.php:41 #: inc/property/class-opalestate-posttype.php:41
#: inc/property/class-opalestate-posttype.php:53 #: inc/property/class-opalestate-posttype.php:53
#: templates/single-agency/tabs.php:6 #: templates/single-agency/tabs.php:6
@ -1924,9 +1940,9 @@ msgstr ""
#: inc/classes/class-opalestate-metabox-user.php:230 #: inc/classes/class-opalestate-metabox-user.php:230
#: inc/agency/class-opalestate-agency-metabox.php:158 #: inc/agency/class-opalestate-agency-metabox.php:158
#: inc/agency/class-opalestate-agency-metabox.php:348 #: inc/agency/class-opalestate-agency-metabox.php:348
#: inc/message/class-opalestate-message.php:533 #: inc/message/class-opalestate-message.php:547
#: inc/message/class-opalestate-message.php:635 #: inc/message/class-opalestate-message.php:649
#: inc/message/class-opalestate-message.php:710 #: inc/message/class-opalestate-message.php:724
#: inc/agent/class-opalestate-agent-metabox.php:188 #: inc/agent/class-opalestate-agent-metabox.php:188
msgid "Phone" msgid "Phone"
msgstr "" msgstr ""
@ -1991,37 +2007,36 @@ msgstr ""
msgid "Instagram" msgid "Instagram"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:38 #: inc/property/class-opalestate-shortcodes.php:49
msgid "Search Properties Form" msgid "Search Properties Form"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:40 #: inc/property/class-opalestate-shortcodes.php:51
msgid "Search Properties Result" msgid "Search Properties Result"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:41 #: inc/property/class-opalestate-shortcodes.php:52
#: inc/widgets/search-properties.php:57 #: inc/widgets/search-properties.php:57
msgid "Search Properties" msgid "Search Properties"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:42 #: inc/property/class-opalestate-shortcodes.php:53
msgid "Search Properties Vertical" msgid "Search Split Maps"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:44 #: inc/property/class-opalestate-shortcodes.php:55
msgid "Search Map Properties" msgid "Show Map + Search Box and Properties"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:45 #: inc/property/class-opalestate-shortcodes.php:56
#: inc/property/class-opalestate-shortcodes.php:46 msgid "Ajax Search Map Properties And Horizontal Search"
msgid "Ajax Search Map Properties"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:47 #: inc/property/class-opalestate-shortcodes.php:58
msgid "Register User Form" msgid "Register User Form"
msgstr "" msgstr ""
#: inc/property/class-opalestate-shortcodes.php:48 #: inc/property/class-opalestate-shortcodes.php:59
msgid "Login Form" msgid "Login Form"
msgstr "" msgstr ""
@ -2367,12 +2382,12 @@ msgid "Author Information"
msgstr "" msgstr ""
#: inc/property/class-metabox-property-admin.php:473 #: inc/property/class-metabox-property-admin.php:473
#: inc/user/class-opalestate-user.php:283 #: inc/user/class-opalestate-user.php:287
msgid "Agent" msgid "Agent"
msgstr "" msgstr ""
#: inc/property/class-metabox-property-admin.php:479 #: inc/property/class-metabox-property-admin.php:479
#: inc/user/class-opalestate-user.php:284 #: inc/user/class-opalestate-user.php:288
#: templates/parts/search-agency-form.php:20 #: templates/parts/search-agency-form.php:20
msgid "Agency" msgid "Agency"
msgstr "" msgstr ""
@ -2404,10 +2419,10 @@ msgid "Preview Display"
msgstr "" msgstr ""
#: inc/property/class-metabox-property-admin.php:561 #: inc/property/class-metabox-property-admin.php:561
#: inc/message/class-opalestate-message.php:515 #: inc/message/class-opalestate-message.php:529
#: inc/message/class-opalestate-message.php:618 #: inc/message/class-opalestate-message.php:632
#: inc/submission/class-metabox-property-submission.php:561 #: inc/submission/class-metabox-property-submission.php:561
#: templates/rating/opalestate-ratings.php:237 #: templates/rating/opalestate-ratings.php:240
#: templates/user/share-search-form.php:35 #: templates/user/share-search-form.php:35
#: templates/user-search/content-savedsearch.php:12 #: templates/user-search/content-savedsearch.php:12
#: templates/user-search/render-form.php:29 #: templates/user-search/render-form.php:29
@ -2650,28 +2665,42 @@ msgstr ""
msgid "Agency Team" msgid "Agency Team"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-front.php:293 #: inc/agency/class-opalestate-agency-front.php:289
#: inc/user/class-opalestate-user.php:337 #: inc/user/class-opalestate-user.php:341
#: inc/agent/class-opalestate-agent-front.php:199 #: inc/agent/class-opalestate-agent-front.php:202
msgid "The data updated successful, please wait for redirecting" msgid "The data updated successful, please wait for redirecting"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-front.php:295 #: inc/agency/class-opalestate-agency-front.php:291
#: inc/agency/class-opalestate-agency-front.php:302 #: inc/agency/class-opalestate-agency-front.php:298
#: inc/user/class-opalestate-user.php:339 #: inc/user/class-opalestate-user.php:343
#: inc/agent/class-opalestate-agent-front.php:201 #: inc/agent/class-opalestate-agent-front.php:204
#: inc/agent/class-opalestate-agent-front.php:209 #: inc/agent/class-opalestate-agent-front.php:212
msgid "Update Information" msgid "Update Information"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-front.php:301 #: inc/agency/class-opalestate-agency-front.php:297
#: inc/agent/class-opalestate-agent-front.php:208 #: inc/agent/class-opalestate-agent-front.php:211
msgid "Currently, The data could not save!" msgid "Currently, The data could not save!"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-front.php:458 #: inc/agency/class-opalestate-agency-front.php:308
#: inc/agent/class-opalestate-agent-front.php:484 msgid "Search Agencies"
msgid "User ID" msgstr ""
#: inc/agency/class-opalestate-agency-front.php:309
msgid "Agency Carousel"
msgstr ""
#: inc/agency/class-opalestate-agency-front.php:368
#: inc/agent/class-opalestate-agent-front.php:105
msgid "You need to enter some required information to publish your account."
msgstr ""
#: inc/agency/class-opalestate-agency-front.php:481
#: inc/agent/class-opalestate-agent-front.php:476
#, php-format
msgid "User ID: %s"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-metabox.php:30 #: inc/agency/class-opalestate-agency-metabox.php:30
@ -2693,8 +2722,8 @@ msgid "Set this agent as featured"
msgstr "" msgstr ""
#: inc/agency/class-opalestate-agency-metabox.php:83 #: inc/agency/class-opalestate-agency-metabox.php:83
#: inc/user/class-opalestate-user.php:561 #: inc/user/class-opalestate-user.php:565
#: inc/user/class-opalestate-user.php:574 #: inc/user/class-opalestate-user.php:578
#: inc/submission/class-metabox-property-submission.php:45 #: inc/submission/class-metabox-property-submission.php:45
msgid "Name and Description" msgid "Name and Description"
msgstr "" msgstr ""
@ -2974,56 +3003,56 @@ msgstr ""
msgid "Generate New API Keys" msgid "Generate New API Keys"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:162 #: inc/message/class-opalestate-message.php:176
#: inc/email/class-opalestate-email-notifycation.php:38 #: inc/email/class-opalestate-email-notifycation.php:42
msgid "You got a message contact" msgid "You got a message contact"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:229 #: inc/message/class-opalestate-message.php:243
msgid "Email Sent successful" msgid "Email Sent successful"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:230 #: inc/message/class-opalestate-message.php:244
#: inc/message/class-opalestate-message.php:234 #: inc/message/class-opalestate-message.php:248
msgid "Sending Message" msgid "Sending Message"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:492 #: inc/message/class-opalestate-message.php:506
#: inc/message/class-opalestate-message.php:558 #: inc/message/class-opalestate-message.php:572
#: inc/message/class-opalestate-message.php:597 #: inc/message/class-opalestate-message.php:611
#: inc/message/class-opalestate-message.php:674 #: inc/message/class-opalestate-message.php:688
#: inc/taxonomies/class-taxonomy-types.php:123 #: inc/taxonomies/class-taxonomy-types.php:123
#: templates/user/register-form.php:69 #: templates/user/register-form.php:69
#: templates/single-property/features.php:28 #: templates/single-property/features.php:28
msgid "Type" msgid "Type"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:499 #: inc/message/class-opalestate-message.php:513
#: inc/message/class-opalestate-message.php:604 #: inc/message/class-opalestate-message.php:618
#: inc/message/class-opalestate-message.php:681 #: inc/message/class-opalestate-message.php:695
msgid "Property ID" msgid "Property ID"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:507 #: inc/message/class-opalestate-message.php:521
#: inc/message/class-opalestate-message.php:611 #: inc/message/class-opalestate-message.php:625
#: inc/message/class-opalestate-message.php:688 #: inc/message/class-opalestate-message.php:702
#: templates/user/agency/agency-team.php:12 #: templates/user/agency/agency-team.php:12
msgid "Sender ID" msgid "Sender ID"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:541 #: inc/message/class-opalestate-message.php:555
#: inc/message/class-opalestate-message.php:565 #: inc/message/class-opalestate-message.php:579
#: inc/message/class-opalestate-message.php:643 #: inc/message/class-opalestate-message.php:657
#: inc/message/class-opalestate-message.php:718 #: inc/message/class-opalestate-message.php:732
#: templates/user/share-search-form.php:45 #: templates/user/share-search-form.php:45
msgid "Message" msgid "Message"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:695 #: inc/message/class-opalestate-message.php:709
msgid "Schedule" msgid "Schedule"
msgstr "" msgstr ""
#: inc/message/class-opalestate-message.php:703 #: inc/message/class-opalestate-message.php:717
msgid "Time" msgid "Time"
msgstr "" msgstr ""
@ -3092,61 +3121,61 @@ msgid ""
"target=\"_blank\" href=\"%s\">update Agent profile</a>" "target=\"_blank\" href=\"%s\">update Agent profile</a>"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:257 #: inc/user/class-opalestate-user.php:261
msgid "" msgid ""
"Your account was blocked to use the submission form, so you could not submit " "Your account was blocked to use the submission form, so you could not submit "
"any property." "any property."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:269 #: inc/user/class-opalestate-user.php:273
msgid "Your account is blocked, you could not complete this action" msgid "Your account is blocked, you could not complete this action"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:282 #: inc/user/class-opalestate-user.php:286
msgid "Subscriber" msgid "Subscriber"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:489 #: inc/user/class-opalestate-user.php:493
msgid "Found a problem while updating" msgid "Found a problem while updating"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:500 #: inc/user/class-opalestate-user.php:504
msgid "Passwords fields are not empty" msgid "Passwords fields are not empty"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:506 #: inc/user/class-opalestate-user.php:510
msgid "New password is not same confirm password" msgid "New password is not same confirm password"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:516 #: inc/user/class-opalestate-user.php:520
msgid "Password Updated" msgid "Password Updated"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:518 #: inc/user/class-opalestate-user.php:522
msgid "Old password is not correct" msgid "Old password is not correct"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:583 #: inc/user/class-opalestate-user.php:587
msgid "Old Password" msgid "Old Password"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:588 #: inc/user/class-opalestate-user.php:592
msgid "Please enter your old password" msgid "Please enter your old password"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:592 #: inc/user/class-opalestate-user.php:596
msgid "New Password" msgid "New Password"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:597 #: inc/user/class-opalestate-user.php:601
msgid "Please enter your new password." msgid "Please enter your new password."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:601 #: inc/user/class-opalestate-user.php:605
msgid "Confirm Password" msgid "Confirm Password"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user.php:606 #: inc/user/class-opalestate-user.php:610
msgid "Please enter your confirm password." msgid "Please enter your confirm password."
msgstr "" msgstr ""
@ -3166,42 +3195,42 @@ msgstr ""
msgid "Saved Search" msgid "Saved Search"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:48 #: inc/user/class-opalestate-user-form-handler.php:49
#: inc/user/class-opalestate-user-form-handler.php:53 #: inc/user/class-opalestate-user-form-handler.php:54
#: inc/user/class-opalestate-user-form-handler.php:62 #: inc/user/class-opalestate-user-form-handler.php:63
#: inc/user/class-opalestate-user-form-handler.php:73 #: inc/user/class-opalestate-user-form-handler.php:74
#: inc/user/class-opalestate-user-form-handler.php:165 #: inc/user/class-opalestate-user-form-handler.php:166
#: inc/user/class-opalestate-user-form-handler.php:170 #: inc/user/class-opalestate-user-form-handler.php:171
#: inc/user/class-opalestate-user-form-handler.php:177 #: inc/user/class-opalestate-user-form-handler.php:178
#: inc/user/class-opalestate-user-form-handler.php:184 #: inc/user/class-opalestate-user-form-handler.php:185
#: inc/user/class-opalestate-user-form-handler.php:187 #: inc/user/class-opalestate-user-form-handler.php:188
#: inc/user/class-opalestate-user-form-handler.php:196 #: inc/user/class-opalestate-user-form-handler.php:197
msgid "ERROR" msgid "ERROR"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:53 #: inc/user/class-opalestate-user-form-handler.php:54
#: inc/user/class-opalestate-user-form-handler.php:170 #: inc/user/class-opalestate-user-form-handler.php:171
msgid "Username is required." msgid "Username is required."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:62 #: inc/user/class-opalestate-user-form-handler.php:63
msgid "A user could not be found with this email address." msgid "A user could not be found with this email address."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:73 #: inc/user/class-opalestate-user-form-handler.php:74
#: inc/user/class-opalestate-user-form-handler.php:184 #: inc/user/class-opalestate-user-form-handler.php:185
msgid "Password is required." msgid "Password is required."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:99 #: inc/user/class-opalestate-user-form-handler.php:100
msgid "Logged successfully, welcome back!" msgid "Logged successfully, welcome back!"
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:177 #: inc/user/class-opalestate-user-form-handler.php:178
msgid "Email is required." msgid "Email is required."
msgstr "" msgstr ""
#: inc/user/class-opalestate-user-form-handler.php:187 #: inc/user/class-opalestate-user-form-handler.php:188
msgid "Re-Password is not match." msgid "Re-Password is not match."
msgstr "" msgstr ""
@ -3286,6 +3315,10 @@ msgstr ""
msgid "Search Agents" msgid "Search Agents"
msgstr "" msgstr ""
#: inc/agent/class-opalestate-agent-front.php:310
msgid "Agent Carousel"
msgstr ""
#: inc/agent/class-opalestate-agent-posttype.php:36 #: inc/agent/class-opalestate-agent-posttype.php:36
#: inc/agent/class-opalestate-agent-posttype.php:48 #: inc/agent/class-opalestate-agent-posttype.php:48
msgid "Agents" msgid "Agents"
@ -3375,72 +3408,77 @@ msgctxt "agent level slug"
msgid "agent-level" msgid "agent-level"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:423 #: inc/api/class-opalestate-api-remove.php:423
msgid "You must specify both a token and API key!" msgid "You must specify both a token and API key!"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:440 #: inc/api/class-opalestate-api-remove.php:440
msgid "Your request could not be authenticated!" msgid "Your request could not be authenticated!"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:457 #: inc/api/class-opalestate-api-remove.php:457
msgid "Invalid API key!" msgid "Invalid API key!"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:473 #: inc/api/class-opalestate-api-remove.php:473
msgid "Invalid API version!" msgid "Invalid API version!"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:601 #: inc/api/class-opalestate-api-remove.php:601
msgid "Invalid query!" msgid "Invalid query!"
msgstr "" msgstr ""
#. %s: property #. %s: property
#: inc/api/class-opalestate-api.php:678 inc/api/class-opalestate-api.php:769 #: inc/api/class-opalestate-api-remove.php:678
#: inc/api/class-opalestate-api.php:821 #: inc/api/class-opalestate-api-remove.php:769
#: inc/api/class-opalestate-api-remove.php:821 inc/api/v1/agent.php:127
#: inc/api/v1/property.php:120 inc/api/v1/property.php:177
#, php-format #, php-format
msgid "Form %s not found!" msgid "Form %s not found!"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1053 #: inc/api/class-opalestate-api-remove.php:1053
msgid "Opalestate API Keys" msgid "Opalestate API Keys"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1062 #: inc/api/class-opalestate-api-remove.php:1062
msgid "Generate API Key" msgid "Generate API Key"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1064 #: inc/api/class-opalestate-api-remove.php:1064
msgid "Public key:" msgid "Public key:"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1067 #: inc/api/class-opalestate-api-remove.php:1067
msgid "Secret key:" msgid "Secret key:"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1070 #: inc/api/class-opalestate-api-remove.php:1070
msgid "Token:" msgid "Token:"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1074 #: inc/api/class-opalestate-api-remove.php:1074
msgid "Revoke API Keys" msgid "Revoke API Keys"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1097 #: inc/api/class-opalestate-api-remove.php:1097
msgid "Nonce verification failed." msgid "Nonce verification failed."
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1097 inc/api/class-opalestate-api.php:1102 #: inc/api/class-opalestate-api-remove.php:1097
#: inc/api/class-opalestate-api.php:1120 inc/api/class-opalestate-api.php:1130 #: inc/api/class-opalestate-api-remove.php:1102
#: inc/api/class-opalestate-api-remove.php:1120
#: inc/api/class-opalestate-api-remove.php:1130
msgid "Error" msgid "Error"
msgstr "" msgstr ""
#: inc/api/class-opalestate-api.php:1102 #: inc/api/class-opalestate-api-remove.php:1102
msgid "User ID Required." msgid "User ID Required."
msgstr "" msgstr ""
#. %s: process #. %s: process
#: inc/api/class-opalestate-api.php:1117 inc/api/class-opalestate-api.php:1127 #: inc/api/class-opalestate-api-remove.php:1117
#: inc/api/class-opalestate-api-remove.php:1127
#, php-format #, php-format
msgid "You do not have permission to %s API keys for this user." msgid "You do not have permission to %s API keys for this user."
msgstr "" msgstr ""
@ -3979,7 +4017,11 @@ msgstr ""
msgid "Select Status" msgid "Select Status"
msgstr "" msgstr ""
#: inc/email/class-opalestate-email-notifycation.php:34 #: inc/email/class-opalestate-approve.php:32
msgid "The Property Listing Approved: {property_name}"
msgstr ""
#: inc/email/class-opalestate-email-notifycation.php:35
msgid "You got a message enquiry" msgid "You got a message enquiry"
msgstr "" msgstr ""
@ -4357,20 +4399,20 @@ msgstr ""
msgid "Contact Me" msgid "Contact Me"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:64 #: templates/rating/opalestate-ratings.php:67
msgid "Ratings & Reviews" msgid "Ratings & Reviews"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:79 #: templates/rating/opalestate-ratings.php:82
msgid "star" msgid "star"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:106 #: templates/rating/opalestate-ratings.php:109
msgid "Overall rating" msgid "Overall rating"
msgstr "" msgstr ""
#. %s number of ratings #. %s number of ratings
#: templates/rating/opalestate-ratings.php:118 #: templates/rating/opalestate-ratings.php:121
#, php-format #, php-format
msgctxt "rating numbers" msgctxt "rating numbers"
msgid "%s rating" msgid "%s rating"
@ -4378,85 +4420,85 @@ msgid_plural "%s ratings"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: templates/rating/opalestate-ratings.php:132 #: templates/rating/opalestate-ratings.php:135
msgid "based on all ratings" msgid "based on all ratings"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:207 #: templates/rating/opalestate-ratings.php:210
msgid "There are no reviews yet." msgid "There are no reviews yet."
msgstr "" msgstr ""
#. %s is property title #. %s is property title
#: templates/rating/opalestate-ratings.php:230 #: templates/rating/opalestate-ratings.php:233
msgid "Add a review" msgid "Add a review"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:230 #: templates/rating/opalestate-ratings.php:233
#, php-format #, php-format
msgid "Be the first to review &ldquo;%s&rdquo;" msgid "Be the first to review &ldquo;%s&rdquo;"
msgstr "" msgstr ""
#. %s is property title #. %s is property title
#: templates/rating/opalestate-ratings.php:232 #: templates/rating/opalestate-ratings.php:235
#, php-format #, php-format
msgid "Leave a Reply to %s" msgid "Leave a Reply to %s"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:242 #: templates/rating/opalestate-ratings.php:245
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:251
#: templates/rating/opalestate-ratings.php:263
msgid "Rate&hellip;"
msgstr ""
#: templates/rating/opalestate-ratings.php:252
#: templates/rating/opalestate-ratings.php:264
msgid "Perfect"
msgstr ""
#: templates/rating/opalestate-ratings.php:253
#: templates/rating/opalestate-ratings.php:265
msgid "Good"
msgstr ""
#: templates/rating/opalestate-ratings.php:254 #: templates/rating/opalestate-ratings.php:254
#: templates/rating/opalestate-ratings.php:266 #: templates/rating/opalestate-ratings.php:266
msgid "Average" msgid "Rate&hellip;"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:255 #: templates/rating/opalestate-ratings.php:255
#: templates/rating/opalestate-ratings.php:267 #: templates/rating/opalestate-ratings.php:267
msgid "Not that bad" msgid "Perfect"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:256 #: templates/rating/opalestate-ratings.php:256
#: templates/rating/opalestate-ratings.php:268 #: templates/rating/opalestate-ratings.php:268
msgid "Good"
msgstr ""
#: templates/rating/opalestate-ratings.php:257
#: templates/rating/opalestate-ratings.php:269
msgid "Average"
msgstr ""
#: templates/rating/opalestate-ratings.php:258
#: templates/rating/opalestate-ratings.php:270
msgid "Not that bad"
msgstr ""
#: templates/rating/opalestate-ratings.php:259
#: templates/rating/opalestate-ratings.php:271
msgid "Very poor" msgid "Very poor"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:262 #: templates/rating/opalestate-ratings.php:265
msgid "Your rating" msgid "Your rating"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:272 #: templates/rating/opalestate-ratings.php:275
msgid "Your review" msgid "Your review"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:280 #: templates/rating/opalestate-ratings.php:283
msgid "Your review already exists!" msgid "Your review already exists!"
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:283 #: templates/rating/opalestate-ratings.php:286
msgid "You cannot write review on your own post." msgid "You cannot write review on your own post."
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:287 #: templates/rating/opalestate-ratings.php:290
msgid "You must be logged in to review." msgid "You must be logged in to review."
msgstr "" msgstr ""
#: templates/rating/opalestate-ratings.php:288 #: templates/rating/opalestate-ratings.php:291
msgid "Click here to login" msgid "Click here to login"
msgstr "" msgstr ""
@ -4476,9 +4518,15 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#: templates/elementor-templates/opalestate-split-maps-search.php:12 #. 1: number of properties
msgid "Loading map..." #: templates/elementor-templates/opalestate-category-list.php:50
msgstr "" #: templates/elementor-templates/opalestate-city-list.php:50
#, php-format
msgctxt "count properties"
msgid "%1$s Property"
msgid_plural "%1$s Properties"
msgstr[0] ""
msgstr[1] ""
#: templates/elementor-templates/opalestate-office-agent-search.php:14 #: templates/elementor-templates/opalestate-office-agent-search.php:14
msgid "Find An Agent" msgid "Find An Agent"
@ -4605,8 +4653,8 @@ msgid "Edit User Profile"
msgstr "" msgstr ""
#: templates/user/profile.php:45 templates/user/profile.php:68 #: templates/user/profile.php:45 templates/user/profile.php:68
#: templates/user/agency/profile-agency.php:32 #: templates/user/agency/profile-agency.php:31
#: templates/user/agent/profile-agent.php:16 #: templates/user/agent/profile-agent.php:13
msgid "Save Change" msgid "Save Change"
msgstr "" msgstr ""
@ -4657,6 +4705,10 @@ msgstr ""
msgid "Found %s Properties" msgid "Found %s Properties"
msgstr "" msgstr ""
#: templates/shortcodes/search-split-maps.php:7
msgid "Loading map..."
msgstr ""
#: templates/shortcodes/ajax-map-search.php:35 #: templates/shortcodes/ajax-map-search.php:35
msgid "More" msgid "More"
msgstr "" msgstr ""
@ -5864,15 +5916,15 @@ msgstr ""
msgid "Enable agent reviews" msgid "Enable agent reviews"
msgstr "" msgstr ""
#: inc/admin/property/class-property.php:100 #: inc/admin/property/class-property.php:101
msgid "Sku" msgid "Sku"
msgstr "" msgstr ""
#: inc/admin/property/class-property.php:103 #: inc/admin/property/class-property.php:104
msgid "Author" msgid "Author"
msgstr "" msgstr ""
#: inc/admin/property/class-property.php:104 #: inc/admin/property/class-property.php:105
#: inc/vendors/elementor/widgets/opalestate-agent-collection.php:213 #: inc/vendors/elementor/widgets/opalestate-agent-collection.php:213
#: inc/vendors/elementor/widgets/opalestate-search-property-results.php:191 #: inc/vendors/elementor/widgets/opalestate-search-property-results.php:191
#: inc/vendors/elementor/widgets/opalestate-property-collection.php:202 #: inc/vendors/elementor/widgets/opalestate-property-collection.php:202
@ -5923,11 +5975,11 @@ msgstr ""
msgid "Edit Agency Profile" msgid "Edit Agency Profile"
msgstr "" msgstr ""
#: templates/user/agent/profile-agent.php:7 #: templates/user/agent/profile-agent.php:4
msgid "Edit Agent Profile" msgid "Edit Agent Profile"
msgstr "" msgstr ""
#: templates/user/agent/profile-agent.php:23 #: templates/user/agent/profile-agent.php:20
msgid "Agent edit profile form is not avariable" msgid "Agent edit profile form is not avariable"
msgstr "" msgstr ""

View File

@ -1,7 +1,5 @@
<div class="property-submission-form"> <div class="property-submission-form">
<div class="opalestate-admin-box"> <div class="opalestate-admin-box">
<div class="box-content"> <div class="box-content">
<h3><?php esc_html_e( 'Edit Agent Profile', 'opalestate-pro' ); ?></h3> <h3><?php esc_html_e( 'Edit Agent Profile', 'opalestate-pro' ); ?></h3>
@ -11,7 +9,7 @@
if ( function_exists( 'cmb2_get_metabox_form' ) ) { if ( function_exists( 'cmb2_get_metabox_form' ) ) {
echo cmb2_get_metabox_form( $metaboxes[ OPALESTATE_AGENT_PREFIX . 'front' ], $post_id, [ echo cmb2_get_metabox_form( $metaboxes[ OPALESTATE_AGENT_PREFIX . 'front' ], $post_id, [
'form_format' => '<form action="//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . '" class="cmb-form" method="post" id="%1$s" enctype="multipart/form-data" encoding="multipart/form-data"><input type="hidden" name="object_id" value="%2$s">%3$s<button type="submit" name="submit-cmb" class="button-primary btn btn-primary">%4$s</button></form>', 'form_format' => '<form action="//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . '" class="cmb-form" method="post" id="%1$s" enctype="multipart/form-data"><input type="hidden" name="object_id" value="%2$s">%3$s<button type="submit" name="submit-cmb" class="button-primary btn btn-primary">%4$s</button></form>',
'save_button' => esc_html__( 'Save Change', 'opalestate-pro' ), 'save_button' => esc_html__( 'Save Change', 'opalestate-pro' ),
] ); ] );
} }