Plugin Directory

Changeset 1403538


Ignore:
Timestamp:
04/25/2016 06:42:29 AM (10 years ago)
Author:
kushsharma
Message:

Language bug fix

Location:
kush-micro-news/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kush-micro-news/trunk/includes/admin.php

    r1403334 r1403538  
    99    if(get_option('kush_mn_editor_access','false') == 'true'){
    1010    //editor   
    11         add_menu_page('Micro News Board', 'Micro News','publish_pages' , 'micro-news', 'micro_news_html_page','','6.1995');
    12         add_submenu_page('micro-news','Micro News Add New', 'Add New', 'publish_pages','micro-news-new', 'micro_news_html_page_add_new');
    13         add_submenu_page('micro-news','Micro News Settings', 'Settings', 'publish_pages','micro-news-config', 'micro_news_config_page');
     11        add_menu_page('Micro News Board', __('Micro News', 'kush-micro-news'), 'publish_pages' , 'micro-news', 'micro_news_html_page','','6.1995');
     12        add_submenu_page('micro-news','Micro News Add New', __('Add New', 'kush-micro-news'), 'publish_pages','micro-news-new', 'micro_news_html_page_add_new');
     13        add_submenu_page('micro-news','Micro News Settings', __('Settings', 'kush-micro-news'), 'publish_pages','micro-news-config', 'micro_news_config_page');
    1414    }
    1515    else
    1616    {//administrator
    17         add_menu_page('Micro News Board', 'Micro News','install_plugins' , 'micro-news', 'micro_news_html_page','','6.1995');
    18         add_submenu_page('micro-news','Micro News Add New', 'Add New', 'install_plugins','micro-news-new', 'micro_news_html_page_add_new');
    19         add_submenu_page('micro-news','Micro News Settings', 'Settings', 'install_plugins','micro-news-config', 'micro_news_config_page');
     17        add_menu_page('Micro News Board', __('Micro News', 'kush-micro-news'), 'install_plugins' , 'micro-news', 'micro_news_html_page','','6.1995');
     18        add_submenu_page('micro-news','Micro News Add New', __('Add New', 'kush-micro-news'), 'install_plugins','micro-news-new', 'micro_news_html_page_add_new');
     19        add_submenu_page('micro-news','Micro News Settings', __('Settings', 'kush-micro-news'), 'install_plugins','micro-news-config', 'micro_news_config_page');
    2020    }
    2121}
     
    3737             update_option( "kush_mn_num_news",$num);
    3838             
    39              $what= __('Changes saved!', 'kush-mn-plugin');
     39             $what= __('Changes saved!', 'kush-micro-news');
    4040            }
    4141        else
    4242        {
    4343            update_option( "kush_mn_num_news",'5');
    44             echo '<h4>'.__('Number of post cannot left blank, reverted to default.', 'kush-mn-plugin').'</h4>';
     44            echo '<h4>'.__('Number of post cannot left blank, reverted to default.', 'kush-micro-news').'</h4>';   
    4545        }
    4646    }
     
    5050            update_option( "kush_mn_load_nav",'true');     
    5151       
    52         $what=__('Changes saved!', 'kush-mn-plugin');
     52        $what=__('Changes saved!', 'kush-micro-news');
    5353    }
    5454    else
     
    6060            update_option( "kush_mn_load_newtab",'true');       
    6161       
    62         $what=__('Changes saved!', 'kush-mn-plugin');
     62        $what=__('Changes saved!', 'kush-micro-news');
    6363    }
    6464    else
     
    7070            update_option( "kush_mn_load_nav_swap",'true');     
    7171           
    72              $what=__('Changes saved!', 'kush-mn-plugin');
     72             $what=__('Changes saved!', 'kush-micro-news');
    7373        }
    7474    else
     
    8181        if($_POST['myRename']!='')
    8282        { update_option("kush_mn_widget_name", htmlspecialchars($_POST['myRename']));       
    83              $what=__('Changes saved!', 'kush-mn-plugin');
     83             $what=__('Changes saved!', 'kush-micro-news');
    8484        }
    8585        else
     
    9797        if($_POST['fullStoryText']!='')
    9898        {update_option("kush_mn_read_story_text", htmlspecialchars($_POST['fullStoryText']));       
    99              $what=__('Changes saved!', 'kush-mn-plugin');
     99             $what=__('Changes saved!', 'kush-micro-news');
    100100        }
    101101        else
     
    110110            update_option( "kush_mn_show_lborder",'true');     
    111111           
    112              $what=__('Changes saved!', 'kush-mn-plugin');
     112             $what=__('Changes saved!', 'kush-micro-news');
    113113        }
    114114    else
     
    119119            update_option( "kush_mn_show_linkclean",'true');       
    120120       
    121              $what=__('Changes saved!', 'kush-mn-plugin');
     121             $what=__('Changes saved!', 'kush-micro-news');
    122122        }
    123123    else   
     
    128128            update_option( "kush_mn_parse_html",'true');       
    129129       
    130              $what=__('Changes saved!', 'kush-mn-plugin');
     130             $what=__('Changes saved!', 'kush-micro-news');
    131131    }
    132132    else   
     
    137137    {
    138138        update_option( "kush_mn_color_text",$_POST['textColor']);
    139              $what=__('Changes saved!', 'kush-mn-plugin');
     139             $what=__('Changes saved!', 'kush-micro-news');
    140140    }
    141141   
     
    143143    {
    144144        update_option( "kush_mn_color_title",$_POST['titleColor']);
    145              $what=__('Changes saved!', 'kush-mn-plugin');
     145             $what=__('Changes saved!', 'kush-micro-news');
    146146    }
    147147   
     
    149149    {
    150150        update_option( "kush_mn_color_link",$_POST['linkColorField']);
    151              $what=__('Changes saved!', 'kush-mn-plugin');
     151             $what=__('Changes saved!', 'kush-micro-news');
    152152    }
    153153
     
    155155    {
    156156        update_option( "kush_mn_head_textColor",$_POST['headTextColor']);
    157              $what=__('Changes saved!', 'kush-mn-plugin');
     157             $what=__('Changes saved!', 'kush-micro-news');
    158158    }
    159159   
     
    161161    {
    162162        update_option( "kush_mn_head_highlightColor",$_POST['headHighlightColor']);
    163              $what=__('Changes saved!', 'kush-mn-plugin');
     163             $what=__('Changes saved!', 'kush-micro-news');
    164164    }
    165165
     
    167167    {
    168168        update_option( "kush_mn_head_back",$_POST['headBack']);
    169              $what=__('Changes saved!', 'kush-mn-plugin');
     169             $what=__('Changes saved!', 'kush-micro-news');
    170170    }
    171171
     
    175175            update_option( "kush_mn_editor_access",'true');     
    176176       
    177             $what=__('Changes saved!', 'kush-mn-plugin');
     177            $what=__('Changes saved!', 'kush-micro-news');
    178178    }
    179179    else   
     
    184184<div class="wrap">
    185185    <div class="icon32" id="icon-options-general"> <br /> </div>
    186     <h2><?php _e('Micro News Settings', 'kush-mn-plugin');?></h2>
     186    <h2><?php _e('Micro News Settings', 'kush-micro-news');?></h2>
    187187    <?php echo ($what!='')?'<div class="updated"><p><strong>'.$what.'</strong></p></div>':''; ?>
    188188    <br/>
    189189    <form action="" method="post" id="mirco-news-config">
    190         <h3><?php _e('Functional', 'kush-mn-plugin');?></h3>
    191         <div class="options">
    192             <label for="numPost"><?php _e('Number of news to display', 'kush-mn-plugin');?>:</label>
     190        <h3><?php _e('Functional', 'kush-micro-news');?></h3>
     191        <div class="options">
     192            <label for="numPost"><?php _e('Number of news to display', 'kush-micro-news');?>:</label>
    193193            <input type="text" name="numPost" value="<?php echo get_option( "kush_mn_num_news");?>"/>
    194194            <h5 style="display:inline-block;margin:0;">(via kush_micro_news_output() function)</h5>
    195195        </div>
    196196        <div class="options">
    197             <label for="chkLoadNav"><?php _e('Load More navigation', 'kush-mn-plugin');?>:</label>
     197            <label for="chkLoadNav"><?php _e('Load More navigation', 'kush-micro-news');?>:</label>
    198198            <input type="checkbox" name="chkLoadNav" <?php $lnav=get_option('kush_mn_load_nav');if($lnav=='true'){echo 'checked';}?>/>
    199199        </div>
    200200        <div class="options">
    201             <label for="chkLoadNewTab"><?php _e('Open link in new tab', 'kush-mn-plugin');?>:</label>
     201            <label for="chkLoadNewTab"><?php _e('Open link in new tab', 'kush-micro-news');?>:</label>
    202202            <input type="checkbox" name="chkLoadNewTab" <?php if( get_option('kush_mn_load_newtab', 'true') == 'true'){echo 'checked';}?>/>
    203203        </div>
    204204        <div class="options">
    205             <label for="chkLoadNavSwap"><?php _e('Swap news when navigating', 'kush-mn-plugin');?>:</label>
     205            <label for="chkLoadNavSwap"><?php _e('Swap news when navigating', 'kush-micro-news');?>:</label>
    206206            <input type="checkbox" name="chkLoadNavSwap" <?php $lnavSwap=get_option('kush_mn_load_nav_swap');if($lnavSwap=='true'){echo 'checked';}?>/>
    207             <h5 style="display:inline-block;margin:0;"><?php _e('Disabling this will append news when Load More is clicked.', 'kush-mn-plugin');?></h5>
    208         </div>
    209 
    210         <h3><?php _e('Header', 'kush-mn-plugin');?></h3>
    211         <div class="options">
    212             <label for="myRename"><?php _e('Title over news', 'kush-mn-plugin');?>:</label>
     207            <h5 style="display:inline-block;margin:0;"><?php _e('Disabling this will append news when Load More is clicked.', 'kush-micro-news');?></h5>
     208        </div>
     209
     210        <h3><?php _e('Header', 'kush-micro-news');?></h3>
     211        <div class="options">
     212            <label for="myRename"><?php _e('Title over news', 'kush-micro-news');?>:</label>
    213213            <input type="text" name="myRename" value="<?php echo get_option("kush_mn_widget_name", "Micro News");?>"/>
    214214            <h5 style="display:inline-block;margin:0;">(Default: Micro News)</h5>
    215215        </div>
    216216        <div class="options">           
    217             <label for="headTextColor"><?php _e('Head Text Color', 'kush-mn-plugin');?>:</label>
     217            <label for="headTextColor"><?php _e('Head Text Color', 'kush-micro-news');?>:</label>
    218218            <input type="text" name="headTextColor" value="<?php echo get_option('kush_mn_head_textColor','#FFFFFF');?>" />
    219219            <select name="titleColorList" onclick="check_custom_color(this,'title')">
     
    232232        </div>
    233233        <div class="options">           
    234             <label for="headHighlightColor"><?php _e('Head Highlight Color', 'kush-mn-plugin');?>:</label>
     234            <label for="headHighlightColor"><?php _e('Head Highlight Color', 'kush-micro-news');?>:</label>
    235235            <input type="text" name="headHighlightColor" value="<?php echo get_option('kush_mn_head_highlightColor','#808080');?>" />
    236236            <select name="titleColorList" onclick="check_custom_color(this,'title')">
     
    248248        </div>
    249249        <div class="options">           
    250             <label for="headBack"><?php _e('Head Background Color', 'kush-mn-plugin');?>:</label>
     250            <label for="headBack"><?php _e('Head Background Color', 'kush-micro-news');?>:</label>
    251251            <input type="text" name="headBack" value="<?php echo get_option('kush_mn_head_back','default');?>" />
    252252            <select name="titleColorList" onclick="check_custom_color(this,'title')">
     
    263263        </div>
    264264
    265         <h3><?php _e('Display', 'kush-mn-plugin');?></h3>
    266         <div class="options">
    267             <label for="myRename"><?php _e('Full Story Text', 'kush-mn-plugin');?>:</label>
     265        <h3><?php _e('Display', 'kush-micro-news');?></h3>
     266        <div class="options">
     267            <label for="myRename"><?php _e('Full Story Text', 'kush-micro-news');?>:</label>
    268268            <input type="text" name="fullStoryText" value="<?php echo get_option("kush_mn_read_story_text");?>"/>
    269269            <h5 style="display:inline-block;margin:0;">(Default: Read Full story &raquo;)</h5>
    270270        </div>         
    271271        <div class="options">           
    272             <label for="titleColor"><?php _e('Title Color', 'kush-mn-plugin');?>:</label>
     272            <label for="titleColor"><?php _e('Title Color', 'kush-micro-news');?>:</label>
    273273            <input type="text" name="titleColor" value="<?php echo get_option('kush_mn_color_title','#0066CC');?>" />
    274274            <select name="titleColorList" onclick="check_custom_color(this,'title')">
     
    286286        </div>
    287287        <div class="options">
    288             <label for="textColor"><?php _e('Text Color', 'kush-mn-plugin');?>:</label>
     288            <label for="textColor"><?php _e('Text Color', 'kush-micro-news');?>:</label>
    289289            <input type="text" name="textColor" value="<?php echo get_option('kush_mn_color_text', '#666666');?>" />
    290290            <select name="textColorList" onclick="check_custom_color(this,'text')">
     
    301301        </div>
    302302        <div class="options">
    303             <label for="linkColorField"><?php _e('Link Color', 'kush-mn-plugin');?>:</label>
     303            <label for="linkColorField"><?php _e('Link Color', 'kush-micro-news');?>:</label>
    304304            <input type="text" name="linkColorField" value="<?php echo get_option('kush_mn_color_link', '#000000');?>" />
    305305            <select name="linkColorList" onclick="check_custom_color(this,'link')">
     
    316316        </div>
    317317        <div class="options">
    318             <label for="chkBorder"><?php _e('Enable colorful borders', 'kush-mn-plugin');?>:</label>
     318            <label for="chkBorder"><?php _e('Enable colorful borders', 'kush-micro-news');?>:</label>
    319319            <input type="checkbox" name="chkBorder" <?php $sBor=get_option('kush_mn_show_lborder');if($sBor=='true'){echo 'checked';}?>/>
    320320        </div>
    321321        <div class="options">
    322             <label for="chkHover"><?php _e('Enable link hover effect', 'kush-mn-plugin');?>:</label>
     322            <label for="chkHover"><?php _e('Enable link hover effect', 'kush-micro-news');?>:</label>
    323323            <input type="checkbox" name="chkHover" <?php $lHov=get_option('kush_mn_show_linkclean');if($lHov=='true'){echo 'checked';}?>/>
    324324        </div> 
    325325
    326         <h3><?php _e('Input', 'kush-mn-plugin');?></h3>
    327         <div class="options">
    328             <label for="chkHtmlParse"><?php _e('HTML parsing while adding news', 'kush-mn-plugin');?>:</label>
     326        <h3><?php _e('Input', 'kush-micro-news');?></h3>
     327        <div class="options">
     328            <label for="chkHtmlParse"><?php _e('HTML parsing while adding news', 'kush-micro-news');?>:</label>
    329329            <input type="checkbox" name="chkHtmlParse" <?php $lHov=get_option('kush_mn_parse_html');if($lHov=='true'){echo 'checked';}?>/>
    330             <h5 style="display:inline-block;margin:0;">(<?php _e('Try not to use improper markup if HTML parsing is enabled otherwise it could break up your whole site.', 'kush-mn-plugin');?>)</h5>
    331         </div>
    332 
    333         <h3><?php _e('Access', 'kush-mn-plugin');?></h3>
    334         <div class="options">
    335             <label for="editorAccess"><?php _e('Enable access to Editors', 'kush-mn-plugin');?>:</label>
     330            <h5 style="display:inline-block;margin:0;">(<?php _e('Try not to use improper markup if HTML parsing is enabled otherwise it could break up your whole site.', 'kush-micro-news');?>)</h5>
     331        </div>
     332
     333        <h3><?php _e('Access', 'kush-micro-news');?></h3>
     334        <div class="options">
     335            <label for="editorAccess"><?php _e('Enable access to editors', 'kush-micro-news');?>:</label>
    336336            <input type="checkbox" name="editorAccess" <?php $lHov=get_option('kush_mn_editor_access');if($lHov=='true'){echo 'checked';}?>/>
    337             <h5 style="display:inline-block;margin:0;">(<?php _e('Users with access level of editor.', 'kush-mn-plugin');?>)</h5>
     337            <h5 style="display:inline-block;margin:0;">(<?php _e('Users with access level of editor.', 'kush-micro-news');?>)</h5>
    338338        </div>
    339339       
     
    342342        <input type="submit" value="Save Changes" class="button-primary"/>
    343343        <br><hr>
    344         <?php _e('Download Backup of your Micro News data', 'kush-mn-plugin');?>: <a href="?backup=true" target="_blank" class="button-primary"><?php _e('Download', 'kush-mn-plugin');?></a>
     344        <?php _e('Download Backup of your Micro News data', 'kush-micro-news');?>: <a href="?backup=true" target="_blank" class="button-primary"><?php _e('Download', 'kush-micro-news');?></a>
    345345
    346346
    347347        <br><hr>
    348         <?php _e('Update table storage', 'kush-mn-plugin');?>: <a href="?updatedb=true" target="_blank" class="button-primary"><?php _e('Update', 'kush-mn-plugin');?></a>
    349         <h5 style="display:inline-block;margin:0;"><?php _e('Create a backup first.', 'kush-mn-plugin');?></h5>
     348        <?php _e('Update table storage', 'kush-micro-news');?>: <a href="?updatedb=true" target="_blank" class="button-primary"><?php _e('Update', 'kush-micro-news');?></a>
     349        <h5 style="display:inline-block;margin:0;"><?php _e('Create a backup first.', 'kush-micro-news');?></h5>
    350350    </form>
    351351    <br><br>
     
    384384    if($rows_affected > 0)
    385385    {
    386         $text .= __('Updated Successfully!', 'kush-mn-plugin');
     386        $text .= __('Updated Successfully!', 'kush-micro-news');
    387387        update_option('kush_mn_db_version','1.1');
    388388    }
     
    402402        if($ver == "1.0")
    403403        {
    404             echo "<div class='update-nag'>".__('URGENT: DATABASE UPDATE REQUIRED! Use button at the end of Settings page.', 'kush-mn-plugin')."</div>";
     404            echo "<div class='update-nag'>".__('URGENT: DATABASE UPDATE REQUIRED! Use button at the end of Settings page.', 'kush-micro-news')."</div>";
    405405        }
    406406    }
     
    457457               
    458458            if($rows_affected==true)
    459                 {?><div class="updated"><p><strong><?php _e('New Post Added.','kush-mn-plugin'); ?></strong></p></div>'<?php }
     459                {?><div class="updated"><p><strong><?php _e('New Post Added.','kush-micro-news'); ?></strong></p></div>'<?php }
    460460            }
    461461        else
    462             {$what=__('Don\'t you think atleast title is necessary.','kush-mn-plugin');}
     462            {$what=__('Don\'t you think atleast title is necessary.','kush-micro-news');}
    463463        }
    464464
     
    466466<div class="wrap">
    467467<div class="icon32" id="icon-tools"> <br /> </div>
    468 <h2><?php _e('Micro News Add New Post','kush-mn-plugin');?></h2>
     468<h2><?php _e('Micro News Add New Post','kush-micro-news');?></h2>
    469469
    470470<?php if($what!=''){echo '<h3>'.$what.'</h3>';}?>
     
    473473        <div>
    474474            <div class="row">
    475                 <label for="k_mn_title"><?php _e('Title','kush-mn-plugin');?>:</label>
     475                <label for="k_mn_title"><?php _e('Title','kush-micro-news');?>:</label>
    476476                <input type="text" name="k_mn_title" placeholder="Title of News"/>
    477477            </div>
    478478            <div class="row">
    479                 <label for="k_mn_content"><?php _e('Content','kush-mn-plugin');?>:</label>
     479                <label for="k_mn_content"><?php _e('Content','kush-micro-news');?>:</label>
    480480                <textarea name="k_mn_content" placeholder="Excerpt">.</textarea>
    481481            </div>
    482482            <div class="row">
    483                 <label for="k_mn_link"><?php _e('Link','kush-mn-plugin');?>:</label>
     483                <label for="k_mn_link"><?php _e('Link','kush-micro-news');?>:</label>
    484484                <input type="text" name="k_mn_link" placeholder="Link Reference"/>
    485485            </div>
    486486            <?php if($dbver != '0' && $dbver != '1.0' && $dbver != '') :?>
    487487                <div class="row">
    488                     <label for="k_mn_cat"><?php _e('Category Key','kush-mn-plugin');?>:</label>
     488                    <label for="k_mn_cat"><?php _e('Category Key','kush-micro-news');?>:</label>
    489489                    <!-- <input type="text" name="k_mn_cat" placeholder="Category Key:" value="default"/> -->
    490490                    <select name="k_mn_cat">
     
    500500           
    501501            <div class="row">
    502                 <input type="submit" value="<?php _e('Add New');?>" class="button-primary"/>
     502                <input type="submit" value="<?php _e('Add New','kush-micro-news');?>" class="button-primary"/>
    503503            </div>
    504504        </div>
     
    506506
    507507    <div id="kush-micro-news-buyaredbull">
    508             If you found this plugin useful and want to support its development then please consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BFA297YJX5QN" target="_blank">buying</a> it or you can make my <a href="http://www.amazon.in/gp/registry/wishlist/CDMUYYAWCCDF/ref=cm_wl_huc_view" target="_blank">amazon wish</a> come true.
     508            If you found this plugin useful and want to support its development then please consider <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BFA297YJX5QN" target="_blank">buying</a> it or you can make my <a href="http://www.amazon.in/gp/registry/wishlist/CDMUYYAWCCDF/ref=cm_wl_huc_view" target="_blank">amazon wishes</a> come true.
    509509            Decide price yourself by how useful it is for you and don't forget to <a href="http://wordpress.org/support/view/plugin-reviews/kush-micro-news" target="_blank">rate</a>. Thanks.
    510510    </div>
  • kush-micro-news/trunk/includes/core.php

    r1403333 r1403538  
    122122            //show text
    123123            $output_html .='<div class="text" style="color:'.$textColor.'">'.$row->text.' ';
    124                 $output_html .='<span class="postedOn">'.__('on', 'kush-mn-plugin').' '.$formateddate.'</span>';
     124                $output_html .='<span class="postedOn">'.__('on', 'kush-micro-news').' '.$formateddate.'</span>';
    125125            $output_html .='</div>';
    126126           
     
    214214           
    215215            if($chk)
    216                 $what= __('Updated successfully.', 'kush-mn-plugin');
     216                $what= __('Updated successfully.', 'kush-micro-news');
    217217            else
    218                 $what=__('Serious error occured.', 'kush-mn-plugin');
     218                $what=__('Serious error occured.', 'kush-micro-news');
    219219       
    220220        }
     
    226226           
    227227            if($chk)
    228                 $what= __('Deleted successfully.', 'kush-mn-plugin');
     228                $what= __('Deleted successfully.', 'kush-micro-news');
    229229            else
    230                 $what=__('Serious error occured.', 'kush-mn-plugin');
     230                $what=__('Serious error occured.', 'kush-micro-news');
    231231    }
    232232
     
    249249        <h3></h3>
    250250        <div class="icon32" id="icon-edit"> <br /> </div>
    251         <h2><?php _e('Micro News Posts', 'kush-mn-plugin');?></h2>
     251        <h2><?php _e('Micro News Posts', 'kush-micro-news');?></h2>
    252252   
    253253    <?php if($what!=''){echo '<div class="updated"><p>'.$what.'</p></div>';}?>
     
    268268                </div>
    269269                <div class="container-admin-meta-link">
    270                     <span> <strong><?php _e('on', 'kush-mn-plugin');?></strong> <?php $date=strtotime($row->time); echo date('d M Y',$date);?></span>
     270                    <span> <strong><?php _e('on', 'kush-micro-news');?></strong> <?php $date=strtotime($row->time); echo date('d M Y',$date);?></span>
    271271                    |
    272272                    <?php if(empty($row->category) == false){
    273                         echo '<strong>'.__('Category key', 'kush-mn-plugin').': </strong><span id="mn-cat-'.$row->id.'">'.$row->category.'</span> | ';
     273                        echo '<strong>'.__('Category Key', 'kush-micro-news').': </strong><span id="mn-cat-'.$row->id.'">'.$row->category.'</span> | ';
    274274                    }?>
    275                     <strong><?php _e('Reference Link', 'kush-mn-plugin'); ?>: </strong><span id="mn-link-<?php echo $row->id;?>"><?php echo $row->url;?></a></span>
     275                    <strong><?php _e('Reference Link', 'kush-micro-news'); ?>: </strong><span id="mn-link-<?php echo $row->id;?>"><?php echo $row->url;?></a></span>
    276276                </div>
    277277                <input type="button" value="Edit" class="button-primary editB" data-id="mn-edit-<?php echo $row->id;?>"/>
     
    289289        if($totalpage>=1 && $page<$totalpage)   
    290290            {?>
    291             <ul class="micro-news-post-nav"><li style="border:0;"><?php _e('Page', 'kush-mn-plugin');?> : </li>
     291            <ul class="micro-news-post-nav"><li style="border:0;"><?php _e('Page', 'kush-micro-news');?> : </li>
    292292            <?php           
    293293            for($z=1;$z<=$totalpage;$z++)
     
    296296            }
    297297        if($page!=1)
    298             {echo '<li><a href="?page=micro-news&pgno=1">'.__('Home', 'kush-mn-plugin').'</a></li>';}
     298            {echo '<li><a href="?page=micro-news&pgno=1">'.__('Home', 'kush-micro-news').'</a></li>';}
    299299    }// if closed
    300300    ?>
  • kush-micro-news/trunk/index.php

    r1403333 r1403538  
    33Plugin Name: Kush Micro News
    44Description: Spread the news in shortest possible way. Use links to refer data and title to concise it.
    5 Version: 1.6.5
     5Version: 1.6.6
    66Author: Kush Sharma
    77Author Email: thekushsharma@gmail.com
    88Author URI: http://softnuke.com/
    99Plugin URI: https://github.com/kushsharma/micro-news
    10 Text Domain: kush-mn-plugin
     10Text Domain: kush-micro-news
    1111Domain Path: /lang/
    1212Last Officially Updated: 24 Apr 2016
     
    2929
    3030function load_newsplugin_textdomain() {
    31   load_plugin_textdomain( 'kush-mn-plugin', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' );
     31  load_plugin_textdomain( 'kush-micro-news', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' );
    3232}
    3333add_action( 'plugins_loaded', 'load_newsplugin_textdomain' );
     
    8686        function KushMNWidget() {
    8787            // Instantiate the parent object
    88             parent::__construct( 'kush-micro-news', 'Kush Micro News','description='.__('Micro news data will output where this widget resides.', 'kush-mn-plugin') );
     88            parent::__construct( 'kush-micro-news', 'Kush Micro News','description='.__('Micro news data will output where this widget resides.', 'kush-micro-news') );
    8989        }
    9090
     
    129129                  <input type="text" size="5" id="<?php echo $this->get_field_id('no_news'); ?>" name="<?php echo $this->get_field_name('no_news'); ?>" value="<?php echo $instance['no_news']; ?>" />
    130130                  <label for="no_news">
    131                     <?php _e('Number of news', 'kush-mn-plugin'); ?>
     131                    <?php _e('Number of news', 'kush-micro-news'); ?>
    132132                  </label>
    133133                  <h6>~Default: 5</h6>
     
    144144                        </select>
    145145                      <label for="news_cat">
    146                         <?php _e('Category', 'kush-mn-plugin'); ?>
     146                        <?php _e('Category', 'kush-micro-news'); ?>
    147147                      </label>
    148148                      <h6>~Default: "Default"</h6>
     
    152152                  <input type="checkbox" id="<?php echo $this->get_field_id('news_header'); ?>" name="<?php echo $this->get_field_name('news_header');?>" <?php echo ($instance['news_header'] == 'true')? 'checked':''; ?> />
    153153                  <label for="news_header">
    154                     <?php _e('Header', 'kush-mn-plugin'); ?>
     154                    <?php _e('Header', 'kush-micro-news'); ?>
    155155                  </label>
    156156                </div>
  • kush-micro-news/trunk/readme.txt

    r1403333 r1403538  
    55Requires at least: 3.0.1
    66Tested up to: 4.5
    7 Stable tag: 1.6.5
     7Stable tag: 1.6.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090== Changelog ==
    9191
     92= 1.6.6 =
     93* Bug Fix: Language slug
     94
    9295= 1.6.5 =
    9396* Plugin Internationalized.
Note: See TracChangeset for help on using the changeset viewer.