Changeset 3116906
- Timestamp:
- 07/12/2024 09:43:45 AM (21 months ago)
- Location:
- pardakht-delkhah
- Files:
-
- 45 added
- 9 edited
-
tags/2.9.9 (added)
-
tags/2.9.9/admin-custom-fields.php (added)
-
tags/2.9.9/admin-custom-link.php (added)
-
tags/2.9.9/admin-export.php (added)
-
tags/2.9.9/admin-settings.php (added)
-
tags/2.9.9/admin-table-header.php (added)
-
tags/2.9.9/admin-table.php (added)
-
tags/2.9.9/assets (added)
-
tags/2.9.9/assets/admin.css (added)
-
tags/2.9.9/assets/admin.js (added)
-
tags/2.9.9/assets/admin.min.css (added)
-
tags/2.9.9/assets/ajax-loader.gif (added)
-
tags/2.9.9/assets/cancel.png (added)
-
tags/2.9.9/assets/checked.png (added)
-
tags/2.9.9/assets/styles (added)
-
tags/2.9.9/assets/styles/1.php (added)
-
tags/2.9.9/assets/styles/2.php (added)
-
tags/2.9.9/assets/styles/3.php (added)
-
tags/2.9.9/assets/styles/index.html (added)
-
tags/2.9.9/class-fields-generator.php (added)
-
tags/2.9.9/class-meta-box.php (added)
-
tags/2.9.9/class-payments-list-table.php (added)
-
tags/2.9.9/cupri.php (added)
-
tags/2.9.9/extra.php (added)
-
tags/2.9.9/gateways (added)
-
tags/2.9.9/gateways.php (added)
-
tags/2.9.9/gateways/class-cupri-abstract-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-irankish-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-mabnanew-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-mellat-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-melli-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-payir-gateway.php (added)
-
tags/2.9.9/gateways/class-cupri-zarinpal-gateway.php (added)
-
tags/2.9.9/gateways/initial.php (added)
-
tags/2.9.9/gateways/nusoap-php5.3.php (added)
-
tags/2.9.9/gateways/nusoap-php7.php (added)
-
tags/2.9.9/gateways/nusoap-php8.php (added)
-
tags/2.9.9/gateways/nusoap.php (added)
-
tags/2.9.9/help.php (added)
-
tags/2.9.9/languages (added)
-
tags/2.9.9/languages/cupri-fa_IR.mo (added)
-
tags/2.9.9/languages/cupri-fa_IR.po (added)
-
tags/2.9.9/readme.txt (added)
-
tags/2.9.9/shortcode.php (added)
-
tags/2.9.9/widget.php (added)
-
trunk/admin-export.php (modified) (1 diff)
-
trunk/admin-settings.php (modified) (5 diffs)
-
trunk/admin-table-header.php (modified) (4 diffs)
-
trunk/class-fields-generator.php (modified) (9 diffs)
-
trunk/cupri.php (modified) (3 diffs)
-
trunk/extra.php (modified) (2 diffs)
-
trunk/gateways/class-cupri-abstract-gateway.php (modified) (1 diff)
-
trunk/languages/cupri-fa_IR.mo (modified) (previous)
-
trunk/languages/cupri-fa_IR.po (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pardakht-delkhah/trunk/admin-export.php
r2831466 r3116906 9 9 // upload form will process on init action 10 10 11 //any message to show? 12 if (isset($_POST['cupri_export_msg']) && !empty($_POST['cupri_export_msg'])) { 13 $cupri_export_msg = sanitize_text_field($_POST['cupri_export_msg']); 14 echo '<div class="notice"><p>' . esc_html($cupri_export_msg) . '</p></div>'; 11 if (!empty($_POST) && (!isset($_POST['cupriExport_form_nonce']) || !wp_verify_nonce($_POST['cupriExport_form_nonce'], 'cupriExport_form_nonce'))) { 12 echo cupri_failed_msg('مقادیر ارسالی از منبع معتبری نیستند'); 15 13 14 } else { 15 //any message to show? 16 if (isset($_POST['cupri_export_msg']) && !empty($_POST['cupri_export_msg'])) { 17 $cupri_export_msg = sanitize_text_field($_POST['cupri_export_msg']); 18 echo '<div class="notice"><p>' . esc_html($cupri_export_msg) . '</p></div>'; 19 20 } 16 21 } 22 23 17 24 ?> 18 25 <form action="" method="post"> 26 <?php 27 wp_nonce_field('cupriExport_form_nonce', 'cupriExport_form_nonce'); 28 ?> 19 29 <p> 20 30 <strong>انتخاب بازه</strong> :<br> -
pardakht-delkhah/trunk/admin-settings.php
r2831466 r3116906 92 92 } 93 93 94 $cupri_general = cupri_array_map_recursive('sanitize_textarea_field', $_POST['cupri_general']);94 $cupri_general = cupri_array_map_recursive('sanitize_textarea_field', $_POST['cupri_general']); 95 95 update_option('cupri_general_settings', $cupri_general); 96 96 } … … 105 105 ?> 106 106 <div class="cupri_gateways"> 107 <h2> :: <?php _e('General', 'cupri'); ?></h2> 108 <p class="admin_fields"> 109 <strong><?php _e('Form Page', 'cupri') ?></strong><br> 110 <select name="cupri_general[form_page_id]" id="cupri_general[form_page_id]"> 111 <option <?php selected($cupri_general['form_page_id'] ?? '', '', true); ?> value=""> 112 -- <?php _e('select', 'cupri'); ?> -- 113 </option> 114 <?php 115 $pages = get_pages(); 116 foreach ($pages as $page) { 117 $option = '<option ' . selected($cupri_general['form_page_id'] ?? '', $page->ID, false) . ' value="' . $page->ID . '">'; 118 $option .= $page->post_title; 119 $option .= '</option>'; 120 echo $option; 121 } 122 ?> 123 </select> 124 <span class="desc"><?php _e('The page where the shortcode is placed', 'cupri'); ?></span> 125 </p> 107 126 <h2> :: <?php _e('Notifications', 'cupri'); ?></h2> 108 127 <h5><?php _e('SMS Notifications', 'cupri'); ?></h5> … … 124 143 <input type="number" id="cupri_send_test_sms_mobile" placeholder="0900000000"> 125 144 126 <span data-nonce="<?= wp_create_nonce('cupri_send_test_sms_mobile_nonce');?>" class="button-secondary" id="cupri_send_test_sms_btn"><?= _e('send', 'cupri'); ?></span> 145 <span data-nonce="<?= wp_create_nonce('cupri_send_test_sms_mobile_nonce'); ?>" class="button-secondary" 146 id="cupri_send_test_sms_btn"><?= _e('send', 'cupri'); ?></span> 127 147 <br> 128 148 </p> … … 151 171 <p class="admin_fields"> 152 172 <strong><?php _e('Admin Email(s)', 'cupri') ?></strong><br> 153 <input value="<?php echo esc_attr($cupri_general['emails']); ?>" type="text" name="cupri_general[emails]"> 173 <input value="<?php echo esc_attr($cupri_general['emails']); ?>" type="text" 174 name="cupri_general[emails]"> 154 175 <span class="desc"><?php _e('Seperate more emails with ,', 'cupri') ?></span> 155 176 </p> … … 201 222 <p class="admin_fields"> 202 223 <strong><?php _e('change form color', 'cupri') ?></strong><br> 203 <input type="text" data-default-color="#51cbee" value="<?php echo esc_attr($cupri_general['form_color']); ?>" 224 <input type="text" data-default-color="#51cbee" 225 value="<?php echo esc_attr($cupri_general['form_color']); ?>" 204 226 name="cupri_general[form_color]" id="cupri_general_form_color"> 205 227 <span class="desc"></span> -
pardakht-delkhah/trunk/admin-table-header.php
r2831466 r3116906 3 3 ?> 4 4 <style type="text/css"> 5 /*Hide Add new button for pay*/ 6 a.page-title-action{display: none;} 7 .wc_donaite_header {clear: both;} 8 .wc_donaite_header .statistics{margin:auto;width: 100%;} 9 .wc_donaite_header .td{ 10 width: 18%; 11 min-width: 200px; 12 min-height: 25px; 13 background: #fff; 14 float: right; 15 margin:5px; 16 padding: 25px; 17 border: 1px solid #adadad; 18 } 19 .wc_donaite_header .counter{display: block;} 20 .wc_donaite_header .counter.total { 21 font-size: 2em; 22 color: green; 23 } 5 /*Hide Add new button for pay*/ 6 a.page-title-action { 7 display: none !important; 8 } 9 10 .wc_donaite_header { 11 clear: both; 12 } 13 14 .wc_donaite_header .statistics { 15 margin: auto; 16 width: 100%; 17 } 18 19 .wc_donaite_header .td { 20 width: 18%; 21 min-width: 200px; 22 min-height: 25px; 23 background: #fff; 24 float: right; 25 margin: 5px; 26 padding: 25px; 27 border: 1px solid #adadad; 28 } 29 30 .wc_donaite_header .counter { 31 display: block; 32 } 33 34 .wc_donaite_header .counter.total { 35 font-size: 2em; 36 color: green; 37 } 24 38 25 39 </style> … … 28 42 * get total payments 29 43 */ 30 function cupri_get_total_payments() { 44 function cupri_get_total_payments() 45 { 31 46 32 global $wpdb;47 global $wpdb; 33 48 34 $order_totals =$wpdb->get_row("49 $order_totals = $wpdb->get_row(" 35 50 36 51 SELECT … … 48 63 "); 49 64 50 return absint($order_totals->total_sales);65 return absint($order_totals->total_sales); 51 66 52 67 } … … 56 71 57 72 <div class="wc_donaite_header"> 58 <div class="statistics">59 <div class="td">73 <div class="statistics"> 74 <div class="td"> 60 75 <?php 61 76 $currency = cupri_get_currency(); 62 77 $current_currency = cupri_get_currency_value(); 63 78 $current_currency = strtolower($current_currency); 64 if($current_currency=='rial' || $current_currency=='toman') 65 { 66 $currency = _e('Toman','cupri'); 79 if ($current_currency == 'rial' || $current_currency == 'toman') { 80 $currency = _e('Toman', 'cupri'); 67 81 } 68 82 69 83 ?> 70 <span class="counter total"><?php echo number_format(cupri_get_total_payments()); ?> <small class="counter_desc"><?php echo esc_html($currency);?></small></span> 71 <span class="counter_desc"><?php _e('Total successful payments', 'cupri');?></span> 72 </div> 73 <?php 74 /* 75 <div class="td"> 76 <span class="counter"><?php echo cupri_get_total_items(); ?></span> 77 <span class="counter_desc"><?php _e('Total Items', 'cupri');?></span> 78 </div> 79 <div class="td"> 80 <span class="counter"><?php echo cupri_get_total_completed_items(); ?></span> 81 <span class="counter_desc"><?php _e('Total Sucess Items', 'cupri');?></span> 82 </div> 83 <div class="td"> 84 <span class="counter"><?php echo cupri_get_last_payed_item(); ?></span> 85 <span class="counter_desc"><?php _e('Last Paid price', 'cupri');?></span> 86 </div> 87 */ 88 ?> 89 </div> 90 <div style="clear:both;width: 100%;height: 1px;display: block;"></div> 84 <span class="counter total"><?php echo number_format(cupri_get_total_payments()); ?> <small 85 class="counter_desc"><?php echo esc_html($currency); ?></small></span> 86 <span class="counter_desc"><?php _e('Total successful payments', 'cupri'); ?></span> 87 </div> 88 <?php 89 /* 90 <div class="td"> 91 <span class="counter"><?php echo cupri_get_total_items(); ?></span> 92 <span class="counter_desc"><?php _e('Total Items', 'cupri');?></span> 93 </div> 94 <div class="td"> 95 <span class="counter"><?php echo cupri_get_total_completed_items(); ?></span> 96 <span class="counter_desc"><?php _e('Total Sucess Items', 'cupri');?></span> 97 </div> 98 <div class="td"> 99 <span class="counter"><?php echo cupri_get_last_payed_item(); ?></span> 100 <span class="counter_desc"><?php _e('Last Paid price', 'cupri');?></span> 101 </div> 102 */ 103 ?> 104 </div> 105 <div style="clear:both;width: 100%;height: 1px;display: block;"></div> 91 106 </div> -
pardakht-delkhah/trunk/class-fields-generator.php
r2852245 r3116906 5 5 { 6 6 private static $instance = null; 7 /** 8 * @var array|array[] 9 */ 10 public $fields = []; 7 11 8 12 public static function get_instance($slug = '_slug', $text_domain = '_wpm') … … 189 193 190 194 <?php 191 /** 192 * Save Values 193 */ 194 if (isset($_POST['wpm_fields'])) { 195 $wpm_fields = cupri_array_map_recursive('sanitize_text_field', $_POST['wpm_fields']); 196 update_option($slug, $wpm_fields); 197 195 196 if (!empty($_POST)) { 197 if ((isset($_POST['cupriFields_form_nonce']) && wp_verify_nonce($_POST['cupriFields_form_nonce'], 'cupriFields_form_nonce'))) { 198 /** 199 * Save Values 200 */ 201 if (isset($_POST['wpm_fields'])) { 202 $wpm_fields = cupri_array_map_recursive('sanitize_text_field', $_POST['wpm_fields']); 203 update_option($slug, $wpm_fields); 204 205 } 206 207 /** 208 * Reset Fields 209 */ 210 if (isset($_GET['cupri_reset_form'])) { 211 update_option($slug, cupri_get_defaults_fields()); 212 } 213 214 215 } else { 216 echo cupri_failed_msg('مقادیر ارسالی از منبع معتبری نیستند'); 217 218 } 198 219 } 199 220 200 /**201 * Reset Fields202 */203 if (isset($_GET['cupri_reset_form'])) {204 update_option($slug, cupri_get_defaults_fields());205 }206 221 207 222 $fields = get_option($slug, array()); … … 214 229 <form method="post" 215 230 action="<?php echo esc_url(admin_url('edit.php?post_type=cupri_pay&page=cupri-fields')); ?>"> 231 <?php 232 wp_nonce_field('cupriFields_form_nonce', 'cupriFields_form_nonce'); 233 ?> 216 234 <div class="wpm_custom_fields"> 217 235 <button class="wpm_add_field button-secondary"><?php _e('+Add Field', 'cupri'); ?></button> … … 441 459 442 460 $('body').on('click', '.f_readonly > input', function (e) { 443 var $this_field_default_val = $(this).closest('.field_settings _wrapper').find('.f_value > input').val();461 var $this_field_default_val = $(this).closest('.field_settings').find('.field_settings_wrapper .f_value > input').val(); 444 462 $this_field_default_val = $.trim($this_field_default_val); 445 463 if ($this_field_default_val == '') { 446 alert("<?=__(' Field dose not have any default value', 'cupri')?>");464 alert("<?=__('To enable read-only mode, you must enter a default value for the field.', 'cupri')?>"); 447 465 e.preventDefault(); 448 466 return; … … 464 482 $fields['type'][$i] = "' + fields_counter + '"; 465 483 $fields['name'][$i] = ""; 466 $i = '';484 // $i = ''; 467 485 } 468 486 … … 503 521 echo 'checked=checked'; 504 522 } ?> name="wpm_fields[required][<?php echo(empty($i) ? '' : (int)$i); ?>]" value="1"> </label> 505 <label class="f_desc"><strong><?php _e('Description', 'cupri'); ?></strong> <input type="text" 506 value="<?php echo isset($fields['desc'][$i]) ? esc_attr($fields['desc'][$i]) : ''; ?>" 507 name="wpm_fields[desc][<?php echo(empty($i) ? '' : (int)$i); ?>]"> 523 <label class="f_desc"><strong><?php _e('Description', 'cupri'); ?></strong> 524 <input type="text" 525 value="<?php echo isset($fields['desc'][$i]) ? esc_attr($fields['desc'][$i]) : ''; ?>" 526 name="wpm_fields[desc][<?php echo(empty($i) ? '' : (int)$i); ?>]"> 527 528 529 </label> 530 <label class="f_readonly"> 531 <strong>(<?php _e('ReadOnly', 'cupri'); ?>)</strong> 532 <input 533 type="checkbox" <?php if (isset($fields['readonly'][$i])) { 534 echo 'checked=checked'; 535 } ?> name="wpm_fields[readonly][<?php echo(empty($i) ? '' : (int)$i); ?>]" value="1"> 508 536 </label> 509 537 … … 527 555 name="wpm_fields[text_placeholder][<?php echo(empty($i) ? '' : (int)$i); ?>]"> 528 556 </label> 529 <br> 530 <label class="f_readonly"> 531 <strong><?php _e('ReadOnly', 'cupri'); ?></strong> 532 <input <?php if (isset($fields['readonly'][$i]) && $fields['readonly'][$i] == 1) { 533 echo ' checked=checked '; 534 } ?> name="wpm_fields[readonly][<?php echo(empty($i) ? '' : (int)$i); ?>]" value="1" 535 type="checkbox"> 536 </label> 557 537 558 </div> 538 559 … … 550 571 <label class="f_placeholder"> 551 572 <strong><?php _e('Placeholder', 'cupri'); ?></strong> 552 <textarea name="wpm_fields[text_placeholder][<?php echo(empty($i) ? '' : (int)$i); ?>]" cols="30" 573 <textarea name="wpm_fields[text_placeholder][<?php echo(empty($i) ? '' : (int)$i); ?>]" 574 cols="30" 553 575 rows="10"><?php echo isset($fields['text_placeholder'][$i]) ? esc_textarea($fields['text_placeholder'][$i]) : ''; ?></textarea> 554 576 555 577 </label> 556 <br> 557 <label class="f_readonly"> 558 <strong><?php _e('ReadOnly', 'cupri'); ?></strong> 559 <input <?php if (isset($fields['readonly'][$i]) && $fields['readonly'][$i] == 1) { 560 echo ' checked=checked '; 561 } ?> name="wpm_fields[readonly][<?php echo(empty($i) ? '' : (int)$i); ?>]" value="1" 562 type="checkbox"> 563 </label> 578 564 579 </div> 565 580 … … 638 653 ob_start(); 639 654 foreach ($this->fields as $field) { 640 $this->generate_field_html('', array());655 $this->generate_field_html('', $field, array()); 641 656 } 642 657 $return = ob_get_clean(); -
pardakht-delkhah/trunk/cupri.php
r3089042 r3116906 2 2 /* 3 3 Plugin Name: پرداخت دلخواه 4 Plugin URI: http ://wp-master.ir/pardakht-delkhah/4 Plugin URI: https://wp-master.ir/pardakht-delkhah/ 5 5 Author: استاد وردپرس 6 Author URI: http ://wp-master.ir7 Version: 2.9. 86 Author URI: https://wp-master.ir 7 Version: 2.9.9 8 8 Description: با این پلاگین میتونید سیستم پرداخت خودتون رو راه اندازی کنید. 9 9 */ 10 10 defined('ABSPATH') or die('No script kiddies please!'); 11 11 12 /** 13 * activate action 14 * like redirect to admin settings and ... 15 */ 16 register_activation_hook(__FILE__, ['cupri', 'activation_hook']); 17 18 12 19 class cupri 13 20 { … … 21 28 22 29 return self::$instance; 30 } 31 32 public static function activation_hook() 33 { 34 add_option('cupri_redirect_after_activation_option', true); 23 35 } 24 36 … … 73 85 function init() 74 86 { 87 if (get_option('cupri_redirect_after_activation_option', false)) { 88 delete_option('cupri_redirect_after_activation_option'); 89 exit(wp_redirect(admin_url('edit.php?post_type=cupri_pay'))); 90 } 91 75 92 /** 76 93 * Listen to hear from returning requests -
pardakht-delkhah/trunk/extra.php
r3045267 r3116906 595 595 '{sitename}' => __('Site name', 'cupri'), 596 596 '{paydate}' => __('Payment date', 'cupri'), 597 '{payhour}' => __('Payment hour', 'cupri'), 597 598 '{currency}' => __('Currency', 'cupri'), 598 599 ]; … … 613 614 { 614 615 $sitename = get_bloginfo('name'); 615 $paydate = get_the_date('Y/m/d - g:i A', $order_id); 616 $paydate = get_the_date('Y/m/d', $order_id); 617 $payhour = get_the_date('g:i A', $order_id); 616 618 /** 617 619 * واحد در هر صورت تومان هست.پس تومان میزنیم 618 620 */ 619 $messgae = str_replace(array('{sitename}', '{paydate}', '{ currency}'), array($sitename, $paydate, __('Toman', 'cupri')), $messgae);621 $messgae = str_replace(array('{sitename}', '{paydate}', '{payhour}', '{currency}'), array($sitename, $paydate, $payhour, __('Toman', 'cupri')), $messgae); 620 622 621 623 $_cupri = get_option('_cupri', cupri_get_defaults_fields()); -
pardakht-delkhah/trunk/gateways/class-cupri-abstract-gateway.php
r2852245 r3116906 11 11 12 12 // Force Extending class to define this method 13 /** 14 * @var mixed 15 */ 16 public $id; 17 /** 18 * @var mixed 19 */ 20 public $name; 21 13 22 abstract protected function start($payment_data); 14 23 -
pardakht-delkhah/trunk/languages/cupri-fa_IR.po
r2829835 r3116906 2 2 msgstr "" 3 3 "Project-Id-Version: custom price payment\n" 4 "POT-Creation-Date: 202 2-12-07 12:41+0330\n"5 "PO-Revision-Date: 202 2-12-07 12:41+0330\n"4 "POT-Creation-Date: 2024-07-12 12:43+0330\n" 5 "PO-Revision-Date: 2024-07-12 12:44+0330\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: wp-master.ir\n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=1; plural=0;\n" 13 "X-Generator: Poedit 3. 2.2\n"13 "X-Generator: Poedit 3.0.1\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-KeywordsList: __;_e;esc_html__\n" … … 18 18 "X-Poedit-SearchPath-1: .\n" 19 19 20 #: admin-custom-link.php:5 cupri.php:3 2320 #: admin-custom-link.php:5 cupri.php:342 21 21 msgid "Custom link" 22 22 msgstr "لینک دلخواه" 23 23 24 #: admin-export.php:5 admin-export.php: 35 cupri.php:32424 #: admin-export.php:5 admin-export.php:45 cupri.php:343 25 25 msgid "Export" 26 26 msgstr "برون ریزی" 27 27 28 #: admin-export.php: 22 admin-export.php:23 admin-export.php:2428 #: admin-export.php:32 admin-export.php:33 admin-export.php:34 29 29 msgid "Day" 30 30 msgstr "روز" 31 31 32 #: admin-export.php: 25 admin-export.php:26 admin-export.php:2733 #: admin-export.php: 28 admin-export.php:29 admin-export.php:3032 #: admin-export.php:35 admin-export.php:36 admin-export.php:37 33 #: admin-export.php:38 admin-export.php:39 admin-export.php:40 34 34 msgid "Month" 35 35 msgstr "ماه" 36 36 37 #: admin-settings.php:10 537 #: admin-settings.php:100 38 38 msgid "General Settings" 39 39 msgstr "تنظیمات عمومی" 40 40 41 #: admin-settings.php:107 class-fields-generator.php:273 42 #: class-fields-generator.php:308 class-fields-generator.php:344 43 #: class-fields-generator.php:513 44 msgid "General" 45 msgstr "تنظیمات عمومی" 46 47 #: admin-settings.php:109 48 msgid "Form Page" 49 msgstr "برگه ی حاوی فرم" 50 41 51 #: admin-settings.php:112 52 msgid "select" 53 msgstr "انتخاب" 54 55 #: admin-settings.php:124 56 msgid "The page where the shortcode is placed" 57 msgstr "صفحه ای که کد کوتاه در آن قرار می گیرد" 58 59 #: admin-settings.php:126 42 60 msgid "Notifications" 43 61 msgstr "اطلاع رسانی ها" 44 62 45 #: admin-settings.php:1 1363 #: admin-settings.php:127 46 64 msgid "SMS Notifications" 47 65 msgstr "اطلاع رسانی پیامکی" 48 66 49 #: admin-settings.php:1 1567 #: admin-settings.php:129 50 68 msgid "Admin Mobile(s)" 51 69 msgstr "موبایل مدیر(ان)" 52 70 53 #: admin-settings.php:1 1871 #: admin-settings.php:132 54 72 msgid "Seperate more mobiles with ," 55 73 msgstr "برای موبایل بیشتر آن را با , از هم جدا کنید" 56 74 57 #: admin-settings.php:1 2175 #: admin-settings.php:135 58 76 msgid "Active notification with sms ?" 59 77 msgstr "فعال کردن اطلاع رسانی با پیامک؟" 60 78 61 #: admin-settings.php:1 2479 #: admin-settings.php:138 62 80 msgid "You need to install and configure this plugin:" 63 81 msgstr "نیاز به نصب این پلاگین است:" 64 82 65 #: admin-settings.php:1 2883 #: admin-settings.php:142 66 84 msgid "Send text sms , enter your mobile number" 67 85 msgstr "پیامک ارسال کنید، شماره موبایل خود را وارد کنید" 68 86 69 #: admin-settings.php:1 3187 #: admin-settings.php:146 70 88 msgid "send" 71 89 msgstr "ارسال" 72 90 73 #: admin-settings.php:1 3591 #: admin-settings.php:150 74 92 msgid "SMS format" 75 93 msgstr "فرمت ارسال پیامک" 76 94 77 #: admin-settings.php:1 38 admin-settings.php:152 admin-settings.php:16978 #: admin-settings.php: 19195 #: admin-settings.php:153 admin-settings.php:167 admin-settings.php:185 96 #: admin-settings.php:207 79 97 msgid "Possible formats" 80 98 msgstr "فرمت های قابل استفاده" 81 99 82 #: admin-settings.php:1 41100 #: admin-settings.php:156 83 101 msgid "Send SMS receipt to user mobile?" 84 102 msgstr "ارسال پیامک رسید پرداخت به موبایل کاربر؟" 85 103 86 #: admin-settings.php:1 45104 #: admin-settings.php:160 87 105 msgid "" 88 106 "If the user has entered their mobile, a payment receipt will be sent to them" … … 90 108 "اگر کاربر موبایل خود را وارد کرده باشد رسید پرداخت برای او ارسال خواهد شد" 91 109 92 #: admin-settings.php:1 49110 #: admin-settings.php:164 93 111 msgid "User SMS format" 94 112 msgstr "فرمت ارسال پیامک برای کاربر" 95 113 96 #: admin-settings.php:1 55114 #: admin-settings.php:170 97 115 msgid "Email Notifications" 98 116 msgstr "اطلاع رسانی ایمیلی" 99 117 100 #: admin-settings.php:1 57118 #: admin-settings.php:172 101 119 msgid "Admin Email(s)" 102 120 msgstr "ایمیل مدیر(ان)" 103 121 104 #: admin-settings.php:1 59122 #: admin-settings.php:175 105 123 msgid "Seperate more emails with ," 106 124 msgstr "برای ایمیل های بیشتر آن را با , از هم جدا کنید" 107 125 108 #: admin-settings.php:1 62126 #: admin-settings.php:178 109 127 msgid "Active notification with email ?" 110 128 msgstr "فعال کردن اطلاع رسانی با ایمیل؟" 111 129 112 #: admin-settings.php:1 68130 #: admin-settings.php:184 113 131 msgid "Email format" 114 132 msgstr "فرمت ایمیل" 115 133 116 #: admin-settings.php:1 82134 #: admin-settings.php:198 117 135 msgid "Send payment receipt to user email?" 118 136 msgstr "ارسال رسید پرداخت به ایمیل کاربر؟" 119 137 120 #: admin-settings.php: 186138 #: admin-settings.php:202 121 139 msgid "" 122 140 "If the user has entered their email, a payment receipt will be sent to them" … … 124 142 "اگر کاربر ایمیل خود را وارد کرده باشد رسید پرداخت برای او ارسال خواهد شد" 125 143 126 #: admin-settings.php: 190144 #: admin-settings.php:206 127 145 msgid "User email format" 128 146 msgstr "فرمت ایمیل کاربر" 129 147 130 #: admin-settings.php:2 05148 #: admin-settings.php:221 131 149 msgid "Form" 132 150 msgstr "فرم" 133 151 134 #: admin-settings.php:2 07152 #: admin-settings.php:223 135 153 msgid "change form color" 136 154 msgstr "تغییر رنگ فرم" 137 155 138 #: admin-settings.php:2 13156 #: admin-settings.php:230 139 157 msgid "Disable default style?" 140 158 msgstr "استایل پیشفرض فرم غیرفعال گردد؟" 141 159 142 #: admin-settings.php:2 19160 #: admin-settings.php:236 143 161 msgid "Form Scheme" 144 162 msgstr "طرح فرم" 145 163 146 #: admin-settings.php:2 34164 #: admin-settings.php:251 147 165 msgid "Disable readonly fields for pre-defined values?" 148 166 msgstr "فیلدهای فقط خواندنی برای مقادیر از پیش تعریف شده غیرفعال شود؟" 149 167 150 #: admin-settings.php:2 37168 #: admin-settings.php:254 151 169 msgid "If enabled, predefined values in forms will not be read-only." 152 170 msgstr "" … … 154 172 "بود." 155 173 156 #: admin-settings.php:2 40174 #: admin-settings.php:257 157 175 msgid "Enable anonymously pay tick?" 158 176 msgstr "فعال سازی گزینه حمایت ناشناس؟" 159 177 160 #: admin-settings.php:2 46178 #: admin-settings.php:263 161 179 msgid "anonymously pay text" 162 180 msgstr "متن حمایت ناشناس" 163 181 164 #: admin-settings.php:2 53182 #: admin-settings.php:270 165 183 msgid "PreDefined Prices" 166 184 msgstr "مبالغ از پیش تعریف شده" 167 185 168 #: admin-settings.php:2 61186 #: admin-settings.php:278 169 187 msgid "Submit button text" 170 188 msgstr "متن دکمه پرداخت" 171 189 172 #: admin-settings.php:2 68190 #: admin-settings.php:285 173 191 msgid "Success redirect page" 174 192 msgstr "آدرس صفحه موفق" 175 193 176 #: admin-settings.php:2 72194 #: admin-settings.php:289 177 195 msgid "" 178 196 "If payment was successful user redirect to this url , to disable leave it " … … 181 199 "اگر پرداخت موفق بود کاربر به این آدرس برود،جهت غیرفعال شدن خالی بگذارید" 182 200 183 #: admin-settings.php:2 75201 #: admin-settings.php:292 184 202 msgid "Fail redirect page" 185 203 msgstr "آدرس صفحه ناموفق" 186 204 187 #: admin-settings.php:2 79205 #: admin-settings.php:296 188 206 msgid "" 189 207 "If payment was not successful user redirect to this url , to disable leave " … … 192 210 "اگر پرداخت ناموفق بود کاربر به این آدرس برود،جهت غیرفعال شدن خالی بگذارید" 193 211 194 #: admin-settings.php:2 82212 #: admin-settings.php:299 195 213 msgid "Coutdown value" 196 214 msgstr "مقدار شمارش معکوس" 197 215 198 #: admin-settings.php: 290 class-fields-generator.php:364gateways.php:163216 #: admin-settings.php:307 class-fields-generator.php:387 gateways.php:163 199 217 msgid "Save" 200 218 msgstr "ذخیره" 201 219 202 #: admin-table-header.php: 66 extra.php:449 extra.php:618gateways.php:72220 #: admin-table-header.php:80 extra.php:451 extra.php:621 gateways.php:72 203 221 msgid "Toman" 204 222 msgstr "تومان" 205 223 206 #: admin-table-header.php: 71224 #: admin-table-header.php:86 207 225 msgid "Total successful payments" 208 226 msgstr "مجموع پرداختی های موفق" 209 227 210 #: class-fields-generator.php:2 2228 #: class-fields-generator.php:26 211 229 msgid "Text" 212 230 msgstr "متن تک خطی" 213 231 214 #: class-fields-generator.php: 26232 #: class-fields-generator.php:30 215 233 msgid "Multi Line Text" 216 234 msgstr "متن چند خطی" 217 235 218 #: class-fields-generator.php:3 0 class-fields-generator.php:573236 #: class-fields-generator.php:34 class-fields-generator.php:599 219 237 msgid "Checkbox" 220 238 msgstr "گزینه انتخابی" 221 239 222 #: class-fields-generator.php:3 4 class-fields-generator.php:560240 #: class-fields-generator.php:38 class-fields-generator.php:586 223 241 msgid "Paragraph" 224 242 msgstr "پاراگراف" 225 243 226 #: class-fields-generator.php:4 2244 #: class-fields-generator.php:46 227 245 msgid "ComboBox" 228 246 msgstr "لیست باز شو" 229 247 230 #: class-fields-generator.php:2 16248 #: class-fields-generator.php:235 231 249 msgid "+Add Field" 232 250 msgstr "+افزودن فیلد" 233 251 234 #: class-fields-generator.php:250 class-fields-generator.php:285 235 #: class-fields-generator.php:321 class-fields-generator.php:486 236 msgid "General" 237 msgstr "تنظیمات عمومی" 238 239 #: class-fields-generator.php:252 class-fields-generator.php:286 240 #: class-fields-generator.php:322 class-fields-generator.php:487 252 #: class-fields-generator.php:275 class-fields-generator.php:309 253 #: class-fields-generator.php:345 class-fields-generator.php:514 241 254 msgid "Field name" 242 255 msgstr "نام فیلد" 243 256 244 #: class-fields-generator.php:2 58257 #: class-fields-generator.php:281 245 258 msgid "Minimum price" 246 259 msgstr "حداقل مبلغ برای پرداخت" 247 260 248 #: class-fields-generator.php:2 63261 #: class-fields-generator.php:286 249 262 msgid "Default price" 250 263 msgstr "مبلغ پیشفرض" 251 264 252 #: class-fields-generator.php:2 69 class-fields-generator.php:293253 #: class-fields-generator.php:3 29 class-fields-generator.php:515254 #: class-fields-generator.php:5 41265 #: class-fields-generator.php:292 class-fields-generator.php:316 266 #: class-fields-generator.php:352 class-fields-generator.php:552 267 #: class-fields-generator.php:572 255 268 msgid "Placeholder" 256 269 msgstr "عنوان نگه دارنده" 257 270 258 #: class-fields-generator.php: 299 class-fields-generator.php:335271 #: class-fields-generator.php:322 class-fields-generator.php:358 259 272 msgid "Disable this field ?" 260 273 msgstr "غیرفعال کردن این فیلد؟" 261 274 262 #: class-fields-generator.php:3 05 class-fields-generator.php:341263 #: class-fields-generator.php: 492275 #: class-fields-generator.php:328 class-fields-generator.php:364 276 #: class-fields-generator.php:519 264 277 msgid "Required?" 265 278 msgstr "(الزامی)" 266 279 267 #: class-fields-generator.php:3 67280 #: class-fields-generator.php:390 268 281 msgid "Reset" 269 282 msgstr "بازگردانی همه فیلدها" 270 283 271 #: class-fields-generator.php:4 00 class-fields-generator.php:414284 #: class-fields-generator.php:427 class-fields-generator.php:441 272 285 msgid "Are You Sure?" 273 286 msgstr "برای حذف مطمئن هستید؟" 274 287 275 #: class-fields-generator.php:437 276 msgid "Field dose not have any default value" 277 msgstr "فیلد مقدار پیش فرضی ندارد" 278 279 #: class-fields-generator.php:470 288 #: class-fields-generator.php:464 289 msgid "To enable read-only mode, you must enter a default value for the field." 290 msgstr "" 291 "برای فعال کردن حالت فقط خواندنی، باید یک مقدار پیشفرض برای فیلد وارد کنید." 292 293 #: class-fields-generator.php:497 280 294 msgid "Untitled" 281 295 msgstr "بدون عنوان" 282 296 283 #: class-fields-generator.php: 474297 #: class-fields-generator.php:501 284 298 msgid "Field Type" 285 299 msgstr "انتخاب نوع فیلد" 286 300 287 #: class-fields-generator.php: 476301 #: class-fields-generator.php:503 288 302 msgid "Select Field Type" 289 303 msgstr "انتخاب نوع فیلد" 290 304 291 #: class-fields-generator.php: 496305 #: class-fields-generator.php:523 292 306 msgid "Description" 293 307 msgstr "توضیحات" 294 308 295 #: class-fields-generator.php:506 class-fields-generator.php:533 309 #: class-fields-generator.php:531 310 msgid "ReadOnly" 311 msgstr "فقط خواندنی" 312 313 #: class-fields-generator.php:543 class-fields-generator.php:564 296 314 msgid "Textbox" 297 315 msgstr "متن تک خطی" 298 316 299 #: class-fields-generator.php:5 08 class-fields-generator.php:535317 #: class-fields-generator.php:545 class-fields-generator.php:566 300 318 msgid "Default Value" 301 319 msgstr "مقدار پیش فرض" 302 320 303 #: class-fields-generator.php:522 class-fields-generator.php:548 304 msgid "ReadOnly" 305 msgstr "فقط خواندنی" 306 307 #: class-fields-generator.php:562 321 #: class-fields-generator.php:588 308 322 msgid "Content" 309 323 msgstr "محتوا" 310 324 311 #: class-fields-generator.php: 582325 #: class-fields-generator.php:608 312 326 msgid "Combobox" 313 327 msgstr "لیست باز شو" … … 317 331 msgstr "جزییات پرداخت" 318 332 319 #: class-meta-box.php:133 cupri.php: 197 extra.php:288 extra.php:378333 #: class-meta-box.php:133 cupri.php:214 extra.php:290 extra.php:380 320 334 msgid "Price" 321 335 msgstr "مبلغ" 322 336 323 #: class-meta-box.php:137 extra.php:29 2337 #: class-meta-box.php:137 extra.php:294 324 338 msgid "Payment Status" 325 339 msgstr "وضعیت پرداخت" 326 340 327 #: class-meta-box.php:141 extra.php:38 extra.php:29 6341 #: class-meta-box.php:141 extra.php:38 extra.php:298 328 342 msgid "Result Code" 329 343 msgstr "شماره رسید" 330 344 331 #: class-meta-box.php:162 cupri.php: 190345 #: class-meta-box.php:162 cupri.php:207 332 346 msgid "Gateway" 333 347 msgstr "درگاه ها" 334 348 335 #: class-meta-box.php:163 cupri.php: 198 extra.php:596349 #: class-meta-box.php:163 cupri.php:215 extra.php:598 336 350 msgid "Currency" 337 351 msgstr "واحد مالی" … … 341 355 msgstr "نحوه نمایش در قالب ایمیل" 342 356 343 #: class-meta-box.php:2 09357 #: class-meta-box.php:210 344 358 msgid "SMS Template Preview" 345 359 msgstr "نحوه نمایش در قالب پیامک" … … 357 371 msgstr "شناسه" 358 372 359 #: class-payments-list-table.php:35 cupri.php: 199373 #: class-payments-list-table.php:35 cupri.php:216 360 374 msgid "status" 361 375 msgstr "وضعیت" … … 377 391 msgstr "موردی یافت نشد" 378 392 379 #: cupri.php: 28393 #: cupri.php:40 380 394 msgid "cupri" 381 395 msgstr "کوپری" 382 396 383 #: cupri.php: 29397 #: cupri.php:41 384 398 msgid "Custom price payment" 385 399 msgstr "پرداخت دلخواه" 386 400 387 #: cupri.php: 30 extra.php:360401 #: cupri.php:42 extra.php:362 388 402 msgid "pardakht delkhah" 389 403 msgstr "پرداخت دلخواه" 390 404 391 #: cupri.php:1 02 cupri.php:103405 #: cupri.php:119 cupri.php:120 392 406 msgid "payment" 393 407 msgstr "پرداخت دلخواه" 394 408 395 #: cupri.php:1 10409 #: cupri.php:127 396 410 msgid "No payments found" 397 411 msgstr "پیدا نشد." 398 412 399 #: cupri.php:1 11413 #: cupri.php:128 400 414 msgid "No payments found in Trash" 401 415 msgstr "موردی پیدا نشد." 402 416 403 #: cupri.php:1 13417 #: cupri.php:130 404 418 msgid "Custom payment" 405 419 msgstr "پرداخت دلخواه" 406 420 407 #: cupri.php: 191extra.php:35421 #: cupri.php:208 extra.php:35 408 422 msgid "Date" 409 423 msgstr "تاریخ" 410 424 411 #: cupri.php:2 00425 #: cupri.php:217 412 426 msgid "res_code" 413 427 msgstr "شماره رسید" 414 428 415 #: cupri.php:2 55429 #: cupri.php:274 416 430 msgid "No payments found in this range" 417 431 msgstr "پرداختی در بازه انتخاب شده یافت نشد" 418 432 419 #: cupri.php:2 79433 #: cupri.php:298 420 434 msgid "Custom payments manager" 421 435 msgstr "مدیریت پرداخت دلخواه" 422 436 423 #: cupri.php:3 20437 #: cupri.php:339 424 438 msgid "Custom Fields" 425 439 msgstr "فیلدهای دلخواه" 426 440 427 #: cupri.php:3 21gateways.php:74441 #: cupri.php:340 gateways.php:74 428 442 msgid "Gateway Settings" 429 443 msgstr "تنظیمات درگاه ها" 430 444 431 #: cupri.php:3 22 cupri.php:381shortcode.php:10445 #: cupri.php:341 cupri.php:400 shortcode.php:10 432 446 msgid "Settings" 433 447 msgstr "تنظیمات" 434 448 435 #: cupri.php:3 25449 #: cupri.php:344 436 450 msgid "Help" 437 451 msgstr "راهنما" 438 452 439 #: cupri.php:3 79shortcode.php:8453 #: cupri.php:398 shortcode.php:8 440 454 msgid "Please set the default gateway from admin" 441 455 msgstr "لطفا درگاه پیشفرض را از مدیریت انتخاب کنید" 442 456 443 #: cupri.php: 383shortcode.php:12457 #: cupri.php:402 shortcode.php:12 444 458 msgid "No defualt gateway was set" 445 459 msgstr "هیچ درگاه پیشفرضی تنظیم نشده است" 446 460 447 #: cupri.php:4 10461 #: cupri.php:429 448 462 msgid "Please Fill This Field:" 449 463 msgstr "لطفا این فیلد را تکمیل نمایید:" 450 464 451 #: cupri.php:4 19465 #: cupri.php:438 452 466 msgid "Plrease Check This Field Value:" 453 467 msgstr "لطفا این فیلد را بررسی نمایید:" 454 468 455 #: cupri.php:4 29469 #: cupri.php:448 456 470 msgid "Please Enter Price" 457 471 msgstr "لطفا مبلغ را وارد نمایید" 458 472 459 #: cupri.php:4 34473 #: cupri.php:453 460 474 msgid "Minimum price is : " 461 475 msgstr "حداقل مبلغ برای پرداخت :" 462 476 463 #: cupri.php:448 477 #: cupri.php:456 478 msgid "Price value is not correct " 479 msgstr "مقدار قیمت صحیح نیست" 480 481 #: cupri.php:467 464 482 msgid "Entered mobile is not correct " 465 483 msgstr "موبایل وارد شده صحیح نیست." 466 484 467 #: cupri.php:4 62485 #: cupri.php:482 468 486 msgid "Entered email is not correct " 469 487 msgstr "آدرس ایمیل که نوشته اید معتبر نمی باشد" 470 488 471 #: cupri.php: 491489 #: cupri.php:511 472 490 msgid "Error in payment creation" 473 491 msgstr "خطا در ایجاد پرداخت" … … 477 495 msgstr "وضعیت" 478 496 479 #: extra.php:1 29497 #: extra.php:131 480 498 msgid "Payment" 481 499 msgstr "پرداخت" 482 500 483 #: extra.php:25 6501 #: extra.php:258 484 502 msgid "Home" 485 503 msgstr "خانه" 486 504 487 #: extra.php:36 0505 #: extra.php:362 488 506 #, php-format 489 507 msgid "%s is not active on your host, some gateways may not work properly." 490 508 msgstr "%s در هاست شما فعال نیست ، ممکن است برخی درگاه ها به درستی کار نکنند" 491 509 492 #: extra.php:38 1510 #: extra.php:383 493 511 msgid "Please enter a price" 494 512 msgstr "لطفا مبلغی را وارد نمایید" 495 513 496 #: extra.php:38 7514 #: extra.php:389 497 515 msgid "Name" 498 516 msgstr "نام شما" 499 517 500 #: extra.php:39 0518 #: extra.php:392 501 519 msgid "Please enter your name" 502 520 msgstr "نام خود را وارد نمایید" 503 521 504 #: extra.php:39 7522 #: extra.php:399 505 523 msgid "Mobile" 506 524 msgstr "موبایل" 507 525 508 #: extra.php:40 0526 #: extra.php:402 509 527 msgid "Please enter your mobile" 510 528 msgstr "موبایل خود را وارد نمایید" 511 529 512 #: extra.php:40 6530 #: extra.php:408 513 531 msgid "Email" 514 532 msgstr "آدرس ایمیل" 515 533 516 #: extra.php:4 08534 #: extra.php:410 517 535 msgid "Please enter your email" 518 536 msgstr "ایمیل خود را وارد کنید" 519 537 520 #: extra.php:45 0gateways.php:72538 #: extra.php:452 gateways.php:72 521 539 msgid "Rial" 522 540 msgstr "ریال" 523 541 524 #: extra.php:52 2542 #: extra.php:524 525 543 msgid "Details" 526 544 msgstr "جزییات" 527 545 528 #: extra.php:52 3546 #: extra.php:525 529 547 msgid "Delete" 530 548 msgstr "حذف" 531 549 532 #: extra.php:53 7 extra.php:556 extra.php:561550 #: extra.php:539 extra.php:557 extra.php:562 533 551 msgid "You dont have access to do this action" 534 552 msgstr "شما به انجام این عمل دسترسی ندارید" 535 553 536 #: extra.php:56 6 extra.php:572554 #: extra.php:567 extra.php:573 537 555 msgid "Mobile is empty" 538 556 msgstr "موبایل خالی است" 539 557 540 #: extra.php:57 7558 #: extra.php:578 541 559 msgid "wp-sms plugin not detected" 542 560 msgstr "افزونه wp-sms شناسایی نشد" 543 561 544 #: extra.php:58 2562 #: extra.php:583 545 563 msgid "Test sms from pardakht-delkhah plugin" 546 564 msgstr "تست اس ام اس از افزونه پرداخت دلخواه" 547 565 548 #: extra.php:59 4566 #: extra.php:595 549 567 msgid "Site name" 550 568 msgstr "نام سایت" 551 569 552 #: extra.php:59 5570 #: extra.php:596 553 571 msgid "Payment date" 554 572 msgstr "تاریخ پرداخت" 555 573 556 #: extra.php:691 574 #: extra.php:597 575 msgid "Payment hour" 576 msgstr "ساعت پرداخت" 577 578 #: extra.php:696 557 579 msgid "" 558 580 "New payment at {sitename} :\n" … … 572 594 "{paydate}" 573 595 574 #: extra.php: 699596 #: extra.php:704 575 597 msgid "" 576 598 "<strong>New payment at {sitename}:</strong>\n" … … 586 608 "<h5>تاریخ={paydate}</h5>" 587 609 588 #: extra.php:7 07610 #: extra.php:712 589 611 msgid "" 590 612 "<strong>Your payment at {sitename}:</strong>\n" … … 600 622 "<h5>تاریخ={paydate}</h5>" 601 623 602 #: extra.php:71 3624 #: extra.php:718 603 625 msgid "" 604 626 "Your payment at {sitename} :\n" … … 630 652 msgstr "درگاه های پرداخت" 631 653 632 #: gateways/class-cupri-abstract-gateway.php: 76654 #: gateways/class-cupri-abstract-gateway.php:85 633 655 msgid "This order is completed already" 634 656 msgstr "این پرداخت قبلا تکمیل شده است." 635 657 636 #: gateways/class-cupri-abstract-gateway.php:2 42637 #: gateways/class-cupri-abstract-gateway.php:2 43638 #: gateways/class-cupri-abstract-gateway.php:26 0639 #: gateways/class-cupri-abstract-gateway.php:2 61658 #: gateways/class-cupri-abstract-gateway.php:251 659 #: gateways/class-cupri-abstract-gateway.php:252 660 #: gateways/class-cupri-abstract-gateway.php:269 661 #: gateways/class-cupri-abstract-gateway.php:270 640 662 msgid "New payment " 641 663 msgstr "پرداخت جدید" … … 696 718 msgid "select one" 697 719 msgstr "- انتخاب -" 720 721 #~ msgid "Field dose not have any default value" 722 #~ msgstr "فیلد مقدار پیش فرضی ندارد" 698 723 699 724 #~ msgid "Total Payed"
Note: See TracChangeset
for help on using the changeset viewer.