Changeset 1335646
- Timestamp:
- 01/25/2016 04:49:28 PM (10 years ago)
- Location:
- channeller-telegram-channel-administrator/trunk
- Files:
-
- 7 edited
-
channeller.php (modified) (4 diffs)
-
includes/ch-notification-metabox.php (modified) (3 diffs)
-
includes/ch-publishsend.php (modified) (1 diff)
-
languages/tchannel-fa_IR.mo (modified) (previous)
-
languages/tchannel-fa_IR.po (modified) (6 diffs)
-
languages/tchannel.po (modified) (6 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
channeller-telegram-channel-administrator/trunk/channeller.php
r1314837 r1335646 2 2 /** 3 3 * @package Websima Telegram Channel 4 * @version 1. 24 * @version 1.3 5 5 */ 6 6 /* … … 9 9 Description: Send Text, URL and photo from Wordpress to Telegram Channel using Telegram bot API. 10 10 Author: Websima Creative Agency 11 Version: 1. 211 Version: 1.3 12 12 Author URI: http://websima.com 13 13 */ … … 20 20 function tchannel_custom_menu_page() 21 21 { 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); 23 23 $options = get_option( 'tchannel_settings' ); 24 24 $logview = $options['tchannel_log']; … … 68 68 include_once('includes/ch-publishsend.php'); 69 69 include_once('includes/ch-notification-metabox.php'); 70 function 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 77 function 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 70 84 ?> -
channeller-telegram-channel-administrator/trunk/includes/ch-notification-metabox.php
r1310089 r1335646 23 23 $text = isset( $values['tchannel_text'] ) ? esc_attr( $values['tchannel_text'][0] ) : ''; 24 24 $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] ) : ''; 25 27 wp_nonce_field( 'tchannel_nonce', 'meta_box_nonces' ); 26 28 ?> 27 <p> 29 <div class="telechannel"> 30 <p style="border-bottom: 3px solid #0A7CB5;padding-bottom: 10px;"> 28 31 <?php 29 32 printf(__( 'Send to Channels.', 'tchannel' )); … … 59 62 </p> 60 63 <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> 61 72 <label for="tchannel_select"><?php printf(__( 'Message Text', 'tchannel' )); ?></label> 62 73 <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> 67 75 <option value="customtext" <?php selected( $selected, 'customtext' ); ?>><?php printf(__( 'Custom Message', 'tchannel' )); ?></option> 68 76 </select> 69 77 </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> 70 85 <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 /> 77 96 <span><?php printf(__( 'Please Enter Full Image URL on your site, Leave empty to not send images', 'tchannel' )); ?></span> 78 97 </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> 79 138 <?php 80 139 } … … 107 166 if( isset( $_POST['tchannel_select'] ) ) 108 167 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'] ) ); 109 172 110 173 $options = get_option( 'tchannel_settings' ); -
channeller-telegram-channel-administrator/trunk/includes/ch-publishsend.php
r1304022 r1335646 1 1 <?php 2 2 function 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 3 12 $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 19 30 $options = get_option( 'tchannel_settings' ); 20 31 $token = $options['tchannel_text_token']; -
channeller-telegram-channel-administrator/trunk/languages/tchannel-fa_IR.po
r1310089 r1335646 3 3 "Content-Type: text/plain; charset=UTF-8\n" 4 4 "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" 6 7 "POT-Creation-Date: \n" 7 8 "PO-Revision-Date: \n" … … 13 14 14 15 #. Text in function 15 #: includes/ch-api-settings.php:10516 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105 16 17 msgid "Before updating this settings please read the Documents carefully" 17 18 msgstr "" … … 19 20 20 21 #. Text in function 21 #: channeller.php:4322 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43 22 23 msgid "Channel/Group" 23 24 msgstr "کانال یا گروه" 24 25 25 26 #. 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 27 29 msgid "Channeller" 28 30 msgstr "کانالر" 29 31 30 32 #. 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 34 msgid "Characters Limit: " 35 msgstr "محدودیت کاراکتر: " 36 37 #. Text in function 38 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37 32 39 msgid "Clear Log" 33 40 msgstr "حذف سوابق قبلی" 34 41 35 42 #. 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 37 45 msgid "Custom Image" 38 46 msgstr "تصویر دلخواه" 39 47 40 48 #. Text in function 41 #: includes/ch-notification-metabox.php:6742 #: includes/ch-notification-metabox.php:7149 #: 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 43 51 msgid "Custom Message" 44 52 msgstr "متن دلخواه" 45 53 46 54 #. Text in function 47 #: channeller.php:4255 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42 48 56 msgid "Date" 49 57 msgstr "تاریخ" 50 58 51 59 #. Text in function 52 #: includes/ch-api-settings.php:8260 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 53 61 msgid "Enter Your Telegram Bot Token" 54 62 msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید." 55 63 56 64 #. 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 66 msgid "Featured Image" 67 msgstr "تصویر شاخص" 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 71 msgid "Full URL" 72 msgstr "آدرس کامل" 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 58 76 msgid "Get Telegram API ready" 59 77 msgstr "تنظیمات خبرنامه روبات تلگرام" 60 78 61 79 #. 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 81 msgid "Image" 82 msgstr "تصویر" 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 86 msgid "Link Type" 87 msgstr "لینک ارسالی" 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 63 91 msgid "List of Channels" 64 92 msgstr "لیست کانال ها" 65 93 66 94 #. Text in function 67 #: includes/ch-api-settings.php:8295 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 68 96 msgid "List of Groups" 69 97 msgstr "لیست گروه ها" 70 98 71 99 #. Text in function 72 #: channeller.php:51100 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51 73 101 msgid "Log" 74 102 msgstr "سوابق" 75 103 76 104 #. Text in function 77 #: includes/ch-api-settings.php:82105 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 78 106 msgid "Log Your Activity?" 79 107 msgstr "سوابق ذخیره شود؟" 80 108 81 109 #. Text in function 82 #: channeller.php:45110 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45 83 111 msgid "Message" 84 112 msgstr "پیام" 85 113 86 114 #. Text in function 87 #: includes/ch-notification-metabox.php:61115 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72 88 116 msgid "Message Text" 89 117 msgstr "متن پیام" 90 118 91 119 #. Text in function 92 #: channeller.php:37120 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37 93 121 msgid "Messages History" 94 122 msgstr "لیست پیام های ارسالی" 95 123 96 124 #. Text in function 97 #: includes/ch-api-settings.php:79125 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79 98 126 msgid "No" 99 127 msgstr "خیر" 100 128 101 129 #. 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 131 msgid "No Image" 132 msgstr "بدون تصویر" 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 136 msgid "No URL" 137 msgstr "بدون لینک" 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 103 141 msgid "Not Sent" 104 142 msgstr "ناموفق" 105 143 106 144 #. Text in function 107 #: includes/ch-notification-metabox.php:77145 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96 108 146 msgid "" 109 147 "Please Enter Full Image URL on your site, Leave empty to not send images" … … 113 151 114 152 #. Text in function 115 #: includes/ch-api-settings.php:89153 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89 116 154 msgid "" 117 155 "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca" … … 122 160 123 161 #. Text in function 124 #: includes/ch-api-settings.php:96162 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96 125 163 msgid "" 126 164 "Please write down Group IDs and Names separated by \"/\" and make theme " … … 132 170 133 171 #. 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 173 msgid "Post Content" 174 msgstr "محتوای نوشته" 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 135 178 msgid "Send Notification for " 136 179 msgstr "قابلیت ارسال خبرنامه هنگام ایجاد " 137 180 138 181 #. Text in function 139 #: includes/ch-send-functions.php:1182 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 140 183 msgid "Send Photo" 141 184 msgstr "ارسال عکس" 142 185 143 186 #. Text in function 144 #: includes/ch-send-functions.php:1187 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 145 188 msgid "Send Text" 146 189 msgstr "ارسال متن" 147 190 148 191 #. Text in function 149 #: includes/ch-notification-metabox.php:28192 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31 150 193 msgid "Send to Channels." 151 194 msgstr "ارسال به کانال ها" 152 195 153 196 #. Text in function 154 #: includes/ch-notification-metabox.php:55197 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58 155 198 msgid "Send to Groups" 156 199 msgstr "ارسال به گروه ها" 157 200 158 201 #. Text in function 159 #: includes/ch-send-functions.php:1202 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 160 203 msgid "Sent" 161 204 msgstr "موفق" 162 205 163 206 #. Text in function 164 #: includes/ch-notification-metabox.php:64207 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67 165 208 msgid "Short URL" 166 209 msgstr "لینک کوتاه" 167 210 168 211 #. 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 175 213 msgid "Status" 176 214 msgstr "وضعیت" 177 215 178 216 #. Text in function 179 #: includes/ch-api-settings.php:127217 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127 180 218 msgid "Telegram Channel Admin" 181 219 msgstr "مدیر کانال تلگرام" 182 220 183 221 #. Text in function 184 #: channeller.php:41222 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41 185 223 msgid "Type" 186 224 msgstr "نوع پیام" 187 225 188 226 #. 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 228 msgid "Upload Image" 229 msgstr "آپلود تصویر" 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 200 233 msgid "Yes" 201 234 msgstr "بله" -
channeller-telegram-channel-administrator/trunk/languages/tchannel.po
r1310089 r1335646 3 3 "Content-Type: text/plain; charset=UTF-8\n" 4 4 "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" 6 7 "POT-Creation-Date: \n" 7 8 "PO-Revision-Date: \n" … … 13 14 14 15 #. Text in function 15 #: includes/ch-api-settings.php:10516 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:105 16 17 msgid "Before updating this settings please read the Documents carefully" 17 18 msgstr "" … … 19 20 20 21 #. Text in function 21 #: channeller.php:4322 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:43 22 23 msgid "Channel/Group" 23 24 msgstr "کانال یا گروه" 24 25 25 26 #. 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 27 29 msgid "Channeller" 28 30 msgstr "کانالر" 29 31 30 32 #. 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 34 msgid "Characters Limit: " 35 msgstr "محدودیت کاراکتر: " 36 37 #. Text in function 38 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37 32 39 msgid "Clear Log" 33 40 msgstr "حذف سوابق قبلی" 34 41 35 42 #. 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 37 45 msgid "Custom Image" 38 46 msgstr "تصویر دلخواه" 39 47 40 48 #. Text in function 41 #: includes/ch-notification-metabox.php:6742 #: includes/ch-notification-metabox.php:7149 #: 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 43 51 msgid "Custom Message" 44 52 msgstr "متن دلخواه" 45 53 46 54 #. Text in function 47 #: channeller.php:4255 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:42 48 56 msgid "Date" 49 57 msgstr "تاریخ" 50 58 51 59 #. Text in function 52 #: includes/ch-api-settings.php:8260 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 53 61 msgid "Enter Your Telegram Bot Token" 54 62 msgstr "Token دریافتی از تلگرام برای روبات را وارد کنید." 55 63 56 64 #. 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 66 msgid "Featured Image" 67 msgstr "تصویر شاخص" 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 71 msgid "Full URL" 72 msgstr "آدرس کامل" 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 58 76 msgid "Get Telegram API ready" 59 77 msgstr "تنظیمات خبرنامه روبات تلگرام" 60 78 61 79 #. 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 81 msgid "Image" 82 msgstr "تصویر" 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 86 msgid "Link Type" 87 msgstr "لینک ارسالی" 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 63 91 msgid "List of Channels" 64 92 msgstr "لیست کانال ها" 65 93 66 94 #. Text in function 67 #: includes/ch-api-settings.php:8295 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 68 96 msgid "List of Groups" 69 97 msgstr "لیست گروه ها" 70 98 71 99 #. Text in function 72 #: channeller.php:51100 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:51 73 101 msgid "Log" 74 102 msgstr "سوابق" 75 103 76 104 #. Text in function 77 #: includes/ch-api-settings.php:82105 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:82 78 106 msgid "Log Your Activity?" 79 107 msgstr "سوابق ذخیره شود؟" 80 108 81 109 #. Text in function 82 #: channeller.php:45110 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:45 83 111 msgid "Message" 84 112 msgstr "پیام" 85 113 86 114 #. Text in function 87 #: includes/ch-notification-metabox.php:61115 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:72 88 116 msgid "Message Text" 89 117 msgstr "متن پیام" 90 118 91 119 #. Text in function 92 #: channeller.php:37120 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:37 93 121 msgid "Messages History" 94 122 msgstr "لیست پیام های ارسالی" 95 123 96 124 #. Text in function 97 #: includes/ch-api-settings.php:79125 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:79 98 126 msgid "No" 99 127 msgstr "خیر" 100 128 101 129 #. 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 131 msgid "No Image" 132 msgstr "بدون تصویر" 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 136 msgid "No URL" 137 msgstr "بدون لینک" 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 103 141 msgid "Not Sent" 104 142 msgstr "ناموفق" 105 143 106 144 #. Text in function 107 #: includes/ch-notification-metabox.php:77145 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:96 108 146 msgid "" 109 147 "Please Enter Full Image URL on your site, Leave empty to not send images" … … 113 151 114 152 #. Text in function 115 #: includes/ch-api-settings.php:89153 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:89 116 154 msgid "" 117 155 "Please write down Channel IDs separated by \"+\" including @ (ex: @websimaca" … … 122 160 123 161 #. Text in function 124 #: includes/ch-api-settings.php:96162 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:96 125 163 msgid "" 126 164 "Please write down Group IDs and Names separated by \"/\" and make theme " … … 132 170 133 171 #. 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 173 msgid "Post Content" 174 msgstr "محتوای نوشته" 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 135 178 msgid "Send Notification for " 136 179 msgstr "قابلیت ارسال خبرنامه هنگام ایجاد " 137 180 138 181 #. Text in function 139 #: includes/ch-send-functions.php:1182 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 140 183 msgid "Send Photo" 141 184 msgstr "ارسال عکس" 142 185 143 186 #. Text in function 144 #: includes/ch-send-functions.php:1187 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 145 188 msgid "Send Text" 146 189 msgstr "ارسال متن" 147 190 148 191 #. Text in function 149 #: includes/ch-notification-metabox.php:28192 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:31 150 193 msgid "Send to Channels." 151 194 msgstr "ارسال به کانال ها" 152 195 153 196 #. Text in function 154 #: includes/ch-notification-metabox.php:55197 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:58 155 198 msgid "Send to Groups" 156 199 msgstr "ارسال به گروه ها" 157 200 158 201 #. Text in function 159 #: includes/ch-send-functions.php:1202 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-send-functions.php:1 160 203 msgid "Sent" 161 204 msgstr "موفق" 162 205 163 206 #. Text in function 164 #: includes/ch-notification-metabox.php:64207 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:67 165 208 msgid "Short URL" 166 209 msgstr "لینک کوتاه" 167 210 168 211 #. 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 175 213 msgid "Status" 176 214 msgstr "وضعیت" 177 215 178 216 #. Text in function 179 #: includes/ch-api-settings.php:127217 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:127 180 218 msgid "Telegram Channel Admin" 181 219 msgstr "مدیر کانال تلگرام" 182 220 183 221 #. Text in function 184 #: channeller.php:41222 #: domains/supsima.com/public_html/sepand/wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:41 185 223 msgid "Type" 186 224 msgstr "نوع پیام" 187 225 188 226 #. 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 228 msgid "Upload Image" 229 msgstr "آپلود تصویر" 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 200 233 msgid "Yes" 201 234 msgstr "بله" -
channeller-telegram-channel-administrator/trunk/readme.txt
r1310089 r1335646 4 4 Tags: Telegram, Telegram Bot, Telegram Channel, Telegram API, translate ready 5 5 Requires at least: 3.0.1 6 Tested up to: 4.4 7 Stable tag: 1. 26 Tested up to: 4.4.1 7 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 * Send Url, short Url or Custom Message 25 25 * Send Photo to channel 26 * Ability to send featured image 27 * Ability to send post content 26 28 * Send Text and Photo Messages to Groups 27 29 … … 72 74 73 75 == Changelog == 76 = 1.3 = 77 ability to Send Post Content and Featured Image 78 74 79 = 1.2 = 75 80 send text and photo to Telegram Groups.
Note: See TracChangeset
for help on using the changeset viewer.