Plugin Directory

Changeset 1319447


Ignore:
Timestamp:
01/01/2016 09:43:34 AM (10 years ago)
Author:
expresscurate
Message:

new version v2.1.5 with changes:

  • Wordpress 4.4 supported now.
  • Miscellaneous bug fixes and improvements.
Location:
expresscurate/trunk
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • expresscurate/trunk/ExpressCurate.php

    r1252098 r1319447  
    55  Plugin URI: http://www.expresscurate.com/products
    66  Description: ExpressCurate plugin is a content curation tool for WordPress. It enables you to create and publish high quality content within minutes.
    7   Version: 2.1.4
     7  Version: 2.1.5
    88  Author: ExpressCurate
    99  Author URI: http://www.expresscurate.com
  • expresscurate/trunk/ExpressCurate_Actions.php

    r1252098 r1319447  
    167167        add_action('wp_ajax_expresscurate_bookmark_set', array($this->feedManager, 'set_bookmark'));
    168168        add_action('wp_ajax_expresscurate_bookmark_get', array($this->feedManager, 'get_bookmark'));
     169        add_action('wp_ajax_expresscurate_bookmarks_get', array($this->feedManager, 'get_bookmarks'));
    169170        add_action('wp_ajax_expresscurate_bookmarks_delete', array($this->feedManager, 'delete_bookmarks'));
    170171        add_action('wp_ajax_expresscurate_delete_feed_content_items', array($this->feedManager, 'delete_feed_content_items'));
     
    18481849        }
    18491850
    1850 
    1851 
    1852         if (!ExpressCurate_HtmlParser::isNotSafeMode() || strlen(ini_get('open_basedir'))!=0) {
     1851        if(ExpressCurate_HtmlParser::isSafeMode() || strlen(ini_get('open_basedir')) !=0  ) {
    18531852            echo '<div class="update-nag">
    18541853                      For the plugin to perform properly make sure those settings on your server in the following states.</br>
  • expresscurate/trunk/ExpressCurate_AjaxExportAPI.php

    r1191825 r1319447  
    5151           
    5252            $sppResult = array();
    53             foreach ($profiles as $profile) {
    54                  $profileId = $profile->id;
    55                  if ($profilesStatus->$profileId == 'on' || empty($profilesStatus->$profileId)) {
    56                      $sppResult[] = array(
    57                          'id' => $profileId,
    58                          'title' => $profile->formatted_service . '/' . $profile->formatted_username);
    59                  }
    60             }
     53            if(isset($profiles)){
     54                foreach ($profiles as $profile) {
     55                    $profileId = $profile->id;
     56                    if ($profilesStatus->$profileId == 'on' || empty($profilesStatus->$profileId)) {
     57                        $sppResult[] = array(
     58                            'id' => $profileId,
     59                            'title' => $profile->formatted_service . '/' . $profile->formatted_username);
     60                    }
     61                }
     62            }
     63
    6164
    6265            $data['social_publishing'] = $sppResult;
  • expresscurate/trunk/ExpressCurate_FeedManager.php

    r1252098 r1319447  
    119119        $data = $_REQUEST;
    120120        if ($data['url']) {
    121             $data['url'] = htmlentities($data['url'], ENT_COMPAT);
    122121            $curated_links_rss = get_option('expresscurate_links_rss', '');
    123122            if ($curated_links_rss) {
     
    384383    }
    385384
    386 
    387385    public function get_feed_content()
    388386    {
     
    421419                foreach ($curated_links_rss as $url => $feed_url) {
    422420                    // pull content
    423                     $lookup_url = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=" . urlencode($feed_url['feed_url']) . "&num=-1";
     421                    $lookup_url = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=-1&q=" . urlencode($feed_url['feed_url']);
    424422                    $htmlparser = new ExpressCurate_HtmlParser($lookup_url);
    425423                    $res = $htmlparser->download();
     
    428426                    $this->collect_feed($result, $deleted_urls, $feed_array, 'feed', $date, $unseen_feeds);
    429427                }
     428
    430429                update_option('unseen_feeds_count', $unseen_feeds);
    431430            }
     
    753752                    $this->collectBookmark($bookmarks, $item);
    754753
    755                     // $result[$bookmarkURL]['status'] = 'success';
     754                    $result[$bookmarkURL]['status'] = 'success';
    756755                }
    757756            }
     
    969968    {
    970969        $bookmarks = get_option('expresscurate_bookmarks', '');
    971         if ($bookmarks) {
    972             $bookmarks = json_decode($bookmarks, true);
    973         } else {
    974             $bookmarks = array();
    975         }
    976         return $bookmarks;
     970        if(isset($_REQUEST['action']) && $_REQUEST['action'] == "expresscurate_bookmarks_get"){
     971            echo $bookmarks;
     972            die;
     973        }
     974        else {
     975            if ($bookmarks) {
     976                $bookmarks = json_decode($bookmarks, true);
     977            } else {
     978                $bookmarks = array();
     979            }
     980            return $bookmarks;
     981        }
    977982    }
    978983
  • expresscurate/trunk/ExpressCurate_HtmlParser.php

    r1252098 r1319447  
    4747    }
    4848
    49     public static function isNotSafeMode()
     49    public static function isSafeMode()
    5050    {
    5151        $safeMode = ini_get('safe_mode');
    5252        if(!empty($safeMode) && version_compare(PHP_VERSION, '5.4.0') < 0) {
     53            return true;
     54        } else {
    5355            return false;
    54         } else {
    55             return true;
    5656        }
    5757    }
     
    177177        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    178178        curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
    179         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
     179        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 500);
    180180        return $ch;
    181181    }
     
    248248        }
    249249        $curlDownload = true;
    250         if(!self::isNotSafeMode()){
     250        if(self::isSafeMode()){
    251251            $curlDownload = false;
    252         } else if(strlen(ini_get('open_basedir'))!=0){
     252        } else if(strlen(ini_get('open_basedir')) !=0 ){
    253253            $curlDownload = false;
    254254        } else if(self::supportsAsynch())   {
     
    332332        if (!$this->raw) {
    333333            // cleanup the content
    334             $content = self::sanitizeContent($content);
     334            if ($contentType) {
     335                list($content_type,$encoding) = explode("=", $contentType);
     336                if(trim($content_type)=="text/html"){
     337                    $content = self::sanitizeContent($content);
     338                }
     339            }
    335340
    336341            // check if encoding is found
  • expresscurate/trunk/ExpressCurate_Tags.php

    r1191825 r1319447  
    2525    {
    2626        // TODO for multiline use /m
    27         return preg_replace_callback('/(?![^<]*<\/a)(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/uUis', array(&$this, 'checkOpenTag'), $html,1);
     27        return preg_replace_callback('/(?![^<]*<\/[a|h])(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/uUis', array(&$this, 'checkOpenTag'), $html,1);
    2828        //return preg_replace_callback('/(#?)(\b' . $this->word . '\b)(?=[^>]*(<|$))(?=(.*?))/Uuis', array(&$this, 'checkOpenTag'), $html,1);
    2929    }
  • expresscurate/trunk/css/dialog-style-3.9.css

    r1165036 r1319447  
    44    border-radius: 0 !important;
    55    border:none;
    6     z-index: 100091 !important;
     6    z-index: 1002 !important;
    77}
    88.ui-widget-overlay{
     
    1111    background: #000 !important;
    1212    position: fixed;
    13     z-index: 100090 !important;
     13    z-index: 1001 !important;
    1414}
    1515div[aria-describedby="expresscurate_clone_dialog"] .ui-dialog-titlebar,
  • expresscurate/trunk/css/expresscurate.css

    r1252098 r1319447  
    12451245    margin-left: 6px;
    12461246    margin-right: 6px;
    1247     z-index: 90000;
     1247    z-index: 1001;
    12481248}
    12491249.expresscurate_settings .addUsers,
     
    28242824    border-color: #ddd;
    28252825    -webkit-box-shadow: none;
    2826     box-shadow: none);
    2827     -moz-box-shadow: none;
    2828     -webkit-box-shadow:none;
    28292826    box-shadow: none;
    28302827    -moz-box-shadow: none;
     
    43174314        .expresscurate_feedBoxes .checkInput[type=checkbox]:checked + label{
    43184315            background: url("../images/feed_icons.svg") no-repeat -75px -3px;
    4319             background-size: auto 73px;
    4320         }
     4316            background-size: 157px auto;
     4317        }
     4318@-moz-document url-prefix() {
     4319    .expresscurate_bookmarkBoxes .checkInput[type=checkbox]:checked + label,
     4320    .expresscurate_feedBoxes .checkInput[type=checkbox]:checked + label {
     4321        background: url("../images/feed_icons.svg") no-repeat -75px 1px;
     4322        background-size: 157px auto;
     4323    }
     4324    .expresscurate_controls li.linkToDeletedPosts{
     4325        background-position: -180px -35px;
     4326        background-size: auto 100px;
     4327    }
     4328    .expresscurate_controls li.linkToDeletedPosts:hover{
     4329        background-position: -181px -76px;
     4330    }
     4331    .expresscurate_feed_list .feedListControls .pull {
     4332        background-position: -148px -34px;
     4333    }
     4334    .expresscurate_feed_list .feedListControls .pull:hover {
     4335        background-position: -148px -75px;
     4336    }
     4337    .expresscurate_controls .check {
     4338        background-position: -104px -35px;
     4339    }
     4340    .expresscurate_controls .check.active {
     4341        background-position: -104px -75px;
     4342    }
     4343    .expresscurate_controls .remove {
     4344        background-position: -49px 8px;
     4345    }
     4346    .expresscurate_controls .remove.active {
     4347        background-position: -49px -25px;
     4348    }
     4349    .expresscurate_controls .remove.active:hover {
     4350        background-position: -49px -59px;
     4351    }
     4352}
    43214353        .expresscurate_bookmarkBoxes li input[type=checkbox],
    43224354        .expresscurate_feedBoxes li input[type=checkbox]{
     
    51445176    .expresscurate_masonryItem{
    51455177        width: 32%;
    5146         width: -webkit-calc( ( 100% - 20px ) / 3 );
    5147         width: -moz-calc( ( 100% - 20px ) / 3 );
    5148         width: calc( ( 100% - 20px ) / 3 );
     5178        width: -webkit-calc((100% - 20px)/3);
     5179        width: -moz-calc((100% - 20px)/3);
     5180        width: calc((100% - 20px )/3);
    51495181    }
    51505182}
     
    51575189    .expresscurate_masonryItem{
    51585190        width: 47%;
    5159         width: -webkit-calc( ( 100% - 10px ) / 2 );
    5160         width: -moz-calc( ( 100% - 10px ) / 2 );
    5161         width: calc( ( 100% - 10px ) / 2 );
     5191        width: -webkit-calc((100% - 10px)/2);
     5192        width: -moz-calc((100% - 10px )/2);
     5193        width: calc((100% - 10px)/2);
    51625194    }
    51635195}
  • expresscurate/trunk/js/Buttons.js

    r1191825 r1319447  
    150150
    151151        var imagesInPost = $(content).find('img').length ? true : false,
    152             videoInPost = tinyMCE.get('content').getContent().indexOf('[embed]') > -1;
     152            videoInPost = $(content).text().indexOf('[embed]') > -1;
    153153        messageHtml += (!imagesInPost && !videoInPost) ? '<p class="lengthSuggestion red">Your post currently doesn’t have an image(video). Adding a media is a good way to improve conversion rates by creating visual associations with your posts.</p>' : '';
    154154        messageHtml += $('.attachment-post-thumbnail').length ? '' : '<p class="lengthSuggestion red">Your post currently doesn’t have a featured image. Adding a featured image is a good way to improve conversion rates by creating visual associations with your posts.</p>';
     
    455455
    456456            recoverShortcode: function (co) {
    457                 function getAttr(s, n) {
     457                /*function getAttr(s, n) {
    458458                    n = new RegExp(n + '=\"([^\"]+)\"', 'g').exec(s);
    459459                    return n ? tinymce.DOM.decode(n[1]) : '';
    460460                }
    461461
    462                 return co.replace(/(?:<p[^>]*>)*(<img[^>]+>)(?:<\/p>)*/g, function (a, im) {
     462                return co.replace(/(?:<p[^>]*>)*(<img[^>]+>)(?:<\/p>)*!/g, function (a, im) {
    463463                    var cls = getAttr(im, 'class');
    464464                    if (cls.indexOf('expresscurate_FacebookEmbed') != -1) {
     
    466466                    }
    467467                    return a;
    468                 });
     468                });*/return co;
    469469            },
    470470
     
    472472            init: function (ed, url) {
    473473
    474                 var t = this;
     474                var t = this,
     475                    mainEditor= tinyMCE.get('content');
    475476                t.url = url;
    476477                //replace shortcode before editor content set
    477                 ed.onBeforeSetContent.add(function (ed, o) {
     478
     479                mainEditor.onBeforeSetContent.add(function (ed, o) {
    478480                    o.content = t.visualizeShortcode(o.content);
    479481                });
    480482                //replace shortcode as its inserted into editor
    481                 ed.onExecCommand.add(function (ed, cmd) {
     483                mainEditor.onExecCommand.add(function (ed, cmd) {
    482484                    if (cmd === 'mceInsertContent') {
    483                         tinyMCE.activeEditor.setContent(t.visualizeShortcode(tinyMCE.activeEditor.getContent()));
     485                        ed.setContent(t.visualizeShortcode(ed.getContent()));
    484486                    }
    485487                });
    486488                //replace the image back to shortcode on save
    487                 ed.onPostProcess.add(function (ed, o) {
    488                     if (o.get)
     489               /* mainEditor.onPostProcess.add(function (ed, o) {
     490                    if (o.get){
    489491                        o.content = t.recoverShortcode(o.content);
    490                 });
     492                    }
     493                });*/
    491494
    492495                // Register buttons - trigger above command when clicked
     
    592595
    593596                ed.onLoadContent.add(function (ed) {
    594                     var dom = tinymce.activeEditor.dom,
     597                    var dom = tinymce.DOM,
    595598                        divElements = dom.select('div[class*=expresscurate]');
    596599                    dom.setStyle(divElements, 'height', 'auto');
  • expresscurate/trunk/js/keywords/KeywordUtils.js

    r1179063 r1319447  
    6565        return result;
    6666    }
    67 
     67    function escapeRegExp(str) {
     68        return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
     69    }
    6870    function close(keyword, elemToRemove, defElem) {
     71
     72        keyword=escapeRegExp(keyword);
    6973
    7074        var $defTags =defElem ? defElem : $('textarea[name=expresscurate_defined_tags]'),
  • expresscurate/trunk/readme.txt

    r1252098 r1319447  
    44Donate link: https://bit.ly/expresscuratedonate
    55Requires at least: 3.9
    6 Tested up to: 4.3.1
    7 Stable tag: 2.1.4
     6Tested up to: 4.4.0
     7Stable tag: 2.1.5
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    132132== Changelog ==
    133133
     134= 2.1.5 =
     135* Wordpress 4.4 supported now.
     136* Miscellaneous bug fixes and improvements.
     137
    134138= 2.1.4 =
    135139* Wordpress 4.3 supported now.
  • expresscurate/trunk/templates/advanced_seo_widget.php

    r1162493 r1319447  
    1111           id="expresscurate_post_analysis_notification"/>
    1212    <ul class="tabs">
    13         <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1">General</li>
     13        <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"><?php _e('General'); ?></li>
    1414        <li class="tab-link expresscurate_preventTextSelection red <?php if (get_option('expresscurate_sitemap_update_permission') == 'error') echo 'disabled'; ?>"
    15             data-tab="tab-2">Sitemap
     15            data-tab="tab-2"><?php _e('Sitemap'); ?>
    1616        </li>
    17         <li class="tab-link expresscurate_preventTextSelection blue" data-tab="tab-3">Social</li>
    18         <li class="tab-link postAnalysisLink expresscurate_preventTextSelection yellow" data-tab="tab-4">Post Analysis
     17        <li class="tab-link expresscurate_preventTextSelection blue" data-tab="tab-3"><?php _e('Social'); ?> </li>
     18        <li class="tab-link postAnalysisLink expresscurate_preventTextSelection yellow" data-tab="tab-4"><?php _e('Post Analysis'); ?>
    1919        </li>
    2020    </ul>
     
    2626            <div id="expresscurate_ClonePostWrap" class="<?php if(!$postCopy) {echo 'expresscurate_displayNone';} ?>">
    2727                <div class="info">
    28                     <label for="expresscurate_advanced_seo_post_copy" class="label">Content cloned</label>
     28                    <label for="expresscurate_advanced_seo_post_copy" class="label"><?php _e('Content cloned'); ?></label>
    2929                </div>
    3030                <div class="value">
     
    4242            </div>
    4343            <div class="info">
    44                 <label for="expresscurate_advanced_seo_title" class="label">SEO Title</label>
     44                <label for="expresscurate_advanced_seo_title" class="label"><?php _e('SEO Title'); ?></label>
    4545            </div>
    4646            <div class="value">
     
    5151            <div class="expresscurate_clear"></div>
    5252            <div class="info">
    53                 <label for="expresscurate_advanced_seo_canonical_url" class="label">Canonical URL</label>
     53                <label for="expresscurate_advanced_seo_canonical_url" class="label"><?php _e('Canonical URL'); ?></label>
    5454            </div>
    5555            <div class="value">
     
    6363            <div class="expresscurate_clear"></div>
    6464            <div class="info">
    65                 <label class="robotsLabel">Robots must follow links </label>
     65                <label class="robotsLabel"><?php _e('Robots must follow links '); ?></label>
    6666            </div>
    6767            <div class="value">
     
    7979            <div class="expresscurate_clear"></div>
    8080            <div class="info">
    81                 <label class="robotsLabel">Robots must index this page </label>
     81                <label class="robotsLabel"><?php _e('Robots must index this page '); ?></label>
    8282            </div>
    8383            <div class="value">
     
    101101                <li>
    102102                    <div class="info">
    103                         <span class="label">Configure Sitemap Manually</span>
     103                        <span class="label"><?php _e('Configure Sitemap Manually'); ?></span>
    104104                    </div>
    105105                    <div class="value">
     
    115115                        <li>
    116116                            <div class="info">
    117                                 <span class="label">Exclude from sitemap</span>
     117                                <span class="label"><?php _e('Exclude from sitemap'); ?></span>
    118118                            </div>
    119119                            <div class="value">
     
    129129                            <li>
    130130                                <div class="info">
    131                                     <span class="label">Sitemap frequency</span>
    132                                     <span class="gray-italic desc">Please select frequency for posts in sitemap</span>
     131                                    <span class="label"><?php _e('Sitemap frequency'); ?></span>
     132                                    <span class="gray-italic desc"><?php _e('Please select frequency for posts in sitemap'); ?></span>
    133133                                </div>
    134134                                <div class="value">
     
    149149                            <li>
    150150                                <div class="info">
    151                                     <span class="label">Sitemap priority</span>
    152                                     <span class="gray-italic desc">Please select priority for posts in sitemap</span>
     151                                    <span class="label"><?php _e('Sitemap priority'); ?></span>
     152                                    <span class="gray-italic desc"><?php _e('Please select priority for posts in sitemap'); ?></span>
    153153                                </div>
    154154                                <div class="value">
     
    176176        <div id="expresscurate_social_widget">
    177177            <div class="info">
    178                 <label for="expresscurate_advanced_seo_social_title" class="label">Title</label>
     178                <label for="expresscurate_advanced_seo_social_title" class="label"><?php _e('Title'); ?></label>
    179179            </div>
    180180            <div class="value">
     
    185185            <div class="expresscurate_clear"></div>
    186186            <div class="info">
    187                 <label for="expresscurate_advanced_seo_social_shortdesc" class="label">Short Description</label>
     187                <label for="expresscurate_advanced_seo_social_shortdesc" class="label"><?php _e('Short Description'); ?></label>
    188188            </div>
    189189            <div class="value">
     
    195195            <div class="expresscurate_clear"></div>
    196196            <div class="info">
    197                 <label for="expresscurate_advanced_seo_social_desc" class="label">Description</label>
     197                <label for="expresscurate_advanced_seo_social_desc" class="label"><?php _e('Description'); ?></label>
    198198            </div>
    199199            <div class="value">
  • expresscurate/trunk/templates/bookmarks.php

    r1252098 r1319447  
    1212    } ?>">
    1313    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    14         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
     14        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a>
    1515
    16         <h2>Bookmarks</h2>
     16        <h2><?php _e('Bookmarks'); ?></h2>
    1717
    1818        <div class="pageDesc">
    19             List of your bookmarked web pages. You can start a post by picking a bookmarked article (or multiple
    20             articles) and clicking on the curate button.
     19<?php _e('List of your bookmarked web pages. You can start a post by picking a bookmarked article (or multiple
     20            articles) and clicking on the curate button.'); ?>
    2121        </div>
    2222        <div class="controlsWrap">
    2323            <ul class="bookmarkListControls expresscurate_preventTextSelection expresscurate_controls">
    2424                <li class="check">
    25                     <span class="tooltip">select / deselect</span>
     25                    <span class="tooltip"><?php _e('select / deselect'); ?></span>
    2626                </li>
    2727                <li class="remove expresscurate_floatRight">
    28                     <span class="tooltip">delete</span>
     28                    <span class="tooltip"><?php _e('delete'); ?></span>
    2929                </li>
    3030                <li class="quotes expresscurate_floatRight">
    31                     <span class="tooltip">curate</span>
     31                    <span class="tooltip"><?php _e('curate'); ?></span>
    3232                </li>
    3333                <li class="layout expresscurate_floatRight">
    3434                <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') {
    35                         echo 'view as grid';
     35                         _e('view as grid');
    3636                    } else {
    37                         echo 'view as list';
     37                         _e('view as list');
    3838                    } ?></span>
    3939                </li>
     
    4343    </div>
    4444
    45     <label class="expresscurate_displayNone expresscurate_notDefined">Currently you have no bookmarked web
    46         pages.</label>
     45    <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('Currently you have no bookmarked web
     46        pages.'); ?></label>
    4747    <ul class="expresscurate_bookmarkBoxes expresscurate_masonryWrap">
    4848        <div class="addNewBookmark expresscurate_masonryItem grid-sizer">
    49             <label for="addBookmark ">Add new Bookmark</label>
     49            <label for="addBookmark "><?php _e('Add new Bookmark'); ?></label>
    5050
    5151            <div class="addBookmark">
     
    8787                                <li class="<?php echo $color ?>"><?php echo $keyword; ?>
    8888                                    <span class="tooltip">
    89                               <div class="<?php echo $color ?>">Keyword match</div>
    90                     <span class="inTitle">title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->
    91                     <span class="inContent">content<p><?php echo $stats['percent'] * 100 ?>%</p></span>
     89                              <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div>
     90                    <span class="inTitle"><?php _e('title'); ?><p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->
     91                    <span class="inContent"><?php _e('content'); ?><p><?php echo $stats['percent'] * 100 ?>%</p></span>
    9292                  </span>
    9393                                </li>
     
    100100                    <a target="_blank"><?php echo $item['title'] ?></a><br/>
    101101                    <a data-encodedurl="<?php echo base64_encode(urlencode($item['link'])) ?>" class="url" target="_blank" href="<?php echo $item['link'] ?>"><?php echo $item['domain'] ?></a>
    102                     <!--<span class="curatedBy">/<?php /*echo $item['curated'] ? 'curated by' : 'author'; */ ?> <span><?php /*echo $item['author']; */ ?></span> /</span>-->
    103                     <span class="curatedBy">/ by <span><?php echo $item['user']; ?></span> /</span>
     102                    <span class="curatedBy"><?php _e('/ by '); ?><span><?php echo $item['user']; ?></span> /</span>
    104103                <span
    105104                    class="time"><?php echo human_time_diff(strtotime($item['bookmark_date']), current_time('timestamp')) . ' ago'; ?></span>
     
    109108                            echo 'active';
    110109                        } ?>"
    111                                for="comment__<?php echo $i ?>"><?php echo $item['comment'] ? stripslashes($item['comment']) : 'add comment'; ?></label>
     110                               for="comment__<?php echo $i ?>"><?php echo $item['comment'] ? stripslashes($item['comment']) : __('add comment'); ?></label>
    112111                        <input type="text" class="expresscurate_disableInputStyle expresscurate_displayNone"
    113112                               id="comment__<?php echo $i ?>" value="<?php echo stripslashes( $item['comment']); ?>">
     
    122121                            if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) {
    123122                        ?>
    124                             <li class="share">Share </li>
     123                            <li class="share"><?php _e('Share'); ?> </li>
    125124                            <li class="separator">-</li>
    126125                        <?php } ?>
    127                         <li class="copyURL">Copy URL</li>
     126                        <li class="copyURL"><?php _e('Copy URL'); ?></li>
    128127                        <li class="separator">-</li>
    129                         <li class="hide">Delete</li>
     128                        <li class="hide"><?php _e('Delete'); ?></li>
    130129                    </ul>
    131130                    <div class="expresscurate_clear"></div>
    132                     <!--<span class="label label_<?php /*echo $item['type'];*/ ?>"><?php /*echo $item['type'];*/ ?></span>-->
    133131                </li>
    134132                <?php
     
    161159            <a class="postTitle" href="{{data.link}}" target="_blank">{{data.title}}</a><br/>
    162160            <a class="url" href="{{data.link}}" target="_blank">{{data.domain}}</a>
    163             <span class="curatedBy">/ by <span>{{data.user}}</span> /</span>
     161            <span class="curatedBy"><?php _e('/ by '); ?><span>{{data.user}}</span> /</span>
    164162            <span class="time">Just now</span>
    165163
    166164            <div class="comment">
    167                 <label class="" for="uniqueId">add comment</label>
     165                <label class="" for="uniqueId"><?php _e('add comment'); ?></label>
    168166                <input type="text" class="expresscurate_disableInputStyle expresscurate_displayNone" id="uniqueId">
    169167                <span class="expresscurate_displayNone">&#215</span>
    170168            </div>
    171169            <ul class="controls expresscurate_preventTextSelection">
    172                 <li><a class="curate" href="post-new.php?expresscurate_load_source={{data.curateLink}}">Curate</a></li>
     170                <li><a class="curate" href="post-new.php?expresscurate_load_source={{data.curateLink}}"><?php _e('Curate'); ?></a></li>
    173171                <li class="separator">-</li>
    174172                <?php
    175173                    if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) {
    176174                ?>
    177                     <li class="share">Share </li>
     175                    <li class="share"><?php _e('Share '); ?></li>
    178176                    <li class="separator">-</li>
    179177                <?php } ?>
    180                 <li class="copyURL">Copy URL</li>
     178                <li class="copyURL"><?php _e('Copy URL'); ?></li>
    181179                <li class="separator">-</li>
    182                 <li class="hide">Delete</li>
     180                <li class="hide"><?php _e('Delete'); ?></li>
    183181
    184182            </ul>
    185183            <div class="expresscurate_clear"></div>
    186             <!--<span class="label label_{{data.type}}">{{data.type}}</span>-->
    187184        </li>
    188185    </script>
  • expresscurate/trunk/templates/content_feed_archive.php

    r1252098 r1319447  
    4545    } ?>">
    4646    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    47         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
     47        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a>
    4848
    49         <h2>Content Feed Archive</h2>
     49        <h2><?php _e('Content Feed Archive'); ?></h2>
    5050
    5151        <div class="pageDesc">
    52             This page contains all posts were deleted from Content feed page which you can be restore or delete permanently.
     52<?php _e('This page contains all posts were deleted from Content feed page which you can be restore or delete permanently.'); ?>
    5353        </div>
    5454        <div class="controlsWrap">
    5555            <ul class="feedListControls expresscurate_preventTextSelection expresscurate_controls ">
    5656                <li class="check">
    57                     <span class="tooltip">select / deselect</span>
     57                    <span class="tooltip"><?php _e('select / deselect'); ?></span>
    5858                </li>
    5959                <br class="first"/>
    6060                <li class="removePermanently expresscurate_floatRight">
    61                     <span class="tooltip">remove</span>
     61                    <span class="tooltip"><?php _e('remove'); ?></span>
    6262                </li>
    6363                <li class="bookmark expresscurate_floatRight">
    64                     <span class="tooltip">bookmark</span>
     64                    <span class="tooltip"><?php _e('bookmark'); ?></span>
    6565                </li>
    6666                <li class="restore expresscurate_floatRight">
    67                     <span class="tooltip">restore</span>
     67                    <span class="tooltip"><?php _e('restore'); ?></span>
    6868                </li>
    6969                <li class="layout expresscurate_floatRight">
    7070                    <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') {
    71                             echo 'view as grid';
     71                           _e('view as grid');
    7272                        } else {
    73                             echo 'view as list';
     73                            _e('view as list');
    7474                        } ?></span>
    7575                </li>
     
    111111                                <li class="expresscurate_keyword <?php echo $color ?>"><?php echo $keyword; ?>
    112112                                    <span class="tooltip">
    113                       <div class="<?php echo $color ?>">Keyword match</div>
    114                     <span class="inTitle">title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->
    115                     <span class="inContent">content<p><?php echo $stats['percent'] * 100 ?>%</p></span>
     113                      <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div>
     114                    <span class="inTitle"><?php _e('title'); ?><p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->
     115                    <span class="inContent"><?php _e('content'); ?><p><?php echo $stats['percent'] * 100 ?>%</p></span>
    116116                  </span>
    117117                                </li>
     
    131131
    132132                    <ul class="controls expresscurate_preventTextSelection">
    133                         <li class="restore">Restore In Feed</li>
     133                        <li class="restore"><?php _e('Restore In Feed'); ?></li>
    134134                        <li class="separator">-</li>
    135                         <li class="bookmark">Bookmark</li>
     135                        <li class="bookmark"><?php _e('Bookmark'); ?></li>
    136136                        <li class="separator">-</li>
    137                         <li class="permanent_remove">Remove</li>
     137                        <li class="permanent_remove"><?php _e('Remove'); ?></li>
    138138
    139139                    </ul>
    140140                    <div class="expresscurate_clear"></div>
    141                     <!--<span class="label label_<?php /*echo $item['type'] */ ?>"><?php /*echo $item['type'] */ ?></span>-->
    142141                </li>
    143142
     
    146145            ?><?php
    147146        } ?>
    148         <label class="expresscurate_notDefined expresscurate_displayNone">Your content feed is
    149             empty. <?php echo (strlen(get_option('expresscurate_links_rss', '')) > 2) ? '' : 'Configure <a
    150             href="admin.php?page=expresscurate_feeds">RSS feeds</a> to
    151         start.'; ?></label>
     147        <label class="expresscurate_notDefined expresscurate_displayNone"><?php _e('Your content feed is
     148            empty. ');  echo (strlen(get_option('expresscurate_links_rss', '')) > 2) ? '' : _e('Configure'); ?> <a
     149            href="admin.php?page=expresscurate_feeds"><?php _e('RSS feeds'); ?></a> <?php _e('to
     150        start.'); ?></label>
    152151    </ul>
    153152    <form method="POST" action="<?php echo get_admin_url() ?>post-new.php#expresscurate_sources_collection"
  • expresscurate/trunk/templates/dashboard.php

    r1191825 r1319447  
    2020<div class="expresscurate_blocks expresscurate_Styles wrap">
    2121    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    22         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions?
    23             <span>Submit here!</span></a>
     22        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions?
     23            '); ?><span><?php _e('Submit here!'); ?></span></a>
    2424
    25         <h2>ExpressCurate</h2>
     25        <h2><?php _e('ExpressCurate'); ?></h2>
    2626    </div>
    2727    <div class="expresscurate_blocksContainer expresscurate_masonryWrap">
     
    3838                if ($ordered_item == "welcome"):
    3939                    echo '<div id="welcome" class="expresscurate_welcomeBlock expresscurate_masonryItem">
    40                                             <label class="label">Welcome to ExpressCurate!</label>';
     40                                            <label class="label">' . __('Welcome to ExpressCurate!') . '</label>';
    4141                    $this->welcome_widget();
    4242                    echo '</div>';
     
    4444                if ($ordered_item == "keyWords"):
    4545                    echo '<div id="keyWords" class="expresscurate_keywordsBlock expresscurate_masonryItem">
    46                                             <label class="label">Keywords Summary</label>';
     46                                            <label class="label">' . __('Keywords Summary') . '</label>';
    4747                    $this->keywords_widget();
    4848                    echo '</div>';
     
    5050                if ($ordered_item == "keyWordsIntOverTime"):
    5151                    echo '<div id="keyWordsIntOverTime" class="expresscurate_keywordsBlock expresscurate_masonryItem">
    52                                         <label class="label">Keywords Interest Over Time</label>';
     52                                        <label class="label">' . __('Keywords Interest Over Time') . '</label>';
    5353                    $this->keywords_interest_over_time_widget();
    5454                    echo '</div>';
     
    5656                if ($ordered_item == "keyWordsRelTopics"):
    5757                    echo '<div id="keyWordsRelTopics" class="expresscurate_keywordsBlock expresscurate_masonryItem">
    58                                         <label class="label">Keywords Related Topics</label>';
     58                                        <label class="label">' . __('Keywords Related Topics') . '</label>';
    5959                    $this->keywords_related_topics_widget();
    6060                    echo '</div>';
     
    6363                    if (get_option('expresscurate_publish', '') == "on") {
    6464                        echo '<div id="smartPublish" class="expresscurate_smartPublishBlock expresscurate_masonryItem">
    65                                             <label class="label">Smart Publishing Overview</label>';
     65                                            <label class="label">' . __('Smart Publishing Overview') . '</label>';
    6666                        $this->smart_publishing_widget();
    6767                        echo '</div>';
     
    7171                    if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) {
    7272                        echo '<div id="socialPublish" class="expresscurate_socialPublishBlock expresscurate_masonryItem">
    73                                             <label class="label">Social Publishing Overview</label>';
     73                                            <label class="label">' . __('Social Publishing Overview') . '</label>';
    7474                        $this->social_publishing_widget();
    7575                        echo '</div>';
     
    7878                if ($ordered_item == "feedWidget"):
    7979                    echo '<div id="feedWidget" class="expresscurate_feedBlock expresscurate_masonryItem">
    80                                             <label class="label">Feed</label>';
     80                                            <label class="label">' . __('Feed') . '</label>';
    8181                    $this->feed_widget();
    8282                    echo '</div>';
     
    8484                if ($ordered_item == "bookmarks"):
    8585                    echo '<div id="bookmarks" class="expresscurate_bookmarksBlock expresscurate_masonryItem">
    86                                             <label class="label">Bookmarks</label>';
     86                                            <label class="label">' . __('Bookmarks') . '</label>';
    8787                    $this->bookmarks_widget();
    8888                    echo '</div>';
     
    9090                if ($ordered_item == "support"):
    9191                    echo '<div id="support" class="expresscurate_supportBlock expresscurate_masonryItem">
    92                                         <label class="label">Support</label><div>';
     92                                        <label class="label">' . __('Support') . '</label><div>';
    9393                    if (!$sent) {
    94                         echo '<label for="expresscurate_support_email">Leave your feedback</label>';
     94                        echo '<label for="expresscurate_support_email">' . __('Leave your feedback') . '</label>';
    9595                    } else {
    96                         echo '<label for="expresscurate_support_email">Thanks for your feedback</label>';
     96                        echo '<label for="expresscurate_support_email">' . __('Thanks for your feedback') . '</label>';
    9797                    }
    9898                    echo '<form method="post" action="' . get_admin_url() . 'admin.php?page=expresscurate"
  • expresscurate/trunk/templates/dialog.php

    r1162493 r1319447  
    1616                           id="expresscurate_clone_source" name="expresscurate_source"
    1717                           value="<?php echo @get_post_meta($post->ID, 'expresscurate_source', true); ?>">
    18                     <button class="load" id="expresscurate_submit">Load</button>
    19                     <button class="load expresscurate_displayNone" id="expresscurate_clone">Clone</button>
     18                    <button class="load" id="expresscurate_submit"><?php _e('Load'); ?></button>
     19                    <button class="load expresscurate_displayNone" id="expresscurate_clone"><?php _e('Clone') ?></button>
    2020                </div>
    2121                <div class="title">
     
    3232                        <div class="sizeX active">
    3333                            <div class="tooltipWrap">
    34                                 <span>Large size</span>
     34                                <span><?php _e('Large size'); ?></span>
    3535                            </div>
    3636                        </div>
    3737                        <div class="sizeM">
    3838                            <div class="tooltipWrap">
    39                                 <span>Middle size</span>
     39                                <span><?php _e('Middle size'); ?></span>
    4040                            </div>
    4141                        </div>
    4242                        <div class="sizeS">
    4343                            <div class="tooltipWrap">
    44                                 <span>Small size</span>
     44                                <span><?php _e('Small size'); ?></span>
    4545                            </div>
    4646                        </div>
     
    4848                        <div class="prevImg prev">
    4949                            <div class="tooltipWrap">
    50                                 <span>Previous</span>
     50                                <span><?php _e('Previous'); ?></span>
    5151                            </div>
    5252                        </div>
    5353                        <div class="nextImg next">
    5454                            <div class="tooltipWrap">
    55                                 <span>Next</span>
     55                                <span><?php _e('Next'); ?></span>
    5656                            </div>
    5757                        </div>
     
    5959                        <div class="alignleft imgAlign">
    6060                            <div class="tooltipWrap">
    61                                 <span>Align left</span>
     61                                <span><?php _e('Align left'); ?></span>
    6262                            </div>
    6363                        </div>
    6464                        <div class="alignnone active imgAlign">
    6565                            <div class="tooltipWrap">
    66                                 <span>Fit to center</span>
     66                                <span><?php _e('Fit to center'); ?></span>
    6767                            </div>
    6868                        </div>
    6969                        <div class="alignright imgAlign">
    7070                            <div class="tooltipWrap">
    71                                 <span>Align right</span>
     71                                <span><?php _e('Align right') ?></span>
    7272                            </div>
    7373                        </div>
     
    113113            <ul class="labels" id="curated_tags">
    114114                <li class="markButton expresscurate_displayNone expresscurate_preventTextSelection">
    115                     <span>mark keywords</span></li>
     115                    <span><?php _e('mark keywords'); ?></span></li>
    116116            </ul>
    117117            <div class="clear"></div>
     
    158158</script>
    159159<script type="text/html" id="tmpl-dialogMarkButton">
    160     <li class="markButton expresscurate_preventTextSelection"><span>mark keywords</span></li>
     160    <li class="markButton expresscurate_preventTextSelection"><span><?php _e('mark keywords'); ?></span></li>
    161161</script>
    162162<script type="text/html" id="tmpl-dialogInsertTags">
     
    166166<script type="text/html" id="tmpl-dialogSearchParagraphs">
    167167    <li class="expresscurate_preventTextSelection expresscurate_dialog_shortPar expresscurate_shortParInactiveColor">
    168         <label>Short Paragraphs</label>
     168        <label><?php _e('Short Paragraphs'); ?></label>
    169169        <span class="shortPButton shortPButtonInactive"><span></span></span>
    170170    </li>
     
    181181</script>
    182182<script type="text/html" id="tmpl-dialogCuratedDescription">
    183     <li id="curated_description" title="{{data}}">Description</li>
     183    <li id="curated_description" title="{{data}}"><?php _e('Description'); ?></li>
    184184</script>
    185185<script type="text/html" id="tmpl-socialPostDialog">
  • expresscurate/trunk/templates/faq.php

    r1191825 r1319447  
    2121<div class="expresscurate_faq wrap">
    2222    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    23         <h2>FAQ</h2>
    24         <!--<label>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sagittis nulla lectus,</label>-->
     23        <h2><?php _e('FAQ'); ?></h2>
    2524    </div>
    26     <h2 class="expresscurate_displayNone">FAQ</h2>
     25    <h2 class="expresscurate_displayNone"><?php _e('FAQ'); ?></h2>
    2726
    2827    <div>
     
    4342                <div class="inlineBlock">
    4443                    <a class="questionBox moreQuestions" href="http://news.expresscurate.com/category/faq/"
    45                        target="_blank"><span>More questions</span></a>
     44                       target="_blank"><span><?php _e('More questions'); ?></span></a>
    4645                </div>
    4746            <?php } else {
     
    4948                <div class="inlineBlock">
    5049                    <a class="questionBox moreQuestions" href="http://news.expresscurate.com/category/faq/"
    51                        target="_blank"><span>Visit our faq blog</span></a>
     50                       target="_blank"><span><?php _e('Visit our faq blog'); ?></span></a>
    5251                </div>
    5352            <?php }
     
    5655        <div class="block">
    5756            <?php if (!$sent) { ?>
    58                 <label for="expresscurate_support_email">Ask a question</label>
     57                <label for="expresscurate_support_email"><?php _e('Ask a question'); ?></label>
    5958            <?php
    6059            } else {
    6160                ?>
    62                 <label for="expresscurate_support_email">Your question has been sent</label>
     61                <label for="expresscurate_support_email"><?php _e('Your question has been sent'); ?></label>
    6362            <?php
    6463            }
     
    6968                           placeholder="Email"
    7069                           value="<?php echo $user_email ?>"/>
    71                     <span>Please make sure to provide a working email address so that we can respond back to your support issue.</span>
     70                    <span><?php _e('Please make sure to provide a working email address so that we can respond back to your support issue.'); ?></span>
    7271                    <span id="expresscurate_support_email_validation" class="expresscurate_errorMessage"></span>
    7372                </div>
     
    7776                    <span id="expresscurate_support_message_validation" class="expresscurate_errorMessage"></span>
    7877                </div>
    79                 <a class="askButton send greenBackground" href="#">Ask</a>
     78                <a class="askButton send greenBackground" href="#"><?php _e('Ask'); ?></a>
    8079            </form>
    8180        </div>
  • expresscurate/trunk/templates/feed_dashboard.php

    r1252098 r1319447  
    77<div class="expresscurate_feed_dashboard expresscurate_Styles wrap">
    88    <div class="expresscurate_headBorderBottom expresscurate_headerPart expresscurate_OpenSansRegular">
    9         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
     9        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a>
    1010
    11         <h2>RSS Feeds</h2>
     11        <h2><?php _e('RSS Feeds'); ?></h2>
    1212
    1313        <div class="pageDesc">
    14             Manage RSS feeds to customize the content that gets delivered to your ExpressCurate Content Feed.
     14<?php _e('Manage RSS feeds to customize the content that gets delivered to your ExpressCurate Content Feed.'); ?>
    1515        </div>
    1616    </div>
    1717    <div class="expresscurate_content_wrapper whiteWrap">
    1818        <ul class="expresscurate_columnsName">
    19             <li class="mainTitle">RSS feeds</li>
    20             <li class="title expresscurate_floatRight"># of curated posts</li>
     19            <li class="mainTitle"><?php _e('RSS feeds'); ?></li>
     20            <li class="title expresscurate_floatRight"><?php _e('# of curated posts'); ?></li>
    2121        </ul>
    22         <label class="expresscurate_displayNone expresscurate_notDefined">There is no enough data</label>
     22        <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('There is no enough data'); ?></label>
    2323        <ul class="expresscurate_feedSettingsList">
    2424            <?php
     
    3939        </ul>
    4040        <div class="addNewFeed">
    41             <label for="addFeed ">Add RSS feed</label>
     41            <label for="addFeed "><?php _e('Add RSS feed'); ?></label>
    4242
    4343            <div class="addFeed">
  • expresscurate/trunk/templates/feed_list.php

    r1252098 r1319447  
    4747    } ?>">
    4848    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    49         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
    50 
    51         <h2>Content Feed</h2>
     49        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a>
     50
     51        <h2><?php _e('Content Feed'); ?></h2>
    5252
    5353        <div class="pageDesc">
    54             Content Feed brings content from your RSS feeds directly into ExpressCurate, providing you a convenient
     54<?php _e('Content Feed brings content from your RSS feeds directly into ExpressCurate, providing you a convenient
    5555            starting point
    5656            for writing your curated posts. Pick an article (or multiple articles) and click on the curate button to
    57             create a post.
     57            create a post.'); ?>
    5858        </div>
    5959        <div class="controlsWrap">
    6060            <ul class="feedListControls expresscurate_preventTextSelection expresscurate_controls ">
    6161                <li class="check">
    62                     <span class="tooltip">select / deselect</span>
     62                    <span class="tooltip"><?php _e('select / deselect'); ?></span>
    6363                </li>
    6464                <select name="expresscurate_keywordFilter" id="expresscurate_keywordFilter">
    65                     <option value="none" selected>Fillter by keyword</option>
     65                    <option value="none" selected><?php _e('Fillter by keyword'); ?></option>
    6666                    <?php foreach($keywords as $keyword){ ?>
    6767                        <option class="expresscurate_filterOption" value="<?php echo $keyword; ?>"><?php echo $keyword; ?></option>
     
    7070                <br class="second"/>
    7171                <select name="expresscurate_blogFilter" id="expresscurate_blogFilter">
    72                     <option value="none" selected>Filter by blog</option>
     72                    <option value="none" selected><?php _e('Filter by blog'); ?></option>
    7373                    <?php foreach($domains as $domain){ ?>
    7474                        <option class="expresscurate_filterOption" value="<?php echo $domain; ?>"><?php echo $domain; ?></option>
     
    7777                <br class="first"/>
    7878                <li class="remove expresscurate_floatRight">
    79                     <span class="tooltip">delete</span>
     79                    <span class="tooltip"><?php _e('delete'); ?></span>
    8080                </li>
    8181                <li class="bookmark expresscurate_floatRight">
    82                     <span class="tooltip">bookmark</span>
     82                    <span class="tooltip"><?php _e('bookmark'); ?></span>
    8383                </li>
    8484                <li class="quotes expresscurate_floatRight">
    85                     <span class="tooltip">curate</span>
     85                    <span class="tooltip"><?php _e('curate'); ?></span>
    8686                </li>
    8787                <br class="second"/>
    8888                <?php if (strlen(get_option('expresscurate_links_rss', '')) > 2) { ?>
    8989                    <li class="pull active expresscurate_floatRight">
    90                         <span class="tooltip">pull</span>
     90                        <span class="tooltip"><?php _e('pull'); ?></span>
    9191                        <span class="loading"></span>
    9292                    </li>
    9393                    <li class="pullTime active expresscurate_floatRight">
    94                         next update:
     94                        <?php _e('next update:'); ?>
    9595                        <p>in <?php echo $nextPullTime; ?></p>
    9696                    </li>
     
    9999                <a href="?page=expresscurate_content_feed_archive">
    100100                    <li class="linkToDeletedPosts expresscurate_floatRight">
    101                         <span class="tooltip">Content Feed Archive</span>
     101                        <span class="tooltip"><?php _e('Content Feed Archive'); ?></span>
    102102                    </li>
    103103                </a>
     
    105105                <li class="layout expresscurate_floatRight">
    106106                    <span class="tooltip"><?php if (get_option('expresscurate_bookmark_layout', '') == 'single') {
    107                             echo 'view as grid';
     107                             _e('view as grid');
    108108                        } else {
    109                             echo 'view as list';
     109                            _e('view as list');
    110110                        } ?></span>
    111111                </li>
     
    148148                            <li class="expresscurate_keyword <?php echo $color ?>"><?php echo $keyword; ?>
    149149                                <span class="tooltip">
    150                       <div class="<?php echo $color ?>">Keyword match</div>
     150                      <div class="<?php echo $color ?>"><?php _e('Keyword match'); ?></div>
    151151                    <span class="inTitle">title<p class=""><?php echo $stats['title'] ?></p></span><!--inTitle yes|no-->
    152152                    <span class="inContent">content<p><?php echo $stats['percent'] * 100 ?>%</p></span>
     
    175175                        if (get_option('expresscurate_social_publishing', '') == "on" && strlen(get_option('expresscurate_buffer_access_token')) > 2) {
    176176                    ?>
    177                         <li class="share">Share </li>
     177                        <li class="share"><?php _e('Share '); ?></li>
    178178                        <li class="separator">-</li>
    179179                    <?php } ?>
    180                     <li class="bookmark">Bookmark</li>
     180                    <li class="bookmark"><?php _e('Bookmark') ?></li>
    181181                    <li class="separator">-</li>
    182                     <li class="hide">Delete</li>
     182                    <li class="hide"><?php _e('Delete'); ?></li>
    183183
    184184                </ul>
    185185                <div class="expresscurate_clear"></div>
    186                 <!--<span class="label label_<?php /*echo $item['type'] */ ?>"><?php /*echo $item['type'] */ ?></span>-->
    187186            </li>
    188187
  • expresscurate/trunk/templates/keywords.php

    r1137344 r1319447  
    88    <input type="hidden" id="expresscurate_plugin_dir" value="<?php echo plugin_dir_url(__FILE__); ?>"/>
    99    <label>Keywords Dashboard</label>
    10     <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions?
    11         <span>Submit here!</span></a>
     10    <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?>
     11        <span><?php _e('Submit here!'); ?></span></a>
    1212    <br/>
    13     <label class="pageDescription pageDesc">Monitor and manage keyword utilization in your blog.</label>
     13    <label class="pageDescription pageDesc"><?php _e('Monitor and manage keyword utilization in your blog.') ?></label>
    1414
    1515    <div class="expresscurate_clear"></div>
     
    1818        <div class="keywordsPart">
    1919            <div>
    20                 <label class="blockTitle expresscurate_color_lightGreen">Keywords</label>
    21                 <label class="colTitle expresscurate_margin30 expresscurate_floatRight"># of posts</label>
    22                 <label class="colTitle expresscurate_margin15 expresscurate_floatRight">in content</label>
    23                 <label class="colTitle expresscurate_margin30 expresscurate_floatRight">in title</label>
     20                <label class="blockTitle expresscurate_color_lightGreen"><?php _e('Keywords'); ?></label>
     21                <label class="colTitle expresscurate_margin30 expresscurate_floatRight"><?php _e('# of posts'); ?></label>
     22                <label class="colTitle expresscurate_margin15 expresscurate_floatRight"><?php _e('in content'); ?></label>
     23                <label class="colTitle expresscurate_margin30 expresscurate_floatRight"><?php _e('in title'); ?></label>
    2424
    2525                <div class="expresscurate_clear"></div>
    26                 <label class="expresscurate_displayNone expresscurate_notDefined">Add your keywords in the box
    27                     below.</label>
     26                <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('Add your keywords in the box
     27                    below.'); ?></label>
    2828                <ul>
    2929                    <?php
     
    5050            <div class="legend expresscurate_floatLeft">
    5151                <span id="blue" class="expresscurate_blue"></span>
    52                 <label for="blue"><3%<span>Usage is low</span></label>
     52                <label for="blue"><3%<span><?php _e('Usage is low'); ?></span></label>
    5353                <span id="green" class="expresscurate_green"></span>
    54                 <label for="green">3-5% <span>Usage is good</span></label>
     54                <label for="green">3-5% <span><?php _e('Usage is good'); ?></span></label>
    5555                <span id="red" class="expresscurate_red"></span>
    56                 <label for="red">>5%<span>Too many occurances</span></label>
     56                <label for="red">>5%<span><?php _e('Too many occurances'); ?></span></label>
    5757            </div>
    58             <a href="https://www.google.com/alerts" class="googleAlert expresscurateLink expresscurate_floatRight">Create
    59                 Google Alert</a>
     58            <a href="https://www.google.com/alerts" class="googleAlert expresscurateLink expresscurate_floatRight"><?php _e('Create
     59                Google Alert'); ?></a>
    6060
    6161            <div class="expresscurate_clear"></div>
    6262            <div class="addNewKeyword">
    63                 <label for="addKeyword">Add new keyword</label>
     63                <label for="addKeyword"><?php _e('Add new keyword'); ?></label>
    6464                <textarea id="expresscurate_defined_tags" class="expresscurate_displayNone"
    6565                          name="expresscurate_defined_tags"><?php echo get_option('expresscurate_defined_tags', '') ?> </textarea>
     
    7474                <p class="expresscurate_errorMessage"></p>
    7575                <div class="expresscurate_clear"></div>
    76                 <p><span>Recommendation: </span>avoid using stop words like: </br>
     76                <p><span><?php _e('Recommendation: '); ?></span>avoid using stop words like: </br>
    7777                    ain’t, all, is, at, on, which, etc. </p>
    7878            </div>
    7979        </div>
    8080        <div class="usedWordsPart">
    81             <label class="blockTitle">Top words</label>
     81            <label class="blockTitle"><?php _e('Top words'); ?></label>
    8282
    8383            <div class="expresscurate_clear"></div>
    84             <div class="expresscurate_topWordsDesc">List of most frequently used words in your blog. Pick the “+” sign
    85                 to turn them into target keywords.
     84            <div class="expresscurate_topWordsDesc"><?php _e('List of most frequently used words in your blog. Pick the “+” sign
     85                to turn them into target keywords.'); ?>
    8686            </div>
    8787
    88             <label class="colTitle expresscurate_margin35 expresscurate_floatRight">in content</label>
    89             <label class="colTitle expresscurate_margin35 expresscurate_floatRight">in title</label>
    90             <label class="expresscurate_displayNone expresscurate_notDefined">There is no top words data at this time.
    91                 Please check again later.</label>
     88            <label class="colTitle expresscurate_margin35 expresscurate_floatRight"><?php _e('in content'); ?></label>
     89            <label class="colTitle expresscurate_margin35 expresscurate_floatRight"><?php _e('in title'); ?></label>
     90            <label class="expresscurate_displayNone expresscurate_notDefined"><?php _e('There is no top words data at this time.
     91                Please check again later.'); ?></label>
    9292            <ul>
    9393                <?php
  • expresscurate/trunk/templates/news.php

    r1137344 r1319447  
    11<div class="expresscurate_Styles wrap ">
    22    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    3         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
     3        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? '); ?><span><?php _e('Submit here!'); ?></span></a>
    44        <h2>News</h2>
    55    </div>
  • expresscurate/trunk/templates/settings.php

    r1252098 r1319447  
    11<div class="expresscurate expresscurate_Styles expresscurate_settings wrap">
    22    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    3         <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions?
    4             <span>Submit here!</span></a>
    5 
    6         <h2>Settings</h2>
     3        <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions?'); ?>
     4            <span><?php _e('Submit here!'); ?></span></a>
     5
     6        <h2><?php _e('Settings'); ?></h2>
    77    </div>
    8     <h2 class="expresscurate_displayNone">Settings</h2>
     8    <h2 class="expresscurate_displayNone"><?php _e('Settings'); ?></h2>
    99    <?php
    1010    $expresscurate_seo = get_option('expresscurate_seo', '') == "on" ? 'On' : 'Off';
    1111    ?>
    1212    <ul class="tabs" data-currenttab="<?php echo $_SESSION['settings_current_tab'] ?>">
    13         <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1">General</li>
    14         <li class="tab-link expresscurate_preventTextSelection orange" data-tab="tab-5">Feed</li>
    15         <li class="tab-link expresscurate_preventTextSelection red" data-tab="tab-2">Smart publishing</li>
     13        <li class="tab-link expresscurate_preventTextSelection green current" data-tab="tab-1"><?php _e('General'); ?></li>
     14        <li class="tab-link expresscurate_preventTextSelection orange" data-tab="tab-5"><?php _e('Feed'); ?></li>
     15        <li class="tab-link expresscurate_preventTextSelection red" data-tab="tab-2"><?php _e('Smart publishing'); ?></li>
    1616        <li id="sitemapTab"
    1717            class="tab-link expresscurate_preventTextSelection blue <?php if ($expresscurate_seo == 'Off') {
     
    2121            data-tab="tab-3">Sitemap
    2222        </li>
    23         <li class="tab-link expresscurate_preventTextSelection yellow" data-tab="tab-4">Extension</li>
     23        <li class="tab-link expresscurate_preventTextSelection yellow" data-tab="tab-4"><?php _e('Extension'); ?></li>
    2424    </ul>
    2525
     
    3131                <ul>
    3232                    <li>
    33                         <div class="title">Image Placement
     33                        <div class="title"><?php _e('Image Placement'); ?>
    3434                            <div class="description">
    35                                 There are two options for placing the images (picked from the original article) in your
    36                                 curated post:
     35                                <?php _e('There are two options for placing the images (picked from the original article) in your
     36                                curated post:'); ?>
    3737                                <ol>
    38                                     <li>Featured. The image will be placed above the title, at the very top of your
     38                                    <li><?php _e('Featured. The image will be placed above the title, at the very top of your
    3939                                        post. This will give
    40                                         your image a more prominent look.
     40                                        your image a more prominent look.'); ?>
    4141                                    </li>
    42                                     <li>Standard. The image will be placed below the title and category. This option
     42                                    <li><?php _e('Standard. The image will be placed below the title and category. This option
    4343                                        will focus your
    44                                         viewer's attention more on the title and less on the image.
     44                                        viewer\'s attention more on the title and less on the image.'); ?>
    4545                                    </li>
    4646                                </ol>
     
    6666                    </li>
    6767                    <li>
    68                         <label for="expresscurate_curated_text" class="title">Attribution Text For Original Article Link<span
     68                        <label for="expresscurate_curated_text" class="title"><?php _e('Attribution Text For Original Article Link<span
    6969                                class="description">Type in the prefix text for attributing the original article link.
    7070            It will show up at the bottom of your curated post.  For example, if you type "Curated from"
    71             in the box below and you curate from google.com, "Curated from google.com" will appear at the bottom of your post.</span>
     71            in the box below and you curate from google.com, "Curated from google.com" will appear at the bottom of your post'); ?>.</span>
    7272                        </label>
    7373                        <input type="text" class="controls" id="expresscurate_curated_text" value="<?php
     
    8080                    </li>
    8181                    <li>
    82                         <p class="title">Open Original Article Link in a New Window/Tab<span scope="row"
    83                                                                                              class="description  ">
    84             Select "Yes" if you want the original article link to be opened in a New Window/Tab. Select "No" if you want the link to be opened in the Same Window/Tab (default behavior).
     82                        <p class="title"><?php _e('Open Original Article Link in a New Window/Tab'); ?><span scope="row"
     83                                                                                             class="description  "><?php _e('
     84            Select "Yes" if you want the original article link to be opened in a New Window/Tab. Select "No" if you want the link to be opened in the Same Window/Tab (default behavior).'); ?>
    8585          </span></p>
    8686
     
    9595                    </li>
    9696                    <li>
    97                         <label for="expresscurate_max_tags" class="title">Max Number of Auto-suggested Tags<span
    98                                 class="description">&nbsp;&nbsp; The recommended value is 3.<br/>
    99         <span>ExpressCurate can auto-suggest tags for your post. It is based on the keywords and tags defined in your prior WordPress blogs. Enter the max number of auto-suggested tags you would like to have in each curated posts.</span>
     97                        <label for="expresscurate_max_tags" class="title"><?php _e('Max Number of Auto-suggested Tags');?><span
     98                                class="description">&nbsp;&nbsp; <?php _e('The recommended value is 3.'); ?><br/>
     99        <span><?php _e('ExpressCurate can auto-suggest tags for your post. It is based on the keywords and tags defined in your prior WordPress blogs. Enter the max number of auto-suggested tags you would like to have in each curated posts.'); ?></span>
    100100                        </label>
    101101                        <input type="text" id="expresscurate_max_tags" class="controls" value="<?php
     
    110110                    </li>
    111111                    <li>
    112                         <label for="expresscurate_autosummary" class="title">Number of Curated Paragraphs<span
    113                                 class="description  ">Pick the number of paragraphs to be inserted from the original article into your post.</span>
    114                             <br/><span>&nbsp;&nbsp; The default value is 5</span></label>
     112                        <label for="expresscurate_autosummary" class="title"><?php _e('Number of Curated Paragraphs'); ?><span
     113                                class="description  "><?php _e('Pick the number of paragraphs to be inserted from the original article into your post.'); ?></span>
     114                            <br/><span>&nbsp;&nbsp; <?php _e('The default value is 5');?></span></label>
    115115                        <input type="text" id="expresscurate_autosummary" class="controls" value="<?php
    116116                        $autosummary = get_option('expresscurate_autosummary');
     
    124124                    </li>
    125125                    <li>
    126                         <p class="title">Enable ExpressCurate Blockquote<span class="description  ">
    127             Select "Yes" to use ExpressCurate blockquote for marking the original content quote. Select "No" if you are already using a theme that has a good enough quote style and ExpressCurate won't override it.
     126                        <p class="title"><?php _e('Enable ExpressCurate Blockquote'); ?><span class="description  ">
     127            <?php _e('Select "Yes" to use ExpressCurate blockquote for marking the original content quote. Select "No" if you are already using a theme that has a good enough quote style and ExpressCurate won\'t override it.');?>
    128128          </span></p>
    129129                        <input class="expresscurate_displayNone" type="checkbox" id="quotes_style"
     
    136136                    </li>
    137137                    <li>
    138                         <p class="title">SEO Enhancements<span scope="row" class="description  ">
    139             Click on "Yes" to enable ExpressCurate SEO enhancements for your curated post.
     138                        <p class="title"><?php _e('SEO Enhancements'); ?><span scope="row" class="description  ">
     139            <?php _e('Click on "Yes" to enable ExpressCurate SEO enhancements for your curated post.'); ?>
    140140          </span></p>
    141141
     
    154154                        }
    155155                        ?> />">
    156                             <label for="expresscurate_publusher" class="title">Publisher (Google+)<span
    157                                     class="description  ">You can link content you publish on this blog to your company or personal Google+ profile.
    158                 <a href="https://plus.google.com/authorship" target="_blank">More Info</a>.</label></span>
     156                            <label for="expresscurate_publusher" class="title"><?php _e('Publisher (Google+)'); ?><span
     157                                    class="description  "><?php _e('You can link content you publish on this blog to your company or personal Google+ profile.'); ?>
     158                <a href="https://plus.google.com/authorship" target="_blank"><?php _e('More Info'); ?></a>.</label></span>
    159159
    160160                            <input class="controls" type="text" id="expresscurate_publusher" size="50" value="<?php
     
    167167                            <a class="expresscurateLink verifyPublisherLink expresscurate_marginleft10"
    168168                               href="http://www.google.com/webmasters/tools/richsnippets?url=<?php echo bloginfo('url') ?>&user_profile=<?php echo get_option('expresscurate_publisher'); ?>"
    169                                target="_blank">Verify publisher</a>
     169                               target="_blank"><?php _e('Verify publisher'); ?></a>
    170170                            <br/>
    171                             <label for="expresscurate_publisher_twitter" class="title">Publisher (Twitter)<span
    172                                     class="description  ">You can link content you publish on this blog to your company or personal Twitter profile.
    173                 <a href="https://plus.google.com/authorship" target="_blank">More Info</a>.</label></span>
     171                            <label for="expresscurate_publisher_twitter" class="title"><?php _e('Publisher (Twitter)'); ?><span
     172                                    class="description  "><?php _e('You can link content you publish on this blog to your company or personal Twitter profile.'); ?>
     173                <a href="https://plus.google.com/authorship" target="_blank"><?php _e('More Info'); ?></a>.</label></span>
    174174
    175175                            <input class="controls" type="text" id="expresscurate_publisher_twitter" size="50"
     
    183183
    184184                            <br/>
    185                             <label for="expresscurate_publisher_facebook" class="title">Publisher (Facebook)<span
    186                                     class="description  ">You can link content you publish on this blog to your company or personal Facebook profile.
     185                            <label for="expresscurate_publisher_facebook" class="title"><?php _e('Publisher (Facebook)'); ?><span
     186                                    class="description  "><?php _e('You can link content you publish on this blog to your company or personal Facebook profile.');?>
    187187                <a href="https://plus.google.com/authorship" target="_blank">More Info</a>.</label></span>
    188188
     
    198198                    </li>
    199199                    <li>
    200                         <p class="title">Auto Hashtagging<span class="description  ">
    201             Transform words starting with # into tags and add # to the words previously defined as tags.
     200                        <p class="title"><?php _e('Auto Hashtagging'); ?><span class="description  ">
     201            <?php _e('Transform words starting with # into tags and add # to the words previously defined as tags.'); ?>
    202202          </span></p>
    203203                        <?php
     
    213213                    </li>
    214214                    <li>
    215                         <p class="title">Your Keyword Tags<span class="description  ">
    216             Enter your target keywords that you want to be tagged in the post.  Multiple keywords need to be separated by commas.
    217             <br/>When this list is defined, ExpressCurate will look for these words in curated content and try to tag them in the article, as well as create links from these keywords that show up on tag's page.</span>
     215                        <p class="title"><?php _e('Your Keyword Tags'); ?><span class="description  ">
     216            <?php _e('Enter your target keywords that you want to be tagged in the post.  Multiple keywords need to be separated by commas.'); ?>
     217            <br/><?php _e('When this list is defined, ExpressCurate will look for these words in curated content and try to tag them in the article, as well as create links from these keywords that show up on tag\'s page.'); ?></span>
    218218                        </p>
    219                         <a class="expresscurateLink" href="admin.php?page=expresscurate_keywords">Keywords Dashboard</a>
     219                        <a class="expresscurateLink" href="admin.php?page=expresscurate_keywords"><?php _e('Keywords Dashboard'); ?></a>
    220220                    </li>
    221221                    <!-- Number of posts  -->
    222222                    <li>
    223                         <p class="title"> Keyword Statistics.
     223                        <p class="title"> <?php _e('Keyword Statistics.'); ?>
    224224                            <span class="description">
    225225                               Generates comprehensive keyword statistics for the last <?php echo(get_option('expresscurate_posts_number') ? get_option('expresscurate_posts_number') : 100); ?>
     
    250250                <ul>
    251251                    <li>
    252                         <p class="title">Smart publishing </p>
     252                        <p class="title"><?php _e('Smart publishing '); ?></p>
    253253                        <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_publish"
    254254                               name="expresscurate_publish" <?php
     
    266266                        <div id="smartPublishingWrap" class="<?php echo $show_interval; ?>">
    267267
    268                             <p class="title">Manually approve posts for smart publishing</p>
     268                            <p class="title"><?php _e('Manually approve posts for smart publishing'); ?></p>
    269269                            <?php
    270270                            $expresscurate_manually_approve_smart = get_option('expresscurate_manually_approve_smart', '') == 'On' ? 'On' : 'Off';
     
    281281                            <br/>
    282282
    283                             <p class="title" for="expresscurate_hours_interval">Publish draft
    284                                 articles</p>
     283                            <p class="title" for="expresscurate_hours_interval"><?php _e('Publish draft
     284                                articles'); ?></p>
    285285
    286286                            <select class="controls" id="expresscurate_hours_interval"
     
    320320                    </li>
    321321                    <li>
    322                         <p class="title">Social publishing </p>
     322                        <p class="title"><?php _e('Social publishing '); ?></p>
    323323                        <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_social_publishing"
    324324                               name="expresscurate_social_publishing" <?php
     
    402402                <ul>
    403403                    <li>
    404                         <p class="title">Default Category for Curated Posts<span class="description  ">Please pick a default category for your curated posts from the list below. This will prevent a default "Uncategorized" being assigned to your post automatically.</span>
     404                        <p class="title"><?php _e('Default Category for Curated Posts'); ?><span class="description  "><?php _e('Please pick a default category for your curated posts from the list below. This will prevent a default "Uncategorized" being assigned to your post automatically.'); ?></span>
    405405                        </p>
    406406
     
    436436                    </li>
    437437                    <li>
    438                         <p class="title">Post type for ExpressCurate Chrome Extension<span class="description  ">Please pick a post type for your curated posts from the list below. This will allow custom post types when curating with ExpressCurate Chrome Extension.</span>
     438                        <p class="title"><?php _e('Post type for ExpressCurate Chrome Extension'); ?><span class="description  "><?php _e('Please pick a post type for your curated posts from the list below. This will allow custom post types when curating with ExpressCurate Chrome Extension.'); ?></span>
    439439                        </p>
    440440
     
    471471                    </li>
    472472                    <li>
    473                         <p class="title">Publishing Directly from ExpressCurate Chrome Extension<span
    474                                 class="description  ">This setting gives you an option to save your curated post as a draft or publish it when you click on the "Curate" button on ExpressCurate Chrome extension.</span>
     473                        <p class="title"><?php _e('Publishing Directly from ExpressCurate Chrome Extension'); ?><span
     474                                class="description  "><?php _e('This setting gives you an option to save your curated post as a draft or publish it when you click on the "Curate" button on ExpressCurate Chrome extension.'); ?></span>
    475475                        </p>
    476476
     
    493493                            ?> />
    494494                            <label class="controls expresscurate_radioLabel" for="expresscurate_post_draft">
    495                                 Draft </label>
     495<?php _e('Draft'); ?> </label>
    496496                        </div>
    497497                    </li>
     
    511511                    <li>
    512512                        <div class="title">
    513                             Content Pull Frequency
     513<?php _e('Content Pull Frequency'); ?>
    514514                            <div class="description">
    515                                 How frequently should ExpressCurate pull content (from RSS feeds, Alerts, etc) into your
    516                                 <a href="#">Content Feed</a>?
     515<?php _e('How frequently should ExpressCurate pull content (from RSS feeds, Alerts, etc) into your'); ?>
     516                                <a href="#"><?php _e('Content Feed'); ?></a>?
    517517                            </div>
    518518                        </div>
     
    554554                    <li>
    555555                        <div class="title">
    556                             Stop Keywords
     556<?php _e('Stop Keywords'); ?>
    557557                            <div class="description">
    558                                 ExpressCurate will filter out the posts that contain any stop keywords.
     558<?php _e(' ExpressCurate will filter out the posts that contain any stop keywords.'); ?>
    559559                            </div>
    560560                        </div>
     
    586586                    <li>
    587587                        <div class="title">
    588                             Keyword Match Email Alerts
     588<?php _e('Keyword Match Email Alerts'); ?>
    589589                            <div class="description">
    590                                 Would you like to receive email alerts when keyword matches are found in your <a
    591                                     href="#">Content Feed</a>?
     590<?php _e('Would you like to receive email alerts when keyword matches are found in your '); ?><a
     591                                    href="#"><?php _e('Content Feed'); ?></a>?
    592592                            </div>
    593593                        </div>
     
    600600                        <li>
    601601                            <div class="title">
    602                                 Content Alert Frequency
     602<?php _e('Content Alert Frequency'); ?>
    603603                                <div class="description">
    604                                     How frequently should ExpressCurate send content Alert Emails (from RSS feeds,
     604<?php _e('How frequently should ExpressCurate send content Alert Emails (from RSS feeds,
    605605                                    Alerts,
    606                                     etc)
     606                                    etc)'); ?>
    607607                                </div>
    608608                            </div>
     
    645645                        <li>
    646646                            <div class="title">
    647                                 Users
     647<?php _e('Users'); ?>
    648648                                <div class="description">
    649                                     Define who should get content alerts.
     649<?php _e('Define who should get content alerts.'); ?>
    650650                                </div>
    651651                            </div>
  • expresscurate/trunk/templates/sitemap.php

    r1252098 r1319447  
    1313                } else {
    1414                    echo 'generated';
    15                 } ?>" id="submitSiteMap" href="#">Submit Sitemap<span class="loading"></span></a>
     15                } ?>" id="submitSiteMap" href="#"><?php _e('Submit Sitemap'); ?><span class="loading"></span></a>
    1616            </div>
    17             <a class="generate" id="generateSiteMap" href="#">Generate Sitemap</a>
     17            <a class="generate" id="generateSiteMap" href="#"><?php _e('Generate Sitemap'); ?></a>
    1818        </li>
    1919        <br/>
    2020        <li>
    21             <p class="title">Sitemap update frequency<span
    22                     class="description ">How often should the sitemap be updated?</span></p>
     21            <p class="title"><?php _e('Sitemap update frequency'); ?><span
     22                    class="description "><?php _e('How often should the sitemap be updated?'); ?></span></p>
    2323            <select class="controls" name="expresscurate_sitemap_generation_interval">
    2424                <option value="always" <?php
     
    5050
    5151        <li>
    52             <p class="title">Include all new posts in sitemap?<span class="description ">All new posts will be included in your sitemap if this option is enabled</span>
     52            <p class="title"><?php _e('Include all new posts in sitemap?'); ?><span class="description "><?php _e('All new posts will be included in your sitemap if this option is enabled'); ?></span>
    5353            </p>
    5454            <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_include_new_posts"
     
    5757        </li>
    5858        <li>
    59             <p class="title">Include all new pages in sitemap?<span class="description ">All new pages will be included in your sitemap if this option is enabled</span>
     59            <p class="title"><?php _e('Include all new pages in sitemap?'); ?><span class="description "><?php _e('All new pages will be included in your sitemap if this option is enabled'); ?></span>
    6060            </p>
    6161            <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_include_new_pages"
     
    9090        ?>
    9191        <li>
    92             <p class="title">Sitemap manual priority value<span class="description ">Please select the priority for new posts in your sitemap</span>
     92            <p class="title"><?php _e('Sitemap manual priority value'); ?><span class="description "><?php _e('Please select the priority for new posts in your sitemap'); ?></span>
    9393            </p>
    9494            <select class="controls" id="expresscurate_sitemap_priority_manual_value"
     
    104104        </li>
    105105        <li>
    106             <p class="title">Sitemap default changefreq<span class="description ">Please select the sitemap changefreq value for your new posts</span>
     106            <p class="title"><?php _e('Sitemap default changefreq'); ?><span class="description "><?php _e('Please select the sitemap changefreq value for your new posts'); ?></span>
    107107            </p>
    108108            <select class="controls" name="expresscurate_sitemap_default_changefreq">
     
    117117        </li>
    118118        <li>
    119             <p class="title">Sitemap archiving frequency<span class="description ">Please select the frequency of archiving old post definitions in the sitemap</span>
     119            <p class="title"><?php _e('Sitemap archiving frequency'); ?><span class="description "><?php _e('Please select the frequency of archiving old post definitions in the sitemap'); ?></span>
    120120            </p>
    121121            <select class="controls" name="expresscurate_sitemap_archiving">
     
    143143        </li>
    144144        <li class="expresscurate_sitemap_webmasters">
    145             <p class="title">Submit sitemap automatically?<span class="description ">If this option is enabled, sitemap will be submitted to webmaster tools of search engines automatically.</span>
     145            <p class="title"><?php _e('Submit sitemap automatically?'); ?><span class="description "><?php _e('If this option is enabled, sitemap will be submitted to webmaster tools of search engines automatically.'); ?></span>
    146146            </p>
    147147            <input class="expresscurate_displayNone" type="checkbox" id="expresscurate_sitemap_submit"
     
    154154                echo 'expresscurate_displayNone';
    155155            } ?> />">
    156                 <p class="title">Registered domain in Google Search Console (aka Webmaster Tools)<span
    157                         class="description">Specify if different from blog address</span></p>
     156                <p class="title"><?php _e('Registered domain in Google Search Console (aka Webmaster Tools)'); ?><span
     157                        class="description"><?php _e('Specify if different from blog address'); ?></span></p>
    158158                <input class="controls" type="text" name="expresscurate_sitemap_domain" id="expresscurate_sitemap_domain"
    159159                       value="<?php echo get_option('expresscurate_sitemap_domain',''); ?>" placeholder="<?php echo get_site_url(); ?>">
    160160                <br>
    161                 <p class="title">Sitemap submission frequency<span class="description ">How often should sitemap be submitted to search engines?</span>
     161                <p class="title"><?php _e('Sitemap submission frequency'); ?><span class="description "><?php _e('How often should sitemap be submitted to search engines?'); ?></span>
    162162                </p>
    163163                <select class="controls" name="expresscurate_sitemap_submit_frequency">
     
    193193                    echo 'expresscurate_displayNone';
    194194                } ?>"
    195                    href="https://www.expresscurate.com/api/connector/google/webmasters/refreshtoken/<?= $blogName ?>">Authorize
    196                     access to Google Search Console (aka Webmaster Tools)</a>
     195                   href="https://www.expresscurate.com/api/connector/google/webmasters/refreshtoken/<?= $blogName ?>"><?php _e('Authorize
     196                    access to Google Search Console (aka Webmaster Tools)'); ?></a>
    197197            </div>
    198198        </li>
  • expresscurate/trunk/templates/social_posts_widget.php

    r1191825 r1319447  
    2929
    3030    <ul class="mainControls">
    31         <li id="expresscurate_addTweet" class="expresscurate_social_widget_buttons">New</li>
    32         <li class="expresscurate_social_widget_buttons expresscurate_social_get_content">Get content</li>
    33         <li data-header="h1" class="expresscurate_headerTweet expresscurate_social_widget_buttons">H1</li>
    34         <li data-header="h2" class="expresscurate_headerTweet expresscurate_social_widget_buttons">H2</li>
    35         <li data-header="h3" class="expresscurate_headerTweet expresscurate_social_widget_buttons">H3</li>
     31        <li id="expresscurate_addTweet" class="expresscurate_social_widget_buttons"><?php _e('New'); ?></li>
     32        <li class="expresscurate_social_widget_buttons expresscurate_social_get_content"><?php _e('Get content'); ?></li>
     33        <li data-header="h1" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H1'); ?></li>
     34        <li data-header="h2" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H2'); ?></li>
     35        <li data-header="h3" class="expresscurate_headerTweet expresscurate_social_widget_buttons"><?php _e('H3'); ?></li>
    3636
    3737        <?php if (!$socialPost) { ?>
    38             <li id="expresscurate_socialTitlePost" class="expresscurate_social_widget_buttons">Social Title</li>
    39             <li id="expresscurate_socialDescriptionPost" class="expresscurate_social_widget_buttons">Social
    40                 Description
     38            <li id="expresscurate_socialTitlePost" class="expresscurate_social_widget_buttons"><?php _e('Social Title'); ?></li>
     39            <li id="expresscurate_socialDescriptionPost" class="expresscurate_social_widget_buttons"><?php _e('Social
     40                Description'); ?>
    4141            </li>
    42             <li id="expresscurate_socialShortDescriptionPost" class="expresscurate_social_widget_buttons">Social Short
    43                 Description
     42            <li id="expresscurate_socialShortDescriptionPost" class="expresscurate_social_widget_buttons"><?php _e('Social Short
     43                Description'); ?>
    4444            </li>
    4545        <?php } ?>
     
    104104                <span class="expresscurate_social_post_content_published"><?php echo $data['message']; ?></span>
    105105                <ul class="bottomControls">
    106                     <li class="expresscurate_socialPostLength expresscurate_floatRight">Scheduled</li>
     106                    <li class="expresscurate_socialPostLength expresscurate_floatRight"><?php _e('Scheduled'); ?></li>
    107107                    <div class="expresscurate_clear"></div>
    108108                </ul>
     
    135135                  id="">{{data.message}}</textarea>
    136136        <ul class="bottomControls">
    137             <li class="expresscurate_social_widget_buttons approve expresscurate_floatRight">Approve</li>
    138             <li class="expresscurate_social_widget_buttons clone expresscurate_floatRight">Copy</li>
     137            <li class="expresscurate_social_widget_buttons approve expresscurate_floatRight"><?php _e('Approve'); ?></li>
     138            <li class="expresscurate_social_widget_buttons clone expresscurate_floatRight"><?php _e('Copy'); ?></li>
    139139            <li class="expresscurate_socialPostLength expresscurate_floatRight {{data.errorColor}}">
    140140                {{data.postLength}}
    141141            </li>
    142             <li class="expresscurate_social_widget_buttons expresscurate_displayNone edit">Edit</li>
     142            <li class="expresscurate_social_widget_buttons expresscurate_displayNone edit"><?php _e('Edit'); ?></li>
    143143            <div class="expresscurate_clear"></div>
    144144        </ul>
  • expresscurate/trunk/templates/sources_coll_widget.php

    r1162493 r1319447  
    3636
    3737                    <div class="hover">
    38                         <a class="curate expresscurate_curate">Curate</a><a class="delete">
    39                             Delete</a>
     38                        <a class="curate expresscurate_curate"><?php _e('Curate'); ?></a><a class="delete">
     39                <?php _e('Delete'); ?></a>
    4040                  <span class="tooltip">
    41                     <p>Collected from</p>
     41                    <p><?php _e('Collected from'); ?></p>
    4242                    <a href="<?php echo $item['link'] ?>"><?php echo $item['domain'] ?></a>
    4343                  </span>
     
    5050        <!--add new-->
    5151        <li class="addSource">
    52             <span class="text">+ Add new source</span>
     52            <span class="text"><?php _e('+ Add new source'); ?></span>
    5353
    5454            <div>
     
    6565
    6666            <div class="hover">
    67                 <a class="curate expresscurate_curate">Curate</a><a class="delete">Delete</a>
     67                <a class="curate expresscurate_curate"><?php _e('Curate'); ?></a><a class="delete"><?php _e('Delete'); ?></a>
    6868                            <span class="tooltip">
    69                                 <p>Collected from</p>
     69                                <p><?php _e('Collected from'); ?></p>
    7070                                <a href="{{data.link}}" target="_newtab">{{data.domain}}</a>
    7171                            </span>
  • expresscurate/trunk/templates/support.php

    r1191825 r1319447  
    2222<div class="expresscurate_support expresscurate_Styles wrap">
    2323    <div class="expresscurate_headBorderBottom expresscurate_OpenSansRegular">
    24         <h2>Support</h2>
     24        <h2><?php _e('Support');?></h2>
    2525    </div>
    26     <h2 class="expresscurate_displayNone"> Support</h2>
     26    <h2 class="expresscurate_displayNone"><?php _e('Support');?></h2>
    2727
    2828    <div class="">
    2929        <div class="block">
    30             <label class="publicRevolution">Join the public curating revolution and leave a feedback by email or
    31                 twitter</label>
     30            <label class="publicRevolution"><?php _e('Join the public curating revolution and leave a feedback by email or
     31                twitter');?></label>
    3232
    3333            <div>
    34                 <a href="mailto:[email protected]" class="feedbackButton redBackground">email</a>
    35                 <span>or</span>
    36                 <a href="https://twitter.com/CurateSupport" target="_blank" class="feedbackButton blueBackground">twitter</a>
     34                <a href="mailto:[email protected]" class="feedbackButton redBackground"><?php _e('email');?></a>
     35                <span><?php _e('or');?></span>
     36                <a href="https://twitter.com/CurateSupport" target="_blank" class="feedbackButton blueBackground"><?php _e('twitter');?></a>
    3737            </div>
    38             <label class="margin10">Like ExpressCurate tools & want to support us?</label>
     38            <label class="margin10"><?php _e('Like ExpressCurate tools & want to support us?');?></label>
    3939            <a href="https://www.bit.ly/expresscuratedonate" target="_blank"
    40                class="donate">donate</a>
     40               class="donate"><?php _e('donate');?></a>
    4141        </div>
    4242        <div class="block">
    4343            <?php if (!$sent) { ?>
    44                 <label for="expresscurate_support_email">Leave your feedback</label>
     44                <label for="expresscurate_support_email"><?php _e('Leave your feedback');?></label>
    4545            <?php
    4646            } else {
    4747                ?>
    48                 <label for="expresscurate_support_email">Thanks for your feedback</label>
     48                <label for="expresscurate_support_email"><?php _e('Thanks for your feedback');?></label>
    4949            <?php
    5050            }
     
    5656                           placeholder="Email"
    5757                           value="<?php echo $user_email ?>"/>
    58                     <label>Please make sure to provide a working email address so that we can respond back to your support issue.</label>
     58                    <label><?php _e('Please make sure to provide a working email address so that we can respond back to your support issue.'); ?></label>
    5959                    <span id="expresscurate_support_email_validation" class="expresscurate_errorMessage"></span>
    6060                </div>
     
    6464                    <span class="expresscurate_errorMessage" id="expresscurate_support_message_validation"></span>
    6565                </div>
    66                 <a class="feedbackButton send greenBackground" href="#">Send</a>
     66                <a class="feedbackButton send greenBackground" href="#"><?php _e('Send');?></a>
    6767            </form>
    6868        </div>
  • expresscurate/trunk/templates/websites.php

    r1137344 r1319447  
    55<div class="expresscurate_topSources expresscurate_Styles wrap">
    66  <div class="expresscurate_headBorderBottom expresscurate_headerPart expresscurate_OpenSansRegular">
    7     <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs">Suggestions? <span>Submit here!</span></a>
    8     <h2>Top Sources</h2>
    9       <label class="pageDesc">Top sources where you have curated from.</label>
     7    <a href="admin.php?page=expresscurate_support" class="expresscurate_writeUs"><?php _e('Suggestions? ');?><span><?php _e('Submit here!');?></span></a>
     8    <h2><?php _e(' Sources');?></h2>
     9      <label class="pageDesc"><?php _e('Top sources where you have curated from.');?></label>
    1010  </div>
    1111  <div class="expresscurate_content_wrapper">
     
    1414      ?>
    1515      <ul class="expresscurate_columnsName">
    16         <li class="mainTitle">Sources</li>
    17         <li class="title expresscurate_floatRight">rss subscription status</li>
    18         <li class="title expresscurate_floatRight expresscurate_marginRight30"># of curated posts</li>
     16        <li class="mainTitle"><?php _e('Sources');?></li>
     17        <li class="title expresscurate_floatRight"><?php _e('rss subscription status');?></li>
     18        <li class="title expresscurate_floatRight expresscurate_marginRight30"><?php _e('# of curated posts');?></li>
    1919      </ul>
    2020      <ul class="expresscurate_URL">
     
    4545      ?>
    4646      <span class="expresscurate_notDefined">
    47         No Curated Post. <a href="<?php echo admin_url(); ?>post-new.php">Curate New Post Now</a>.
     47      <?php _e(' No Curated Post.'); ?> <a href="<?php echo admin_url(); ?>post-new.php"><?php _e('Curate New Post Now'); ?></a>.
    4848      </span>
    4949    <?php }
  • expresscurate/trunk/templates/widget.php

    r1129694 r1319447  
    55<div id="expresscurate_widget_wrapper"
    66     class="expresscurate_widget_wrapper expresscurate_Styles expresscurate_preventTextSelection">
    7     <label>Keywords <span class="rotate"><a href="#"></a></span>
    8         <span class="mark"><span>mark keywords</span></span>
     7    <label><?php _e('Keywords '); ?><span class="rotate"><a href="#"></a></span>
     8        <span class="mark"><span><?php _e('mark keywords');?></span></span>
    99    </label>
    1010    <?php
     
    4949    ?>
    5050    <div class="description">
    51         <label for="description">Description</label>
     51        <label for="description"><?php _e('Description');?></label>
    5252
    5353        <div class="descriptionWrap textareaBorder">
     
    6363        </div>
    6464        <div class="hint expresscurate_displayNone borderRight">
    65             <span>characters left</span>
     65            <span><?php _e('characters left');?></span>
    6666
    6767            <p class="lettersCount"><span class="bold">156</span> / 156</p>
    68             <span class="tooltip">The meta description will be limited to 156 chars.</span>
     68            <span class="tooltip"><?php _e('The meta description will be limited to 156 chars.');?></span>
    6969        </div>
    7070        <div class="hint expresscurate_displayNone">
     
    7272
    7373            <p class="usedKeywordsCount"><span class="bold">0</span> / 0</p>
    74             <span class="tooltip">It'll be better to use keywords in meta description.</span>
     74            <span class="tooltip"><?php _e('It\'ll be better to use keywords in meta description.');?></span>
    7575        </div>
    7676
    77         <p class="expresscurate_displayNone">The meta description tag is intented to be a brief and concise summary of
     77        <p class="expresscurate_displayNone"><?php _e('The meta description tag is intented to be a brief and concise summary of
    7878            your
    79             page's content.</p>
     79            page\'s content.');?></p>
    8080    </div>
    8181
    82     <a href="#" class="expresscurate_moveToAdvanced">Advanced SEO</a>
     82    <a href="#" class="expresscurate_moveToAdvanced"><?php _e('Advanced SEO');?></a>
    8383<?php } ?>
    8484<script type="text/html" id="tmpl-SEOControlCenter">
     
    8787        <div data-color="{{data.color}}" class="statisticsTitle expresscurate_{{data.color}}"><span>{{data.keyword}}</span></div>
    8888        <div class="statistics {{data.inTitle}} borderRight">
    89             <div class="center">title</div>
     89            <div class="center"><?php _e('title');?></div>
    9090        </div>
    9191        <div class="statistics">
    92             <div class="center">content<span>{{data.inContent}}%</span></div>
     92            <div class="center"><?php _e('content');?><span>{{data.inContent}}%</span></div>
    9393        </div>
    9494    </div>
Note: See TracChangeset for help on using the changeset viewer.