گرویتی فرم فارسی - Version 1.6.0

Version Description

  • Add and fix some feature...
Download this release

Release Info

Developer hannanstd
Plugin Icon 128x128 گرویتی فرم فارسی
Version 1.6.0
Comparing to
See all releases

Code changes from version 1.5.0 to 1.6.0

Persian_Gravityforms_By_HANNANStd.php CHANGED
@@ -2,19 +2,29 @@
2
  /*
3
  Plugin Name: Persian Gravity Forms
4
  Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
5
- Description: Gravity Forms for Iranian
6
- Version: 1.5.0
7
- Requires at least: 3.5
8
  Author: HANNAN Ebrahimi Setoode
9
  Author URI: http://www.gravityforms.ir/
10
  Text Domain: Persian_Gravityforms_By_HANNANStd
11
  Domain Path: /languages/
12
  License: GPL 2
13
  */
14
- require_once("include/wp-session.php");
15
  require_once("include/Live_Preview.php");
16
  if(class_exists("GIRLivePreview"))
17
- new GIRLivePreview();
 
 
 
 
 
 
 
 
 
 
 
18
  class GravityFormsPersian {
19
  private $file;
20
  private $language;
@@ -53,7 +63,9 @@ class GravityFormsPersian {
53
  add_filter('gform_field_validation', array( $this, 'Input_Valid_Checker_By_HANNANStd'), 10, 4);
54
  add_filter('gform_noconflict_styles', array( $this, 'Register_Style_to_No_Conflict_By_HANNANStd'));
55
  add_filter('gform_noconflict_scripts', array( $this, 'Register_Script_to_No_Conflict_By_HANNANStd'));
 
56
  }
 
57
  public function Activated_Plugin_By_HANNANStd() {
58
  $path = str_replace( WP_PLUGIN_DIR . '/', '', $this->file );
59
  if ( $plugins = get_option( 'active_plugins' ) ) {
@@ -611,7 +623,7 @@ class GravityFormsPersian {
611
  $_SERVER['REQUEST_URI'] == '/wp-admin/' || $_SERVER['REQUEST_URI'] == '/wp-admin' ||
612
  $_SERVER['REQUEST_URI'] == '/wp-admin/index.php' || $_SERVER['REQUEST_URI'] == '/wp-admin/index.php/'))
613
  {
614
- wp_enqueue_style('Persian_GravityForms', plugins_url ( '/assets/css/persiangravity.css', __FILE__, null, GFCommon::$version ) );
615
  wp_print_styles('gform_tooltip','Persian_GravityForms' );
616
  wp_dequeue_script('jquery-ui-datepicker');
617
  wp_dequeue_script(array("jquery-ui-datepicker"));
@@ -619,6 +631,12 @@ class GravityFormsPersian {
619
  wp_deregister_script(array("jquery-ui-datepicker"));
620
  wp_deregister_script('gform_datepicker_init');
621
  wp_enqueue_script('gform_datepicker_init', plugins_url ( '/assets/js/wp-admin-datepicker.js', __FILE__), array( 'jquery', 'jquery-ui-core' ), true );
 
 
 
 
 
 
622
  }
623
  }
624
  public function Register_Script_to_No_Conflict_By_HANNANStd($scripts){
@@ -772,7 +790,7 @@ class GravityFormsPersian {
772
  return plugins_url( '', __FILE__ );
773
  }
774
  public function version(){
775
- return '1.5.0';
776
  }
777
  public function Add_HANNANStd_Field_By_HANNANStd( $field_groups ) {
778
  foreach( $field_groups as &$group ){
@@ -1258,6 +1276,11 @@ class GravityFormsPersian {
1258
  //else return result
1259
  return $result;
1260
  }
 
 
 
 
 
1261
  }
1262
  global $Persian_Gravityforms_By_HANNANStd_plugin;
1263
  $Persian_Gravityforms_By_HANNANStd_plugin = new GravityFormsPersian( __FILE__ );
2
  /*
3
  Plugin Name: Persian Gravity Forms
4
  Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
5
+ Description: Gravity Forms for Iranian
6
+ Version: 1.6.0
7
+ Requires at least: 3.8
8
  Author: HANNAN Ebrahimi Setoode
9
  Author URI: http://www.gravityforms.ir/
10
  Text Domain: Persian_Gravityforms_By_HANNANStd
11
  Domain Path: /languages/
12
  License: GPL 2
13
  */
 
14
  require_once("include/Live_Preview.php");
15
  if(class_exists("GIRLivePreview"))
16
+ new GIRLivePreview( array( 'title' => true, 'description' => true,'ajax' => true) );
17
+
18
+ require_once("include/Snippets.php");
19
+ if(class_exists("GF_IR_PostPermalink"))
20
+ new GF_IR_PostPermalink();
21
+
22
+ require_once("include/Pre_Submission.php");
23
+ if(class_exists("GFIR_PreSubmission"))
24
+ GFIR_PreSubmission::init();
25
+
26
+ require_once("include/MultipageNavigation.php");
27
+ require_once("include/wp-session.php");
28
  class GravityFormsPersian {
29
  private $file;
30
  private $language;
63
  add_filter('gform_field_validation', array( $this, 'Input_Valid_Checker_By_HANNANStd'), 10, 4);
64
  add_filter('gform_noconflict_styles', array( $this, 'Register_Style_to_No_Conflict_By_HANNANStd'));
65
  add_filter('gform_noconflict_scripts', array( $this, 'Register_Script_to_No_Conflict_By_HANNANStd'));
66
+ add_filter( 'gform_notification_events', array( $this, 'Add_Manual_Notification_Event') );
67
  }
68
+
69
  public function Activated_Plugin_By_HANNANStd() {
70
  $path = str_replace( WP_PLUGIN_DIR . '/', '', $this->file );
71
  if ( $plugins = get_option( 'active_plugins' ) ) {
623
  $_SERVER['REQUEST_URI'] == '/wp-admin/' || $_SERVER['REQUEST_URI'] == '/wp-admin' ||
624
  $_SERVER['REQUEST_URI'] == '/wp-admin/index.php' || $_SERVER['REQUEST_URI'] == '/wp-admin/index.php/'))
625
  {
626
+ wp_enqueue_style('Persian_GravityForms', plugins_url ( '/assets/css/admin-style.css', __FILE__, null, GFCommon::$version ) );
627
  wp_print_styles('gform_tooltip','Persian_GravityForms' );
628
  wp_dequeue_script('jquery-ui-datepicker');
629
  wp_dequeue_script(array("jquery-ui-datepicker"));
631
  wp_deregister_script(array("jquery-ui-datepicker"));
632
  wp_deregister_script('gform_datepicker_init');
633
  wp_enqueue_script('gform_datepicker_init', plugins_url ( '/assets/js/wp-admin-datepicker.js', __FILE__), array( 'jquery', 'jquery-ui-core' ), true );
634
+ echo '<style type="text/css">
635
+ .mt-gform_notification_message,
636
+ .mt-form_confirmation_message {
637
+ margin-right: -30px !important;
638
+ }
639
+ </style>';
640
  }
641
  }
642
  public function Register_Script_to_No_Conflict_By_HANNANStd($scripts){
790
  return plugins_url( '', __FILE__ );
791
  }
792
  public function version(){
793
+ return '1.6.0';
794
  }
795
  public function Add_HANNANStd_Field_By_HANNANStd( $field_groups ) {
796
  foreach( $field_groups as &$group ){
1276
  //else return result
1277
  return $result;
1278
  }
1279
+
1280
+ public function Add_Manual_Notification_Event( $events ) {
1281
+ $events['manual'] = __( 'ارسال دستی' );
1282
+ return $events;
1283
+ }
1284
  }
1285
  global $Persian_Gravityforms_By_HANNANStd_plugin;
1286
  $Persian_Gravityforms_By_HANNANStd_plugin = new GravityFormsPersian( __FILE__ );
assets/css/{persiangravity.css → admin-style.css} RENAMED
@@ -1,77 +1,80 @@
1
- @font-face {
2
- font-family: 'BYekan';
3
- src: url('../fonts/BYekan.eot');
4
- src: url('../fonts/BYekan.woff') format('woff'), url('../fonts/BYekan.ttf') format('truetype');
5
- font-weight: normal;
6
- font-style: normal;
7
- }
8
- *,body,html {
9
- font-family:tahoma;
10
- }
11
- input,li,ul,select,textarea,#gf_merge_tag_list a{
12
- font-family:tahoma !important;
13
- }
14
- #toplevel_page_gf_edit_forms a,#toplevel_page_gf_edit_forms .wp-menu-name,.newform_notice,.gatewayset p,.gatewayset td,h1,h2,h3,h4,h5,h6,h2 span,h3 span,label,#no-fields span,.group-header,#gf_form_toolbar a,.gform_tabs a,td a,td a strong,td strong a,th,.add-new-h2,.button,.stat b,.gresults-chart-wrapper *,div.gresults-results-filter-section-label,div.gresults-results-field-label,#gresults-results td,#gresults-results th,#gresults-results tr,h2 a{
15
- font-family:BYekan !important;
16
- font-weight:normal !important;
17
- }
18
- .field_type li input,.add-buttons-title{
19
- font-size:12px !important;
20
- font-family:BYekan !important;
21
- }
22
- h4,h5,h6 {
23
- font-size:16px !important;
24
- }
25
- .group-header {
26
- font-size:16px !important;
27
- font-weight:normal !important;
28
- }
29
- .row-title,#toplevel_page_gf_edit_forms .wp-menu-name,.newform_notice{
30
- font-size:16px !important;
31
- }
32
- a.gf_toolbar_active ,.gform_tabs a,label{
33
- font-size:13px !important;
34
- }
35
- div.gf_entry_detail_pagination {
36
- top:-10px !important;
37
- }
38
- #TB_ajaxContent,#TB_title {
39
- text-align:right !important;
40
- }
41
- #gresults-results{
42
- margin-right:0px !important;
43
- margin-left:300px !important;
44
- }
45
- div#gf_nofield_1_instructions, div#gf_nofield_2_instructions, div#gf_nofield_3_instructions, div#gf_nofield_4_instructions, div#gf_nofield_5_instructions {
46
- background-image: url("../images/Gravity_Forms_fa.png") !important;
47
- }
48
- .gf_nofield_3_instructions_copy_bottom {
49
- margin-left:-163px !important;
50
- }
51
- .gf_nofield_4_instructions_copy_bottom {
52
- margin-top:13px !important;
53
- margin-left:-220px !important;
54
- }
55
- #gf_user_form .left_header ,.metaname , .metavalue{
56
- float:right !important;
57
- }
58
- .gf_dashboard_form_title_header{
59
- text-align:right !important;
60
- }
61
- .gf_dashboard_view td i{
62
- font-style:normal !important;
63
- font-family:byekan !important;
64
- }
65
- .gfur-form-select {
66
- margin-right:415px !important;
67
- }
68
- optgroup {
69
- font-style:normal !important;
70
- }
71
- .choice_with_value_and_price label {
72
- margin: 0 60px 0 0 !important;
73
- padding-left: 26px !important;
74
- }
75
- .choice_with_price .gfield_choice_header_label ,.choice_with_value .gfield_choice_header_label {
76
- margin: 0 69px 0 99px !important;
 
 
 
77
  }
