Plugin Directory

Changeset 2143317


Ignore:
Timestamp:
08/21/2019 06:21:04 PM (7 years ago)
Author:
hitcode
Message:

3.6.7

Location:
locatoraid/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • locatoraid/trunk/config/_common.php

    r2127805 r2143317  
    11<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
    2 $config['app_version'] = '3.6.6';
     2$config['app_version'] = '3.6.7';
    33// $config['dbprefix_version'] = 'v1';
    44
  • locatoraid/trunk/locatoraid.php

    r2127805 r2143317  
    44Plugin URI: https://www.locatoraid.com/
    55Description: Store locator plugin
    6 Version: 3.6.6
     6Version: 3.6.7
    77Author: hitcode.com
    88Author URI: https://www.locatoraid.com/
     
    1212
    1313if( ! defined('LC3_VERSION') ){
    14     define( 'LC3_VERSION', 366 );
     14    define( 'LC3_VERSION', 367 );
    1515}
    1616
  • locatoraid/trunk/modules/front/_config_settings.php

    r2124830 r2143317  
    4141$config['settings']['front_list:phone:w_label'] = 1;
    4242
    43 $config['settings']['front_text:submit_button'] = HCM::__('Search');
    44 $config['settings']['front_text:search_field'] = HCM::__('Address or Zip Code');
    45 $config['settings']['front_text:more_results'] = HCM::__('More Results');
    46 $config['settings']['front_text:no_results'] = HCM::__('No Results');
     43$config['settings']['front_text:submit_button'] = 'Search';
     44$config['settings']['front_text:search_field'] = 'Address or Zip Code';
     45$config['settings']['front_text:more_results'] = 'More Results';
     46$config['settings']['front_text:no_results'] = 'No Results';
    4747
  • locatoraid/trunk/modules/front/form.php

    r1726376 r2143317  
    99        $label = $app_settings->get('front_text:search_field');
    1010        if( $label === NULL ){
    11             $label = HCM::__('Address or Zip Code');
     11            $label = 'Address or Zip Code';
    1212        }
     13        $label = HCM::__($label);
    1314
    1415        $return['search'] = $this->app->make('/form/text')
  • locatoraid/trunk/modules/front/view_form.php

    r2124830 r2143317  
    166166        $btn_label = $app_settings->get('front_text:submit_button');
    167167        if( $btn_label === NULL ){
    168             $btn_label = HCM::__('Search');
    169         }
     168            $btn_label = 'Search';
     169        }
     170        $btn_label = HCM::__($btn_label);
    170171
    171172        $out_buttons = $this->app->make('/html/element')->tag('input')
     
    189190        $more_results_label = $app_settings->get('front_text:more_results');
    190191        if( $more_results_label === NULL ){
    191             $more_results_label = HCM::__('More Results');
    192         }
    193    
     192            $more_results_label = 'More Results';
     193        }
     194        $more_results_label = HCM::__($more_results_label);
     195
    194196        $more_results_link = $this->app->make('/html/element')->tag('a')
    195197            ->add_attr('class', 'hcj2-more-results')
  • locatoraid/trunk/modules/front/view_list.php

    r2124830 r2143317  
    3131
    3232        $no_results_label = $app_settings->get('front_text:no_results');
     33        $no_results_label = HCM::__($no_results_label);
     34
    3335        $no_results_template = array();
    3436        $no_results_template[] = '<div class="hc-p2 hc-border hc-rounded">';
  • locatoraid/trunk/readme.txt

    r2127805 r2143317  
    8585== Changelog ==
    8686
     87= 3.6.7 =
     88* Useful for multi language websites: front end text configuration is now translation ready. For example, enter "Search" in the settings form, then translate it in the language file.
     89
    8790= 3.6.6 =
    8891* BUG: not yet geocoded entries may have appeared in search results.
Note: See TracChangeset for help on using the changeset viewer.