Plugin Directory

Changeset 1342881


Ignore:
Timestamp:
02/04/2016 06:21:33 AM (9 years ago)
Author:
websima
Message:

channeller 1.3.4

Location:
channeller-telegram-channel-administrator
Files:
18 added
8 edited

Legend:

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

    r1340465 r1342881  
    22/**
    33 * @package Websima Telegram Channel
    4  * @version 1.3.3
     4 * @version 1.3.4
    55 */
    66/*
     
    99Description: Send Text, URL and photo from Wordpress to Telegram Channel using Telegram bot API.
    1010Author: Websima Creative Agency
    11 Version: 1.3.3
     11Version: 1.3.4
    1212Author URI: http://websima.com
    1313*/
  • channeller-telegram-channel-administrator/trunk/includes/ch-notification-metabox.php

    r1340465 r1342881  
    8181
    8282
    83     <p class="textboxchannel"<?php if(!$selected == 'customtext' ) {echo ' style="display:none;"';} ?>>
     83    <p class="textboxchannel"<?php if($selected == 'customtext' ) {} else {echo ' style="display:none;"';} ?>>
    8484        <label for="tchannel_text" style="display: block;"><?php printf(__( 'Custom Message', 'tchannel' )); ?></label>
    8585        <textarea style="width: 99%;"rows="3" onkeyup="countChar(this)" name="tchannel_text" id="tchannel_text"><?php echo $text; ?></textarea>
     
    9191            <option value="featured" <?php selected( $selectedimage, 'featured' ); ?>><?php printf(__( 'Featured Image', 'tchannel' )); ?></option>
    9292            <option value="custom" <?php selected( $selectedimage, 'custom' ); ?>><?php printf(__( 'Custom Image', 'tchannel' )); ?></option>
     93            <option value="web" <?php selected( $selectedimage, 'web' ); ?>><?php printf(__( 'From Web', 'tchannel' )); ?></option>
    9394            <option value="noimage" <?php selected( $selectedimage, 'noimage' ); ?>><?php printf(__( 'No Image', 'tchannel' )); ?></option>
    9495        </select>
    9596    </p>
    96     <p class="imageboxchannel"<?php if(!$selectedimage == 'custom' ) {echo ' style="display:none;"';} ?>>
     97    <p class="imageboxchannel"<?php if($selectedimage == 'custom' ) {} else {echo ' style="display:none;"';} ?>>
    9798        <input id="tchannel_image" type="text" size="20" name="tchannel_image" placeholder="<?php printf(__( 'Custom Image', 'tchannel' )); ?>" />
    9899        <input id="upload_image_button" type="button" value="<?php printf(__( 'Upload Image', 'tchannel' )); ?>" /><br />
    99         <span><?php printf(__( 'Please Enter Full Image URL on your site, Leave empty to not send images', 'tchannel' )); ?></span>
    100     </p>
     100    </p>
     101    <p class="imageboxweb"<?php if($selectedimage == 'web' ){} else {echo ' style="display:none;"';} ?>>
     102        <input id="tchannel_web" type="text" size="20" name="tchannel_web" placeholder="<?php printf(__( 'Url From the Web', 'tchannel' )); ?>" />
     103        <?php printf(__( 'Uploads file to your server ', 'tchannel' )); ?>
    101104    </div>
    102105    <style>
     
    134137         if (text=='custom' ) {
    135138             jQuery('.imageboxchannel').show("slow");
     139             jQuery('.imageboxweb').hide("slow");
     140         } else if (text=='web' ) {
     141             jQuery('.imageboxchannel').hide("slow");
     142             jQuery('.imageboxweb').show("slow");
    136143         } else {
    137               jQuery('.imageboxchannel').hide("slow");
     144             jQuery('.imageboxchannel').hide("slow");
     145             jQuery('.imageboxweb').hide("slow");
    138146         }
    139147      })
     
    166174        update_post_meta( $post_id, 'tchannel_text', wp_kses( $_POST['tchannel_text'], $allowed ) );
    167175    if( isset( $_POST['tchannel_image'] ) )
    168         update_post_meta( $post_id, 'tchannel_image', wp_kses( $_POST['tchannel_image'], $allowed ) );     
     176        update_post_meta( $post_id, 'tchannel_image', wp_kses( $_POST['tchannel_image'], $allowed ) ); 
     177    if( isset( $_POST['tchannel_web'] ) )
     178        update_post_meta( $post_id, 'tchannel_web', wp_kses( $_POST['tchannel_web'], $allowed ) );     
    169179    if( isset( $_POST['tchannel_select'] ) )
    170180        update_post_meta( $post_id, 'tchannel_select', esc_attr( $_POST['tchannel_select'] ) );
  • channeller-telegram-channel-administrator/trunk/includes/ch-publishsend.php

    r1340465 r1342881  
    2424        } elseif ($media == 'custom') {
    2525            $image = get_post_meta ($post_ID,'tchannel_image',true);
     26        } elseif ($media == 'web') {
     27        require_once(ABSPATH . 'wp-admin/includes/media.php');
     28        require_once(ABSPATH . 'wp-admin/includes/file.php');
     29        require_once(ABSPATH . 'wp-admin/includes/image.php');
     30            $photo = get_post_meta ($post_ID,'tchannel_web',true);
     31            $image = media_sideload_image($photo, $post_ID, '', 'src');
    2632        } elseif ($media == 'noimage') {
    2733            $image = 'no';
  • channeller-telegram-channel-administrator/trunk/includes/ch-send-functions.php

    r1341140 r1342881  
    1616    $token = $options['tchannel_text_token'];
    1717    $photo = tchannelFullPath($photo);
    18     $finfo = finfo_open(FILEINFO_MIME_TYPE);
    19     $mime_type = finfo_file($finfo, $photo);
     18//  $finfo = finfo_open(FILEINFO_MIME_TYPE);
     19//  $mime_type = finfo_file($finfo, $photo);
    2020    $chatter = get_site_option( $chat_id );
    21     $caption = truncate_channeller ($caption , 180);
     21    $caption = truncate_channeller ($caption , 200);
    2222    $fields = array(
    2323        'chat_id' => $chatter,
     
    2525         'photo' =>
    2626          '@'            . $photo
    27           . ';filename=' . $photo
    28           . ';type='     . $mime_type,
     27          . ';filename=' . $photo,
    2928        'caption' => $caption
    3029    );
     
    5655    $options = get_option( 'tchannel_settings' );
    5756    $token = $options['tchannel_text_token'];
    58     $message = truncate_channeller ($message , 2980);
     57    $message = truncate_channeller ($message , 3000);
    5958    if ($token) {
    6059    $url = 'https://api.telegram.org/bot'.$token.'/sendMessage';
  • channeller-telegram-channel-administrator/trunk/languages/tchannel-fa_IR.po

    r1335646 r1342881  
    11msgid ""
    22msgstr ""
    3 "Content-Type: text/plain; charset=UTF-8\n"
     3"Content-Type: text/plain; charset=utf-8\n"
    44"Content-Transfer-Encoding: 8bit\n"
    5 "Plural-Forms: nplurals=1; plural=0;\n"
    6 "Project-Id-Version: channeller\n"
     5"Project-Id-Version: \n"
    76"POT-Creation-Date: \n"
    87"PO-Revision-Date: \n"
    98"Last-Translator: \n"
    10 "Language-Team: Websima <[email protected]>\n"
     9"Language-Team: \n"
    1110"MIME-Version: 1.0\n"
    12 "Language: fa_IR\n"
    13 "X-Generator: Poedit 1.6.10\n"
    14 
    15 #. Text in function
    16 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105
     11"Language: fa\n"
     12"X-Generator: Poedit 1.8.6\n"
     13
     14#. Text in function
     15#: includes/ch-api-settings.php:105
    1716msgid "Before updating this settings please read the Documents carefully"
    18 msgstr ""
    19 "قبل از انجام تغییرات در این بخش، آموزش کار با افزونه را به دقت مطالعه کنید."
    20 
    21 #. Text in function
    22 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43
     17msgstr "قبل از انجام تغییرات در این بخش، آموزش کار با افزونه را به دقت مطالعه کنید."
     18
     19#. Text in function
     20#: channeller.php:43
    2321msgid "Channel/Group"
    2422msgstr "کانال یا گروه"
    2523
    2624#. Text in function
    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
     25#: channeller.php:51 includes/ch-notification-metabox.php:1
    2926msgid "Channeller"
    3027msgstr "کانالر"
    3128
    3229#. Text in function
    33 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:83
     30#: includes/ch-notification-metabox.php:86
    3431msgid "Characters Limit: "
    3532msgstr "محدودیت کاراکتر: "
    3633
    3734#. Text in function
    38 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
     35#: channeller.php:37
    3936msgid "Clear Log"
    4037msgstr "حذف سوابق قبلی"
    4138
    4239#. Text in function
    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
     40#: includes/ch-notification-metabox.php:92
     41#: includes/ch-notification-metabox.php:98
    4542msgid "Custom Image"
    4643msgstr "تصویر دلخواه"
    4744
    4845#. Text in function
    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
     46#: includes/ch-notification-metabox.php:78
     47#: includes/ch-notification-metabox.php:84
    5148msgid "Custom Message"
    5249msgstr "متن دلخواه"
    5350
    5451#. Text in function
    55 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42
     52#: channeller.php:42
    5653msgid "Date"
    5754msgstr "تاریخ"
    5855
    5956#. Text in function
    60 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     57#: includes/ch-api-settings.php:82
    6158msgid "Enter Your Telegram Bot Token"
    6259msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید."
    6360
    6461#. Text in function
    65 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:88
     62#: includes/ch-notification-metabox.php:91
    6663msgid "Featured Image"
    6764msgstr "تصویر شاخص"
    6865
    6966#. Text in function
    70 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:66
     67#: includes/ch-notification-metabox.php:93
     68msgid "From Web"
     69msgstr "خارج از سایت"
     70
     71#. Text in function
     72#: includes/ch-notification-metabox.php:69
    7173msgid "Full URL"
    7274msgstr "آدرس کامل"
    7375
    7476#. Text in function
    75 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     77#: includes/ch-api-settings.php:82
    7678msgid "Get Telegram API ready"
    7779msgstr "تنظیمات خبرنامه روبات تلگرام"
    7880
    7981#. Text in function
    80 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:86
     82#: includes/ch-notification-metabox.php:89
    8183msgid "Image"
    8284msgstr "تصویر"
    8385
    8486#. Text in function
    85 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:64
     87#: includes/ch-notification-metabox.php:67
    8688msgid "Link Type"
    8789msgstr "لینک ارسالی"
    8890
    8991#. Text in function
    90 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     92#: includes/ch-api-settings.php:82
    9193msgid "List of Channels"
    9294msgstr "لیست کانال ها"
    9395
    9496#. Text in function
    95 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     97#: includes/ch-api-settings.php:82
    9698msgid "List of Groups"
    9799msgstr "لیست گروه ها"
    98100
    99101#. Text in function
    100 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
     102#: channeller.php:51
    101103msgid "Log"
    102104msgstr "سوابق"
    103105
    104106#. Text in function
    105 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     107#: includes/ch-api-settings.php:82
    106108msgid "Log Your Activity?"
    107109msgstr "سوابق ذخیره شود؟"
    108110
    109111#. Text in function
    110 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45
     112#: channeller.php:45
    111113msgid "Message"
    112114msgstr "پیام"
    113115
    114116#. Text in function
    115 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72
     117#: includes/ch-notification-metabox.php:75
    116118msgid "Message Text"
    117119msgstr "متن پیام"
    118120
    119121#. Text in function
    120 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
     122#: channeller.php:37
    121123msgid "Messages History"
    122124msgstr "لیست پیام های ارسالی"
    123125
    124126#. Text in function
    125 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79
     127#: includes/ch-api-settings.php:79
    126128msgid "No"
    127129msgstr "خیر"
    128130
    129131#. Text in function
    130 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:90
     132#: includes/ch-notification-metabox.php:94
    131133msgid "No Image"
    132134msgstr "بدون تصویر"
    133135
    134136#. Text in function
    135 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:68
     137#: includes/ch-notification-metabox.php:71
    136138msgid "No URL"
    137139msgstr "بدون لینک"
    138140
    139141#. Text in function
    140 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     142#: includes/ch-send-functions.php:1
    141143msgid "Not Sent"
    142144msgstr "ناموفق"
    143145
    144146#. Text in function
    145 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96
    146 msgid ""
    147 "Please Enter Full Image URL on your site, Leave empty to not send images"
    148 msgstr ""
    149 "آدرس کامل تصویر از روی هاست خود را وارد نمایید، دقت کنید که تصویر از طریق "
    150 "پنل وردپرس شما آپلود شده باشد. (در صورت خالی بودن تنها متن ارسال میشود)"
    151 
    152 #. Text in function
    153 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89
    154 msgid ""
    155 "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca"
    156 "+@webasimachannel2)"
    157 msgstr ""
    158 "لطفا آی دی کانال ها را با علامت + از یکدیگر جدا کرده و حتما @ ابتدای آی دی "
    159 "را وارد نمایید. مانند  (ex: @websimaca+@webasimachannel2)"
    160 
    161 #. Text in function
    162 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96
    163 msgid ""
    164 "Please write down Group IDs and Names separated by \"/\" and make theme "
    165 "separated by + (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
    166 msgstr ""
    167 "ابتدا آی دی گروه سپس یک کاراکتر / و در ادامه نام گروه را وارد نمایید، گروه "
    168 "ها را با کاراکتر + از یکدیگر جدا کنید. مانند  (ex: -56894843/websimaGroup"
    169 "+-78894843/samplegroup2)"
    170 
    171 #. Text in function
    172 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:74
     147#: includes/ch-api-settings.php:89
     148msgid "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca+@webasimachannel2)"
     149msgstr "لطفا آی دی کانال ها را با علامت + از یکدیگر جدا کرده و حتما @ ابتدای آی دی را وارد نمایید. مانند  (ex: @websimaca+@webasimachannel2)"
     150
     151#. Text in function
     152#: includes/ch-api-settings.php:96
     153msgid "Please write down Group IDs and Names separated by \"/\" and make theme separated by + (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
     154msgstr "ابتدا آی دی گروه سپس یک کاراکتر / و در ادامه نام گروه را وارد نمایید، گروه ها را با کاراکتر + از یکدیگر جدا کنید. مانند  (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
     155
     156#. Text in function
     157#: includes/ch-notification-metabox.php:77
    173158msgid "Post Content"
    174159msgstr "محتوای نوشته"
    175160
    176161#. Text in function
    177 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     162#: includes/ch-api-settings.php:82
    178163msgid "Send Notification for "
    179164msgstr "قابلیت ارسال خبرنامه هنگام ایجاد  "
    180165
    181166#. Text in function
    182 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     167#: includes/ch-send-functions.php:1
    183168msgid "Send Photo"
    184169msgstr "ارسال عکس"
    185170
    186171#. Text in function
    187 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     172#: includes/ch-send-functions.php:1
    188173msgid "Send Text"
    189174msgstr "ارسال متن"
    190175
    191176#. Text in function
    192 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31
     177#: includes/ch-notification-metabox.php:31
    193178msgid "Send to Channels."
    194179msgstr "ارسال به کانال ها"
    195180
    196181#. Text in function
    197 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58
     182#: includes/ch-notification-metabox.php:59
    198183msgid "Send to Groups"
    199184msgstr "ارسال به گروه ها"
    200185
    201186#. Text in function
    202 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     187#: includes/ch-send-functions.php:1
    203188msgid "Sent"
    204189msgstr "موفق"
    205190
    206191#. Text in function
    207 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67
     192#: includes/ch-notification-metabox.php:70
    208193msgid "Short URL"
    209194msgstr "لینک کوتاه"
    210195
    211196#. Text in function
    212 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:44
     197#: channeller.php:44
    213198msgid "Status"
    214199msgstr "وضعیت"
    215200
    216201#. Text in function
    217 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127
     202#: includes/ch-api-settings.php:127
    218203msgid "Telegram Channel Admin"
    219204msgstr "مدیر کانال تلگرام"
    220205
    221206#. Text in function
    222 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41
     207#: channeller.php:41
    223208msgid "Type"
    224209msgstr "نوع پیام"
    225210
    226211#. Text in function
    227 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:95
     212#: includes/ch-notification-metabox.php:99
    228213msgid "Upload Image"
    229214msgstr "آپلود تصویر"
    230215
    231216#. Text in function
    232 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:78
     217#: includes/ch-notification-metabox.php:103
     218msgid "Uploads file to your server "
     219msgstr "فایل بر روی سرور شما آپلود میشود"
     220
     221#. Text in function
     222#: includes/ch-notification-metabox.php:102
     223msgid "Url From the Web"
     224msgstr "آدرس تصویر از اینترنت"
     225
     226#. Text in function
     227#: includes/ch-api-settings.php:78
    233228msgid "Yes"
    234229msgstr "بله"
  • channeller-telegram-channel-administrator/trunk/languages/tchannel.po

    r1335646 r1342881  
    11msgid ""
    22msgstr ""
    3 "Content-Type: text/plain; charset=UTF-8\n"
     3"Content-Type: text/plain; charset=utf-8\n"
    44"Content-Transfer-Encoding: 8bit\n"
    5 "Plural-Forms: nplurals=1; plural=0;\n"
    6 "Project-Id-Version: channeller\n"
    7 "POT-Creation-Date: \n"
    8 "PO-Revision-Date: \n"
    9 "Last-Translator: \n"
    10 "Language-Team: Websima <[email protected]>\n"
    11 "MIME-Version: 1.0\n"
    12 "Language: fa_IR\n"
    13 "X-Generator: Poedit 1.6.10\n"
    14 
    15 #. Text in function
    16 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105
     5
     6#. Text in function
     7#: includes/ch-api-settings.php:105
    178msgid "Before updating this settings please read the Documents carefully"
    18 msgstr ""
    19 "قبل از انجام تغییرات در این بخش، آموزش کار با افزونه را به دقت مطالعه کنید."
    20 
    21 #. Text in function
    22 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43
     9msgstr "قبل از انجام تغییرات در این بخش، آموزش کار با افزونه را به دقت مطالعه کنید."
     10
     11#. Text in function
     12#: channeller.php:43
    2313msgid "Channel/Group"
    2414msgstr "کانال یا گروه"
    2515
    2616#. Text in function
    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
     17#: channeller.php:51
     18#: includes/ch-notification-metabox.php:1
    2919msgid "Channeller"
    3020msgstr "کانالر"
    3121
    3222#. Text in function
    33 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:83
     23#: includes/ch-notification-metabox.php:86
    3424msgid "Characters Limit: "
    3525msgstr "محدودیت کاراکتر: "
    3626
    3727#. Text in function
    38 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
     28#: channeller.php:37
    3929msgid "Clear Log"
    4030msgstr "حذف سوابق قبلی"
    4131
    4232#. Text in function
    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
     33#: includes/ch-notification-metabox.php:92
     34#: includes/ch-notification-metabox.php:98
    4535msgid "Custom Image"
    4636msgstr "تصویر دلخواه"
    4737
    4838#. Text in function
    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
     39#: includes/ch-notification-metabox.php:78
     40#: includes/ch-notification-metabox.php:84
    5141msgid "Custom Message"
    5242msgstr "متن دلخواه"
    5343
    5444#. Text in function
    55 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42
     45#: channeller.php:42
    5646msgid "Date"
    5747msgstr "تاریخ"
    5848
    5949#. Text in function
    60 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     50#: includes/ch-api-settings.php:82
    6151msgid "Enter Your Telegram Bot Token"
    6252msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید."
    6353
    6454#. Text in function
    65 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:88
     55#: includes/ch-notification-metabox.php:91
    6656msgid "Featured Image"
    6757msgstr "تصویر شاخص"
    6858
    6959#. Text in function
    70 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:66
     60#: includes/ch-notification-metabox.php:93
     61msgid "From Web"
     62msgstr ""
     63
     64#. Text in function
     65#: includes/ch-notification-metabox.php:69
    7166msgid "Full URL"
    7267msgstr "آدرس کامل"
    7368
    7469#. Text in function
    75 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     70#: includes/ch-api-settings.php:82
    7671msgid "Get Telegram API ready"
    7772msgstr "تنظیمات خبرنامه روبات تلگرام"
    7873
    7974#. Text in function
    80 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:86
     75#: includes/ch-notification-metabox.php:89
    8176msgid "Image"
    8277msgstr "تصویر"
    8378
    8479#. Text in function
    85 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:64
     80#: includes/ch-notification-metabox.php:67
    8681msgid "Link Type"
    8782msgstr "لینک ارسالی"
    8883
    8984#. Text in function
    90 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     85#: includes/ch-api-settings.php:82
    9186msgid "List of Channels"
    9287msgstr "لیست کانال ها"
    9388
    9489#. Text in function
    95 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     90#: includes/ch-api-settings.php:82
    9691msgid "List of Groups"
    9792msgstr "لیست گروه ها"
    9893
    9994#. Text in function
    100 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51
     95#: channeller.php:51
    10196msgid "Log"
    10297msgstr "سوابق"
    10398
    10499#. Text in function
    105 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     100#: includes/ch-api-settings.php:82
    106101msgid "Log Your Activity?"
    107102msgstr "سوابق ذخیره شود؟"
    108103
    109104#. Text in function
    110 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45
     105#: channeller.php:45
    111106msgid "Message"
    112107msgstr "پیام"
    113108
    114109#. Text in function
    115 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72
     110#: includes/ch-notification-metabox.php:75
    116111msgid "Message Text"
    117112msgstr "متن پیام"
    118113
    119114#. Text in function
    120 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37
     115#: channeller.php:37
    121116msgid "Messages History"
    122117msgstr "لیست پیام های ارسالی"
    123118
    124119#. Text in function
    125 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79
     120#: includes/ch-api-settings.php:79
    126121msgid "No"
    127122msgstr "خیر"
    128123
    129124#. Text in function
    130 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:90
     125#: includes/ch-notification-metabox.php:94
    131126msgid "No Image"
    132127msgstr "بدون تصویر"
    133128
    134129#. Text in function
    135 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:68
     130#: includes/ch-notification-metabox.php:71
    136131msgid "No URL"
    137132msgstr "بدون لینک"
    138133
    139134#. Text in function
    140 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     135#: includes/ch-send-functions.php:1
    141136msgid "Not Sent"
    142137msgstr "ناموفق"
    143138
    144139#. Text in function
    145 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96
    146 msgid ""
    147 "Please Enter Full Image URL on your site, Leave empty to not send images"
    148 msgstr ""
    149 "آدرس کامل تصویر از روی هاست خود را وارد نمایید، دقت کنید که تصویر از طریق "
    150 "پنل وردپرس شما آپلود شده باشد. (در صورت خالی بودن تنها متن ارسال میشود)"
    151 
    152 #. Text in function
    153 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89
    154 msgid ""
    155 "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca"
    156 "+@webasimachannel2)"
    157 msgstr ""
    158 "لطفا آی دی کانال ها را با علامت + از یکدیگر جدا کرده و حتما @ ابتدای آی دی "
    159 "را وارد نمایید. مانند  (ex: @websimaca+@webasimachannel2)"
    160 
    161 #. Text in function
    162 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96
    163 msgid ""
    164 "Please write down Group IDs and Names separated by \"/\" and make theme "
    165 "separated by + (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
    166 msgstr ""
    167 "ابتدا آی دی گروه سپس یک کاراکتر / و در ادامه نام گروه را وارد نمایید، گروه "
    168 "ها را با کاراکتر + از یکدیگر جدا کنید. مانند  (ex: -56894843/websimaGroup"
    169 "+-78894843/samplegroup2)"
    170 
    171 #. Text in function
    172 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:74
     140#: includes/ch-api-settings.php:89
     141msgid "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca+@webasimachannel2)"
     142msgstr "لطفا آی دی کانال ها را با علامت + از یکدیگر جدا کرده و حتما @ ابتدای آی دی را وارد نمایید. مانند  (ex: @websimaca+@webasimachannel2)"
     143
     144#. Text in function
     145#: includes/ch-api-settings.php:96
     146msgid "Please write down Group IDs and Names separated by \"/\" and make theme separated by + (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
     147msgstr "ابتدا آی دی گروه سپس یک کاراکتر / و در ادامه نام گروه را وارد نمایید، گروه ها را با کاراکتر + از یکدیگر جدا کنید. مانند  (ex: -56894843/websimaGroup+-78894843/samplegroup2)"
     148
     149#. Text in function
     150#: includes/ch-notification-metabox.php:77
    173151msgid "Post Content"
    174152msgstr "محتوای نوشته"
    175153
    176154#. Text in function
    177 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82
     155#: includes/ch-api-settings.php:82
    178156msgid "Send Notification for "
    179157msgstr "قابلیت ارسال خبرنامه هنگام ایجاد  "
    180158
    181159#. Text in function
    182 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     160#: includes/ch-send-functions.php:1
    183161msgid "Send Photo"
    184162msgstr "ارسال عکس"
    185163
    186164#. Text in function
    187 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     165#: includes/ch-send-functions.php:1
    188166msgid "Send Text"
    189167msgstr "ارسال متن"
    190168
    191169#. Text in function
    192 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31
     170#: includes/ch-notification-metabox.php:31
    193171msgid "Send to Channels."
    194172msgstr "ارسال به کانال ها"
    195173
    196174#. Text in function
    197 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58
     175#: includes/ch-notification-metabox.php:59
    198176msgid "Send to Groups"
    199177msgstr "ارسال به گروه ها"
    200178
    201179#. Text in function
    202 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1
     180#: includes/ch-send-functions.php:1
    203181msgid "Sent"
    204182msgstr "موفق"
    205183
    206184#. Text in function
    207 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67
     185#: includes/ch-notification-metabox.php:70
    208186msgid "Short URL"
    209187msgstr "لینک کوتاه"
    210188
    211189#. Text in function
    212 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:44
     190#: channeller.php:44
    213191msgid "Status"
    214192msgstr "وضعیت"
    215193
    216194#. Text in function
    217 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127
     195#: includes/ch-api-settings.php:127
    218196msgid "Telegram Channel Admin"
    219197msgstr "مدیر کانال تلگرام"
    220198
    221199#. Text in function
    222 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41
     200#: channeller.php:41
    223201msgid "Type"
    224202msgstr "نوع پیام"
    225203
    226204#. Text in function
    227 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:95
     205#: includes/ch-notification-metabox.php:99
    228206msgid "Upload Image"
    229207msgstr "آپلود تصویر"
    230208
    231209#. Text in function
    232 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:78
     210#: includes/ch-notification-metabox.php:103
     211msgid "Uploads file to your server "
     212msgstr ""
     213
     214#. Text in function
     215#: includes/ch-notification-metabox.php:102
     216msgid "Url From the Web"
     217msgstr ""
     218
     219#. Text in function
     220#: includes/ch-api-settings.php:78
    233221msgid "Yes"
    234 msgstr "بله"
     222msgstr ""
  • channeller-telegram-channel-administrator/trunk/readme.txt

    r1340465 r1342881  
    55Requires at least: 3.0.1
    66Tested up to: 4.4.1
    7 Stable tag: 1.3.3
     7Stable tag: 1.3.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828*   Send Text and Photo Messages to Groups
    2929*   Supports Html Tags in Messages including a, b, strong, code, em and pre
     30*   Send Images from other sites
    3031
    3132Notice: add @Channeller_Bot robot to your group to get the Group ID, your bot should be one of the Group members for sending messages.
     
    7576
    7677== Changelog ==
     78= 1.3.4 =
     79Ability to send Image from web urls
     80no need to file_info function anymore
     81
    7782= 1.3.3 =
    7883Limit image captions to 200 characters and messages to 3000 characters
Note: See TracChangeset for help on using the changeset viewer.