1
+ @font-face {
2
+ font-family: 'BYekan';
3
+ src: url('../fonts/BYekan.eot');
4
+ src: url('../fonts/BYekan.woff') format('woff'), url('../fonts/BYekan.ttf') format('truetype');
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+ *,body,html {
9
+ font-family:tahoma;
10
+ }
11
+ input,li,ul,select,textarea,#gf_merge_tag_list a{
12
+ font-family:tahoma !important;
13
+ }
14
+ #toplevel_page_gf_edit_forms a,#toplevel_page_gf_edit_forms .wp-menu-name,.newform_notice,.gatewayset p,.gatewayset td,h1,h2,h3,h4,h5,h6,h2 span,h3 span,label,#no-fields span,.group-header,#gf_form_toolbar a,.gform_tabs a,td a,td a strong,td strong a,th,.add-new-h2,.button,.stat b,.gresults-chart-wrapper *,div.gresults-results-filter-section-label,div.gresults-results-field-label,#gresults-results td,#gresults-results th,#gresults-results tr,h2 a{
15
+ font-family:BYekan !important;
16
+ font-weight:normal !important;
17
+ }
18
+ .field_hover div.gf-pagebreak-container div.gf-pagebreak-text-main span, .field_selected div.gf-pagebreak-container div.gf-pagebreak-text-main span ,.gf-pagebreak-text-after, .gf-pagebreak-text-before,div.gf-pagebreak-text-main span{
19
+ font-family:BYekan !important;
20
+ }
21
+ .field_type li input,.add-buttons-title{
22
+ font-size:12px !important;
23
+ font-family:BYekan !important;
24
+ }
25
+ h4,h5,h6 {
26
+ font-size:16px !important;
27
+ }
28
+ .group-header {
29
+ font-size:16px !important;
30
+ font-weight:normal !important;
31
+ }
32
+ .row-title,#toplevel_page_gf_edit_forms .wp-menu-name,.newform_notice{
33
+ font-size:16px !important;
34
+ }
35
+ a.gf_toolbar_active ,.gform_tabs a,label{
36
+ font-size:13px !important;
37
+ }
38
+ div.gf_entry_detail_pagination {
39
+ top:-10px !important;
40
+ }
41
+ #TB_ajaxContent,#TB_title {
42
+ text-align:right !important;
43
+ }
44
+ #gresults-results{
45
+ margin-right:0px !important;
46
+ margin-left:300px !important;
47
+ }
48
+ div#gf_nofield_1_instructions, div#gf_nofield_2_instructions, div#gf_nofield_3_instructions, div#gf_nofield_4_instructions, div#gf_nofield_5_instructions {
49
+ background-image: url("../images/Gravity_Forms_fa.png") !important;
50
+ }
51
+ .gf_nofield_3_instructions_copy_bottom {
52
+ margin-left:-163px !important;
53
+ }
54
+ .gf_nofield_4_instructions_copy_bottom {
55
+ margin-top:13px !important;
56
+ margin-left:-220px !important;
57
+ }
58
+ #gf_user_form .left_header ,.metaname , .metavalue{
59
+ float:right !important;
60
+ }
61
+ .gf_dashboard_form_title_header{
62
+ text-align:right !important;
63
+ }
64
+ .gf_dashboard_view td i{
65
+ font-style:normal !important;
66
+ font-family:byekan !important;
67
+ }
68
+ .gfur-form-select {
69
+ margin-right:415px !important;
70
+ }
71
+ optgroup {
72
+ font-style:normal !important;
73
+ }
74
+ .choice_with_value_and_price label {
75
+ margin: 0 60px 0 0 !important;
76
+ padding-left: 26px !important;
77
+ }
78
+ .choice_with_price .gfield_choice_header_label ,.choice_with_value .gfield_choice_header_label {
79
+ margin: 0 69px 0 99px !important;
80
  }
