Plugin Directory

Changeset 3116906


Ignore:
Timestamp:
07/12/2024 09:43:45 AM (21 months ago)
Author:
Goback2
Message:

New ver 2.9.9

Location:
pardakht-delkhah
Files:
45 added
9 edited

Legend:

Unmodified
Added
Removed
  • pardakht-delkhah/trunk/admin-export.php

    r2831466 r3116906  
    99        // upload form will process on init action
    1010
    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('مقادیر ارسالی از منبع معتبری نیستند');
    1513
     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            }
    1621        }
     22
     23
    1724        ?>
    1825        <form action="" method="post">
     26            <?php
     27            wp_nonce_field('cupriExport_form_nonce', 'cupriExport_form_nonce');
     28            ?>
    1929            <p>
    2030                <strong>انتخاب بازه</strong> :<br>
  • pardakht-delkhah/trunk/admin-settings.php

    r2831466 r3116906  
    9292        }
    9393
    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']);
    9595        update_option('cupri_general_settings', $cupri_general);
    9696    }
     
    105105        ?>
    106106        <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>
    107126            <h2> :: <?php _e('Notifications', 'cupri'); ?></h2>
    108127            <h5><?php _e('SMS Notifications', 'cupri'); ?></h5>
     
    124143                <input type="number" id="cupri_send_test_sms_mobile" placeholder="0900000000">
    125144
    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>
    127147                <br>
    128148            </p>
     
    151171            <p class="admin_fields">
    152172                <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]">
    154175                <span class="desc"><?php _e('Seperate more emails with ,', 'cupri') ?></span>
    155176            </p>
     
    201222            <p class="admin_fields">
    202223                <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']); ?>"
    204226                       name="cupri_general[form_color]" id="cupri_general_form_color">
    205227                <span class="desc"></span>
  • pardakht-delkhah/trunk/admin-table-header.php

    r2831466 r3116906  
    33?>
    44<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    }
    2438
    2539</style>
     
    2842 * get total payments
    2943 */
    30 function cupri_get_total_payments() {
     44function cupri_get_total_payments()
     45{
    3146
    32     global $wpdb;
     47    global $wpdb;
    3348
    34     $order_totals = $wpdb->get_row("
     49    $order_totals = $wpdb->get_row("
    3550
    3651        SELECT
     
    4863        ");
    4964
    50     return absint($order_totals->total_sales);
     65    return absint($order_totals->total_sales);
    5166
    5267}
     
    5671
    5772<div class="wc_donaite_header">
    58     <div class="statistics">
    59         <div class="td">
     73    <div class="statistics">
     74        <div class="td">
    6075            <?php
    6176            $currency = cupri_get_currency();
    6277            $current_currency = cupri_get_currency_value();
    6378            $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');
    6781            }
    6882
    6983            ?>
    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>
    91106</div>
  • pardakht-delkhah/trunk/class-fields-generator.php

    r2852245 r3116906  
    55{
    66    private static $instance = null;
     7    /**
     8     * @var array|array[]
     9     */
     10    public $fields = [];
    711
    812    public static function get_instance($slug = '_slug', $text_domain = '_wpm')
     
    189193
    190194        <?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            }
    198219        }
    199220
    200         /**
    201          * Reset Fields
    202          */
    203         if (isset($_GET['cupri_reset_form'])) {
    204             update_option($slug, cupri_get_defaults_fields());
    205         }
    206221
    207222        $fields = get_option($slug, array());
     
    214229        <form method="post"
    215230              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            ?>
    216234            <div class="wpm_custom_fields">
    217235                <button class="wpm_add_field button-secondary"><?php _e('+Add Field', 'cupri'); ?></button>
     
    441459
    442460                $('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();
    444462                    $this_field_default_val = $.trim($this_field_default_val);
    445463                    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')?>");
    447465                        e.preventDefault();
    448466                        return;
     
    464482            $fields['type'][$i] = "' + fields_counter + '";
    465483            $fields['name'][$i] = "";
    466             $i = '';
     484//            $i = '';
    467485        }
    468486
     
    503521                        echo 'checked=checked';
    504522                    } ?> 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">
    508536                </label>
    509537
     
    527555                               name="wpm_fields[text_placeholder][<?php echo(empty($i) ? '' : (int)$i); ?>]">
    528556                    </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
    537558                </div>
    538559
     
    550571                    <label class="f_placeholder">
    551572                        <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"
    553575                                  rows="10"><?php echo isset($fields['text_placeholder'][$i]) ? esc_textarea($fields['text_placeholder'][$i]) : ''; ?></textarea>
    554576
    555577                    </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
    564579                </div>
    565580
     
    638653        ob_start();
    639654        foreach ($this->fields as $field) {
    640             $this->generate_field_html('', array());
     655            $this->generate_field_html('', $field, array());
    641656        }
    642657        $return = ob_get_clean();
  • pardakht-delkhah/trunk/cupri.php

    r3089042 r3116906  
    22/*
    33Plugin Name: پرداخت دلخواه
    4 Plugin URI: http://wp-master.ir/pardakht-delkhah/
     4Plugin URI: https://wp-master.ir/pardakht-delkhah/
    55Author: استاد وردپرس
    6 Author URI: http://wp-master.ir
    7 Version: 2.9.8
     6Author URI: https://wp-master.ir
     7Version: 2.9.9
    88Description: با این پلاگین میتونید سیستم پرداخت خودتون رو راه اندازی کنید.
    99 */
    1010defined('ABSPATH') or die('No script kiddies please!');
    1111
     12/**
     13 * activate action
     14 * like redirect to admin settings and ...
     15 */
     16register_activation_hook(__FILE__, ['cupri', 'activation_hook']);
     17
     18
    1219class cupri
    1320{
     
    2128
    2229        return self::$instance;
     30    }
     31
     32    public static function activation_hook()
     33    {
     34        add_option('cupri_redirect_after_activation_option', true);
    2335    }
    2436
     
    7385    function init()
    7486    {
     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
    7592        /**
    7693         * Listen to hear from returning requests
  • pardakht-delkhah/trunk/extra.php

    r3045267 r3116906  
    595595        '{sitename}' => __('Site name', 'cupri'),
    596596        '{paydate}' => __('Payment date', 'cupri'),
     597        '{payhour}' => __('Payment hour', 'cupri'),
    597598        '{currency}' => __('Currency', 'cupri'),
    598599    ];
     
    613614{
    614615    $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);
    616618    /**
    617619     * واحد در هر صورت تومان هست.پس تومان میزنیم
    618620     */
    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);
    620622
    621623    $_cupri = get_option('_cupri', cupri_get_defaults_fields());
  • pardakht-delkhah/trunk/gateways/class-cupri-abstract-gateway.php

    r2852245 r3116906  
    1111
    1212    // Force Extending class to define this method
     13    /**
     14     * @var mixed
     15     */
     16    public $id;
     17    /**
     18     * @var mixed
     19     */
     20    public $name;
     21
    1322    abstract protected function start($payment_data);
    1423
  • pardakht-delkhah/trunk/languages/cupri-fa_IR.po

    r2829835 r3116906  
    22msgstr ""
    33"Project-Id-Version: custom price payment\n"
    4 "POT-Creation-Date: 2022-12-07 12:41+0330\n"
    5 "PO-Revision-Date: 2022-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"
    66"Last-Translator: \n"
    77"Language-Team: wp-master.ir\n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=1; plural=0;\n"
    13 "X-Generator: Poedit 3.2.2\n"
     13"X-Generator: Poedit 3.0.1\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-KeywordsList: __;_e;esc_html__\n"
     
    1818"X-Poedit-SearchPath-1: .\n"
    1919
    20 #: admin-custom-link.php:5 cupri.php:323
     20#: admin-custom-link.php:5 cupri.php:342
    2121msgid "Custom link"
    2222msgstr "لینک دلخواه"
    2323
    24 #: admin-export.php:5 admin-export.php:35 cupri.php:324
     24#: admin-export.php:5 admin-export.php:45 cupri.php:343
    2525msgid "Export"
    2626msgstr "برون ریزی"
    2727
    28 #: admin-export.php:22 admin-export.php:23 admin-export.php:24
     28#: admin-export.php:32 admin-export.php:33 admin-export.php:34
    2929msgid "Day"
    3030msgstr "روز"
    3131
    32 #: admin-export.php:25 admin-export.php:26 admin-export.php:27
    33 #: admin-export.php:28 admin-export.php:29 admin-export.php:30
     32#: 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
    3434msgid "Month"
    3535msgstr "ماه"
    3636
    37 #: admin-settings.php:105
     37#: admin-settings.php:100
    3838msgid "General Settings"
    3939msgstr "تنظیمات عمومی"
    4040
     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
     44msgid "General"
     45msgstr "تنظیمات عمومی"
     46
     47#: admin-settings.php:109
     48msgid "Form Page"
     49msgstr "برگه ی حاوی فرم"
     50
    4151#: admin-settings.php:112
     52msgid "select"
     53msgstr "انتخاب"
     54
     55#: admin-settings.php:124
     56msgid "The page where the shortcode is placed"
     57msgstr "صفحه ای که کد کوتاه در آن قرار می گیرد"
     58
     59#: admin-settings.php:126
    4260msgid "Notifications"
    4361msgstr "اطلاع رسانی ها"
    4462
    45 #: admin-settings.php:113
     63#: admin-settings.php:127
    4664msgid "SMS Notifications"
    4765msgstr "اطلاع رسانی پیامکی"
    4866
    49 #: admin-settings.php:115
     67#: admin-settings.php:129
    5068msgid "Admin Mobile(s)"
    5169msgstr "موبایل مدیر(ان)"
    5270
    53 #: admin-settings.php:118
     71#: admin-settings.php:132
    5472msgid "Seperate more mobiles with ,"
    5573msgstr "برای موبایل بیشتر آن را با , از هم جدا کنید"
    5674
    57 #: admin-settings.php:121
     75#: admin-settings.php:135
    5876msgid "Active notification with sms ?"
    5977msgstr "فعال کردن اطلاع رسانی با پیامک؟"
    6078
    61 #: admin-settings.php:124
     79#: admin-settings.php:138
    6280msgid "You need to install and configure this plugin:"
    6381msgstr "نیاز به نصب این پلاگین است:"
    6482
    65 #: admin-settings.php:128
     83#: admin-settings.php:142
    6684msgid "Send text sms , enter your mobile number"
    6785msgstr "پیامک ارسال کنید، شماره موبایل خود را وارد کنید"
    6886
    69 #: admin-settings.php:131
     87#: admin-settings.php:146
    7088msgid "send"
    7189msgstr "ارسال"
    7290
    73 #: admin-settings.php:135
     91#: admin-settings.php:150
    7492msgid "SMS format"
    7593msgstr "فرمت ارسال پیامک"
    7694
    77 #: admin-settings.php:138 admin-settings.php:152 admin-settings.php:169
    78 #: admin-settings.php:191
     95#: admin-settings.php:153 admin-settings.php:167 admin-settings.php:185
     96#: admin-settings.php:207
    7997msgid "Possible formats"
    8098msgstr "فرمت های قابل استفاده"
    8199
    82 #: admin-settings.php:141
     100#: admin-settings.php:156
    83101msgid "Send SMS receipt to user mobile?"
    84102msgstr "ارسال پیامک رسید پرداخت به موبایل کاربر؟"
    85103
    86 #: admin-settings.php:145
     104#: admin-settings.php:160
    87105msgid ""
    88106"If the user has entered their mobile, a payment receipt will be sent to them"
     
    90108"اگر کاربر موبایل خود را وارد کرده باشد رسید پرداخت برای او ارسال خواهد شد"
    91109
    92 #: admin-settings.php:149
     110#: admin-settings.php:164
    93111msgid "User SMS format"
    94112msgstr "فرمت ارسال پیامک برای کاربر"
    95113
    96 #: admin-settings.php:155
     114#: admin-settings.php:170
    97115msgid "Email Notifications"
    98116msgstr "اطلاع رسانی ایمیلی"
    99117
    100 #: admin-settings.php:157
     118#: admin-settings.php:172
    101119msgid "Admin Email(s)"
    102120msgstr "ایمیل مدیر(ان)"
    103121
    104 #: admin-settings.php:159
     122#: admin-settings.php:175
    105123msgid "Seperate more emails with ,"
    106124msgstr "برای ایمیل های بیشتر آن را با , از هم جدا کنید"
    107125
    108 #: admin-settings.php:162
     126#: admin-settings.php:178
    109127msgid "Active notification with email ?"
    110128msgstr "فعال کردن اطلاع رسانی با ایمیل؟"
    111129
    112 #: admin-settings.php:168
     130#: admin-settings.php:184
    113131msgid "Email format"
    114132msgstr "فرمت ایمیل"
    115133
    116 #: admin-settings.php:182
     134#: admin-settings.php:198
    117135msgid "Send payment receipt to user email?"
    118136msgstr "ارسال رسید پرداخت به ایمیل کاربر؟"
    119137
    120 #: admin-settings.php:186
     138#: admin-settings.php:202
    121139msgid ""
    122140"If the user has entered their email, a payment receipt will be sent to them"
     
    124142"اگر کاربر ایمیل خود را وارد کرده باشد رسید پرداخت برای او ارسال خواهد شد"
    125143
    126 #: admin-settings.php:190
     144#: admin-settings.php:206
    127145msgid "User email format"
    128146msgstr "فرمت ایمیل کاربر"
    129147
    130 #: admin-settings.php:205
     148#: admin-settings.php:221
    131149msgid "Form"
    132150msgstr "فرم"
    133151
    134 #: admin-settings.php:207
     152#: admin-settings.php:223
    135153msgid "change form color"
    136154msgstr "تغییر رنگ فرم"
    137155
    138 #: admin-settings.php:213
     156#: admin-settings.php:230
    139157msgid "Disable default style?"
    140158msgstr "استایل پیشفرض فرم غیرفعال گردد؟"
    141159
    142 #: admin-settings.php:219
     160#: admin-settings.php:236
    143161msgid "Form Scheme"
    144162msgstr "طرح فرم"
    145163
    146 #: admin-settings.php:234
     164#: admin-settings.php:251
    147165msgid "Disable readonly fields for pre-defined values?"
    148166msgstr "فیلدهای فقط خواندنی برای مقادیر از پیش تعریف شده غیرفعال شود؟"
    149167
    150 #: admin-settings.php:237
     168#: admin-settings.php:254
    151169msgid "If enabled, predefined values in forms will not be read-only."
    152170msgstr ""
     
    154172"بود."
    155173
    156 #: admin-settings.php:240
     174#: admin-settings.php:257
    157175msgid "Enable anonymously pay tick?"
    158176msgstr "فعال سازی گزینه حمایت ناشناس؟"
    159177
    160 #: admin-settings.php:246
     178#: admin-settings.php:263
    161179msgid "anonymously pay text"
    162180msgstr "متن حمایت ناشناس"
    163181
    164 #: admin-settings.php:253
     182#: admin-settings.php:270
    165183msgid "PreDefined Prices"
    166184msgstr "مبالغ از پیش تعریف شده"
    167185
    168 #: admin-settings.php:261
     186#: admin-settings.php:278
    169187msgid "Submit button text"
    170188msgstr "متن دکمه پرداخت"
    171189
    172 #: admin-settings.php:268
     190#: admin-settings.php:285
    173191msgid "Success redirect page"
    174192msgstr "آدرس صفحه موفق"
    175193
    176 #: admin-settings.php:272
     194#: admin-settings.php:289
    177195msgid ""
    178196"If payment was successful user redirect to this url , to disable leave it "
     
    181199"اگر پرداخت موفق بود کاربر به این آدرس برود،جهت غیرفعال شدن خالی بگذارید"
    182200
    183 #: admin-settings.php:275
     201#: admin-settings.php:292
    184202msgid "Fail redirect page"
    185203msgstr "آدرس صفحه ناموفق"
    186204
    187 #: admin-settings.php:279
     205#: admin-settings.php:296
    188206msgid ""
    189207"If payment was not successful user redirect to this url , to disable leave "
     
    192210"اگر پرداخت ناموفق بود کاربر به این آدرس برود،جهت غیرفعال شدن خالی بگذارید"
    193211
    194 #: admin-settings.php:282
     212#: admin-settings.php:299
    195213msgid "Coutdown value"
    196214msgstr "مقدار شمارش معکوس"
    197215
    198 #: admin-settings.php:290 class-fields-generator.php:364 gateways.php:163
     216#: admin-settings.php:307 class-fields-generator.php:387 gateways.php:163
    199217msgid "Save"
    200218msgstr "ذخیره"
    201219
    202 #: admin-table-header.php:66 extra.php:449 extra.php:618 gateways.php:72
     220#: admin-table-header.php:80 extra.php:451 extra.php:621 gateways.php:72
    203221msgid "Toman"
    204222msgstr "تومان"
    205223
    206 #: admin-table-header.php:71
     224#: admin-table-header.php:86
    207225msgid "Total successful payments"
    208226msgstr "مجموع پرداختی های موفق"
    209227
    210 #: class-fields-generator.php:22
     228#: class-fields-generator.php:26
    211229msgid "Text"
    212230msgstr "متن تک خطی"
    213231
    214 #: class-fields-generator.php:26
     232#: class-fields-generator.php:30
    215233msgid "Multi Line Text"
    216234msgstr "متن چند خطی"
    217235
    218 #: class-fields-generator.php:30 class-fields-generator.php:573
     236#: class-fields-generator.php:34 class-fields-generator.php:599
    219237msgid "Checkbox"
    220238msgstr "گزینه انتخابی"
    221239
    222 #: class-fields-generator.php:34 class-fields-generator.php:560
     240#: class-fields-generator.php:38 class-fields-generator.php:586
    223241msgid "Paragraph"
    224242msgstr "پاراگراف"
    225243
    226 #: class-fields-generator.php:42
     244#: class-fields-generator.php:46
    227245msgid "ComboBox"
    228246msgstr "لیست باز شو"
    229247
    230 #: class-fields-generator.php:216
     248#: class-fields-generator.php:235
    231249msgid "+Add Field"
    232250msgstr "+افزودن فیلد"
    233251
    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
    241254msgid "Field name"
    242255msgstr "نام فیلد"
    243256
    244 #: class-fields-generator.php:258
     257#: class-fields-generator.php:281
    245258msgid "Minimum price"
    246259msgstr "حداقل مبلغ برای پرداخت"
    247260
    248 #: class-fields-generator.php:263
     261#: class-fields-generator.php:286
    249262msgid "Default price"
    250263msgstr "مبلغ پیشفرض"
    251264
    252 #: class-fields-generator.php:269 class-fields-generator.php:293
    253 #: class-fields-generator.php:329 class-fields-generator.php:515
    254 #: class-fields-generator.php:541
     265#: 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
    255268msgid "Placeholder"
    256269msgstr "عنوان نگه دارنده"
    257270
    258 #: class-fields-generator.php:299 class-fields-generator.php:335
     271#: class-fields-generator.php:322 class-fields-generator.php:358
    259272msgid "Disable this field ?"
    260273msgstr "غیرفعال کردن این فیلد؟"
    261274
    262 #: class-fields-generator.php:305 class-fields-generator.php:341
    263 #: class-fields-generator.php:492
     275#: class-fields-generator.php:328 class-fields-generator.php:364
     276#: class-fields-generator.php:519
    264277msgid "Required?"
    265278msgstr "(الزامی)"
    266279
    267 #: class-fields-generator.php:367
     280#: class-fields-generator.php:390
    268281msgid "Reset"
    269282msgstr "بازگردانی همه فیلدها"
    270283
    271 #: class-fields-generator.php:400 class-fields-generator.php:414
     284#: class-fields-generator.php:427 class-fields-generator.php:441
    272285msgid "Are You Sure?"
    273286msgstr "برای حذف مطمئن هستید؟"
    274287
    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
     289msgid "To enable read-only mode, you must enter a default value for the field."
     290msgstr ""
     291"برای فعال کردن حالت فقط خواندنی، باید یک مقدار پیش‌فرض برای فیلد وارد کنید."
     292
     293#: class-fields-generator.php:497
    280294msgid "Untitled"
    281295msgstr "بدون عنوان"
    282296
    283 #: class-fields-generator.php:474
     297#: class-fields-generator.php:501
    284298msgid "Field Type"
    285299msgstr "انتخاب نوع فیلد"
    286300
    287 #: class-fields-generator.php:476
     301#: class-fields-generator.php:503
    288302msgid "Select Field Type"
    289303msgstr "انتخاب نوع فیلد"
    290304
    291 #: class-fields-generator.php:496
     305#: class-fields-generator.php:523
    292306msgid "Description"
    293307msgstr "توضیحات"
    294308
    295 #: class-fields-generator.php:506 class-fields-generator.php:533
     309#: class-fields-generator.php:531
     310msgid "ReadOnly"
     311msgstr "فقط خواندنی"
     312
     313#: class-fields-generator.php:543 class-fields-generator.php:564
    296314msgid "Textbox"
    297315msgstr "متن تک خطی"
    298316
    299 #: class-fields-generator.php:508 class-fields-generator.php:535
     317#: class-fields-generator.php:545 class-fields-generator.php:566
    300318msgid "Default Value"
    301319msgstr "مقدار پیش فرض"
    302320
    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
    308322msgid "Content"
    309323msgstr "محتوا"
    310324
    311 #: class-fields-generator.php:582
     325#: class-fields-generator.php:608
    312326msgid "Combobox"
    313327msgstr "لیست باز شو"
     
    317331msgstr "جزییات پرداخت"
    318332
    319 #: class-meta-box.php:133 cupri.php:197 extra.php:288 extra.php:378
     333#: class-meta-box.php:133 cupri.php:214 extra.php:290 extra.php:380
    320334msgid "Price"
    321335msgstr "مبلغ"
    322336
    323 #: class-meta-box.php:137 extra.php:292
     337#: class-meta-box.php:137 extra.php:294
    324338msgid "Payment Status"
    325339msgstr "وضعیت پرداخت"
    326340
    327 #: class-meta-box.php:141 extra.php:38 extra.php:296
     341#: class-meta-box.php:141 extra.php:38 extra.php:298
    328342msgid "Result Code"
    329343msgstr "شماره رسید"
    330344
    331 #: class-meta-box.php:162 cupri.php:190
     345#: class-meta-box.php:162 cupri.php:207
    332346msgid "Gateway"
    333347msgstr "درگاه ها"
    334348
    335 #: class-meta-box.php:163 cupri.php:198 extra.php:596
     349#: class-meta-box.php:163 cupri.php:215 extra.php:598
    336350msgid "Currency"
    337351msgstr "واحد مالی"
     
    341355msgstr "نحوه نمایش در قالب ایمیل"
    342356
    343 #: class-meta-box.php:209
     357#: class-meta-box.php:210
    344358msgid "SMS Template Preview"
    345359msgstr "نحوه نمایش در قالب پیامک"
     
    357371msgstr "شناسه"
    358372
    359 #: class-payments-list-table.php:35 cupri.php:199
     373#: class-payments-list-table.php:35 cupri.php:216
    360374msgid "status"
    361375msgstr "وضعیت‌"
     
    377391msgstr "موردی یافت نشد"
    378392
    379 #: cupri.php:28
     393#: cupri.php:40
    380394msgid "cupri"
    381395msgstr "کوپری"
    382396
    383 #: cupri.php:29
     397#: cupri.php:41
    384398msgid "Custom price payment"
    385399msgstr "پرداخت دلخواه"
    386400
    387 #: cupri.php:30 extra.php:360
     401#: cupri.php:42 extra.php:362
    388402msgid "pardakht delkhah"
    389403msgstr "پرداخت دلخواه"
    390404
    391 #: cupri.php:102 cupri.php:103
     405#: cupri.php:119 cupri.php:120
    392406msgid "payment"
    393407msgstr "پرداخت دلخواه"
    394408
    395 #: cupri.php:110
     409#: cupri.php:127
    396410msgid "No payments found"
    397411msgstr "پیدا نشد."
    398412
    399 #: cupri.php:111
     413#: cupri.php:128
    400414msgid "No payments found in Trash"
    401415msgstr "موردی پیدا نشد."
    402416
    403 #: cupri.php:113
     417#: cupri.php:130
    404418msgid "Custom payment"
    405419msgstr "پرداخت دلخواه"
    406420
    407 #: cupri.php:191 extra.php:35
     421#: cupri.php:208 extra.php:35
    408422msgid "Date"
    409423msgstr "تاریخ"
    410424
    411 #: cupri.php:200
     425#: cupri.php:217
    412426msgid "res_code"
    413427msgstr "شماره رسید"
    414428
    415 #: cupri.php:255
     429#: cupri.php:274
    416430msgid "No payments found in this range"
    417431msgstr "پرداختی در بازه انتخاب شده یافت نشد"
    418432
    419 #: cupri.php:279
     433#: cupri.php:298
    420434msgid "Custom payments manager"
    421435msgstr "مدیریت پرداخت دلخواه"
    422436
    423 #: cupri.php:320
     437#: cupri.php:339
    424438msgid "Custom Fields"
    425439msgstr "فیلدهای دلخواه"
    426440
    427 #: cupri.php:321 gateways.php:74
     441#: cupri.php:340 gateways.php:74
    428442msgid "Gateway Settings"
    429443msgstr "تنظیمات درگاه ها"
    430444
    431 #: cupri.php:322 cupri.php:381 shortcode.php:10
     445#: cupri.php:341 cupri.php:400 shortcode.php:10
    432446msgid "Settings"
    433447msgstr "تنظیمات"
    434448
    435 #: cupri.php:325
     449#: cupri.php:344
    436450msgid "Help"
    437451msgstr "راهنما"
    438452
    439 #: cupri.php:379 shortcode.php:8
     453#: cupri.php:398 shortcode.php:8
    440454msgid "Please set the default gateway from admin"
    441455msgstr "لطفا درگاه پیشفرض را از مدیریت انتخاب کنید"
    442456
    443 #: cupri.php:383 shortcode.php:12
     457#: cupri.php:402 shortcode.php:12
    444458msgid "No defualt gateway was set"
    445459msgstr "هیچ درگاه پیشفرضی تنظیم نشده است"
    446460
    447 #: cupri.php:410
     461#: cupri.php:429
    448462msgid "Please Fill This Field:"
    449463msgstr "لطفا این فیلد را تکمیل نمایید:"
    450464
    451 #: cupri.php:419
     465#: cupri.php:438
    452466msgid "Plrease Check This Field Value:"
    453467msgstr "لطفا این فیلد را بررسی نمایید:"
    454468
    455 #: cupri.php:429
     469#: cupri.php:448
    456470msgid "Please Enter Price"
    457471msgstr "لطفا مبلغ را وارد نمایید"
    458472
    459 #: cupri.php:434
     473#: cupri.php:453
    460474msgid "Minimum price is : "
    461475msgstr "حداقل مبلغ برای پرداخت :"
    462476
    463 #: cupri.php:448
     477#: cupri.php:456
     478msgid "Price value is not correct "
     479msgstr "مقدار قیمت صحیح نیست"
     480
     481#: cupri.php:467
    464482msgid "Entered mobile is not correct "
    465483msgstr "موبایل وارد شده صحیح نیست."
    466484
    467 #: cupri.php:462
     485#: cupri.php:482
    468486msgid "Entered email is not correct "
    469487msgstr "آدرس ایمیل که نوشته اید معتبر نمی باشد"
    470488
    471 #: cupri.php:491
     489#: cupri.php:511
    472490msgid "Error in payment creation"
    473491msgstr "خطا در ایجاد پرداخت"
     
    477495msgstr "وضعیت‌"
    478496
    479 #: extra.php:129
     497#: extra.php:131
    480498msgid "Payment"
    481499msgstr "پرداخت"
    482500
    483 #: extra.php:256
     501#: extra.php:258
    484502msgid "Home"
    485503msgstr "خانه"
    486504
    487 #: extra.php:360
     505#: extra.php:362
    488506#, php-format
    489507msgid "%s is not active on your host, some gateways may not work properly."
    490508msgstr "%s در هاست شما فعال نیست ، ممکن است برخی درگاه ها به درستی کار نکنند"
    491509
    492 #: extra.php:381
     510#: extra.php:383
    493511msgid "Please enter a price"
    494512msgstr "لطفا مبلغی را وارد نمایید"
    495513
    496 #: extra.php:387
     514#: extra.php:389
    497515msgid "Name"
    498516msgstr "نام شما"
    499517
    500 #: extra.php:390
     518#: extra.php:392
    501519msgid "Please enter your name"
    502520msgstr "نام خود را وارد نمایید"
    503521
    504 #: extra.php:397
     522#: extra.php:399
    505523msgid "Mobile"
    506524msgstr "موبایل"
    507525
    508 #: extra.php:400
     526#: extra.php:402
    509527msgid "Please enter your mobile"
    510528msgstr "موبایل خود را وارد نمایید"
    511529
    512 #: extra.php:406
     530#: extra.php:408
    513531msgid "Email"
    514532msgstr "آدرس ایمیل"
    515533
    516 #: extra.php:408
     534#: extra.php:410
    517535msgid "Please enter your email"
    518536msgstr "ایمیل خود را وارد کنید"
    519537
    520 #: extra.php:450 gateways.php:72
     538#: extra.php:452 gateways.php:72
    521539msgid "Rial"
    522540msgstr "ریال"
    523541
    524 #: extra.php:522
     542#: extra.php:524
    525543msgid "Details"
    526544msgstr "جزییات"
    527545
    528 #: extra.php:523
     546#: extra.php:525
    529547msgid "Delete"
    530548msgstr "حذف"
    531549
    532 #: extra.php:537 extra.php:556 extra.php:561
     550#: extra.php:539 extra.php:557 extra.php:562
    533551msgid "You dont have access to do this action"
    534552msgstr "شما به انجام این عمل دسترسی ندارید"
    535553
    536 #: extra.php:566 extra.php:572
     554#: extra.php:567 extra.php:573
    537555msgid "Mobile is empty"
    538556msgstr "موبایل خالی است"
    539557
    540 #: extra.php:577
     558#: extra.php:578
    541559msgid "wp-sms plugin not detected"
    542560msgstr "افزونه wp-sms شناسایی نشد"
    543561
    544 #: extra.php:582
     562#: extra.php:583
    545563msgid "Test sms from pardakht-delkhah plugin"
    546564msgstr "تست اس ام اس از افزونه پرداخت دلخواه"
    547565
    548 #: extra.php:594
     566#: extra.php:595
    549567msgid "Site name"
    550568msgstr "نام سایت"
    551569
    552 #: extra.php:595
     570#: extra.php:596
    553571msgid "Payment date"
    554572msgstr "تاریخ پرداخت"
    555573
    556 #: extra.php:691
     574#: extra.php:597
     575msgid "Payment hour"
     576msgstr "ساعت پرداخت"
     577
     578#: extra.php:696
    557579msgid ""
    558580"New payment at {sitename} :\n"
     
    572594"{paydate}"
    573595
    574 #: extra.php:699
     596#: extra.php:704
    575597msgid ""
    576598"<strong>New payment at {sitename}:</strong>\n"
     
    586608"<h5>تاریخ={paydate}</h5>"
    587609
    588 #: extra.php:707
     610#: extra.php:712
    589611msgid ""
    590612"<strong>Your payment at {sitename}:</strong>\n"
     
    600622"<h5>تاریخ={paydate}</h5>"
    601623
    602 #: extra.php:713
     624#: extra.php:718
    603625msgid ""
    604626"Your payment at {sitename} :\n"
     
    630652msgstr "درگاه های پرداخت"
    631653
    632 #: gateways/class-cupri-abstract-gateway.php:76
     654#: gateways/class-cupri-abstract-gateway.php:85
    633655msgid "This order is completed already"
    634656msgstr "این پرداخت قبلا تکمیل شده است."
    635657
    636 #: gateways/class-cupri-abstract-gateway.php:242
    637 #: gateways/class-cupri-abstract-gateway.php:243
    638 #: gateways/class-cupri-abstract-gateway.php:260
    639 #: gateways/class-cupri-abstract-gateway.php:261
     658#: 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
    640662msgid "New payment "
    641663msgstr "پرداخت جدید"
     
    696718msgid "select one"
    697719msgstr "- انتخاب -"
     720
     721#~ msgid "Field dose not have any default value"
     722#~ msgstr "فیلد مقدار پیش فرضی ندارد"
    698723
    699724#~ msgid "Total Payed"
Note: See TracChangeset for help on using the changeset viewer.