Plugin Directory

Changeset 1740796


Ignore:
Timestamp:
10/04/2017 10:05:12 AM (8 years ago)
Author:
eldolink
Message:

Translations changes

Location:
eldolink/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • eldolink/trunk/includes/widget_banner.php

    r1733554 r1740796  
    55    public function __construct()
    66    {
    7         parent::__construct('eldolink_banner', __('Banner Eldolink', 'eldolink'), array(
     7        parent::__construct('eldolink_banner', __('Eldolink® Banner', 'eldolink'), array(
    88            'description' => __('Setting up a banner', 'eldolink'),
    99        ));
  • eldolink/trunk/includes/widget_catcher.php

    r1733554 r1740796  
    55    public function __construct()
    66    {
    7         parent::__construct('eldolink_catcher', __('Catcher Eldolink', 'eldolink'), array(
     7        parent::__construct('eldolink_catcher', __('Eldolink® email catcher', 'eldolink'), array(
    88            'description' => __('Setting up a catcher', 'eldolink'),
    99        ));
     
    189189
    190190            $this->get_field_name('txtColor'),
    191             __('Text Color', 'eldolink'),
     191            __('Text Colour', 'eldolink'),
    192192            $this->get_field_id('txtColor'),
    193193            $this->get_field_name('txtColor'),
     
    195195
    196196            $this->get_field_name('bgColor'),
    197             __('Background Color', 'eldolink'),
     197            __('Background Colour', 'eldolink'),
    198198            $this->get_field_id('bgColor'),
    199199            $this->get_field_name('bgColor'),
     
    201201
    202202            $this->get_field_name('brColor'),
    203             __('Border Color', 'eldolink'),
     203            __('Border Colour', 'eldolink'),
    204204            $this->get_field_id('brColor'),
    205205            $this->get_field_name('brColor'),
     
    207207
    208208            $this->get_field_name('btnColor'),
    209             __('Button Color', 'eldolink'),
     209            __('Button Colour', 'eldolink'),
    210210            $this->get_field_id('btnColor'),
    211211            $this->get_field_name('btnColor'),
  • eldolink/trunk/includes/widget_content.php

    r1733554 r1740796  
    55    public function __construct()
    66    {
    7         parent::__construct('eldolink_content', __('Content Eldolink', 'eldolink'), array(
     7        parent::__construct('eldolink_content', __('Eldolink® free content', 'eldolink'), array(
    88            'description' => __('Setting up a content', 'eldolink'),
    99        ));
     
    189189
    190190            $this->get_field_name('txtColor'),
    191             __('Text Color', 'eldolink'),
     191            __('Text Colour', 'eldolink'),
    192192            $this->get_field_id('txtColor'),
    193193            $this->get_field_name('txtColor'),
     
    195195
    196196            $this->get_field_name('bgColor'),
    197             __('Background Color', 'eldolink'),
     197            __('Background Colour', 'eldolink'),
    198198            $this->get_field_id('bgColor'),
    199199            $this->get_field_name('bgColor'),
     
    201201
    202202            $this->get_field_name('brColor'),
    203             __('Border Color', 'eldolink'),
     203            __('Border Colour', 'eldolink'),
    204204            $this->get_field_id('brColor'),
    205205            $this->get_field_name('brColor'),
     
    207207
    208208            $this->get_field_name('btnColor'),
    209             __('Button Color', 'eldolink'),
     209            __('Button Colour', 'eldolink'),
    210210            $this->get_field_id('btnColor'),
    211211            $this->get_field_name('btnColor'),
  • eldolink/trunk/includes/widget_dynamic.php

    r1733554 r1740796  
    55    public function __construct()
    66    {
    7         parent::__construct('eldolink_dynamic', __('Dynamic Eldolink', 'eldolink'), array(
     7        parent::__construct('eldolink_dynamic', __('Eldolink® dynamic banner', 'eldolink'), array(
    88            'description' => __('Setting up a dynamic banner', 'eldolink'),
    99        ));
     
    156156
    157157            $this->get_field_name('txtColor'),
    158             __('Text Color', 'eldolink'),
     158            __('Text Colour', 'eldolink'),
    159159            $this->get_field_id('txtColor'),
    160160            $this->get_field_name('txtColor'),
     
    162162
    163163            $this->get_field_name('bgColor'),
    164             __('Background Color', 'eldolink'),
     164            __('Background Colour', 'eldolink'),
    165165            $this->get_field_id('bgColor'),
    166166            $this->get_field_name('bgColor'),
     
    168168
    169169            $this->get_field_name('brColor'),
    170             __('Border Color', 'eldolink'),
     170            __('Border Colour', 'eldolink'),
    171171            $this->get_field_id('brColor'),
    172172            $this->get_field_name('brColor'),
  • eldolink/trunk/wp-eldolink.php

    r1740296 r1740796  
    11<?php
    22/**
    3  * Plugin Name: Eldolink
     3 * Plugin Name: Eldolink®
    44 * Plugin URI: https://www.eldolink.com/home
    5  * Description: Plugin for Eldolink
     5 * Description: Plugin for Eldolink®
    66 * Version: 0.4
    77 * Text Domain: eldolink
     
    169169            if (!get_option('eldolink_affiliate')) {
    170170                $class = 'notice notice-error';
    171                 $message = __( 'Your Affiliate ID is missing.', 'eldolink' );
     171                $message = __( 'Your affiliate ID is missing.', 'eldolink' );
    172172                $url = 'https://www.eldolink.com/partners';
    173173                $link = __( 'Learn more', 'eldolink' );
     
    178178                if (!get_option('eldolink_token')) {
    179179                    $class = 'notice notice-error';
    180                     $message = __( 'Your API Token is missing.', 'eldolink' );
     180                    $message = __( 'Your API token is missing.', 'eldolink' );
    181181                    $url = 'https://www.eldolink.com/partners/account';
    182182                    $link = __( 'Learn more', 'eldolink' );
     
    187187                    if( !$this->check_api_access() ){
    188188                        $class = 'notice notice-error';
    189                         $message = __( 'An error occured when validating your API Token.', 'eldolink' );
     189                        $message = __( 'An error occured when validating your API token.', 'eldolink' );
    190190                        $url = 'https://www.eldolink.com/partners/account';
    191191                        $link = __( 'Learn more', 'eldolink' );
     
    238238                $settings,
    239239                __('General settings', 'eldolink'),
    240                 __('To use our different tools, you need an Eldolink affiliate account.', 'eldolink'),
     240                __('To use our different tools, you need an Eldolink® affiliate account.', 'eldolink'),
    241241                __('Create a free account', 'eldolink'),
    242                 __('Your Affiliate ID', 'eldolink'),
     242                __('Your affiliate ID', 'eldolink'),
    243243                get_option('eldolink_affiliate'),
    244244                __('This is your 5 digits identifier located at the top right of your affiliate interface', 'eldolink'),
    245                 __('Your API Token', 'eldolink'),
     245                __('Your API token', 'eldolink'),
    246246                get_option('eldolink_token'),
    247247                __('This token is generated in your affiliate interface.', 'eldolink'),
     
    369369                <div class="wrap">
    370370                    <h1>%s</h1>
    371                     <p>%s</p>
     371                    <p>%s<br />%s<br />%s<br />%s<br />%s<br />%s</p>
    372372                    <h2 class="title">%s</h2>
    373373                    <p>%s <a href="%s">%s</a>.</p>
     
    378378                    <p>%s <a href="%s">%s</a>. %s.</p>
    379379                    <p>%s</p>
    380                     <p>%s<br />%s<br />%s</p>
    381                     <p>%s<br />%s<br />%s</p>
    382                     <p>%s<br />%s<br />%s</p>
    383                     <p>%s<br />%s<br />%s</p>
     380                    <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p>
     381                    <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p>
     382                    <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p>
     383                    <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p>
    384384                </div>
    385385                ',
    386386                get_admin_page_title(),
    387387
    388                 __('This plugin gives you access to every Eldolink® promotion tools, such as:<br />
    389 - Banners<br />
    390 - Dynamic Banners<br />
    391 - Free Contents<br />
    392 - Catchers<br />
    393 - Super Catchers (modals)<br />', 'eldolink'),
     388                __('This plugin gives you access to every Eldolink® promotion tools, such as :', 'eldolink'),
     389                __('- Banners', 'eldolink'),
     390                __('- Dynamic Banners', 'eldolink'),
     391                __('- Free Contents', 'eldolink'),
     392                __('- Catchers', 'eldolink'),
     393                __('- Modals (super catchers)', 'eldolink'),
    394394               
    395395                __('Settings', 'eldolink'),
    396                 __('To use this plugin, please create a free account on eldolink.com and enter your Affiliate ID and Token ID on the', 'eldolink'),
     396                __('To use this plugin, please create a free account on eldolink.com and enter your affiliate ID and token API on the', 'eldolink'),
    397397                esc_url( admin_url( 'admin.php?page=eldolink_settings' ) ),
    398398                __('settings page', 'eldolink'),
     
    412412                __('You can also insert every tools into pages or posts by using it\'s shortcode:', 'eldolink'),
    413413
    414                 __('<strong>Banners:</strong><br />Shortcode : [eldolink_banner]', 'eldolink'),
    415                 __('Parameters:<br /><ul><ol>{products} : list of the products to promote</ol><ol>{format} : format of the banner</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'),
    416                 __('Example: [eldolink_banner products=14,10,1 format=300x250 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
    417 
    418                 __('<strong>Email Catchers:</strong><br /> Shortcode : [eldolink_catcher]', 'eldolink'),
    419                 __('Parameters:<br /><ul><ol>{tool} : ID of the tool</ol><ol>{width} : width of the catcher</ol><ol>{height} : height of the catcher</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{btnColor} : button colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'),
    420                 __('Example: [eldolink_catcher tool=223 width=650 height=160 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
    421 
    422                 __('<strong>Free Contents:</strong><br /> Shortcode : [eldolink_content]', 'eldolink'),
    423                 __('Parameters:<br /><ul><ol>{tool} : ID of the tool</ol><ol>{width} : width of the catcher</ol><ol>{height} : height of the catcher</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{btnColor} : button colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'),
    424                 __('Example: [eldolink_content tool=169 width=600 height=800 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
    425 
    426                 __('<strong>Dynamic Banners:</strong><br /> Shortcode : [eldolink_dynamic]', 'eldolink'),
    427                 __('Parameters:<br /><ul><ol>{format} : format of the dynamic banner</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'),
    428                 __('Example: [eldolink_dynamic format=300x250 txtColor=333333 bgColor=ffffff brColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink')
     414                __('Banners :', 'eldolink'),
     415                __('Shortcode : [eldolink_banner]', 'eldolink'),
     416                __('Parameters :', 'eldolink'),
     417                __('{products} : list of the products to promote', 'eldolink'),
     418                __('{format} : format of the banner', 'eldolink'),
     419                __('{r} : pricing model to use', 'eldolink'),
     420                __('{trk1} : your tracker', 'eldolink'),
     421                __('{trk2} : your additional tracker', 'eldolink'),
     422                __('Example : [eldolink_banner products=14,10,1 format=300x250 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
     423
     424                __('Email Catchers :', 'eldolink'),
     425                __('Shortcode : [eldolink_catcher]', 'eldolink'),
     426                __('Parameters :', 'eldolink'),
     427                __('{tool} : tool\'s identifier', 'eldolink'),
     428                __('{width} : width of the catcher', 'eldolink'),
     429                __('{height} : height of the catcher', 'eldolink'),
     430                __('{txtColor} : text colour', 'eldolink'),
     431                __('{bgColor} : background colour', 'eldolink'),
     432                __('{brColor} : border colour', 'eldolink'),
     433                __('{btnColor} : button colour', 'eldolink'),
     434                __('{r} : pricing model to use', 'eldolink'),
     435                __('{trk1} : your tracker', 'eldolink'),
     436                __('{trk2} : your additional tracker', 'eldolink'),
     437                __('Example : [eldolink_catcher tool=223 width=650 height=160 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
     438
     439                __('Free Contents :', 'eldolink'),
     440                __('Shortcode : [eldolink_content]', 'eldolink'),
     441                __('Parameters :', 'eldolink'),
     442                __('{tool} : tool\'s identifier', 'eldolink'),
     443                __('{width} : width of the catcher', 'eldolink'),
     444                __('{height} : height of the catcher', 'eldolink'),
     445                __('{txtColor} : text colour', 'eldolink'),
     446                __('{bgColor} : background colour', 'eldolink'),
     447                __('{brColor} : border colour', 'eldolink'),
     448                __('{btnColor} : button colour', 'eldolink'),
     449                __('{r} : pricing model to use', 'eldolink'),
     450                __('{trk1} : your tracker', 'eldolink'),
     451                __('{trk2} : your additional tracker', 'eldolink'),
     452                __('Example : [eldolink_content tool=169 width=600 height=800 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'),
     453
     454                __('Dynamic Banners :', 'eldolink'),
     455                __('Shortcode : [eldolink_dynamic]', 'eldolink'),
     456                __('Parameters :', 'eldolink'),
     457                __('{format} : format of the banner', 'eldolink'),
     458                __('{txtColor} : text colour', 'eldolink'),
     459                __('{bgColor} : background colour', 'eldolink'),
     460                __('{brColor} : border colour', 'eldolink'),
     461                __('{r} : pricing model to use', 'eldolink'),
     462                __('{trk1} : your tracker', 'eldolink'),
     463                __('{trk2} : your additional tracker', 'eldolink'),
     464                __('Example : [eldolink_dynamic format=300x250 txtColor=333333 bgColor=ffffff brColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink')
    429465            );
    430466        }
Note: See TracChangeset for help on using the changeset viewer.