include/MultipageNavigation.php ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class GFIR_MultipageNavigation {
3
+
4
+ public $_args = array();
5
+
6
+ private static $script_displayed;
7
+ private static $non_global_forms = array();
8
+
9
+ function __construct( $args = array() ) {
10
+
11
+ // set our default arguments, parse against the provided arguments, and store for use throughout the class
12
+ $this->_args = wp_parse_args( $args, array(
13
+ 'form_id' => false,
14
+ 'form_ids' => false,
15
+ 'activate_on_last_page' => true
16
+ ) );
17
+
18
+ if( $this->_args['form_ids'] ) {
19
+ $form_ids = $this->_args['form_ids'];
20
+ } else if( $this->_args['form_id'] ) {
21
+ $form_ids = $this->_args['form_id'];
22
+ } else {
23
+ $form_ids = array();
24
+ }
25
+
26
+ $this->_args['form_ids'] = is_array( $form_ids ) ? $form_ids : array( $form_ids );
27
+
28
+ if( ! empty( $this->_args['form_ids'] ) )
29
+ self::$non_global_forms = array_merge( self::$non_global_forms, $this->_args['form_ids'] );
30
+
31
+ add_filter( 'gform_pre_render', array( $this, 'output_navigation_script' ), 10, 2 );
32
+
33
+ }
34
+
35
+ function output_navigation_script( $form, $is_ajax ) {
36
+
37
+ // only apply this to multi-page forms
38
+ if( count($form['pagination']['pages']) <= 1 )
39
+ return $form;
40
+
41
+ if( ! $this->is_applicable_form( $form['id'] ) )
42
+ return $form;
43
+
44
+ $this->register_script( $form );
45
+
46
+ if( ! $this->_args['activate_on_last_page'] || $this->is_last_page( $form ) || $this->is_last_page_reached() ) {
47
+ $input = '<input id="gfir_last_page_reached" name="gfir_last_page_reached" value="1" type="hidden" />';
48
+ add_filter( "gform_form_tag_{$form['id']}", create_function('$a', 'return $a . \'' . $input . '\';' ) );
49
+ }
50
+
51
+ // only output the gfirmpn object once regardless of how many forms are being displayed
52
+ // also do not output again on ajax submissions
53
+ if( self::$script_displayed || ( $is_ajax && rgpost('gform_submit') ))
54
+ return $form;
55
+
56
+ ?>
57
+
58
+ <script type="text/javascript">
59
+
60
+ (function($){
61
+
62
+ window.gfirmpnObj = function( args ) {
63
+
64
+ this.formId = args.formId;
65
+ this.formElem = jQuery('form#gform_' + this.formId);
66
+ this.currentPage = args.currentPage;
67
+ this.lastPage = args.lastPage;
68
+ this.activateOnLastPage = args.activateOnLastPage;
69
+ this.labels = args.labels;
70
+
71
+ this.init = function() {
72
+
73
+ // if this form is ajax-enabled, we'll need to get the current page via JS
74
+ if( this.isAjax() )
75
+ this.currentPage = this.getCurrentPage();
76
+
77
+ if( !this.isLastPage() && !this.isLastPageReached() )
78
+ return;
79
+
80
+ var gfirmpn = this;
81
+ var steps = $('form#gform_' + this.formId + ' .gf_step');
82
+
83
+ steps.each(function(){
84
+
85
+ var stepNumber = parseInt( $(this).find('span.gf_step_number').text() );
86
+
87
+ if( stepNumber != gfirmpn.currentPage ) {
88
+ $(this).html( gfirmpn.createPageLink( stepNumber, $(this).html() ) )
89
+ .addClass('gfir-step-linked');
90
+ } else {
91
+ $(this).addClass('gfir-step-current');
92
+ }
93
+
94
+ });
95
+
96
+ if( !this.isLastPage() && this.activateOnLastPage )
97
+ this.addBackToLastPageButton();
98
+
99
+ $(document).on('click', '#gform_' + this.formId + ' a.gfirmpn-page-link', function(event){
100
+ event.preventDefault();
101
+
102
+ var hrefArray = $(this).attr('href').split('#');
103
+ if( hrefArray.length >= 2 ) {
104
+ var pageNumber = hrefArray.pop();
105
+ gfirmpn.postToPage( pageNumber, ! $( this ).hasClass( 'gfirmp-default' ) );
106
+ }
107
+
108
+ });
109
+
110
+ }
111
+
112
+ this.createPageLink = function( stepNumber, HTML ) {
113
+ return '<a href="#' + stepNumber + '" class="gfirmpn-page-link gfirmpn-default">' + HTML + '</a>';
114
+ }
115
+
116
+ this.postToPage = function( page ) {
117
+ this.formElem.append('<input type="hidden" name="gfir_page_change" value="1" />');
118
+ this.formElem.find( 'input[name="gform_target_page_number_' + this.formId + '"]' ).val( page );
119
+ this.formElem.submit();
120
+ }
121
+
122
+ this.addBackToLastPageButton = function() {
123
+ this.formElem.find('#gform_page_' + this.formId + '_' + this.currentPage + ' .gform_page_footer')
124
+ .append('<input type="button" onclick="gfirmpn.postToPage(' + this.lastPage + ')" value="' + this.labels.lastPageButton + '" class="button gform_last_page_button">');
125
+ }
126
+
127
+ this.getCurrentPage = function() {
128
+ return this.formElem.find( 'input#gform_source_page_number_' + this.formId ).val();
129
+ }
130
+
131
+ this.isLastPage = function() {
132
+ return this.currentPage >= this.lastPage;
133
+ }
134
+
135
+ this.isLastPageReached = function() {
136
+ return this.formElem.find('input[name="gfir_last_page_reached"]').val() == true;
137
+ }
138
+
139
+ this.isAjax = function() {
140
+ return this.formElem.attr('target') == 'gform_ajax_frame_' + this.formId;
141
+ }
142
+
143
+ this.init();
144
+
145
+ }
146
+
147
+ })(jQuery);
148
+
149
+ </script>
150
+
151
+ <?php
152
+ self::$script_displayed = true;
153
+ return $form;
154
+ }
155
+
156
+ function register_script( $form ) {
157
+
158
+ $page_number = GFFormDisplay::get_current_page($form['id']);
159
+ $last_page = count($form['pagination']['pages']);
160
+
161
+ $args = array(
162
+ 'formId' => $form['id'],
163
+ 'currentPage' => $page_number,
164
+ 'lastPage' => $last_page,
165
+ 'activateOnLastPage' => $this->_args['activate_on_last_page'],
166
+ 'labels' => array(
167
+ 'lastPageButton' => __( 'Back to Last Page' )
168
+ )
169
+ );
170
+
171
+ $script = "window.gfirmpn = new gfirmpnObj(" . json_encode( $args ) . ");";
172
+ GFFormDisplay::add_init_script( $form['id'], 'gfirmpn', GFFormDisplay::ON_PAGE_RENDER, $script );
173
+
174
+ }
175
+
176
+ function is_last_page( $form ) {
177
+
178
+ $page_number = GFFormDisplay::get_current_page($form['id']);
179
+ $last_page = count($form['pagination']['pages']);
180
+
181
+ return $page_number >= $last_page;
182
+ }
183
+
184
+ function is_last_page_reached() {
185
+ return rgpost('gfir_last_page_reached');
186
+ }
187
+
188
+ function is_applicable_form( $form_id ) {
189
+
190
+ $is_global_form = ! in_array( $form_id, self::$non_global_forms );
191
+ $is_current_non_global_form = ! $is_global_form && in_array( $form_id, $this->_args['form_ids'] );
192
+
193
+ return $is_global_form || $is_current_non_global_form;
194
+ }
195
+
196
+ }
include/Pre_Submission.php ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Better Pre-submission Confirmation
4
+ * http://gravityforms.ir
5
+ */
6
+ class GFIR_PreSubmission {
7
+
8
+ private static $lead;
9
+
10
+ public static function init() {
11
+ add_filter( 'gform_pre_render', array( __class__, 'replace_merge_tags' ) );
12
+ }
13
+
14
+ public static function replace_merge_tags( $form ) {
15
+
16
+ $current_page = isset(GFFormDisplay::$submission[$form['id']]) ? GFFormDisplay::$submission[$form['id']]['page_number'] : 1;
17
+ $fields = array();
18
+
19
+ // get all HTML fields on the current page
20
+ foreach($form['fields'] as &$field) {
21
+
22
+ // skip all fields on the first page
23
+ if(rgar($field, 'pageNumber') <= 1)
24
+ continue;
25
+
26
+ $default_value = rgar($field, 'defaultValue');
27
+ preg_match_all('/{.+}/', $default_value, $matches, PREG_SET_ORDER);
28
+ if(!empty($matches)) {
29
+ // if default value needs to be replaced but is not on current page, wait until on the current page to replace it
30
+ if(rgar($field, 'pageNumber') != $current_page) {
31
+ $field['defaultValue'] = '';
32
+ } else {
33
+ $field['defaultValue'] = self::preview_replace_variables($default_value, $form);
34
+ }
35
+ }
36
+
37
+ // only run 'content' filter for fields on the current page
38
+ if(rgar($field, 'pageNumber') != $current_page)
39
+ continue;
40
+
41
+ $html_content = rgar($field, 'content');
42
+ preg_match_all('/{.+}/', $html_content, $matches, PREG_SET_ORDER);
43
+ if(!empty($matches)) {
44
+ $field['content'] = self::preview_replace_variables($html_content, $form);
45
+ }
46
+
47
+ }
48
+
49
+ return $form;
50
+ }
51
+
52
+ /**
53
+ * Adds special support for file upload, post image and multi input merge tags.
54
+ */
55
+ public static function preview_special_merge_tags($value, $input_id, $merge_tag, $field) {
56
+
57
+ // added to prevent overriding :noadmin filter (and other filters that remove fields)
58
+ if( ! $value )
59
+ return $value;
60
+
61
+ $input_type = RGFormsModel::get_input_type($field);
62
+
63
+ $is_upload_field = in_array( $input_type, array('post_image', 'fileupload') );
64
+ $is_multi_input = is_array( rgar($field, 'inputs') );
65
+ $is_input = intval( $input_id ) != $input_id;
66
+
67
+ if( !$is_upload_field && !$is_multi_input )
68
+ return $value;
69
+
70
+ // if is individual input of multi-input field, return just that input value
71
+ if( $is_input )
72
+ return $value;
73
+
74
+ $form = RGFormsModel::get_form_meta($field['formId']);
75
+ $lead = self::create_lead($form);
76
+ $currency = GFCommon::get_currency();
77
+
78
+ if(is_array(rgar($field, 'inputs'))) {
79
+ $value = RGFormsModel::get_lead_field_value($lead, $field);
80
+ return GFCommon::get_lead_field_display($field, $value, $currency);
81
+ }
82
+
83
+ switch($input_type) {
84
+ case 'fileupload':
85
+ $value = self::preview_image_value("input_{$field['id']}", $field, $form, $lead);
86
+ $value = self::preview_image_display($field, $form, $value);
87
+ break;
88
+ default:
89
+ $value = self::preview_image_value("input_{$field['id']}", $field, $form, $lead);
90
+ $value = GFCommon::get_lead_field_display($field, $value, $currency);
91
+ break;
92
+ }
93
+
94
+ return $value;
95
+ }
96
+
97
+ public static function preview_image_value($input_name, $field, $form, $lead) {
98
+
99
+ $field_id = $field['id'];
100
+ $file_info = RGFormsModel::get_temp_filename($form['id'], $input_name);
101
+ $source = RGFormsModel::get_upload_url($form['id']) . "/tmp/" . $file_info["temp_filename"];
102
+
103
+ if(!$file_info)
104
+ return '';
105
+
106
+ switch(RGFormsModel::get_input_type($field)){
107
+
108
+ case "post_image":
109
+ list(,$image_title, $image_caption, $image_description) = explode("|:|", $lead[$field['id']]);
110
+ $value = !empty($source) ? $source . "|:|" . $image_title . "|:|" . $image_caption . "|:|" . $image_description : "";
111
+ break;
112
+
113
+ case "fileupload" :
114
+ $value = $source;
115
+ break;
116
+
117
+ }
118
+
119
+ return $value;
120
+ }
121
+
122
+ public static function preview_image_display($field, $form, $value) {
123
+
124
+ // need to get the tmp $file_info to retrieve real uploaded filename, otherwise will display ugly tmp name
125
+ $input_name = "input_" . str_replace('.', '_', $field['id']);
126
+ $file_info = RGFormsModel::get_temp_filename($form['id'], $input_name);
127
+
128
+ $file_path = $value;
129
+ if(!empty($file_path)){
130
+ $file_path = esc_attr(str_replace(" ", "%20", $file_path));
131
+ $value = "<a href='$file_path' target='_blank' title='" . __("Click to view", "gravityforms") . "'>" . $file_info['uploaded_filename'] . "</a>";
132
+ }
133
+ return $value;
134
+
135
+ }
136
+
137
+ /**
138
+ * Retrieves $lead object from class if it has already been created; otherwise creates a new $lead object.
139
+ */
140
+ public static function create_lead( $form ) {
141
+
142
+ if( empty( self::$lead ) ) {
143
+ self::$lead = GFFormsModel::create_lead( $form );
144
+ self::clear_field_value_cache( $form );
145
+ }
146
+
147
+ return self::$lead;
148
+ }
149
+
150
+ public static function preview_replace_variables( $content, $form ) {
151
+
152
+ $lead = self::create_lead($form);
153
+
154
+ // add filter that will handle getting temporary URLs for file uploads and post image fields (removed below)
155
+ // beware, the RGFormsModel::create_lead() function also triggers the gform_merge_tag_filter at some point and will
156
+ // result in an infinite loop if not called first above
157
+ add_filter('gform_merge_tag_filter', array('GFIR_PreSubmission', 'preview_special_merge_tags'), 10, 4);
158
+
159
+ $content = GFCommon::replace_variables($content, $form, $lead, false, false, false);
160
+
161
+ // remove filter so this function is not applied after preview functionality is complete
162
+ remove_filter('gform_merge_tag_filter', array('GFIR_PreSubmission', 'preview_special_merge_tags'));
163
+
164
+ return $content;
165
+ }
166
+
167
+ public static function clear_field_value_cache( $form ) {
168
+
169
+ if( ! class_exists( 'GFCache' ) )
170
+ return;
171
+
172
+ foreach( $form['fields'] as &$field ) {
173
+ if( GFFormsModel::get_input_type( $field ) == 'total' )
174
+ GFCache::delete( 'GFFormsModel::get_lead_field_value__' . $field['id'] );
175
+ }
176
+
177
+ }
178
+
179
+ }
include/Snippets.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Post Permalink Merge Tag
4
+ * http://GravityForms.ir
5
+ */
6
+ class GF_IR_PostPermalink {
7
+ function __construct() {
8
+ add_filter('gform_custom_merge_tags', array($this, 'add_custom_merge_tag'), 10, 4);
9
+ add_filter('gform_replace_merge_tags', array($this, 'replace_merge_tag'), 10, 3);
10
+ }
11
+ function add_custom_merge_tag($merge_tags, $form_id, $fields, $element_id) {
12
+ if(!GFCommon::has_post_field($fields))
13
+ return $merge_tags;
14
+ $merge_tags[] = array('label' => 'Post Permalink', 'tag' => '{post_permalink}');
15
+ return $merge_tags;
16
+ }
17
+ function replace_merge_tag($text, $form, $entry) {
18
+ $custom_merge_tag = '{post_permalink}';
19
+ if(strpos($text, $custom_merge_tag) === false || !rgar($entry, 'post_id'))
20
+ return $text;
21
+ $post_permalink = get_permalink(rgar($entry, 'post_id'));
22
+ $text = str_replace($custom_merge_tag, $post_permalink, $text);
23
+ return $text;
24
+ }
25
+ }
languages/Persian_Gravityforms_By_HANNANStd-fa_IR.mo CHANGED
Binary file
languages/Persian_Gravityforms_By_HANNANStd-fa_IR.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Persian Gravity Forms v1.1.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2014-12-21 14:22:28+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -20,400 +20,533 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
- #: Persian_Gravityforms_By_HANNANStd.php:219
24
  #, php-format
