Plugin Directory

Changeset 1335646


Ignore:
Timestamp:
01/25/2016 04:49:28 PM (10 years ago)
Author:
websima
Message:

Channeller Updated to 1.3

Location:
channeller-telegram-channel-administrator/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • channeller-telegram-channel-administrator/trunk/channeller.php

    r1314837 r1335646  
    22/**
    33 * @package Websima Telegram Channel
    4  * @version 1.2
     4 * @version 1.3
    55 */
    66/*
     
    99Description: Send Text, URL and photo from Wordpress to Telegram Channel using Telegram bot API.
    1010Author: Websima Creative Agency
    11 Version: 1.2
     11Version: 1.3
    1212Author URI: http://websima.com
    1313*/
     
    2020function tchannel_custom_menu_page()
    2121{
    22     add_menu_page(__('Channeller', 'tchannel'), __('Channeller', 'tchannel'), 'manage_options', 'channeller', 'channeller_options_page', plugins_url('channeller-telegram-channel-administrator/includes/dashicon.png'));
     22    add_menu_page(__('Channeller', 'tchannel'), __('Channeller', 'tchannel'), 'manage_options', 'channeller', 'channeller_options_page', plugins_url('channeller-telegram-channel-administrator/includes/dashicon.png') , 26);
    2323    $options = get_option( 'tchannel_settings' );
    2424    $logview = $options['tchannel_log'];
     
    6868include_once('includes/ch-publishsend.php');
    6969include_once('includes/ch-notification-metabox.php');
     70function my_admin_scripts() {   
     71    wp_enqueue_script('media-upload');
     72    wp_enqueue_script('thickbox');
     73    wp_register_script('my-upload', WP_PLUGIN_URL.'/channeller-telegram-channel-administrator/my-script.js', array('jquery','media-upload','thickbox'));
     74    wp_enqueue_script('my-upload');
     75}
     76
     77function my_admin_styles() {
     78
     79    wp_enqueue_style('thickbox');
     80}
     81    add_action('admin_print_scripts', 'my_admin_scripts');
     82    add_action('admin_print_styles', 'my_admin_styles');
     83
    7084?>
  • channeller-telegram-channel-administrator/trunk/includes/ch-notification-metabox.php

    r1310089 r1335646  
    2323    $text = isset( $values['tchannel_text'] ) ? esc_attr( $values['tchannel_text'][0] ) : '';
    2424    $selected = isset( $values['tchannel_select'] ) ? esc_attr( $values['tchannel_select'][0] ) : '';
     25    $selectedlink = isset( $values['tchannel_link'] ) ? esc_attr( $values['tchannel_link'][0] ) : '';
     26    $selectedimage = isset( $values['tchannel_media'] ) ? esc_attr( $values['tchannel_media'][0] ) : '';
    2527    wp_nonce_field( 'tchannel_nonce', 'meta_box_nonces' );
    2628    ?>
    27     <p>
     29    <div class="telechannel">
     30    <p style="border-bottom: 3px solid #0A7CB5;padding-bottom: 10px;">
    2831    <?php
    2932     printf(__( 'Send to Channels.', 'tchannel' ));
     
    5962    </p>
    6063    <p>
     64        <label for="tchannel_link"><?php printf(__( 'Link Type', 'tchannel' )); ?></label>
     65        <select name="tchannel_link" id="tchannel_link">
     66            <option value="fullurl" <?php selected( $selectedlink, 'url' ); ?>><?php printf(__( 'Full URL', 'tchannel' )); ?></option>
     67            <option value="shorturl" <?php selected( $selectedlink, 'shorturl' ); ?>><?php printf(__( 'Short URL', 'tchannel' )); ?></option>
     68            <option value="nourl" <?php selected( $selectedlink, 'nourl' ); ?>><?php printf(__( 'No URL', 'tchannel' )); ?></option>
     69        </select>
     70    </p>
     71    <p>
    6172        <label for="tchannel_select"><?php printf(__( 'Message Text', 'tchannel' )); ?></label>
    6273        <select name="tchannel_select" id="tchannel_select">
    63             <option value="url" <?php selected( $selected, 'url' ); ?>><?php printf(__( 'URL', 'tchannel' )); ?></option>
    64             <option value="shorturl" <?php selected( $selected, 'shorturl' ); ?>><?php printf(__( 'Short URL', 'tchannel' )); ?></option>
    65             <option value="customurl" <?php selected( $selected, 'customurl' ); ?>><?php printf(__( 'URL and Custom Message', 'tchannel' )); ?></option>
    66             <option value="shortcustomurl" <?php selected( $selected, 'shortcustomurl' ); ?>><?php printf(__( 'Short URL and Custom Message', 'tchannel' )); ?></option>
     74            <option value="contenttext" <?php selected( $selected, 'contenttext' ); ?>><?php printf(__( 'Post Content', 'tchannel' )); ?></option>
    6775            <option value="customtext" <?php selected( $selected, 'customtext' ); ?>><?php printf(__( 'Custom Message', 'tchannel' )); ?></option>
    6876        </select>
    6977    </p>
     78
     79
     80    <p class="textboxchannel"<?php if($selected == 'contenttext' ) {echo ' style="display:none;"';} ?>>
     81        <label for="tchannel_text" style="display: block;"><?php printf(__( 'Custom Message', 'tchannel' )); ?></label>
     82        <textarea style="width: 99%;"rows="3" onkeyup="countChar(this)" name="tchannel_text" id="tchannel_text"><?php echo $text; ?></textarea>
     83        <?php printf(__( 'Characters Limit: ', 'tchannel' )); ?><span id="charNum">3000</span>
     84    </p>
    7085    <p>
    71         <label for="tchannel_text" style="display: block;"><?php printf(__( 'Custom Message', 'tchannel' )); ?></label>
    72         <textarea style="width: 99%;"rows="3" name="tchannel_text" id="tchannel_text"><?php echo $text; ?></textarea>
    73     </p>
    74     <p>
    75         <label for="tchannel_image" style="display: block;"><?php printf(__( 'Custom Image', 'tchannel' )); ?></label>
    76         <textarea style="width: 99%;direction:ltr;"rows="3" name="tchannel_image" id="tchannel_image"><?php echo $image; ?></textarea>
     86        <label for="tchannel_media"><?php printf(__( 'Image', 'tchannel' )); ?></label>
     87        <select name="tchannel_media" id="tchannel_media">
     88            <option value="featured" <?php selected( $selectedimage, 'featured' ); ?>><?php printf(__( 'Featured Image', 'tchannel' )); ?></option>
     89            <option value="custom" <?php selected( $selectedimage, 'custom' ); ?>><?php printf(__( 'Custom Image', 'tchannel' )); ?></option>
     90            <option value="noimage" <?php selected( $selectedimage, 'noimage' ); ?>><?php printf(__( 'No Image', 'tchannel' )); ?></option>
     91        </select>
     92    </p>
     93    <p class="imageboxchannel"<?php if(!$selectedimage == 'custom' ) {echo ' style="display:none;"';} ?>>
     94        <input id="tchannel_image" type="text" size="20" name="tchannel_image" placeholder="<?php printf(__( 'Custom Image', 'tchannel' )); ?>" />
     95        <input id="upload_image_button" type="button" value="<?php printf(__( 'Upload Image', 'tchannel' )); ?>" /><br />
    7796        <span><?php printf(__( 'Please Enter Full Image URL on your site, Leave empty to not send images', 'tchannel' )); ?></span>
    7897    </p>
     98    </div>
     99    <style>
     100    .telechannel input[type=text],.telechannel select,.telechannel textarea {width:100%;margin-top:5px;}
     101    input#upload_image_button {
     102    margin-top: 5px;
     103    width: 100%;
     104    border: none;
     105    background-color: #0A7CB5;
     106    color: #fff;
     107    padding: 10px;
     108    cursor: pointer;
     109    margin-bottom: 10px;
     110}
     111    </style>
     112     <script>
     113      function countChar(val) {
     114        var len = val.value.length;
     115        if (len >= 3000) {
     116          val.value = val.value.substring(0, 3000);
     117        } else {
     118          jQuery('#charNum').text(3000 - len);
     119        }
     120      };
     121      jQuery('#tchannel_select').change(function(){
     122         text = jQuery(this).val();
     123         if (text=='customtext' ) {
     124             jQuery('.textboxchannel').show("slow");
     125         } else {
     126              jQuery('.textboxchannel').hide("slow");
     127         }
     128      })
     129      jQuery('#tchannel_media').change(function(){
     130         text = jQuery(this).val();
     131         if (text=='custom' ) {
     132             jQuery('.imageboxchannel').show("slow");
     133         } else {
     134              jQuery('.imageboxchannel').hide("slow");
     135         }
     136      })
     137    </script>
    79138    <?php   
    80139}
     
    107166    if( isset( $_POST['tchannel_select'] ) )
    108167        update_post_meta( $post_id, 'tchannel_select', esc_attr( $_POST['tchannel_select'] ) );
     168    if( isset( $_POST['tchannel_link'] ) )
     169        update_post_meta( $post_id, 'tchannel_link', esc_attr( $_POST['tchannel_link'] ) );
     170    if( isset( $_POST['tchannel_media'] ) )
     171        update_post_meta( $post_id, 'tchannel_media', esc_attr( $_POST['tchannel_media'] ) );
    109172   
    110173    $options = get_option( 'tchannel_settings' );
  • channeller-telegram-channel-administrator/trunk/includes/ch-publishsend.php

    r1304022 r1335646  
    11<?php
    22function ch_sendmessage_publish($post_ID,$channel) {
     3       $link = get_post_meta ($post_ID,'tchannel_link',true);
     4       if ($link == 'fullurl') {
     5           $url = get_permalink($post_ID);
     6       } elseif ($link == 'shorturl') {
     7           $url = wp_get_shortlink($post_ID);
     8       } elseif ($link == 'nourl') {
     9           $url = '';
     10       }
     11       
    312       $type = get_post_meta ($post_ID,'tchannel_select',true);
    4        $custommessage = get_post_meta ($post_ID,'tchannel_text',true);
    5        $shorturl =  wp_get_shortlink($post_ID);
    6        $url = get_permalink($post_ID);
    7        $image =  get_post_meta ($post_ID,'tchannel_image',true);
    8        if ($type == 'url'){
    9            $message = $url;
    10        } elseif ($type == 'shorturl'){
    11            $message = $shorturl;
    12        } elseif ($type == 'customurl'){
    13            $message = $custommessage.' '.$url;
    14        } elseif ($type == 'shortcustomurl'){
    15            $message = $custommessage.' '.$shorturl;
    16        } elseif ($type == 'customtext') {
    17            $message = $custommessage;
    18        }
     13       if ($type == 'contenttext'){
     14            $content_post = get_post($post_ID);
     15            $content = $content_post->post_content;
     16           $message = $url.chr(10).$content;
     17       } elseif ($type == 'customtext'){
     18           $message = $url.chr(10).get_post_meta ($post_ID,'tchannel_text',true);
     19       }
     20       
     21        $media =  get_post_meta ($post_ID,'tchannel_media',true);
     22        if ($media == 'featured') {
     23            $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
     24        } elseif ($media == 'custom') {
     25            $image = get_post_meta ($post_ID,'tchannel_image',true);
     26        } elseif ($media == 'noimage') {
     27            $image == '';
     28        }
     29   
    1930    $options = get_option( 'tchannel_settings' );
    2031    $token = $options['tchannel_text_token'];
  • channeller-telegram-channel-administrator/trunk/languages/tchannel-fa_IR.po

    r1310089 r1335646  
    33"Content-Type: text/plain; charset=UTF-8\n"
    44"Content-Transfer-Encoding: 8bit\n"
    5 "Project-Id-Version: Channeller\n"
     5"Plural-Forms: nplurals=1; plural=0;\n"
     6"Project-Id-Version: channeller\n"
    67"POT-Creation-Date: \n"
    78"PO-Revision-Date: \n"
     
    1314
    1415#. Text in function
    15 #: includes/ch-api-settings.php:105
     16#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105
    1617msgid "Before updating this settings please read the Documents carefully"
    1718msgstr ""
     
    1920
    2021#. Text in function
    21 #: channeller.php:43
     22#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43
    2223msgid "Channel/Group"
    2324msgstr "کانال یا گروه"
    2425
    2526#. Text in function
    26 #: includes/ch-notification-metabox.php:1 channeller.php:51
     27#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
     28#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:1
    2729msgid "Channeller"
    2830msgstr "کانالر"
    2931
    3032#. Text in function
    31 #: channeller.php:37
     33#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:83
     34msgid "Characters Limit: "
     35msgstr "محدودیت کاراکتر: "
     36
     37#. Text in function
     38#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
    3239msgid "Clear Log"
    3340msgstr "حذف سوابق قبلی"
    3441
    3542#. Text in function
    36 #: includes/ch-notification-metabox.php:75
     43#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:89
     44#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:94
    3745msgid "Custom Image"
    3846msgstr "تصویر دلخواه"
    3947
    4048#. Text in function
    41 #: includes/ch-notification-metabox.php:67
    42 #: includes/ch-notification-metabox.php:71
     49#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:75
     50#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:81
    4351msgid "Custom Message"
    4452msgstr "متن دلخواه"
    4553
    4654#. Text in function
    47 #: channeller.php:42
     55#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42
    4856msgid "Date"
    4957msgstr "تاریخ"
    5058
    5159#. Text in function
    52 #: includes/ch-api-settings.php:82
     60#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    5361msgid "Enter Your Telegram Bot Token"
    5462msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید."
    5563
    5664#. Text in function
    57 #: includes/ch-api-settings.php:82
     65#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:88
     66msgid "Featured Image"
     67msgstr "تصویر شاخص"
     68
     69#. Text in function
     70#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:66
     71msgid "Full URL"
     72msgstr "آدرس کامل"
     73
     74#. Text in function
     75#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    5876msgid "Get Telegram API ready"
    5977msgstr "تنظیمات خبرنامه روبات تلگرام"
    6078
    6179#. Text in function
    62 #: includes/ch-api-settings.php:82
     80#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:86
     81msgid "Image"
     82msgstr "تصویر"
     83
     84#. Text in function
     85#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:64
     86msgid "Link Type"
     87msgstr "لینک ارسالی"
     88
     89#. Text in function
     90#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    6391msgid "List of Channels"
    6492msgstr "لیست کانال ها"
    6593
    6694#. Text in function
    67 #: includes/ch-api-settings.php:82
     95#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    6896msgid "List of Groups"
    6997msgstr "لیست گروه ها"
    7098
    7199#. Text in function
    72 #: channeller.php:51
     100#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
    73101msgid "Log"
    74102msgstr "سوابق"
    75103
    76104#. Text in function
    77 #: includes/ch-api-settings.php:82
     105#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    78106msgid "Log Your Activity?"
    79107msgstr "سوابق ذخیره شود؟"
    80108
    81109#. Text in function
    82 #: channeller.php:45
     110#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45
    83111msgid "Message"
    84112msgstr "پیام"
    85113
    86114#. Text in function
    87 #: includes/ch-notification-metabox.php:61
     115#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72
    88116msgid "Message Text"
    89117msgstr "متن پیام"
    90118
    91119#. Text in function
    92 #: channeller.php:37
     120#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
    93121msgid "Messages History"
    94122msgstr "لیست پیام های ارسالی"
    95123
    96124#. Text in function
    97 #: includes/ch-api-settings.php:79
     125#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79
    98126msgid "No"
    99127msgstr "خیر"
    100128
    101129#. Text in function
    102 #: includes/ch-send-functions.php:1
     130#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:90
     131msgid "No Image"
     132msgstr "بدون تصویر"
     133
     134#. Text in function
     135#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:68
     136msgid "No URL"
     137msgstr "بدون لینک"
     138
     139#. Text in function
     140#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    103141msgid "Not Sent"
    104142msgstr "ناموفق"
    105143
    106144#. Text in function
    107 #: includes/ch-notification-metabox.php:77
     145#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96
    108146msgid ""
    109147"Please Enter Full Image URL on your site, Leave empty to not send images"
     
    113151
    114152#. Text in function
    115 #: includes/ch-api-settings.php:89
     153#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89
    116154msgid ""
    117155"Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca"
     
    122160
    123161#. Text in function
    124 #: includes/ch-api-settings.php:96
     162#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96
    125163msgid ""
    126164"Please write down Group IDs and Names separated by \"/\" and make theme "
     
    132170
    133171#. Text in function
    134 #: includes/ch-api-settings.php:82
     172#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:74
     173msgid "Post Content"
     174msgstr "محتوای نوشته"
     175
     176#. Text in function
     177#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    135178msgid "Send Notification for "
    136179msgstr "قابلیت ارسال خبرنامه هنگام ایجاد  "
    137180
    138181#. Text in function
    139 #: includes/ch-send-functions.php:1
     182#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    140183msgid "Send Photo"
    141184msgstr "ارسال عکس"
    142185
    143186#. Text in function
    144 #: includes/ch-send-functions.php:1
     187#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    145188msgid "Send Text"
    146189msgstr "ارسال متن"
    147190
    148191#. Text in function
    149 #: includes/ch-notification-metabox.php:28
     192#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31
    150193msgid "Send to Channels."
    151194msgstr "ارسال به کانال ها"
    152195
    153196#. Text in function
    154 #: includes/ch-notification-metabox.php:55
     197#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58
    155198msgid "Send to Groups"
    156199msgstr "ارسال به گروه ها"
    157200
    158201#. Text in function
    159 #: includes/ch-send-functions.php:1
     202#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    160203msgid "Sent"
    161204msgstr "موفق"
    162205
    163206#. Text in function
    164 #: includes/ch-notification-metabox.php:64
     207#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67
    165208msgid "Short URL"
    166209msgstr "لینک کوتاه"
    167210
    168211#. Text in function
    169 #: includes/ch-notification-metabox.php:66
    170 msgid "Short URL and Custom Message"
    171 msgstr "لینک کوتاه با متن دلخواه"
    172 
    173 #. Text in function
    174 #: channeller.php:44
     212#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:44
    175213msgid "Status"
    176214msgstr "وضعیت"
    177215
    178216#. Text in function
    179 #: includes/ch-api-settings.php:127
     217#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127
    180218msgid "Telegram Channel Admin"
    181219msgstr "مدیر کانال تلگرام"
    182220
    183221#. Text in function
    184 #: channeller.php:41
     222#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41
    185223msgid "Type"
    186224msgstr "نوع پیام"
    187225
    188226#. Text in function
    189 #: includes/ch-notification-metabox.php:63
    190 msgid "URL"
    191 msgstr "لینک مطلب"
    192 
    193 #. Text in function
    194 #: includes/ch-notification-metabox.php:65
    195 msgid "URL and Custom Message"
    196 msgstr "لینک مطلب به همراه پیام دلخواه"
    197 
    198 #. Text in function
    199 #: includes/ch-api-settings.php:78
     227#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:95
     228msgid "Upload Image"
     229msgstr "آپلود تصویر"
     230
     231#. Text in function
     232#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:78
    200233msgid "Yes"
    201234msgstr "بله"
  • channeller-telegram-channel-administrator/trunk/languages/tchannel.po

    r1310089 r1335646  
    33"Content-Type: text/plain; charset=UTF-8\n"
    44"Content-Transfer-Encoding: 8bit\n"
    5 "Project-Id-Version: Channeller\n"
     5"Plural-Forms: nplurals=1; plural=0;\n"
     6"Project-Id-Version: channeller\n"
    67"POT-Creation-Date: \n"
    78"PO-Revision-Date: \n"
     
    1314
    1415#. Text in function
    15 #: includes/ch-api-settings.php:105
     16#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105
    1617msgid "Before updating this settings please read the Documents carefully"
    1718msgstr ""
     
    1920
    2021#. Text in function
    21 #: channeller.php:43
     22#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43
    2223msgid "Channel/Group"
    2324msgstr "کانال یا گروه"
    2425
    2526#. Text in function
    26 #: includes/ch-notification-metabox.php:1 channeller.php:51
     27#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
     28#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:1
    2729msgid "Channeller"
    2830msgstr "کانالر"
    2931
    3032#. Text in function
    31 #: channeller.php:37
     33#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:83
     34msgid "Characters Limit: "
     35msgstr "محدودیت کاراکتر: "
     36
     37#. Text in function
     38#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
    3239msgid "Clear Log"
    3340msgstr "حذف سوابق قبلی"
    3441
    3542#. Text in function
    36 #: includes/ch-notification-metabox.php:75
     43#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:89
     44#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:94
    3745msgid "Custom Image"
    3846msgstr "تصویر دلخواه"
    3947
    4048#. Text in function
    41 #: includes/ch-notification-metabox.php:67
    42 #: includes/ch-notification-metabox.php:71
     49#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:75
     50#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:81
    4351msgid "Custom Message"
    4452msgstr "متن دلخواه"
    4553
    4654#. Text in function
    47 #: channeller.php:42
     55#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42
    4856msgid "Date"
    4957msgstr "تاریخ"
    5058
    5159#. Text in function
    52 #: includes/ch-api-settings.php:82
     60#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    5361msgid "Enter Your Telegram Bot Token"
    5462msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید."
    5563
    5664#. Text in function
    57 #: includes/ch-api-settings.php:82
     65#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:88
     66msgid "Featured Image"
     67msgstr "تصویر شاخص"
     68
     69#. Text in function
     70#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:66
     71msgid "Full URL"
     72msgstr "آدرس کامل"
     73
     74#. Text in function
     75#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    5876msgid "Get Telegram API ready"
    5977msgstr "تنظیمات خبرنامه روبات تلگرام"
    6078
    6179#. Text in function
    62 #: includes/ch-api-settings.php:82
     80#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:86
     81msgid "Image"
     82msgstr "تصویر"
     83
     84#. Text in function
     85#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:64
     86msgid "Link Type"
     87msgstr "لینک ارسالی"
     88
     89#. Text in function
     90#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    6391msgid "List of Channels"
    6492msgstr "لیست کانال ها"
    6593
    6694#. Text in function
    67 #: includes/ch-api-settings.php:82
     95#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    6896msgid "List of Groups"
    6997msgstr "لیست گروه ها"
    7098
    7199#. Text in function
    72 #: channeller.php:51
     100#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
    73101msgid "Log"
    74102msgstr "سوابق"
    75103
    76104#. Text in function
    77 #: includes/ch-api-settings.php:82
     105#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    78106msgid "Log Your Activity?"
    79107msgstr "سوابق ذخیره شود؟"
    80108
    81109#. Text in function
    82 #: channeller.php:45
     110#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45
    83111msgid "Message"
    84112msgstr "پیام"
    85113
    86114#. Text in function
    87 #: includes/ch-notification-metabox.php:61
     115#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72
    88116msgid "Message Text"
    89117msgstr "متن پیام"
    90118
    91119#. Text in function
    92 #: channeller.php:37
     120#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
    93121msgid "Messages History"
    94122msgstr "لیست پیام های ارسالی"
    95123
    96124#. Text in function
    97 #: includes/ch-api-settings.php:79
     125#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79
    98126msgid "No"
    99127msgstr "خیر"
    100128
    101129#. Text in function
    102 #: includes/ch-send-functions.php:1
     130#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:90
     131msgid "No Image"
     132msgstr "بدون تصویر"
     133
     134#. Text in function
     135#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:68
     136msgid "No URL"
     137msgstr "بدون لینک"
     138
     139#. Text in function
     140#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    103141msgid "Not Sent"
    104142msgstr "ناموفق"
    105143
    106144#. Text in function
    107 #: includes/ch-notification-metabox.php:77
     145#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96
    108146msgid ""
    109147"Please Enter Full Image URL on your site, Leave empty to not send images"
     
    113151
    114152#. Text in function
    115 #: includes/ch-api-settings.php:89
     153#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89
    116154msgid ""
    117155"Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca"
     
    122160
    123161#. Text in function
    124 #: includes/ch-api-settings.php:96
     162#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96
    125163msgid ""
    126164"Please write down Group IDs and Names separated by \"/\" and make theme "
     
    132170
    133171#. Text in function
    134 #: includes/ch-api-settings.php:82
     172#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:74
     173msgid "Post Content"
     174msgstr "محتوای نوشته"
     175
     176#. Text in function
     177#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
    135178msgid "Send Notification for "
    136179msgstr "قابلیت ارسال خبرنامه هنگام ایجاد  "
    137180
    138181#. Text in function
    139 #: includes/ch-send-functions.php:1
     182#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    140183msgid "Send Photo"
    141184msgstr "ارسال عکس"
    142185
    143186#. Text in function
    144 #: includes/ch-send-functions.php:1
     187#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    145188msgid "Send Text"
    146189msgstr "ارسال متن"
    147190
    148191#. Text in function
    149 #: includes/ch-notification-metabox.php:28
     192#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31
    150193msgid "Send to Channels."
    151194msgstr "ارسال به کانال ها"
    152195
    153196#. Text in function
    154 #: includes/ch-notification-metabox.php:55
     197#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58
    155198msgid "Send to Groups"
    156199msgstr "ارسال به گروه ها"
    157200
    158201#. Text in function
    159 #: includes/ch-send-functions.php:1
     202#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
    160203msgid "Sent"
    161204msgstr "موفق"
    162205
    163206#. Text in function
    164 #: includes/ch-notification-metabox.php:64
     207#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67
    165208msgid "Short URL"
    166209msgstr "لینک کوتاه"
    167210
    168211#. Text in function
    169 #: includes/ch-notification-metabox.php:66
    170 msgid "Short URL and Custom Message"
    171 msgstr "لینک کوتاه با متن دلخواه"
    172 
    173 #. Text in function
    174 #: channeller.php:44
     212#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:44
    175213msgid "Status"
    176214msgstr "وضعیت"
    177215
    178216#. Text in function
    179 #: includes/ch-api-settings.php:127
     217#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127
    180218msgid "Telegram Channel Admin"
    181219msgstr "مدیر کانال تلگرام"
    182220
    183221#. Text in function
    184 #: channeller.php:41
     222#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41
    185223msgid "Type"
    186224msgstr "نوع پیام"
    187225
    188226#. Text in function
    189 #: includes/ch-notification-metabox.php:63
    190 msgid "URL"
    191 msgstr "لینک مطلب"
    192 
    193 #. Text in function
    194 #: includes/ch-notification-metabox.php:65
    195 msgid "URL and Custom Message"
    196 msgstr "لینک مطلب به همراه پیام دلخواه"
    197 
    198 #. Text in function
    199 #: includes/ch-api-settings.php:78
     227#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:95
     228msgid "Upload Image"
     229msgstr "آپلود تصویر"
     230
     231#. Text in function
     232#: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:78
    200233msgid "Yes"
    201234msgstr "بله"
  • channeller-telegram-channel-administrator/trunk/readme.txt

    r1310089 r1335646  
    44Tags: Telegram, Telegram Bot, Telegram Channel, Telegram API, translate ready
    55Requires at least: 3.0.1
    6 Tested up to: 4.4
    7 Stable tag: 1.2
     6Tested up to: 4.4.1
     7Stable tag: 1.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2424*   Send Url, short Url or Custom Message
    2525*   Send Photo to channel
     26*   Ability to send featured image
     27*   Ability to send post content
    2628*   Send Text and Photo Messages to Groups
    2729
     
    7274
    7375== Changelog ==
     76= 1.3 =
     77ability to Send Post Content and Featured Image
     78
    7479= 1.2 =
    7580send text and photo to Telegram Groups.
Note: See TracChangeset for help on using the changeset viewer.