From 1cfbc5448e6f09852cb054c1520efca8b398a5c6 Mon Sep 17 00:00:00 2001 From: magepeopleteam Date: Sat, 6 Apr 2019 10:08:56 +0000 Subject: [PATCH] translations settings update --- inc/admin_setting_panel.php | 106 +++++++++++++++++- inc/mep_shortcode.php | 27 ++++- templates/template-prts/event_add_cart.php | 15 ++- templates/template-prts/event_ticket_type.php | 10 +- templates/template-prts/organizer.php | 3 +- templates/template-prts/total_seat.php | 4 +- templates/themes/default-theme.php | 16 ++- woocommerce-event-press.php | 2 +- 8 files changed, 162 insertions(+), 21 deletions(-) diff --git a/inc/admin_setting_panel.php b/inc/admin_setting_panel.php index 470931f..f073223 100644 --- a/inc/admin_setting_panel.php +++ b/inc/admin_setting_panel.php @@ -50,7 +50,7 @@ class MAGE_Events_Setting_Controls { ), array( 'id' => 'label_setting_sec', - 'title' => __( 'Label Settings', 'mage-eventpress' ) + 'title' => __( 'Translation Settings', 'mage-eventpress' ) ) ); @@ -221,6 +221,110 @@ class MAGE_Events_Setting_Controls { 'default' => 'Share This Event' ), + array( + 'name' => 'mep_organized_by_text', + 'label' => __( 'Organized By:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Organized By in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + + array( + 'name' => 'mep_location_text', + 'label' => __( 'Location:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Location in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_time_text', + 'label' => __( 'Time:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Time in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + + array( + 'name' => 'mep_event_location_text', + 'label' => __( 'Event Location:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Event Location in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_event_date_text', + 'label' => __( 'Event Date:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Event Date in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_event_time_text', + 'label' => __( 'Event Time:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Event Time in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + + array( + 'name' => 'mep_by_text', + 'label' => __( 'By:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as By in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_total_seat_text', + 'label' => __( 'Total Seat:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Total Seat in event list page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_register_now_text', + 'label' => __( 'Register Now:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Register Now in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_quantity_text', + 'label' => __( 'Quantity:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Quantity in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_total_text', + 'label' => __( 'Total:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Total in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_ticket_qty_text', + 'label' => __('Ticket Qty', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as Ticket Qty in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_per_ticket_price_text', + 'label' => __('Per Ticket Price:', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as per Ticket price in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + array( + 'name' => 'mep_no_ticket_selected_text', + 'label' => __('No Ticket Selected!', 'mage-eventpress' ), + 'desc' => __( 'Enter the text which you want to display as No Ticket Selected in event details page.', 'mage-eventpress' ), + 'type' => 'text', + 'default' => '' + ), + + + ), 'style_setting_sec' => array( array( diff --git a/inc/mep_shortcode.php b/inc/mep_shortcode.php index 2a45c71..438f816 100644 --- a/inc/mep_shortcode.php +++ b/inc/mep_shortcode.php @@ -242,21 +242,28 @@ if($style=='list'){
  • -
    +
    + +
    name; ?>
  • -
    +
    + + +
  • -
    +
    + +
    -
  • @@ -484,21 +491,29 @@ if($style=='list'){
  • -
    +
    + +
    name; ?>
  • -
    +
    + + +
  • -
    +
    + + +
    -
  • diff --git a/templates/template-prts/event_add_cart.php b/templates/template-prts/event_add_cart.php index e9e49a4..9e4ea21 100644 --- a/templates/template-prts/event_add_cart.php +++ b/templates/template-prts/event_add_cart.php @@ -126,7 +126,10 @@ if(array_key_exists('mep_reg_status', $event_meta)){ } if($reg_status!='off'){ ?> -

    +

    + + +

    "/> - diff --git a/templates/template-prts/event_ticket_type.php b/templates/template-prts/event_ticket_type.php index 6e129ba..19e979d 100644 --- a/templates/template-prts/event_ticket_type.php +++ b/templates/template-prts/event_ticket_type.php @@ -35,7 +35,10 @@ $qty_t_type = $field['option_qty_t_type'];
    -
    @@ -162,12 +165,16 @@ if($event_sqi==1){ } } ?> - + + + -

    +

    + +

    - + + + + 0){ //echo $llft; @@ -49,7 +52,10 @@ if($qty_t_type=='dropdown'){ ?> size="4" pattern="[0-9]*" inputmode="numeric" type="number" class='extra-qty-box etp' name='option_qty[]' data-price='' value='0' min="0" max=""> + + + + 0){ ?> '> diff --git a/templates/template-prts/organizer.php b/templates/template-prts/organizer.php index 0b8953f..377ef11 100644 --- a/templates/template-prts/organizer.php +++ b/templates/template-prts/organizer.php @@ -4,5 +4,6 @@ add_action('mep_event_organizer','mep_ev_org'); function mep_ev_org(){ global $author_terms; - if($author_terms){ ?>

    name; ?>

    name; ?>

    -
    ( )
    +
    ( )
    -
    ( )
    +
    ( )
    -

    +

    + +

    -

    +

    + +

    -

    +

    + +

    ,

    @@ -50,7 +56,9 @@
    -

    +

    +

    +
    diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index 15f630d..b8d23b4 100644 --- a/woocommerce-event-press.php +++ b/woocommerce-event-press.php @@ -3,7 +3,7 @@ * Plugin Name: Woocommerce Events Manager * Plugin URI: http://mage-people.com * Description: A Complete Event Solution for WordPress by MagePeople.. -* Version: 2.5.2 +* Version: 2.5.3 * Author: MagePeople Team * Author URI: http://www.mage-people.com/ * Text Domain: mage-eventpress