25
  #@ Persian_Gravityforms_By_HANNANStd
26
  msgid "%sGravity Forms%s for WordPress is a full featured contact form plugin ."
27
  msgstr "از اینکه %sGravity Forms%s فارسی را انتخاب کرده اید خوشحالیم ."
28
 
29
- #: Persian_Gravityforms_By_HANNANStd.php:241
30
- #: Persian_Gravityforms_By_HANNANStd.php:277
31
  #@ Persian_Gravityforms_By_HANNANStd
32
- msgid "Alborz"
33
- msgstr "البرز"
34
 
35
- #: Persian_Gravityforms_By_HANNANStd.php:239
36
- #: Persian_Gravityforms_By_HANNANStd.php:275
37
  #@ Persian_Gravityforms_By_HANNANStd
38
- msgid "Ardabil"
39
- msgstr "اردبیل"
40
 
41
- #: Persian_Gravityforms_By_HANNANStd.php:237
42
- #: Persian_Gravityforms_By_HANNANStd.php:273
43
  #@ Persian_Gravityforms_By_HANNANStd
44
- msgid "Azarbaijan - East"
45
- msgstr "آذربایجان شرقی"
46
 
47
- #: Persian_Gravityforms_By_HANNANStd.php:238
48
- #: Persian_Gravityforms_By_HANNANStd.php:274
49
  #@ Persian_Gravityforms_By_HANNANStd
50
- msgid "Azarbaijan - West"
51
- msgstr "آذربایجان غربی"
52
 
53
- #: Persian_Gravityforms_By_HANNANStd.php:243
54
- #: Persian_Gravityforms_By_HANNANStd.php:279
55
  #@ Persian_Gravityforms_By_HANNANStd
56
- msgid "Bushehr"
57
- msgstr "بوشهر"
58
 
59
- #: Persian_Gravityforms_By_HANNANStd.php:372
 
60
  #@ Persian_Gravityforms_By_HANNANStd
61
- msgid "Cancelled"
62
- msgstr "منصرف شده"
63
 
64
- #: Persian_Gravityforms_By_HANNANStd.php:245
65
- #: Persian_Gravityforms_By_HANNANStd.php:281
66
  #@ Persian_Gravityforms_By_HANNANStd
67
- msgid "Chahar Mahaal and Bakhtiari"
68
- msgstr "چهارمحال و بختیاری"
69
 
70
- #: Persian_Gravityforms_By_HANNANStd.php:370
 
71
  #@ Persian_Gravityforms_By_HANNANStd
72
- msgid "Failed"
73
- msgstr "ناموفق"
 
 
 
 
 
 
 
 
 
 
 
74
 
75
- #: Persian_Gravityforms_By_HANNANStd.php:253
76
- #: Persian_Gravityforms_By_HANNANStd.php:289
77
  #@ Persian_Gravityforms_By_HANNANStd
78
- msgid "Fars"
79
- msgstr "فارس"
80
 
81
- #: Persian_Gravityforms_By_HANNANStd.php:261
82
- #: Persian_Gravityforms_By_HANNANStd.php:297
83
  #@ Persian_Gravityforms_By_HANNANStd
84
- msgid "Gilan"
85
- msgstr "گیلان"
86
 
87
- #: Persian_Gravityforms_By_HANNANStd.php:260
88
- #: Persian_Gravityforms_By_HANNANStd.php:296
89
  #@ Persian_Gravityforms_By_HANNANStd
90
- msgid "Golestan"
91
- msgstr "گلستان"
92
 
93
- #. translators: plugin header field 'Description'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  #: Persian_Gravityforms_By_HANNANStd.php:0
95
  #@ Persian_Gravityforms_By_HANNANStd
96
- msgid "Gravity Forms for Iranian"
97
- msgstr "بسته فارسی ساز Gravity Forms + اضافه کردن واحد پولی ایران ، استان های ایران ، برچسب های تراکنش ایمیل و ..."
98
 
99
- #. translators: plugin header field 'Author'
100
  #: Persian_Gravityforms_By_HANNANStd.php:0
101
  #@ Persian_Gravityforms_By_HANNANStd
102
- msgid "HANNAN Ebrahimi Setoode"
103
- msgstr "حنان ابراهیمی ستوده"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
- #: Persian_Gravityforms_By_HANNANStd.php:266
106
- #: Persian_Gravityforms_By_HANNANStd.php:302
107
  #@ Persian_Gravityforms_By_HANNANStd
108
- msgid "Hamadan"
109
- msgstr "همدان"
110
 
111
- #: Persian_Gravityforms_By_HANNANStd.php:265
112
- #: Persian_Gravityforms_By_HANNANStd.php:301
113
  #@ Persian_Gravityforms_By_HANNANStd
114
- msgid "Hormozgān"
115
- msgstr "هرمزگان"
116
 
117
- #: Persian_Gravityforms_By_HANNANStd.php:232
118
- #: Persian_Gravityforms_By_HANNANStd.php:233
119
  #@ Persian_Gravityforms_By_HANNANStd
120
- msgid "IRAN"
121
- msgstr "ایران"
122
 
123
- #: Persian_Gravityforms_By_HANNANStd.php:242
124
- #: Persian_Gravityforms_By_HANNANStd.php:278
125
  #@ Persian_Gravityforms_By_HANNANStd
126
- msgid "Ilam"
127
- msgstr "ایلام"
128
 
129
- #: Persian_Gravityforms_By_HANNANStd.php:226
130
  #@ Persian_Gravityforms_By_HANNANStd
131
- msgid "Iranian Rial"
132
- msgstr "ریال ایران"
133
 
134
- #: Persian_Gravityforms_By_HANNANStd.php:240
135
- #: Persian_Gravityforms_By_HANNANStd.php:276
136
  #@ Persian_Gravityforms_By_HANNANStd
137
- msgid "Isfahan"
138
- msgstr "اصفهان"
139
 
140
- #: Persian_Gravityforms_By_HANNANStd.php:257
141
- #: Persian_Gravityforms_By_HANNANStd.php:293
142
  #@ Persian_Gravityforms_By_HANNANStd
143
- msgid "Kerman"
144
- msgstr "کرمان"
145
 
146
- #: Persian_Gravityforms_By_HANNANStd.php:258
147
- #: Persian_Gravityforms_By_HANNANStd.php:294
 
 
 
 
 
148
  #@ Persian_Gravityforms_By_HANNANStd
149
- msgid "Kermanshah"
150
- msgstr "کرمانشاه"
151
 
152
- #: Persian_Gravityforms_By_HANNANStd.php:248
153
- #: Persian_Gravityforms_By_HANNANStd.php:284
154
  #@ Persian_Gravityforms_By_HANNANStd
155
- msgid "Khorasan - North"
156
- msgstr "خراسان شمالی"
157
 
158
- #: Persian_Gravityforms_By_HANNANStd.php:247
159
- #: Persian_Gravityforms_By_HANNANStd.php:283
160
  #@ Persian_Gravityforms_By_HANNANStd
161
- msgid "Khorasan - Razavi"
162
- msgstr "خراسان رضوی"
163
 
164
- #: Persian_Gravityforms_By_HANNANStd.php:246
165
- #: Persian_Gravityforms_By_HANNANStd.php:282
166
  #@ Persian_Gravityforms_By_HANNANStd
167
- msgid "Khorasan - South"
168
- msgstr "خراسان جنوبی"
169
 
170
- #: Persian_Gravityforms_By_HANNANStd.php:249
171
- #: Persian_Gravityforms_By_HANNANStd.php:285
172
  #@ Persian_Gravityforms_By_HANNANStd
173
- msgid "Khuzestan"
174
- msgstr "خوزستان"
175
 
176
- #: Persian_Gravityforms_By_HANNANStd.php:259
177
- #: Persian_Gravityforms_By_HANNANStd.php:295
178
  #@ Persian_Gravityforms_By_HANNANStd
179
- msgid "Kohgiluyeh and Boyer-Ahmad"
180
- msgstr "کهگیلویه و بویراحمد"
181
 
182
- #: Persian_Gravityforms_By_HANNANStd.php:256
183
- #: Persian_Gravityforms_By_HANNANStd.php:292
184
  #@ Persian_Gravityforms_By_HANNANStd
185
- msgid "Kurdistan"
186
- msgstr "کردستان"
187
 
188
- #: Persian_Gravityforms_By_HANNANStd.php:262
189
- #: Persian_Gravityforms_By_HANNANStd.php:298
190
  #@ Persian_Gravityforms_By_HANNANStd
191
- msgid "Lorestan"
192
- msgstr "لرستان"
193
 
194
- #: Persian_Gravityforms_By_HANNANStd.php:264
195
- #: Persian_Gravityforms_By_HANNANStd.php:300
196
  #@ Persian_Gravityforms_By_HANNANStd
197
- msgid "Markazi"
198
- msgstr "مرکزی"
199
 
200
- #: Persian_Gravityforms_By_HANNANStd.php:263
201
- #: Persian_Gravityforms_By_HANNANStd.php:299
202
  #@ Persian_Gravityforms_By_HANNANStd
203
- msgid "Mazandaran"
204
- msgstr "مازندران"
205
 
 
206
  #: Persian_Gravityforms_By_HANNANStd.php:368
207
  #@ Persian_Gravityforms_By_HANNANStd
208
- msgid "Paid"
209
- msgstr "موفق"
210
 
211
- #: Persian_Gravityforms_By_HANNANStd.php:390
212
- #: Persian_Gravityforms_By_HANNANStd.php:414
213
  #@ Persian_Gravityforms_By_HANNANStd
214
- msgid "Payment Gateway"
215
- msgstr "درگاه پرداخت"
216
 
217
- #: Persian_Gravityforms_By_HANNANStd.php:411
 
218
  #@ Persian_Gravityforms_By_HANNANStd
219
- msgid "Payment Information"
220
- msgstr "اطلاعات پرداخت"
221
 
222
- #: Persian_Gravityforms_By_HANNANStd.php:404
223
- #: Persian_Gravityforms_By_HANNANStd.php:420
224
  #@ Persian_Gravityforms_By_HANNANStd
225
- msgid "Payment Status"
226
- msgstr "وضعیت پرداخت"
227
 
228
- #. translators: plugin header field 'Name'
229
- #: Persian_Gravityforms_By_HANNANStd.php:0
230
  #@ Persian_Gravityforms_By_HANNANStd
231
- msgid "Persian Gravity Forms"
232
- msgstr "Gravity Forms فارسی"
233
 
234
- #: Persian_Gravityforms_By_HANNANStd.php:461
 
235
  #@ Persian_Gravityforms_By_HANNANStd
236
- msgid "Persian Gravity Forms Dashboard"
237
- msgstr "آخرین مطالب سایت پشتیبانی Gravity Forms فارسی"
238
 
239
- #: Persian_Gravityforms_By_HANNANStd.php:234
 
240
  #@ Persian_Gravityforms_By_HANNANStd
241
- msgid "Postal Code"
242
- msgstr "کد پستی"
243
 
244
- #: Persian_Gravityforms_By_HANNANStd.php:222
 
245
  #@ Persian_Gravityforms_By_HANNANStd
246
- msgid "Private"
247
- msgstr "خصوصی"
248
 
249
- #: Persian_Gravityforms_By_HANNANStd.php:235
 
250
  #@ Persian_Gravityforms_By_HANNANStd
251
- msgid "Province"
252
- msgstr "استان"
253
 
254
- #: Persian_Gravityforms_By_HANNANStd.php:273
 
255
  #@ Persian_Gravityforms_By_HANNANStd
256
- msgid "Provinces of Iran"
257
- msgstr "استانهای ایران"
258
 
259
- #: Persian_Gravityforms_By_HANNANStd.php:254
260
- #: Persian_Gravityforms_By_HANNANStd.php:290
261
  #@ Persian_Gravityforms_By_HANNANStd
262
- msgid "Qazvin"
263
- msgstr "قزوین"
264
 
265
- #: Persian_Gravityforms_By_HANNANStd.php:255
266
- #: Persian_Gravityforms_By_HANNANStd.php:291
267
  #@ Persian_Gravityforms_By_HANNANStd
268
- msgid "Qom"
269
- msgstr "قم"
270
 
271
- #: Persian_Gravityforms_By_HANNANStd.php:251
272
- #: Persian_Gravityforms_By_HANNANStd.php:287
273
  #@ Persian_Gravityforms_By_HANNANStd
274
- msgid "Semnan"
275
- msgstr "سمنان"
276
 
277
- #: Persian_Gravityforms_By_HANNANStd.php:310
 
278
  #@ Persian_Gravityforms_By_HANNANStd
279
- msgid "Simple Payment Gateway"
280
- msgstr "درگاه پرداخت ساده"
281
 
282
- #: Persian_Gravityforms_By_HANNANStd.php:311
 
283
  #@ Persian_Gravityforms_By_HANNANStd
284
- msgid "Simple Payment Status"
285
- msgstr "وضعیت پرداخت ساده"
286
 
287
- #: Persian_Gravityforms_By_HANNANStd.php:312
 
288
  #@ Persian_Gravityforms_By_HANNANStd
289
- msgid "Simple Transaction ID"
290
- msgstr "کد رهگیری ساده"
291
 
292
- #: Persian_Gravityforms_By_HANNANStd.php:252
293
- #: Persian_Gravityforms_By_HANNANStd.php:288
294
  #@ Persian_Gravityforms_By_HANNANStd
295
- msgid "Sistan and Baluchistan"
296
- msgstr "سیستان و بلوچستان"
297
 
298
- #: Persian_Gravityforms_By_HANNANStd.php:313
 
299
  #@ Persian_Gravityforms_By_HANNANStd
300
- msgid "Styled Payment Gateway"
301
- msgstr "درگاه پرداخت استایل بندی شده"
302
 
303
- #: Persian_Gravityforms_By_HANNANStd.php:316
 
304
  #@ Persian_Gravityforms_By_HANNANStd
305
- msgid "Styled Payment Pack"
306
- msgstr "پک اطلاعات درگاه پرداخت"
307
 
308
- #: Persian_Gravityforms_By_HANNANStd.php:314
 
309
  #@ Persian_Gravityforms_By_HANNANStd
310
- msgid "Styled Payment Status"
311
- msgstr "وضعیت پرداخت استایل بندی شده"
312
 
313
- #: Persian_Gravityforms_By_HANNANStd.php:315
 
314
  #@ Persian_Gravityforms_By_HANNANStd
315
- msgid "Styled Transaction ID"
316
- msgstr "کد رهگیری استایل بندی شده"
317
 
318
- #: Persian_Gravityforms_By_HANNANStd.php:244
319
- #: Persian_Gravityforms_By_HANNANStd.php:280
320
  #@ Persian_Gravityforms_By_HANNANStd
321
- msgid "Tehran"
322
- msgstr "تهران"
323
 
324
- #: Persian_Gravityforms_By_HANNANStd.php:227
 
325
  #@ Persian_Gravityforms_By_HANNANStd
326
- msgid "Toman"
327
- msgstr "تومان"
328
 
329
- #: Persian_Gravityforms_By_HANNANStd.php:398
330
- #: Persian_Gravityforms_By_HANNANStd.php:426
331
  #@ Persian_Gravityforms_By_HANNANStd
332
- msgid "Transaction ID"
333
- msgstr "کد رهگیری"
334
 
335
- #: Persian_Gravityforms_By_HANNANStd.php:267
336
- #: Persian_Gravityforms_By_HANNANStd.php:303
337
  #@ Persian_Gravityforms_By_HANNANStd
338
- msgid "Yazd"
339
- msgstr "یزد"
340
 
341
- #: Persian_Gravityforms_By_HANNANStd.php:250
342
- #: Persian_Gravityforms_By_HANNANStd.php:286
343
  #@ Persian_Gravityforms_By_HANNANStd
344
- msgid "Zanjan"
345
- msgstr "زنجان"
346
 
347
- #: Persian_Gravityforms_By_HANNANStd.php:159
348
  #@ Persian_Gravityforms_By_HANNANStd
349
- msgid "Yes"
350
- msgstr "استفاده از تاریخ شمسی"
351
 
352
- #: Persian_Gravityforms_By_HANNANStd.php:486
353
  #@ Persian_Gravityforms_By_HANNANStd
354
- msgid "<strong>RSS Error</strong>"
355
- msgstr "در حین دریافت مطالب خطایی رخ داده است ."
356
 
357
- #: Persian_Gravityforms_By_HANNANStd.php:491
358
  #@ Persian_Gravityforms_By_HANNANStd
359
- msgid "Apparently, There are no updates to show!"
360
- msgstr "در حال حاضر هیچ مطلبی وجود ندارد ."
361
 
362
- #. translators: plugin header field 'PluginURI'
363
- #: Persian_Gravityforms_By_HANNANStd.php:0
364
  #@ Persian_Gravityforms_By_HANNANStd
365
- msgid "https://wordpress.org/plugins/persian-gravity-forms/"
366
  msgstr ""
367
 
368
- #. translators: plugin header field 'AuthorURI'
369
- #: Persian_Gravityforms_By_HANNANStd.php:0
370
  #@ Persian_Gravityforms_By_HANNANStd
371
- msgid "http://www.gravityforms.ir/"
372
  msgstr ""
373
 
374
- #: Persian_Gravityforms_By_HANNANStd.php:655
375
- #@ gravityforms
376
- msgid "نمایش زیر نویس فیلد"
377
  msgstr ""
378
 
379
- #: Persian_Gravityforms_By_HANNANStd.php:661
380
- #@ gravityforms
381
- msgid "جدا سازی خودکار ارقام توسط خط فاصله"
382
  msgstr ""
383
 
384
- #: Persian_Gravityforms_By_HANNANStd.php:672
385
- #@ gravityforms
386
- msgid "مقدار وارد شده شامل کاراکتر غیر عددی باشد"
387
  msgstr ""
388
 
389
- #: Persian_Gravityforms_By_HANNANStd.php:679
390
- #@ gravityforms
391
- msgid "تعداد ارقام وارد شده استاندارد نباشد"
392
  msgstr ""
