Changeset 2985968
- Timestamp:
- 10/30/2023 09:29:56 AM (2 years ago)
- Location:
- wp-sms-functions/trunk
- Files:
-
- 5 edited
- 1 copied
-
inc/providers/Asist_Provider.php (copied) (copied from wp-sms-functions/trunk/inc/providers/Gri_Provider.php) (2 diffs)
-
inc/providers/Gri_Provider.php (modified) (1 diff)
-
lang/wp-sms-functions-tr_TR.mo (modified) (previous)
-
lang/wp-sms-functions-tr_TR.po (modified) (6 diffs)
-
lang/wp-sms-functions.pot (modified) (5 diffs)
-
wp-sms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-sms-functions/trunk/inc/providers/Asist_Provider.php
r2983849 r2985968 2 2 3 3 if (!class_exists('ProviderBase')) { 4 require_once 'ProviderBase.php';4 require_once 'ProviderBase.php'; 5 5 } 6 6 7 class Gri_Provider extends ProviderBase7 class Asist_Provider extends ProviderBase 8 8 { 9 public function __construct() 10 { 11 12 $this->slug = 'Gri'; 13 $this->name = 'Gri SMS'; 14 $this->api_base_url = 'https://sms-api3.gri.net'; 15 16 add_filter('Smsfunctions_providers', function ($prov) { 17 $prov[$this->slug] = $this->name; 18 19 return $prov; 20 }); 21 22 add_action('Smsfunctions_provider_settings', array($this, 'settings')); 23 add_filter('Smsfunctions_fields', function ($fields) { 24 return array_merge($fields, $this->fields()); 25 }); 26 27 } 28 29 public function fields() 30 { 31 return array( 32 'gri_api_key', 33 'gri_secret_key', 34 'gri_msg_header' 35 ); 36 } 37 38 public function get_options() 39 { 40 $vals = array(); 41 $fields = $this->fields(); 42 foreach ($fields as $field) { 43 $vals[$field] = get_option($field, ''); 44 } 45 46 return $vals; 47 } 48 49 public function getAuthentication() 50 { 51 $options = $this->get_options(); 52 $api_key = $options['gri_api_key']; 53 $secret_key = $options['gri_secret_key']; 54 return array( 55 'Authorization' => 'Basic ' . base64_encode($api_key . ':' . $secret_key), 56 'Content-Type' => 'application/json' 57 ); 58 } 59 60 public function send_sms($gsmNo = '', $message = '') 61 { 62 $options = $this->get_options(); 63 $header = $options['gri_msg_header']; 64 65 $message = str_replace('\"', '"', $message); //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 66 67 $post_fields = json_encode(array( 68 'header' => $header, 69 'message' => $message, 70 'phone' => $gsmNo 71 ), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); 72 73 $authentication = $this->getAuthentication(); 74 75 $request = parent::wpPost($this->api_base_url . '/SendSms', $post_fields, $authentication); 76 $response = json_decode($request); 77 78 if(isset($response->Result)) 79 $response=$response->Result; 80 81 if( isset($response->status) && !$response->status && isset($response->message) ) 82 throw new \Exception($response->message); 83 84 $errors = array(); 85 if (isset($response->errors)) { 86 foreach ($response->errors as $error) 87 { 88 $errors[] = implode(" - " , $error); 89 } 90 throw new Exception( count( $errors ) ? implode("\n", $errors) : 'An error occurred!' ); 91 } 92 93 return true; 94 } 95 96 public function settings($selected_provider) 97 { 98 $options = $this->get_options(); 99 $selected_provider = strtolower($selected_provider); 100 $is_tokens = !empty($options['gri_api_key']) && !empty($options['gri_secret_key']); 101 if ($selected_provider === 'gri') { 102 $request = parent::wpGet($this->api_base_url . '/Headers', array(), $this->getAuthentication()); 103 $response_for_sms_headers = json_decode($request); 104 105 if(is_object($response_for_sms_headers) && isset($response_for_sms_headers->Result)) 106 $response_for_sms_headers = $response_for_sms_headers->Result; 107 108 if ( isset($response_for_sms_headers->status) && !($response_for_sms_headers->status) && isset($response_for_sms_headers->message)) { 109 echo "<strong style='color:red'>" . 110 $response_for_sms_headers->message . 111 "</strong>"; 112 } 113 } 114 ?> 115 <table id="gri" class="form-table provider_tab" 9 private $soapClient; 10 11 /** 12 * @throws SoapFault 13 */ 14 public function __construct() 15 { 16 $this->slug = 'Asist'; 17 $this->name = 'Asist'; 18 $this->api_base_url = 'https://webservice.asistiletisim.com.tr/'; 19 $this->wsdl_url = 'https://webservice.asistiletisim.com.tr/SmsProxy.asmx?wsdl'; 20 21 add_filter('Smsfunctions_providers', function ($prov) { 22 $prov[$this->slug] = $this->name; 23 24 return $prov; 25 }); 26 try { 27 $this->soapClient = new SoapCustom($this->wsdl_url); 28 } catch (\Exception $exception) { 29 30 } 31 32 add_action('Smsfunctions_provider_settings', array($this, 'settings')); 33 add_filter('Smsfunctions_fields', function ($fields) { 34 return array_merge($fields, $this->fields()); 35 }); 36 } 37 38 public function getErrorMessage($code): string 39 { 40 $message = $code; 41 switch ($code) { 42 case 0: 43 $message = 'NO_ERROR'; 44 break; 45 case -1: 46 $message = 'Girilen bilgilere sahip bir kullanıcı bulunamadı.'; 47 break; 48 case -2: 49 $message = 'Kullanıcı pasif durumda.'; 50 break; 51 case -3: 52 $message = 'Kullanıcı bloke durumda.'; 53 break; 54 case -4: 55 $message = 'Kullanıcı hesabı bulunamadı.'; 56 break; 57 case -5: 58 $message = 'Kullanıcı hesabı pasif durumda.'; 59 break; 60 case -6: 61 $message = 'Kayıt bulunamadı'; 62 break; 63 case -7: 64 $message = 'Hatalı xml istek yapısı.'; 65 break; 66 case -8: 67 $message = 'Alınan parametrelerden biri veya birkaçı hatalı.'; 68 break; 69 case -9: 70 $message = 'Prepaid hesap bulunamadı.'; 71 break; 72 case -10: 73 $message = 'Operatör servisinde geçici kesinti.'; 74 break; 75 case -11: 76 $meessage = 'Başlangıç tarihi ile şu an ki zaman arasındaki fark 30 dakikadan az.'; 77 break; 78 case -12: 79 $message = 'Bitiş tarihi ile şu an ki zaman arasındaki fark 30 günden fazla.'; 80 break; 81 case -13: 82 $message = 'Geçersiz gönderici bilgisi.'; 83 break; 84 case -14: 85 $message = 'Hesaba ait SMS gönderim yetkisi bulunmuyor.'; 86 break; 87 case -15: 88 $message = 'Mesaj içeriği boş veya limit olan karakter sayısını aşıyor.'; 89 break; 90 case -16: 91 $message = 'Geçersiz alıcı bilgisi.'; 92 break; 93 case -17: 94 $message = 'Parametre adetleri ile şablon içerisindeki parametre adedi uyuşmuyor.'; 95 break; 96 case -18: 97 $message = 'Gönderim içerisinde birden fazla hata mevcut. MessageId kontrol edilmelidir.'; 98 break; 99 case -19: 100 $message = 'Mükerrer gönderim isteği.'; 101 break; 102 case -20: 103 $message = 'Bilgilendirme mesajı almak istemiyor.'; 104 break; 105 case -21: 106 $message = 'Numara karalistede.'; 107 break; 108 case -22: 109 $message = 'Yetkisiz IP Adresi'; 110 break; 111 case -23: 112 $message = 'Kullanıcı yetkisi bulunmamaktadır.'; 113 break; 114 case -24: 115 $message = 'Belirtilen paket zaten onaylanmıştır.'; 116 break; 117 case -25: 118 $message = 'Belirtilen Id için onaylanmamış bir paket bulunamadı.'; 119 break; 120 case -26: 121 $message = 'Taahhüt süresi zaman aşımına uğradı.'; 122 break; 123 case -27: 124 $message = 'Taahhüt miktarı aşıldı.'; 125 break; 126 case -28: 127 $message = 'Kullanıcı gönderim limiti aşıldı.'; 128 break; 129 case -29: 130 $message = 'Başlangıç tarihi bitiş tarihinden büyük olamaz.'; 131 break; 132 case -1000: 133 $message = 'SYSTEM_ERROR'; 134 break; 135 } 136 return $message; 137 } 138 139 public function fields(): array 140 { 141 return array( 142 'asist_username', 143 'asist_password', 144 'asist_user_code', 145 'asist_account_id', 146 'asist_originator' 147 ); 148 } 149 150 public function get_options(): array 151 { 152 $vals = array(); 153 $fields = $this->fields(); 154 foreach ($fields as $field) { 155 $vals[$field] = get_option($field, ''); 156 } 157 158 return $vals; 159 } 160 161 public static function generateXmlAttribute($k, $v): string 162 { 163 return sprintf('<%s>%s</%s>', $k, $v, $k); 164 } 165 166 public function getMainXmlBody($tag = '', $extraAttributes = []): string 167 { 168 $options = $this->get_options(); 169 $str = '<' . $tag . '>'; 170 171 $str .= self::generateXmlAttribute('Username', ($options['asist_username'] ?? '')); 172 $str .= self::generateXmlAttribute('Password', ($options['asist_password'] ?? '')); 173 $str .= self::generateXmlAttribute('UserCode', ($options['asist_user_code'] ?? '')); 174 $str .= self::generateXmlAttribute('AccountId', ($options['asist_account_id'] ?? '')); 175 176 if ($extraAttributes) { 177 foreach ($extraAttributes as $key => $value) { 178 if (is_array($value)) { 179 $str .= '<' . $key . '>'; 180 foreach ($value as $k2 => $v2) 181 $str .= self::generateXmlAttribute($k2, $v2); 182 $str .= '</' . $key . '>'; 183 } else { 184 $str .= self::generateXmlAttribute($key, $value); 185 } 186 } 187 } 188 189 $str .= 190 '</' . $tag . '>'; 191 192 return $str; 193 } 194 195 public function getOriginator(): array 196 { 197 $originators = $this->soapClient->getOriginator([ 198 'requestXml' => $this->getMainXmlBody('GetOriginator') 199 ]); 200 if (isset($originators->getOriginatorResult)) 201 $originators = $originators->getOriginatorResult; 202 203 if ($originators->ErrorCode) 204 throw new \Exception( 205 $this->getErrorMessage($originators->ErrorCode), 206 $originators->ErrorCode 207 ); 208 209 return (array)$originators->OriginatorList->Originator; 210 } 211 212 /** 213 * @throws SoapFault 214 */ 215 public function getCredit() 216 { 217 $credit = $this->soapClient->getCredit([ 218 'requestXml' => $this->getMainXmlBody('GetCredit') 219 ]); 220 221 if (isset($credit->getCreditResult)) 222 $credit = $credit->getCreditResult; 223 224 if ($credit->ErrorCode) 225 throw new \Exception($this->getErrorMessage($credit->ErrorCode), $credit->ErrorCode); 226 227 return (float)$credit->Amount; 228 } 229 230 /** 231 * @throws Exception 232 */ 233 public function send_sms($gsmNo = '', $message = '') 234 { 235 $options = $this->get_options(); 236 $header = $options['asist_originator']; 237 $message = str_replace('\"', '"', $message); 238 $xmlRequest = $this->getMainXmlBody('SendSms', [ 239 'ValidityPeriod' => 60, 240 'MessageText' => $message, 241 'Originator' => $header, 242 'IsCheckBlackList' => 0, 243 'IsEncryptedParameter' => 0, 244 'ReceiverList' => [ 245 'Receiver' => $gsmNo 246 ] 247 ]); 248 $response = $this->soapClient->sendSms([ 249 'requestXml' => $xmlRequest 250 ]); 251 252 if (isset($response->sendSmsResult)) 253 $response = $response->sendSmsResult; 254 255 if (isset($response->ErrorCode) && $response->ErrorCode) 256 throw new \Exception($this->getErrorMessage($response->ErrorCode), $response->ErrorCode); 257 258 259 return intval($response->PacketId) > 0; 260 } 261 262 public function settings($selected_provider) 263 { 264 $options = $this->get_options(); 265 $selected_provider = strtolower($selected_provider); 266 $details_filled = !empty($options['asist_username']) && !empty($options['asist_password']) && !empty($options['asist_user_code']) && !empty($options['asist_account_id']); 267 if ($selected_provider === 'asist' && $details_filled) { 268 try { 269 $response_for_sms_headers = $this->getOriginator(); 270 } catch (\Exception $exception) { 271 echo "<strong style='color:red'>" . 272 $exception->getMessage() . ' ' . $exception->getCode() . 273 "</strong>"; 274 } 275 } 276 ?> 277 <table id="asist" class="form-table provider_tab" 116 278 style="display: <?php echo esc_html((($selected_provider == 'gri') ? 'block' : 'none')); ?>"> 117 279 <tr> 118 <th><?php esc_html_e(' API Key', 'wp-sms-functions') ?></th>119 <td><input type="text" name=" gri_api_key" id="gri_api_key" class="input"120 value="<?php echo ($options[' gri_api_key'] != null) ? esc_attr($options['gri_api_key']) : ''; ?>"280 <th><?php esc_html_e('Username', 'wp-sms-functions') ?></th> 281 <td><input type="text" name="asist_username" id="asist_username" class="input" 282 value="<?php echo ($options['asist_username'] != null) ? esc_attr($options['asist_username']) : ''; ?>" 121 283 /></td> 122 284 </tr> 285 123 286 <tr> 124 <th><?php esc_html_e(' Secret Key', 'wp-sms-functions') ?></th>125 <td><input type="password" name=" gri_secret_key" id="gri_secret_key" class="input"126 value="<?php echo esc_html((($options['gri_secret_key'] != null) ? esc_attr($options['gri_secret_key']) : '')); ?>"287 <th><?php esc_html_e('Password', 'wp-sms-functions') ?></th> 288 <td><input type="password" name="asist_password" id="asist_password" class="input" 289 value="<?php echo ($options['asist_password'] != null) ? esc_attr($options['asist_password']) : ''; ?>" 127 290 /></td> 128 291 </tr> 129 <?php if (is_array($response_for_sms_headers) && count($response_for_sms_headers)): ?> 292 293 <tr> 294 <th><?php esc_html_e('User Code', 'wp-sms-functions') ?></th> 295 <td><input type="text" name="asist_user_code" id="asist_user_code" class="input" 296 value="<?php echo ($options['asist_user_code'] != null) ? esc_attr($options['asist_user_code']) : ''; ?>" 297 /></td> 298 </tr> 299 300 <tr> 301 <th><?php esc_html_e('Account ID', 'wp-sms-functions') ?></th> 302 <td><input type="text" name="asist_account_id" id="asist_account_id" class="input" 303 value="<?php echo ($options['asist_account_id'] != null) ? esc_attr($options['asist_account_id']) : ''; ?>" 304 /></td> 305 </tr> 306 307 <?php if (isset($response_for_sms_headers) && is_array($response_for_sms_headers) && count($response_for_sms_headers)): ?> 130 308 <tr> 131 309 <th><?php esc_html_e('SMS Header', 'wp-sms-functions') ?></th> 132 310 <td> 133 <?php134 if (!$is_tokens) {135 esc_html_e('You must save api key and secret key to select the message header.', 'wp-sms-functions');136 } else {137 ?>138 <select name=" gri_msg_header">311 <?php 312 if (!$details_filled) { 313 esc_html_e('You must save api key and secret key to select the message header.', 'wp-sms-functions'); 314 } else { 315 ?> 316 <select name="asist_originator"> 139 317 <option value=""><?php esc_html_e('Select', 'wp-sms-functions'); ?></option> 140 <?php141 foreach ($response_for_sms_headers as $header) {142 $selected = ($options['gri_msg_header'] == $header) ? 'selected' : '';143 144 echo "<option {$selected} value='{$header}'>{$header}</option>";145 }146 147 ?>318 <?php 319 foreach ($response_for_sms_headers as $header) { 320 $selected = ($options['asist_originator'] == $header) ? 'selected' : ''; 321 322 echo "<option {$selected} value='{$header}'>{$header}</option>"; 323 } 324 325 ?> 148 326 </select> 149 <?php } ?>327 <?php } ?> 150 328 </td> 151 329 </tr> … … 153 331 <th><?php esc_html_e('Balance Remaining', 'wp-sms-functions') ?></th> 154 332 <td> 155 <?php 156 if (!$is_tokens) { 157 esc_html_e('You must save api key and secret key to view the balance.', 'wp-sms-functions'); 158 } else { 159 $request = parent::wpGet($this->api_base_url . '/Balance', array(), $this->getAuthentication()); 160 $response_for_balance = json_decode($request); 161 162 if (isset($response_for_balance->Data) && $response_for_balance->Data) { 163 esc_html_e($response_for_balance->Data); 164 } else { 165 esc_html_e('There is no balance defined for you. Please contact us!', 'wp-sms-functions'); 166 } 167 } 168 ?> 333 <?php 334 335 try { 336 $response_for_credit = $this->getCredit(); 337 esc_html_e($response_for_credit); 338 } catch (\Exception $exception) { 339 echo sprintf('<strong style="color: red">%s</strong>', $exception->getMessage()); 340 } 341 ?> 169 342 </td> 170 343 </tr> 171 <?php endif; ?>344 <?php endif; ?> 172 345 </table> 173 <?php 174 } 175 346 <?php 347 } 176 348 } 177 349 178 new Gri_Provider();350 new Asist_Provider(); -
wp-sms-functions/trunk/inc/providers/Gri_Provider.php
r2718672 r2985968 127 127 /></td> 128 128 </tr> 129 <?php if ( is_array($response_for_sms_headers) && count($response_for_sms_headers)): ?>129 <?php if ( isset($response_for_sms_headers) && is_array($response_for_sms_headers) && count($response_for_sms_headers)): ?> 130 130 <tr> 131 131 <th><?php esc_html_e('SMS Header', 'wp-sms-functions') ?></th> -
wp-sms-functions/trunk/lang/wp-sms-functions-tr_TR.po
r2718672 r2985968 5 5 "Project-Id-Version: SMS Provider 1.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-sms-functions\n" 7 "POT-Creation-Date: 202 2-05-05 17:39+0300\n"8 "PO-Revision-Date: 202 2-05-05 17:39+0300\n"7 "POT-Creation-Date: 2023-10-30 09:27:17+00:00\n" 8 "PO-Revision-Date: 2023-10-30 12:28+0300\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 2.0.1\n"16 15 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 "X-Generator: Poedit 3.2.2\n" 17 17 18 18 #: inc/functions.php:18 … … 64 64 msgstr "SMS Gönderici" 65 65 66 #: inc/providers/BatmanTopluSms_Provider.php:116 67 msgid "Remaining money balance" 68 msgstr "Kalan bakiye(TL)" 69 70 #: inc/providers/BatmanTopluSms_Provider.php:120 71 msgid "Remaining SMS balance" 72 msgstr "Kalan bakiye(SMS)" 73 66 #: inc/providers/Asist_Provider.php:280 74 67 #: inc/providers/BatmanTopluSms_Provider.php:131 75 68 #: inc/providers/Bizimsms_Provider.php:78 … … 78 71 msgid "Username" 79 72 msgstr "Kullanıcı adı" 73 74 #: inc/providers/Asist_Provider.php:287 75 msgid "Password" 76 msgstr "Kullanıcı Şifresi" 77 78 #: inc/providers/Asist_Provider.php:294 79 #: inc/providers/Iletimerkezi_Provider.php:71 80 #: inc/providers/Jetsms_Provider.php:80 inc/providers/Mutlucell_Provider.php:76 81 #: inc/providers/Verimor_Provider.php:116 82 msgid "User Code" 83 msgstr "Kullanıcı Kodu" 84 85 #: inc/providers/Asist_Provider.php:301 86 msgid "Account ID" 87 msgstr "Hesap Kodu" 88 89 #: inc/providers/Asist_Provider.php:309 inc/providers/Gri_Provider.php:131 90 msgid "SMS Header" 91 msgstr "SMS Başlığı" 92 93 #: inc/providers/Asist_Provider.php:313 inc/providers/Gri_Provider.php:135 94 msgid "You must save api key and secret key to select the message header." 95 msgstr "Mesaj başlıklarının görüntülenebilmesi için API bilgilerinizi giriniz." 96 97 #: inc/providers/Asist_Provider.php:317 inc/providers/Gri_Provider.php:139 98 msgid "Select" 99 msgstr "Seçiniz" 100 101 #: inc/providers/Asist_Provider.php:331 inc/providers/Gri_Provider.php:153 102 msgid "Balance Remaining" 103 msgstr "Kalan Bakiye" 104 105 #: inc/providers/BatmanTopluSms_Provider.php:116 106 msgid "Remaining money balance" 107 msgstr "Kalan bakiye(TL)" 108 109 #: inc/providers/BatmanTopluSms_Provider.php:120 110 msgid "Remaining SMS balance" 111 msgstr "Kalan bakiye(SMS)" 80 112 81 113 #: inc/providers/BatmanTopluSms_Provider.php:137 … … 113 145 msgstr "API Gizli Kodu(Secret)" 114 146 115 #: inc/providers/Gri_Provider.php:131116 msgid "SMS Header"117 msgstr "SMS Başlığı"118 119 #: inc/providers/Gri_Provider.php:135120 msgid "You must save api key and secret key to select the message header."121 msgstr "Mesaj başlıklarının görüntülenebilmesi için API bilgilerinizi giriniz."122 123 #: inc/providers/Gri_Provider.php:139124 msgid "Select"125 msgstr "Seçiniz"126 127 #: inc/providers/Gri_Provider.php:153128 msgid "Balance Remaining"129 msgstr "Kalan Bakiye"130 131 147 #: inc/providers/Gri_Provider.php:157 132 148 msgid "You must save api key and secret key to view the balance." … … 141 157 msgid "ERROR: %s" 142 158 msgstr "Hata: %s" 143 144 #: inc/providers/Iletimerkezi_Provider.php:71145 #: inc/providers/Jetsms_Provider.php:80 inc/providers/Mutlucell_Provider.php:76146 #: inc/providers/Verimor_Provider.php:116147 msgid "User Code"148 msgstr "Kullanıcı Kodu"149 159 150 160 #: inc/providers/Jetsms_Provider.php:108 -
wp-sms-functions/trunk/lang/wp-sms-functions.pot
r2718672 r2985968 1 # Copyright (C) 202 2WP SMS Functions1 # Copyright (C) 2023 WP SMS Functions 2 2 # This file is distributed under the same license as the WP SMS Functions package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WP SMS Functions 1.2. 6\n"5 "Project-Id-Version: WP SMS Functions 1.2.7\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-sms-functions\n" 7 "POT-Creation-Date: 202 2-05-05 14:39:34+00:00\n"7 "POT-Creation-Date: 2023-10-30 09:27:17+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 202 2-MO-DA HO:MI+ZONE\n"11 "PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13 13 "Language-Team: LANGUAGE <LL@li.org>\n" … … 61 61 msgstr "" 62 62 63 #: inc/providers/BatmanTopluSms_Provider.php:116 64 msgid "Remaining money balance" 65 msgstr "" 66 67 #: inc/providers/BatmanTopluSms_Provider.php:120 68 msgid "Remaining SMS balance" 69 msgstr "" 70 63 #: inc/providers/Asist_Provider.php:280 71 64 #: inc/providers/BatmanTopluSms_Provider.php:131 72 65 #: inc/providers/Bizimsms_Provider.php:78 … … 74 67 #: inc/providers/UygunSMS_Provider.php:99 75 68 msgid "Username" 69 msgstr "" 70 71 #: inc/providers/Asist_Provider.php:287 72 msgid "Password" 73 msgstr "" 74 75 #: inc/providers/Asist_Provider.php:294 76 #: inc/providers/Iletimerkezi_Provider.php:71 77 #: inc/providers/Jetsms_Provider.php:80 inc/providers/Mutlucell_Provider.php:76 78 #: inc/providers/Verimor_Provider.php:116 79 msgid "User Code" 80 msgstr "" 81 82 #: inc/providers/Asist_Provider.php:301 83 msgid "Account ID" 84 msgstr "" 85 86 #: inc/providers/Asist_Provider.php:309 inc/providers/Gri_Provider.php:131 87 msgid "SMS Header" 88 msgstr "" 89 90 #: inc/providers/Asist_Provider.php:313 inc/providers/Gri_Provider.php:135 91 msgid "You must save api key and secret key to select the message header." 92 msgstr "" 93 94 #: inc/providers/Asist_Provider.php:317 inc/providers/Gri_Provider.php:139 95 msgid "Select" 96 msgstr "" 97 98 #: inc/providers/Asist_Provider.php:331 inc/providers/Gri_Provider.php:153 99 msgid "Balance Remaining" 100 msgstr "" 101 102 #: inc/providers/BatmanTopluSms_Provider.php:116 103 msgid "Remaining money balance" 104 msgstr "" 105 106 #: inc/providers/BatmanTopluSms_Provider.php:120 107 msgid "Remaining SMS balance" 76 108 msgstr "" 77 109 … … 110 142 msgstr "" 111 143 112 #: inc/providers/Gri_Provider.php:131113 msgid "SMS Header"114 msgstr ""115 116 #: inc/providers/Gri_Provider.php:135117 msgid "You must save api key and secret key to select the message header."118 msgstr ""119 120 #: inc/providers/Gri_Provider.php:139121 msgid "Select"122 msgstr ""123 124 #: inc/providers/Gri_Provider.php:153125 msgid "Balance Remaining"126 msgstr ""127 128 144 #: inc/providers/Gri_Provider.php:157 129 145 msgid "You must save api key and secret key to view the balance." … … 137 153 #: inc/providers/UygunSMS_Provider.php:79 138 154 msgid "ERROR: %s" 139 msgstr ""140 141 #: inc/providers/Iletimerkezi_Provider.php:71142 #: inc/providers/Jetsms_Provider.php:80 inc/providers/Mutlucell_Provider.php:76143 #: inc/providers/Verimor_Provider.php:116144 msgid "User Code"145 155 msgstr "" 146 156 -
wp-sms-functions/trunk/wp-sms-functions.php
r2718672 r2985968 6 6 * Author URI: https://www.gri.net 7 7 * Text Domain: wp-sms-functions 8 * Version: 1.2. 68 * Version: 1.2.7 9 9 * Domain Path: /lang 10 10 * Requires at least: 4.9 11 * Tested up to: 5.8.212 * Requires PHP: 5.2.411 * Tested up to: 6.4 12 * Requires PHP: 7.0 13 13 * License: GPL v2 or later 14 14 */
Note: See TracChangeset
for help on using the changeset viewer.