Plugin Directory


Ignore:
Timestamp:
02/02/2010 05:06:15 AM (16 years ago)
Author:
ShaneF
Message:

all the localized scripts are done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • woopra/trunk/inc/admin.php

    r200927 r200959  
    212212                    array(
    213213                        //  Text Strings
    214                         'error'         =>  __('An javascript error has happened. Please try again later.', 'woopra'),
     214                        'error'         =>  __('An jQuery error has happened. Please try again later.', 'woopra'),
    215215                        'loading'       =>  __('Loading...'),
    216216                        'from'          =>  __('From'),
     
    222222                        'referrers'     =>  __('Referrers'),
    223223                        'searches'      =>  __('Searches'),
    224                         'tagvisitors'   =>  __('Tagged Vistors'),
     224                        //'tagvisitors' =>  __('Tagged Vistors'),
    225225                        'overview'      =>  __('Overview'),
    226226                        'countries'     =>  __('Countries'),
     
    228228                        'visitdura'     =>  __('Visit Durations'),
    229229                        'browsers'      =>  __('Browsers'),
     230                        'platforms'     =>  __('Platforms'),
     231                        'screenres'     =>  __('Screen Resolutions'),
     232                        'languages'     =>  __('Languages'),
     233                        'pageview'      =>  __('Page Views'),
     234                        'landingpage'   =>  __('Landing Pages'),
     235                        'exitpage'      =>  __('Exit Pages'),
     236                        'outgoinglink'  =>  __('Outgoing Links'),
     237                        'downloads'     =>  __('Downloads'),
     238                        'referrer_ty'   =>  __('Referrer Types'),
     239                        'referrer_se'   =>  __('Search Engines'),
     240                        'referrer_fr'   =>  __('Feed Readers'),
     241                        'referrer_em'   =>  __('Emails'),
     242                        'referrer_sb'   =>  __('Social Bookmarks'),
     243                        'referrer_sn'   =>  __('Social Networks'),
     244                        'referrer_me'   =>  __('Media'),
     245                        'referrer_ne'   =>  __('News'),
     246                        'referrer_co'   =>  __('Community'),
     247                        'referrer_al'   =>  __('All Links'),
     248                        'search_quer'   =>  __('Search Queries'),
     249                        'keywords'      =>  __('Keywords'),
    230250                        //  Data Settings
    231251                        'apikey'        =>  $this->get_option('api_key'),
     
    265285        else if ($this->version_compare(array( '1.4.2' => '>' , '1.4.3' => '<' )))
    266286            $this->upgrade('1.4.3');
     287        else if ($this->version_compare(array( '1.4.3' => '>' , '1.5.0' => '<' )))
     288            $this->upgrade('1.5.0');
    267289    }
    268290
     
    368390            unset($woopra['version']);
    369391            update_option( 'woopra', array_merge($woopra, $newopts) );
    370         }
     392        } else if ( $ver == '1.5.0' ) {
     393           
     394            $woopra = get_option('woopra');
     395
     396            $newopts = array (
     397                'use_subdomain'         =>  0,
     398            );
     399           
     400            unset($woopra['version']);
     401            update_option( 'woopra', array_merge($woopra, $newopts) );
     402       
     403        }
    371404    }
    372405
     
    378411    function defaults() {
    379412        $defaults = array(
    380             'version'           => '',
     413            'version'           => WOOPRA_VERSION,
    381414            'activated'         => 1,
    382415            'api_key'           => '',
     
    389422            'track_admin'       => 0,
    390423            'use_timeout'       => 0,
    391             'process_events'    => 1,
     424            'use_subdomain'     =>  0,
    392425            'timeout'           => 600,
    393426        );
     
    498531            </td>
    499532        </tr>
     533        <tr valign="top">
     534            <th scope="row"><?php _e('Sub Domains', 'woopra') ?></th>
     535            <td>
     536                <input type="checkbox" value="1"<?php checked('1', $this->get_option('use_subdomain')); ?> id="use_subdomain" name="use_subdomain"/> <label for="use_subdomain"><?php _e("Track Sub Domains"); ?></label><br /><small><?php printf( __('Enabled this if you want to track subdomains. Note: You must have an account that allows subdomain tracking. Please refer to the <a href="%s">account information</a> page for more information.', 'woopra'), 'https://www.woopra.com/members/'); ?></small>
     537            </td>
     538        </tr>
    500539    </table>
    501540    <br/>
Note: See TracChangeset for help on using the changeset viewer.