393
 
394
- #: Persian_Gravityforms_By_HANNANStd.php:686
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  #@ gravityforms
396
- msgid "کد ملی وارد شده قبلا ثبت شده باشد"
397
  msgstr ""
398
 
399
- #: Persian_Gravityforms_By_HANNANStd.php:693
400
  #@ gravityforms
401
- msgid "کد ملی وارد شده مطابق با الگوی ملی نباشد"
402
  msgstr ""
403
 
404
- #. translators: plugin header field 'Version'
405
- #: Persian_Gravityforms_By_HANNANStd.php:0
 
 
 
 
 
406
  #@ Persian_Gravityforms_By_HANNANStd
407
- msgid "1.1.1"
 
408
  msgstr ""
409
 
410
- #: Persian_Gravityforms_By_HANNANStd.php:317
411
  #@ Persian_Gravityforms_By_HANNANStd
412
- msgid "RTL Start"
413
- msgstr "ابتدای راستچین سازی"
 
 
 
 
 
414
 
415
- #: Persian_Gravityforms_By_HANNANStd.php:318
416
  #@ Persian_Gravityforms_By_HANNANStd
417
- msgid "RTL End"
418
- msgstr "انتهای راستچین سازی"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Persian Gravity Forms v1.5.5\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-05-06 22:21:45+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
+ #: Persian_Gravityforms_By_HANNANStd.php:306
24
  #, php-format
25
  #@ Persian_Gravityforms_By_HANNANStd
26
  msgid "%sGravity Forms%s for WordPress is a full featured contact form plugin ."
27
  msgstr "از اینکه %sGravity Forms%s فارسی را انتخاب کرده اید خوشحالیم ."
28
 
29
+ #: Persian_Gravityforms_By_HANNANStd.php:485
 
30
  #@ Persian_Gravityforms_By_HANNANStd
31
+ msgid "Cancelled"
32
+ msgstr "منصرف شده"
33
 
34
+ #: Persian_Gravityforms_By_HANNANStd.php:483
 
35
  #@ Persian_Gravityforms_By_HANNANStd
36
+ msgid "Failed"
37
+ msgstr "ناموفق"
38
 
39
+ #. translators: plugin header field 'Description'
40
+ #: Persian_Gravityforms_By_HANNANStd.php:0
41
  #@ Persian_Gravityforms_By_HANNANStd
42
+ msgid "Gravity Forms for Iranian"
43
+ msgstr "افزونه بومی ساز + مکمل نیرو زای Gravity Forms"
44
 
45
+ #. translators: plugin header field 'Author'
46
+ #: Persian_Gravityforms_By_HANNANStd.php:0
47
  #@ Persian_Gravityforms_By_HANNANStd
48
+ msgid "HANNAN Ebrahimi Setoode"
49
+ msgstr "حنان ابراهیمی ستوده"
50
 
51
+ #: Persian_Gravityforms_By_HANNANStd.php:481
 
52
  #@ Persian_Gravityforms_By_HANNANStd
53
+ msgid "Paid"
54
+ msgstr "موفق"
55
 
56
+ #: Persian_Gravityforms_By_HANNANStd.php:505
57
+ #: Persian_Gravityforms_By_HANNANStd.php:548
58
  #@ Persian_Gravityforms_By_HANNANStd
59
+ msgid "Payment Gateway"
60
+ msgstr "درگاه پرداخت"
61
 
62
+ #: Persian_Gravityforms_By_HANNANStd.php:543
 
63
  #@ Persian_Gravityforms_By_HANNANStd
64
+ msgid "Payment Information"
65
+ msgstr "اطلاعات پرداخت"
66
 
67
+ #: Persian_Gravityforms_By_HANNANStd.php:530
68
+ #: Persian_Gravityforms_By_HANNANStd.php:558
69
  #@ Persian_Gravityforms_By_HANNANStd
70
+ msgid "Payment Status"
71
+ msgstr "وضعیت پرداخت"
72
+
73
+ #. translators: plugin header field 'Name'
74
+ #: Persian_Gravityforms_By_HANNANStd.php:0
75
+ #@ Persian_Gravityforms_By_HANNANStd
76
+ msgid "Persian Gravity Forms"
77
+ msgstr "Gravity Forms فارسی"
78
+
79
+ #: Persian_Gravityforms_By_HANNANStd.php:660
80
+ #@ Persian_Gravityforms_By_HANNANStd
81
+ msgid "Persian Gravity Forms Dashboard"
82
+ msgstr "آخرین مطالب سایت پشتیبانی Gravity Forms فارسی"
83
 
84
+ #: Persian_Gravityforms_By_HANNANStd.php:413
 
85
  #@ Persian_Gravityforms_By_HANNANStd
86
+ msgid "Simple Payment Gateway"
87
+ msgstr "درگاه پرداخت ساده"
88
 
89
+ #: Persian_Gravityforms_By_HANNANStd.php:414
 
90
  #@ Persian_Gravityforms_By_HANNANStd
91
+ msgid "Simple Payment Status"
92
+ msgstr "وضعیت پرداخت ساده"
93
 
94
+ #: Persian_Gravityforms_By_HANNANStd.php:415
 
95
  #@ Persian_Gravityforms_By_HANNANStd
96
+ msgid "Simple Transaction ID"
97
+ msgstr "کد رهگیری ساده"
98
 
99
+ #: Persian_Gravityforms_By_HANNANStd.php:416
100
+ #@ Persian_Gravityforms_By_HANNANStd
101
+ msgid "Styled Payment Gateway"
102
+ msgstr "درگاه پرداخت استایل بندی شده"
103
+
104
+ #: Persian_Gravityforms_By_HANNANStd.php:419
105
+ #@ Persian_Gravityforms_By_HANNANStd
106
+ msgid "Styled Payment Pack"
107
+ msgstr "پک اطلاعات درگاه پرداخت"
108
+
109
+ #: Persian_Gravityforms_By_HANNANStd.php:417
110
+ #@ Persian_Gravityforms_By_HANNANStd
111
+ msgid "Styled Payment Status"
112
+ msgstr "وضعیت پرداخت استایل بندی شده"
113
+
114
+ #: Persian_Gravityforms_By_HANNANStd.php:418
115
+ #@ Persian_Gravityforms_By_HANNANStd
116
+ msgid "Styled Transaction ID"
117
+ msgstr "کد رهگیری استایل بندی شده"
118
+
119
+ #: Persian_Gravityforms_By_HANNANStd.php:517
120
+ #: Persian_Gravityforms_By_HANNANStd.php:568
121
+ #@ Persian_Gravityforms_By_HANNANStd
122
+ msgid "Transaction ID"
123
+ msgstr "کد رهگیری"
124
+
125
+ #: Persian_Gravityforms_By_HANNANStd.php:686
126
+ #@ Persian_Gravityforms_By_HANNANStd
127
+ msgid "<strong>RSS Error</strong>"
128
+ msgstr "در حین دریافت مطالب خطایی رخ داده است ."
129
+
130
+ #: Persian_Gravityforms_By_HANNANStd.php:691
131
+ #@ Persian_Gravityforms_By_HANNANStd
132
+ msgid "Apparently, There are no updates to show!"
133
+ msgstr "در حال حاضر هیچ مطلبی وجود ندارد ."
134
+
135
+ #. translators: plugin header field 'PluginURI'
136
  #: Persian_Gravityforms_By_HANNANStd.php:0
137
  #@ Persian_Gravityforms_By_HANNANStd
138
+ msgid "https://wordpress.org/plugins/persian-gravity-forms/"
139
+ msgstr ""
140
 
141
+ #. translators: plugin header field 'AuthorURI'
142
  #: Persian_Gravityforms_By_HANNANStd.php:0
143
  #@ Persian_Gravityforms_By_HANNANStd
144
+ msgid "http://www.gravityforms.ir/"
145
+ msgstr ""
146
+
147
+ #: Persian_Gravityforms_By_HANNANStd.php:895
148
+ #@ Persian_Gravityforms_By_HANNANStd
149
+ msgid "نمایش زیر نویس فیلد"
150
+ msgstr ""
151
+
152
+ #: Persian_Gravityforms_By_HANNANStd.php:901
153
+ #@ Persian_Gravityforms_By_HANNANStd
154
+ msgid "جدا سازی خودکار ارقام توسط خط فاصله"
155
+ msgstr ""
156
+
157
+ #: Persian_Gravityforms_By_HANNANStd.php:913
158
+ #@ Persian_Gravityforms_By_HANNANStd
159
+ msgid "مقدار وارد شده شامل کاراکتر غیر عددی باشد"
160
+ msgstr ""
161
+
162
+ #: Persian_Gravityforms_By_HANNANStd.php:920
163
+ #@ Persian_Gravityforms_By_HANNANStd
164
+ msgid "تعداد ارقام وارد شده استاندارد نباشد"
165
+ msgstr ""
166
+
167
+ #: Persian_Gravityforms_By_HANNANStd.php:927
168
+ #@ Persian_Gravityforms_By_HANNANStd
169
+ msgid "کد ملی وارد شده قبلا ثبت شده باشد"
170
+ msgstr ""
171
 
172
+ #: Persian_Gravityforms_By_HANNANStd.php:934
 
173
  #@ Persian_Gravityforms_By_HANNANStd
174
+ msgid "کد ملی وارد شده مطابق با الگوی ملی نباشد"
175
+ msgstr ""
176
 
177
+ #: Persian_Gravityforms_By_HANNANStd.php:420
 
178
  #@ Persian_Gravityforms_By_HANNANStd
179
+ msgid "RTL Start"
180
+ msgstr "ابتدای راستچین سازی"
181
 
182
+ #: Persian_Gravityforms_By_HANNANStd.php:421
 
183
  #@ Persian_Gravityforms_By_HANNANStd
184
+ msgid "RTL End"
185
+ msgstr "انتهای راستچین سازی"
186
 
187
+ #. translators: plugin header field 'Version'
188
+ #: Persian_Gravityforms_By_HANNANStd.php:0
189
  #@ Persian_Gravityforms_By_HANNANStd
190
+ msgid "1.5.5"
191
+ msgstr ""
192
 
193
+ #: Persian_Gravityforms_By_HANNANStd.php:223
194
  #@ Persian_Gravityforms_By_HANNANStd
195
+ msgid "فعالسازی تاریخ شمسی"
196
+ msgstr ""
197
 
198
+ #: Persian_Gravityforms_By_HANNANStd.php:309
 
199
  #@ Persian_Gravityforms_By_HANNANStd
200
+ msgid "خصوصی"
201
+ msgstr ""
202
 
203
+ #: Persian_Gravityforms_By_HANNANStd.php:313
 
204
  #@ Persian_Gravityforms_By_HANNANStd
205
+ msgid "ریال ایران"
206
+ msgstr ""
207
 
208
+ #: Persian_Gravityforms_By_HANNANStd.php:314
209
+ #@ Persian_Gravityforms_By_HANNANStd
210
+ msgid "تومان"
211
+ msgstr ""
212
+
213
+ #: Persian_Gravityforms_By_HANNANStd.php:319
214
+ #: Persian_Gravityforms_By_HANNANStd.php:320
215
  #@ Persian_Gravityforms_By_HANNANStd
216
+ msgid "ایران"
217
+ msgstr ""
218
 
219
+ #: Persian_Gravityforms_By_HANNANStd.php:321
 
220
  #@ Persian_Gravityforms_By_HANNANStd
221
+ msgid "کد پستی"
222
+ msgstr ""
223
 
224
+ #: Persian_Gravityforms_By_HANNANStd.php:322
 
225
  #@ Persian_Gravityforms_By_HANNANStd
226
+ msgid "استان"
227
+ msgstr ""
228
 
229
+ #: Persian_Gravityforms_By_HANNANStd.php:324
230
+ #: Persian_Gravityforms_By_HANNANStd.php:361
231
  #@ Persian_Gravityforms_By_HANNANStd
232
+ msgid "آذربایجان شرقی"
233
+ msgstr ""
234
 
235
+ #: Persian_Gravityforms_By_HANNANStd.php:325
236
+ #: Persian_Gravityforms_By_HANNANStd.php:362
237
  #@ Persian_Gravityforms_By_HANNANStd
238
+ msgid "آذربایجان غربی"
239
+ msgstr ""
240
 
241
+ #: Persian_Gravityforms_By_HANNANStd.php:326
242
+ #: Persian_Gravityforms_By_HANNANStd.php:363
243
  #@ Persian_Gravityforms_By_HANNANStd
244
+ msgid "اردبیل"
245
+ msgstr ""
246
 
247
+ #: Persian_Gravityforms_By_HANNANStd.php:327
248
+ #: Persian_Gravityforms_By_HANNANStd.php:364
249
  #@ Persian_Gravityforms_By_HANNANStd
250
+ msgid "اصفهان"
251
+ msgstr ""
252
 
253
+ #: Persian_Gravityforms_By_HANNANStd.php:328
254
+ #: Persian_Gravityforms_By_HANNANStd.php:365
255
  #@ Persian_Gravityforms_By_HANNANStd
256
+ msgid "البرز"
257
+ msgstr ""
258
 
259
+ #: Persian_Gravityforms_By_HANNANStd.php:329
260
+ #: Persian_Gravityforms_By_HANNANStd.php:366
261
  #@ Persian_Gravityforms_By_HANNANStd
262
+ msgid "ایلام"
263
+ msgstr ""
264
 
265
+ #: Persian_Gravityforms_By_HANNANStd.php:330
266
+ #: Persian_Gravityforms_By_HANNANStd.php:367
267
  #@ Persian_Gravityforms_By_HANNANStd
268
+ msgid "بوشهر"
269
+ msgstr ""
270
 
271
+ #: Persian_Gravityforms_By_HANNANStd.php:331
272
  #: Persian_Gravityforms_By_HANNANStd.php:368
273
  #@ Persian_Gravityforms_By_HANNANStd
274
+ msgid "تهران"
275
+ msgstr ""
276
 
277
+ #: Persian_Gravityforms_By_HANNANStd.php:332
278
+ #: Persian_Gravityforms_By_HANNANStd.php:369
279
  #@ Persian_Gravityforms_By_HANNANStd
280
+ msgid "چهارمحال و بختیاری"
281
+ msgstr ""
282
 
283
+ #: Persian_Gravityforms_By_HANNANStd.php:333
284
+ #: Persian_Gravityforms_By_HANNANStd.php:370
285
  #@ Persian_Gravityforms_By_HANNANStd
286
+ msgid "خراسان شمالی"
287
+ msgstr ""
288
 
289
+ #: Persian_Gravityforms_By_HANNANStd.php:334
290
+ #: Persian_Gravityforms_By_HANNANStd.php:371
291
  #@ Persian_Gravityforms_By_HANNANStd
292
+ msgid "خراسان رضوی"
293
+ msgstr ""
294
 
295
+ #: Persian_Gravityforms_By_HANNANStd.php:335
296
+ #: Persian_Gravityforms_By_HANNANStd.php:372
297
  #@ Persian_Gravityforms_By_HANNANStd
298
+ msgid "خراسان جنوبی"
299
+ msgstr ""
300
 
301
+ #: Persian_Gravityforms_By_HANNANStd.php:336
302
+ #: Persian_Gravityforms_By_HANNANStd.php:373
303
  #@ Persian_Gravityforms_By_HANNANStd
304
+ msgid "خوزستان"
305
+ msgstr ""
306
 
307
+ #: Persian_Gravityforms_By_HANNANStd.php:337
308
+ #: Persian_Gravityforms_By_HANNANStd.php:374
309
  #@ Persian_Gravityforms_By_HANNANStd
310
+ msgid "زنجان"
311
+ msgstr ""
312
 
313
+ #: Persian_Gravityforms_By_HANNANStd.php:338
314
+ #: Persian_Gravityforms_By_HANNANStd.php:375
315
  #@ Persian_Gravityforms_By_HANNANStd
316
+ msgid "سمنان"
317
+ msgstr ""
318
 
319
+ #: Persian_Gravityforms_By_HANNANStd.php:339
320
+ #: Persian_Gravityforms_By_HANNANStd.php:376
321
  #@ Persian_Gravityforms_By_HANNANStd
322
+ msgid "سیستان و بلوچستان"
323
+ msgstr ""
324
 
325
+ #: Persian_Gravityforms_By_HANNANStd.php:340
326
+ #: Persian_Gravityforms_By_HANNANStd.php:377
327
  #@ Persian_Gravityforms_By_HANNANStd
328
+ msgid "فارس"
329
+ msgstr ""
330
 
331
+ #: Persian_Gravityforms_By_HANNANStd.php:341
332
+ #: Persian_Gravityforms_By_HANNANStd.php:378
333
  #@ Persian_Gravityforms_By_HANNANStd
334
+ msgid "قزوين"
335
+ msgstr ""
336
 
337
+ #: Persian_Gravityforms_By_HANNANStd.php:342
338
+ #: Persian_Gravityforms_By_HANNANStd.php:379
339
  #@ Persian_Gravityforms_By_HANNANStd
340
+ msgid "قم"
341
+ msgstr ""
342
 
343
+ #: Persian_Gravityforms_By_HANNANStd.php:343
344
+ #: Persian_Gravityforms_By_HANNANStd.php:380
345
  #@ Persian_Gravityforms_By_HANNANStd
346
+ msgid "کردستان"
347
+ msgstr ""
348
 
349
+ #: Persian_Gravityforms_By_HANNANStd.php:344
350
+ #: Persian_Gravityforms_By_HANNANStd.php:381
351
  #@ Persian_Gravityforms_By_HANNANStd
352
+ msgid "کرمان"
353
+ msgstr ""
354
 
355
+ #: Persian_Gravityforms_By_HANNANStd.php:345
356
+ #: Persian_Gravityforms_By_HANNANStd.php:382
357
  #@ Persian_Gravityforms_By_HANNANStd
358
+ msgid "کرمانشاه"
359
+ msgstr ""
360
 
361
+ #: Persian_Gravityforms_By_HANNANStd.php:346
362
+ #: Persian_Gravityforms_By_HANNANStd.php:383
363
  #@ Persian_Gravityforms_By_HANNANStd
364
+ msgid "کهگیلویه و بویراحمد"
365
+ msgstr ""
366
 
367
+ #: Persian_Gravityforms_By_HANNANStd.php:347
368
+ #: Persian_Gravityforms_By_HANNANStd.php:384
369
  #@ Persian_Gravityforms_By_HANNANStd
370
+ msgid "گلستان"
371
+ msgstr ""
372
 
373
+ #: Persian_Gravityforms_By_HANNANStd.php:348
374
+ #: Persian_Gravityforms_By_HANNANStd.php:385
375
  #@ Persian_Gravityforms_By_HANNANStd
376
+ msgid "گیلان"
377
+ msgstr ""
378
 
379
+ #: Persian_Gravityforms_By_HANNANStd.php:349
380
+ #: Persian_Gravityforms_By_HANNANStd.php:386
381
  #@ Persian_Gravityforms_By_HANNANStd
382
+ msgid "لرستان"
383
+ msgstr ""
384
 
385
+ #: Persian_Gravityforms_By_HANNANStd.php:350
386
+ #: Persian_Gravityforms_By_HANNANStd.php:387
387
  #@ Persian_Gravityforms_By_HANNANStd
388
+ msgid "مازندران"
389
+ msgstr ""
390
 
391
+ #: Persian_Gravityforms_By_HANNANStd.php:351
392
+ #: Persian_Gravityforms_By_HANNANStd.php:388
393
  #@ Persian_Gravityforms_By_HANNANStd
394
+ msgid "مرکزی"
395
+ msgstr ""
396
 
397
+ #: Persian_Gravityforms_By_HANNANStd.php:352
398
+ #: Persian_Gravityforms_By_HANNANStd.php:389
399
  #@ Persian_Gravityforms_By_HANNANStd
400
+ msgid "هرمزگان"
401
+ msgstr ""
402
 
403
+ #: Persian_Gravityforms_By_HANNANStd.php:353
404
+ #: Persian_Gravityforms_By_HANNANStd.php:390
405
  #@ Persian_Gravityforms_By_HANNANStd
406
+ msgid "همدان"
407
+ msgstr ""
408
 
409
+ #: Persian_Gravityforms_By_HANNANStd.php:354
410
+ #: Persian_Gravityforms_By_HANNANStd.php:391
411
  #@ Persian_Gravityforms_By_HANNANStd
412
+ msgid "یزد"
413
+ msgstr ""
414
 
415
+ #: Persian_Gravityforms_By_HANNANStd.php:360
 
416
  #@ Persian_Gravityforms_By_HANNANStd
417
+ msgid "استانهای ایران"
418
+ msgstr ""
419
 
420
+ #: Persian_Gravityforms_By_HANNANStd.php:393
 
421
  #@ Persian_Gravityforms_By_HANNANStd
422
+ msgid "ماه های ایران"
423
+ msgstr ""
424
 
425
+ #: Persian_Gravityforms_By_HANNANStd.php:394
426
  #@ Persian_Gravityforms_By_HANNANStd
427
+ msgid "فروردین"
428
+ msgstr ""
429
 
430
+ #: Persian_Gravityforms_By_HANNANStd.php:395
431
  #@ Persian_Gravityforms_By_HANNANStd
432
+ msgid "اردیبهشت"
433
+ msgstr ""
434
 
435
+ #: Persian_Gravityforms_By_HANNANStd.php:396
436
  #@ Persian_Gravityforms_By_HANNANStd
437
+ msgid "خرداد"
438
+ msgstr ""
439
 
440
+ #: Persian_Gravityforms_By_HANNANStd.php:397
 
441
  #@ Persian_Gravityforms_By_HANNANStd
442
+ msgid "تیر"
443
  msgstr ""
444
 
445
+ #: Persian_Gravityforms_By_HANNANStd.php:398
 
446
  #@ Persian_Gravityforms_By_HANNANStd
447
+ msgid "مرداد"
448
  msgstr ""
449
 
450
+ #: Persian_Gravityforms_By_HANNANStd.php:399
451
+ #@ Persian_Gravityforms_By_HANNANStd
452
+ msgid "شهریور"
453
  msgstr ""
454
 
455
+ #: Persian_Gravityforms_By_HANNANStd.php:400
456
+ #@ Persian_Gravityforms_By_HANNANStd
457
+ msgid "مهر"
458
  msgstr ""
459
 
460
+ #: Persian_Gravityforms_By_HANNANStd.php:401
461
+ #@ Persian_Gravityforms_By_HANNANStd
462
+ msgid "آبان"
463
  msgstr ""
464
 
465
+ #: Persian_Gravityforms_By_HANNANStd.php:402
466
+ #@ Persian_Gravityforms_By_HANNANStd
467
+ msgid "آذر"
468
  msgstr ""
469
 
470
+ #: Persian_Gravityforms_By_HANNANStd.php:403
471
+ #@ Persian_Gravityforms_By_HANNANStd
472
+ msgid "دی"
473
+ msgstr ""
474
+
475
+ #: Persian_Gravityforms_By_HANNANStd.php:404
476
+ #@ Persian_Gravityforms_By_HANNANStd
477
+ msgid "بهمن"
478
+ msgstr ""
479
+
480
+ #: Persian_Gravityforms_By_HANNANStd.php:405
481
+ #@ Persian_Gravityforms_By_HANNANStd
482
+ msgid "اسفند"
483
+ msgstr ""
484
+
485
+ #: Persian_Gravityforms_By_HANNANStd.php:907
486
+ #@ Persian_Gravityforms_By_HANNANStd
487
+ msgid "متن پیغام خطا هنگامی که موارد زیر رخ دهد"
488
+ msgstr ""
489
+
490
+ #: Persian_Gravityforms_By_HANNANStd.php:1229
491
+ #, php-format
492
  #@ gravityforms
493
+ msgid "Please enter a valid date in the format (%s)."
494
  msgstr ""
495
 
496
+ #: Persian_Gravityforms_By_HANNANStd.php:1229
497
  #@ gravityforms
498
+ msgid "Please enter a valid date."
499
  msgstr ""
500
 
501
+ #: Persian_Gravityforms_By_HANNANStd.php:1286
502
+ #@ default
503
+ msgid "ارسال دستی"
504
+ msgstr ""
505
+
506
+ #: include/Live_Preview.php:19
507
+ #: include/Live_Preview.php:32
508
  #@ Persian_Gravityforms_By_HANNANStd
509
+ #@ default
510
+ msgid "پیشنمایش فرم"
511
  msgstr ""
512
 
513
+ #: include/Live_Preview.php:20
514
  #@ Persian_Gravityforms_By_HANNANStd
515
+ msgid "اضافه کردن پیشنمایش فرم در فرانت اند سایت"
516
+ msgstr ""
517
+
518
+ #: include/Live_Preview.php:61
519
+ #@ default
520
+ msgid "Live Preview"
521
+ msgstr ""
522
 
523
+ #: include/Live_Preview.php:79
524
  #@ Persian_Gravityforms_By_HANNANStd
525
+ msgid "برای مشاهده پیشنمایش فرم باید در سایت وارد شوید ."
526
+ msgstr ""
527
+
528
+ #: include/Live_Preview.php:81
529
+ #@ Persian_Gravityforms_By_HANNANStd
530
+ msgid "متاسفانه شما سطح دسترسی لازم برای مشاهده پیشنمایش فرم را ندارید ."
531
+ msgstr ""
532
+
533
+ #: include/MultipageNavigation.php:167
534
+ #@ default
535
+ msgid "Back to Last Page"
536
+ msgstr ""
537
+
538
+ #: include/Pre_Submission.php:131
539
+ #@ gravityforms
540
+ msgid "Click to view"
541
+ msgstr ""
542
+
543
+ #: include/Restrict_Content.php:6
544
+ #@ default
545
+ msgid "برای مشاهده این محتوا باید فرم زیر را پر نمایید :"
546
+ msgstr ""
547
+
548
+ #: include/Restrict_Content.php:7
549
+ #@ default
550
+ msgid "برای پر کردن فرم کلیک کنید ."
551
+ msgstr ""
552
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Persian Gravity Forms ===
2
  Contributors: hannanstd
3
  Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,gravityforms farsi,gravity forms farsi,rtl,fa_ir,iranian,iranian rials,iranian toman,iran state,gravityforms.ir,gravity forms payment,gravity forms gateway,gravity forms iran gateways
4
- Donate link: http://www.gravityforms.ir
5
- Requires at least: 3.5
6
  Tested up to: 4.2
7
- Stable tag: 1.5.0
8
  License: GPL 2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
@@ -25,6 +25,7 @@ This plugin extends the Gravity Forms and its addons with Persian language
25
  * and...
26
 
27
  = Persian Description =
 
28
  * ترجمه هسته افزونه و ادان های آن ...
29
  * اضافه کردن استان های ایران برای استفاده در فیلد های آدرس و ...
30
  * اضافه کردن واحد پولی ریال و تومان
@@ -83,6 +84,8 @@ You can read complete documentations on the [GravityForms.ir](http://www.Gravity
83
  19. Iranian National Code field Advanced setting
84
 
85
  == Changelog ==
 
 
86
  = 1.5.0 =
87
  * Added Live Preview Button
88
  * Update : Coupons addons translation
@@ -143,6 +146,8 @@ You can read complete documentations on the [GravityForms.ir](http://www.Gravity
143
  * First version
144
 
145
  == Upgrade Notice ==
 
 
146
  = 1.5.0 =
147
  * Added Live Preview Button
148
  * Update : Coupons addons translation
@@ -203,4 +208,4 @@ You can read complete documentations on the [GravityForms.ir](http://www.Gravity
203
  * First version
204
 
205
  ==Traducciones ==
206
- You can read complete documentations on the [GravityForms.ir](http://www.GravityForms.ir)
1
  === Persian Gravity Forms ===
2
  Contributors: hannanstd
3
  Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,gravityforms farsi,gravity forms farsi,rtl,fa_ir,iranian,iranian rials,iranian toman,iran state,gravityforms.ir,gravity forms payment,gravity forms gateway,gravity forms iran gateways
4
+ Donate link: http://www.webforest.ir
5
+ Requires at least: 3.8
6
  Tested up to: 4.2
7
+ Stable tag: 1.6.0
8
  License: GPL 2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  This WordPress plugin extends the Gravity Forms plugin and its addons with the Persian language .
25
  * and...
26
 
27
  = Persian Description =
28
+ * اضافه کردن امکانات فراوان به هسته افزونه
29
  * ترجمه هسته افزونه و ادان های آن ...
30
  * اضافه کردن استان های ایران برای استفاده در فیلد های آدرس و ...
31
  * اضافه کردن واحد پولی ریال و تومان
84
  19. Iranian National Code field Advanced setting
85
 
86
  == Changelog ==
87
+ = 1.6.0 =
88
+ * Add and fix some feature...
89
  = 1.5.0 =
90
  * Added Live Preview Button
91
  * Update : Coupons addons translation
146
  * First version
147
 
148
  == Upgrade Notice ==
149
+ = 1.6.0 =
150
+ * Add and fix some feature...
151
  = 1.5.0 =
152
  * Added Live Preview Button
153
  * Update : Coupons addons translation
208
  * First version
209
 
210
  ==Traducciones ==
211
+ You can read complete documentations on the [GravityForms.ir](http://www.GravityForms.ir)