translation strings
This commit is contained in:
parent
0f06e33ec7
commit
334ed49e56
|
@ -127,20 +127,20 @@ function mep_fw_meta_boxs()
|
||||||
'details' => __('', 'mage-eventpress'),
|
'details' => __('', 'mage-eventpress'),
|
||||||
'collapsible' => true,
|
'collapsible' => true,
|
||||||
'type' => 'repeatable',
|
'type' => 'repeatable',
|
||||||
'btn_text' => 'Add New F.A.Q',
|
'btn_text' => __('Add New F.A.Q','mage-eventpress'),
|
||||||
'title_field' => 'mep_faq_title',
|
'title_field' => 'mep_faq_title',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'item_id' => 'mep_faq_title',
|
'item_id' => 'mep_faq_title',
|
||||||
'name' => 'Title'
|
'name' => __('Title','mage-eventpress')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'item_id' => 'mep_faq_content',
|
'item_id' => 'mep_faq_content',
|
||||||
'name' => 'Content'
|
'name' => __('Content','mage-eventpress')
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -183,20 +183,20 @@ function mep_fw_meta_boxs()
|
||||||
'details' => __('', 'mage-eventpress'),
|
'details' => __('', 'mage-eventpress'),
|
||||||
'collapsible' => true,
|
'collapsible' => true,
|
||||||
'type' => 'repeatable',
|
'type' => 'repeatable',
|
||||||
'btn_text' => 'Add New Days',
|
'btn_text' => __('Add New Days','mage-eventpress'),
|
||||||
'title_field' => 'mep_day_title',
|
'title_field' => 'mep_day_title',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'item_id' => 'mep_day_title',
|
'item_id' => 'mep_day_title',
|
||||||
'name' => 'Title'
|
'name' => __('Title','mage-eventpress')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'item_id' => 'mep_day_content',
|
'item_id' => 'mep_day_content',
|
||||||
'name' => 'Content'
|
'name' => __('Content','mage-eventpress')
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -232,14 +232,14 @@ function mep_fw_meta_boxs()
|
||||||
'priority' => 10,
|
'priority' => 10,
|
||||||
'sections' => array(
|
'sections' => array(
|
||||||
'section_2' => array(
|
'section_2' => array(
|
||||||
'title' => __('', 'mage-eventpress-gq'),
|
'title' => __('', 'mage-eventpress'),
|
||||||
'description' => __('', 'mage-eventpress-gq'),
|
'description' => __('', 'mage-eventpress'),
|
||||||
'options' => array(
|
'options' => array(
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'id' => 'mep_list_thumbnail',
|
'id' => 'mep_list_thumbnail',
|
||||||
'title' => __('Thumbmnail ','text-domain'),
|
'title' => __('Thumbmnail ','mage-eventpress'),
|
||||||
'details' => __('Please upload image for event list','text-domain'),
|
'details' => __('Please upload image for event list','mage-eventpress'),
|
||||||
'placeholder' => 'https://via.placeholder.com/1000x500',
|
'placeholder' => 'https://via.placeholder.com/1000x500',
|
||||||
'type' => 'media',
|
'type' => 'media',
|
||||||
)
|
)
|
||||||
|
@ -269,10 +269,6 @@ function mep_fw_meta_boxs()
|
||||||
new AddMetaBox( $list_thumb_meta_args );
|
new AddMetaBox( $list_thumb_meta_args );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$email_body_meta_boxs = array(
|
$email_body_meta_boxs = array(
|
||||||
'page_nav' => __('Event List Thumbnail', 'mage-eventpress-gq'),
|
'page_nav' => __('Event List Thumbnail', 'mage-eventpress-gq'),
|
||||||
'priority' => 10,
|
'priority' => 10,
|
||||||
|
@ -284,11 +280,11 @@ function mep_fw_meta_boxs()
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'id' => 'mep_event_cc_email_text',
|
'id' => 'mep_event_cc_email_text',
|
||||||
'title' => __('Confirmation Email Text:','text-domain'),
|
'title' => __('Confirmation Email Text:','mage-eventpress'),
|
||||||
'details' => __('','text-domain'),
|
'details' => __('','mage-eventpress'),
|
||||||
'type' => 'wp_editor',
|
'type' => 'wp_editor',
|
||||||
// 'editor_settings'=>array('textarea_name'=>'wp_editor_field', 'editor_height'=>'150px'),
|
// 'editor_settings'=>array('textarea_name'=>'wp_editor_field', 'editor_height'=>'150px'),
|
||||||
'placeholder' => __('wp_editor value','text-domain'),
|
'placeholder' => __('wp_editor value','mage-eventpress'),
|
||||||
'default' => '',
|
'default' => '',
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -296,7 +292,6 @@ function mep_fw_meta_boxs()
|
||||||
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
$email_body_meta_args = array(
|
$email_body_meta_args = array(
|
||||||
'meta_box_id' => 'mep_event_email_body_meta_boxes',
|
'meta_box_id' => 'mep_event_email_body_meta_boxes',
|
||||||
'meta_box_title' => '<span class="dashicons dashicons-email"></span> '.__('Email Confirmation Text', 'mage-eventpress'),
|
'meta_box_title' => '<span class="dashicons dashicons-email"></span> '.__('Email Confirmation Text', 'mage-eventpress'),
|
||||||
|
@ -313,14 +308,4 @@ function mep_fw_meta_boxs()
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
new AddMetaBox( $email_body_meta_args );
|
new AddMetaBox( $email_body_meta_args );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -35,11 +35,7 @@ function mep_add_custom_fields_text_to_cart_item($cart_item_data, $product_id, $
|
||||||
$user = $form_position == 'details_page' ? mep_save_attendee_info_into_cart($product_id) : array();
|
$user = $form_position == 'details_page' ? mep_save_attendee_info_into_cart($product_id) : array();
|
||||||
$validate = mep_cart_ticket_type('validation_data', $total_price,$product_id);
|
$validate = mep_cart_ticket_type('validation_data', $total_price,$product_id);
|
||||||
|
|
||||||
// echo '<pre>';
|
|
||||||
// // print_r($user);
|
|
||||||
// print_r($ticket_type_arr);
|
|
||||||
// echo '</pre>';
|
|
||||||
// die();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Now Store the datas into Cart Session
|
* Now Store the datas into Cart Session
|
||||||
|
@ -103,13 +99,13 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
||||||
$eid = array_key_exists('event_id', $cart_item) ? $cart_item['event_id'] : 0; //$cart_item['event_id'];
|
$eid = array_key_exists('event_id', $cart_item) ? $cart_item['event_id'] : 0; //$cart_item['event_id'];
|
||||||
|
|
||||||
if (get_post_type($eid) == 'mep_events') {
|
if (get_post_type($eid) == 'mep_events') {
|
||||||
$hide_location_status = mep_get_option('mep_hide_location_from_order_page', 'general_setting_sec', 'no');
|
$hide_location_status = mep_get_option('mep_hide_location_from_order_page', 'general_setting_sec', 'no');
|
||||||
$hide_date_status = mep_get_option('mep_hide_date_from_order_page', 'general_setting_sec', 'no');
|
$hide_date_status = mep_get_option('mep_hide_date_from_order_page', 'general_setting_sec', 'no');
|
||||||
$user_info = $cart_item['event_user_info'];
|
$user_info = $cart_item['event_user_info'];
|
||||||
$ticket_type_arr = $cart_item['event_ticket_info'];
|
$ticket_type_arr = $cart_item['event_ticket_info'];
|
||||||
$event_extra_service = $cart_item['event_extra_service'];
|
$event_extra_service = $cart_item['event_extra_service'];
|
||||||
$event_recurring_date = $cart_item['event_recurring_date'];
|
$event_recurring_date = $cart_item['event_recurring_date'];
|
||||||
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
|
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
|
||||||
|
|
||||||
|
|
||||||
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
||||||
|
|
|
@ -79,7 +79,7 @@ foreach ($event_dates as $_dates) {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Magical & The Main Event Listing Shortcode is Here, You can check the details with demo here https://wordpress.org/plugins/mage-eventpress/
|
* The Magical & The Main Event Listing Shortcode is Here, You can check the details with demo here https://wordpress.org/plugins/mage-eventpress/
|
||||||
*/
|
*/
|
||||||
add_shortcode('event-list', 'mep_event_list');
|
add_shortcode('event-list', 'mep_event_list');
|
||||||
|
@ -148,7 +148,7 @@ function mep_event_list($atts, $content = null)
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* The Main Query function mep_event_query is locet in inc/mep_query.php File
|
* The Main Query function mep_event_query is locet in inc/mep_query.php File
|
||||||
*/
|
*/
|
||||||
$loop = mep_event_query($show, $sort, $cat, $org, $city, $country, $status);
|
$loop = mep_event_query($show, $sort, $cat, $org, $city, $country, $status);
|
||||||
$total_post = $loop->post_count;
|
$total_post = $loop->post_count;
|
||||||
echo $main_div;
|
echo $main_div;
|
||||||
|
|
|
@ -7,7 +7,6 @@ if ( post_password_required() ) {
|
||||||
echo get_the_password_form(); // WPCS: XSS ok.
|
echo get_the_password_form(); // WPCS: XSS ok.
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
$event_meta = get_post_custom(get_the_id());
|
$event_meta = get_post_custom(get_the_id());
|
||||||
$author_terms = get_the_terms(get_the_id(), 'mep_org');
|
$author_terms = get_the_terms(get_the_id(), 'mep_org');
|
||||||
$book_count = get_post_meta(get_the_id(), 'total_booking', true);
|
$book_count = get_post_meta(get_the_id(), 'total_booking', true);
|
||||||
|
|
|
@ -3053,7 +3053,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
?>
|
?>
|
||||||
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-text-multi-wrapper
|
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-text-multi-wrapper
|
||||||
field-text-multi-wrapper-<?php echo $field_id; ?>">
|
field-text-multi-wrapper-<?php echo $field_id; ?>">
|
||||||
<span class="ppof-button add-item"><?php echo __('Add','pickplugins-options-framework'); ?></span>
|
<span class="ppof-button add-item"><?php echo __('Add','mage-eventpress'); ?></span>
|
||||||
<div class="field-list <?php if($sortable){ echo 'sortable'; }?>" id="<?php echo $field_id; ?>">
|
<div class="field-list <?php if($sortable){ echo 'sortable'; }?>" id="<?php echo $field_id; ?>">
|
||||||
<?php
|
<?php
|
||||||
if(!empty($values)):
|
if(!empty($values)):
|
||||||
|
@ -5079,7 +5079,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-colorpicker-multi-wrapper
|
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-colorpicker-multi-wrapper
|
||||||
field-colorpicker-multi-wrapper-<?php echo $id;
|
field-colorpicker-multi-wrapper-<?php echo $id;
|
||||||
?>">
|
?>">
|
||||||
<div class="ppof-button add"><?php echo __('Add','pickplugins-options-framework'); ?></div>
|
<div class="ppof-button add"><?php echo __('Add','mage-eventpress'); ?></div>
|
||||||
<div class="item-list">
|
<div class="item-list">
|
||||||
<?php
|
<?php
|
||||||
foreach ($values as $value):
|
foreach ($values as $value):
|
||||||
|
@ -5391,8 +5391,8 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
endif; ?>
|
endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-list">
|
<div class="user-list">
|
||||||
<div class="ppof-button select-user" ><?php echo __('Choose User','pickplugins-options-framework');?></div>
|
<div class="ppof-button select-user" ><?php echo __('Choose User','mage-eventpress');?></div>
|
||||||
<div class="search-user" ><input class="" type="text" placeholder="<?php echo __('Start typing...','pickplugins-options-framework');?>"></div>
|
<div class="search-user" ><input class="" type="text" placeholder="<?php echo __('Start typing...','mage-eventpress');?>"></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
if(!empty($icons)):
|
if(!empty($icons)):
|
||||||
|
@ -5565,8 +5565,8 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
<input type="hidden" name="<?php echo $field_name; ?>" value="<?php echo $value; ?>">
|
<input type="hidden" name="<?php echo $field_name; ?>" value="<?php echo $value; ?>">
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-list">
|
<div class="icon-list">
|
||||||
<div class="ppof-button select-icon" ><?php echo __('Choose Icon','pickplugins-options-framework'); ?></div>
|
<div class="ppof-button select-icon" ><?php echo __('Choose Icon','mage-eventpress'); ?></div>
|
||||||
<div class="search-icon" ><input class="" type="text" placeholder="<?php echo __('Start typing...','pickplugins-options-framework'); ?>"></div>
|
<div class="search-icon" ><input class="" type="text" placeholder="<?php echo __('Start typing...','mage-eventpress'); ?>"></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
if(!empty($icons)):
|
if(!empty($icons)):
|
||||||
|
@ -5701,8 +5701,8 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
endif; ?>
|
endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-list">
|
<div class="icon-list">
|
||||||
<div class="ppof-button select-icon" ><?php echo __('Choose Icon','pickplugins-options-framework'); ?></div>
|
<div class="ppof-button select-icon" ><?php echo __('Choose Icon','mage-eventpress'); ?></div>
|
||||||
<div class="search-icon" ><input class="" type="text" placeholder="<?php echo __('Start typing...','pickplugins-options-framework'); ?>"></div>
|
<div class="search-icon" ><input class="" type="text" placeholder="<?php echo __('Start typing...','mage-eventpress'); ?>"></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
if(!empty($icons)):
|
if(!empty($icons)):
|
||||||
|
@ -7639,7 +7639,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="val-wrap">
|
<div class="val-wrap">
|
||||||
<input class="link-val" name='<?php echo $field_name; ?>' type="text" value="<?php echo $value; ?>"> <span class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','pickplugins-options-framework');?></span> <span class="ppof-button clear">Clear</span>
|
<input class="link-val" name='<?php echo $field_name; ?>' type="text" value="<?php echo $value; ?>"> <span class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','mage-eventpress');?></span> <span class="ppof-button clear">Clear</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="error-mgs"></div>
|
<div class="error-mgs"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8113,7 +8113,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<input type='hidden' name='<?php echo $field_name; ?>' id='media_input_<?php echo $id; ?>' value='<?php echo $value; ?>' />
|
<input type='hidden' name='<?php echo $field_name; ?>' id='media_input_<?php echo $id; ?>' value='<?php echo $value; ?>' />
|
||||||
<div class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','pickplugins-options-framework');?></div><div class='ppof-button clear' id='media_clear_<?php echo $id; ?>'><?php echo __('Clear','pickplugins-options-framework');?></div>
|
<div class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','mage-eventpress');?></div><div class='ppof-button clear' id='media_clear_<?php echo $id; ?>'><?php echo __('Clear','mage-eventpress');?></div>
|
||||||
<div class="error-mgs"></div>
|
<div class="error-mgs"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -8246,10 +8246,10 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
?>
|
?>
|
||||||
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-media-multi-wrapper
|
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo $depends; ?>]" <?php } ?> id="field-wrapper-<?php echo $id; ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-media-multi-wrapper
|
||||||
field-media-multi-wrapper-<?php echo $id; ?>">
|
field-media-multi-wrapper-<?php echo $id; ?>">
|
||||||
<div class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','pickplugins-options-framework');?></div><div class='ppof-button clear'
|
<div class='ppof-button upload' id='media_upload_<?php echo $id; ?>'><?php echo __('Upload','mage-eventpress');?></div><div class='ppof-button clear'
|
||||||
id='media_clear_<?php echo
|
id='media_clear_<?php echo
|
||||||
$id;
|
$id;
|
||||||
?>'><?php echo __('Clear','pickplugins-options-framework');?></div>
|
?>'><?php echo __('Clear','mage-eventpress');?></div>
|
||||||
<div class="media-list media-list-<?php echo $id; ?> sortable">
|
<div class="media-list media-list-<?php echo $id; ?> sortable">
|
||||||
<?php
|
<?php
|
||||||
if(!empty($values) && is_array($values)):
|
if(!empty($values) && is_array($values)):
|
||||||
|
|
|
@ -5768,7 +5768,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
<input type="hidden" name="<?php echo $field_name; ?>" value="<?php echo $value; ?>">
|
<input type="hidden" name="<?php echo $field_name; ?>" value="<?php echo $value; ?>">
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-list">
|
<div class="icon-list">
|
||||||
<div class="button select-icon" >Choose Icon</div>
|
<div class="button select-icon" ><?php _e('Choose Icon','mage-eventpress'); ?></div>
|
||||||
<div class="search-icon" ><input class="" type="text" placeholder="start typing..."></div>
|
<div class="search-icon" ><input class="" type="text" placeholder="start typing..."></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
@ -5935,7 +5935,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
|
||||||
endif; ?>
|
endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-list">
|
<div class="icon-list">
|
||||||
<div class="button select-icon" >Choose Icon</div>
|
<div class="button select-icon" >C<?php _e('Choose Icon','mage-eventpress'); ?></div>
|
||||||
<div class="search-icon" ><input class="" type="text" placeholder="start typing..."></div>
|
<div class="search-icon" ><input class="" type="text" placeholder="start typing..."></div>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue