Version Description
*
Download this release
Release Info
Developer | hannanstd |
Plugin | گرویتی فرم فارسی |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- includes/class-subtotal-calc.php +6 -4
- index.php +2 -2
- languages/GF_FA-fa_IR.mo +0 -0
- languages/GF_FA-fa_IR.po +44 -44
- languages/gravityforms/fa_IR.mo +0 -0
- languages/gravityforms/gravityforms-fa_IR.mo +0 -0
- languages/gravityforms/{fa_IR.po → gravityforms-fa_IR.po} +14 -14
- languages/gravityformsauthorizenet/{fa_IR.mo → gravityformsauthorizenet-fa_IR.mo} +0 -0
- languages/gravityformsaweber/{fa_IR.mo → gravityformsaweber-fa_IR.mo} +0 -0
- languages/gravityformscampaignmonitor/{fa_IR.mo → gravityformscampaignmonitor-fa_IR.mo} +0 -0
- languages/gravityformscoupons/{fa_IR.mo → gravityformscoupons-fa_IR.mo} +0 -0
- languages/gravityformsfreshbooks/{fa_IR.mo → gravityformsfreshbooks-fa_IR.mo} +0 -0
- languages/gravityformsmailchimp/{fa_IR.mo → gravityformsmailchimp-fa_IR.mo} +0 -0
- languages/gravityformspaypal/{fa_IR.mo → gravityformspaypal-fa_IR.mo} +0 -0
- languages/gravityformspaypalpaymentspro/{fa_IR.mo → gravityformspaypalpaymentspro-fa_IR.mo} +0 -0
- languages/gravityformspaypalpro/{fa_IR.mo → gravityformspaypalpro-fa_IR.mo} +0 -0
- languages/gravityformspolls/{fa_IR.mo → gravityformspolls-fa_IR.mo} +0 -0
- languages/gravityformsquantitylimits/{fa_IR.mo → gravityformsquantitylimits-fa_IR.mo} +0 -0
- languages/gravityformsquiz/{fa_IR.mo → gravityformsquiz-fa_IR.mo} +0 -0
- languages/gravityformssignature/{fa_IR.mo → gravityformssignature-fa_IR.mo} +0 -0
- languages/gravityformsstickylist/{fa_IR.mo → gravityformsstickylist-fa_IR.mo} +0 -0
- languages/gravityformsstripe/{fa_IR.mo → gravityformsstripe-fa_IR.mo} +0 -0
- languages/gravityformssurvey/{fa_IR.mo → gravityformssurvey-fa_IR.mo} +0 -0
- languages/gravityformstwilio/{fa_IR.mo → gravityformstwilio-fa_IR.mo} +0 -0
- languages/gravityformsuserregistration/{fa_IR.mo → gravityformsuserregistration-fa_IR.mo} +0 -0
- languages/gravityformszapier/{fa_IR.mo → gravityformszapier-fa_IR.mo} +0 -0
- persian-gravity.php +44 -32
- readme.txt +5 -1
includes/class-subtotal-calc.php
CHANGED
@@ -91,12 +91,14 @@ class GFParsi_CalcSubtotal {
|
|
91 |
$option_tags = array();
|
92 |
|
93 |
foreach( $option_fields as $option_field ) {
|
94 |
-
|
95 |
if( is_array( $option_field['inputs'] ) ) {
|
96 |
|
97 |
$choice_number = 1;
|
98 |
-
|
99 |
-
|
|
|
|
|
100 |
|
101 |
//hack to skip numbers ending in 0. so that 5.1 doesn't conflict with 5.10
|
102 |
if( $choice_number % 10 == 0 )
|
@@ -189,7 +191,7 @@ class GFParsi_CalcSubtotal {
|
|
189 |
|
190 |
function add_merge_tags( $form ) {
|
191 |
|
192 |
-
$label = __('Subtotal', '
|
193 |
|
194 |
?>
|
195 |
|
91 |
$option_tags = array();
|
92 |
|
93 |
foreach( $option_fields as $option_field ) {
|
94 |
+
|
95 |
if( is_array( $option_field['inputs'] ) ) {
|
96 |
|
97 |
$choice_number = 1;
|
98 |
+
|
99 |
+
$inputs = $option_field['inputs'];
|
100 |
+
|
101 |
+
foreach( $inputs as &$input ) {
|
102 |
|
103 |
//hack to skip numbers ending in 0. so that 5.1 doesn't conflict with 5.10
|
104 |
if( $choice_number % 10 == 0 )
|
191 |
|
192 |
function add_merge_tags( $form ) {
|
193 |
|
194 |
+
$label = __('Subtotal', 'GF_FA');
|
195 |
|
196 |
?>
|
197 |
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Persian Gravity Forms
|
4 |
Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
|
5 |
Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
|
6 |
-
Version: 2.0.
|
7 |
Requires at least: 4.0
|
8 |
Author: hannansoft
|
9 |
Author URI: http://www.gravityforms.ir/
|
@@ -15,7 +15,7 @@ License: GPL 2
|
|
15 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
16 |
|
17 |
if ( ! defined( 'GF_PARSI_VERSION' ) )
|
18 |
-
define('GF_PARSI_VERSION', '2.0.
|
19 |
|
20 |
if ( ! defined( 'GF_PARSI_URL' ) )
|
21 |
define('GF_PARSI_URL', plugins_url('', __FILE__) . '/' );
|
3 |
Plugin Name: Persian Gravity Forms
|
4 |
Plugin URI: https://wordpress.org/plugins/persian-gravity-forms/
|
5 |
Description: Gravity Forms for Iranian, This plugin extends the Gravity Forms and its addons with Persian language
|
6 |
+
Version: 2.0.5
|
7 |
Requires at least: 4.0
|
8 |
Author: hannansoft
|
9 |
Author URI: http://www.gravityforms.ir/
|
15 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
16 |
|
17 |
if ( ! defined( 'GF_PARSI_VERSION' ) )
|
18 |
+
define('GF_PARSI_VERSION', '2.0.5' );
|
19 |
|
20 |
if ( ! defined( 'GF_PARSI_URL' ) )
|
21 |
define('GF_PARSI_URL', plugins_url('', __FILE__) . '/' );
|
languages/GF_FA-fa_IR.mo
CHANGED
Binary file
|
languages/GF_FA-fa_IR.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Persian Gravity Forms v2.0.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2016-10-
|
7 |
"Last-Translator: hannanstd <hannanstd@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -338,10 +338,10 @@ msgstr ""
|
|
338 |
msgid "Post Permalink"
|
339 |
msgstr "لینک پست"
|
340 |
|
341 |
-
#: includes/class-subtotal-calc.php:
|
342 |
-
#@
|
343 |
msgid "Subtotal"
|
344 |
-
msgstr ""
|
345 |
|
346 |
#: includes/class-wpp-gravity-forms.php:89
|
347 |
#@ wp-parsidate
|
@@ -419,178 +419,178 @@ msgstr "<strong>خطای RSS</strong>"
|
|
419 |
msgid "Apparently, There are no updates to show!"
|
420 |
msgstr "هیچ مطلبی وجود ندارد!"
|
421 |
|
422 |
-
#: persian-gravity.php:
|
423 |
#@ GF_FA
|
424 |
msgid "Private"
|
425 |
msgstr "Private"
|
426 |
|
427 |
-
#: persian-gravity.php:
|
428 |
#@ GF_FA
|
429 |
msgid "Iranian Rial"
|
430 |
msgstr "ریال"
|
431 |
|
432 |
-
#: persian-gravity.php:
|
433 |
-
#: persian-gravity.php:
|
434 |
#@ GF_FA
|
435 |
msgid "Rial"
|
436 |
msgstr "ریال"
|
437 |
|
438 |
-
#: persian-gravity.php:
|
439 |
#@ GF_FA
|
440 |
msgid "Iranian Toman"
|
441 |
msgstr "تومان"
|
442 |
|
443 |
-
#: persian-gravity.php:
|
444 |
-
#: persian-gravity.php:
|
445 |
#@ GF_FA
|
446 |
msgid "Toman"
|
447 |
msgstr "تومان"
|
448 |
|
449 |
-
#: persian-gravity.php:
|
450 |
#@ GF_FA
|
451 |
msgid "Iranian Months"
|
452 |
msgstr "ماه های ایران"
|
453 |
|
454 |
-
#: persian-gravity.php:
|
455 |
#@ GF_FA
|
456 |
msgid "Farvardin"
|
457 |
msgstr "فروردین"
|
458 |
|
459 |
-
#: persian-gravity.php:
|
460 |
#@ GF_FA
|
461 |
msgid "Ordibehesht"
|
462 |
msgstr "اردیبهشت"
|
463 |
|
464 |
-
#: persian-gravity.php:
|
465 |
#@ GF_FA
|
466 |
msgid "Khordad"
|
467 |
msgstr "خرداد"
|
468 |
|
469 |
-
#: persian-gravity.php:
|
470 |
#@ GF_FA
|
471 |
msgid "Tir"
|
472 |
msgstr "تیر"
|
473 |
|
474 |
-
#: persian-gravity.php:
|
475 |
#@ GF_FA
|
476 |
msgid "Mordad"
|
477 |
msgstr "مرداد"
|
478 |
|
479 |
-
#: persian-gravity.php:
|
480 |
#@ GF_FA
|
481 |
msgid "Shahrivar"
|
482 |
msgstr "شهریور"
|
483 |
|
484 |
-
#: persian-gravity.php:
|
485 |
#@ GF_FA
|
486 |
msgid "Mehr"
|
487 |
msgstr "مهر"
|
488 |
|
489 |
-
#: persian-gravity.php:
|
490 |
#@ GF_FA
|
491 |
msgid "Aban"
|
492 |
msgstr "آبان"
|
493 |
|
494 |
-
#: persian-gravity.php:
|
495 |
#@ GF_FA
|
496 |
msgid "Azar"
|
497 |
msgstr "آذر"
|
498 |
|
499 |
-
#: persian-gravity.php:
|
500 |
#@ GF_FA
|
501 |
msgid "Dey"
|
502 |
msgstr "دی"
|
503 |
|
504 |
-
#: persian-gravity.php:
|
505 |
#@ GF_FA
|
506 |
msgid "Bahman"
|
507 |
msgstr "بهمن"
|
508 |
|
509 |
-
#: persian-gravity.php:
|
510 |
#@ GF_FA
|
511 |
msgid "Esfand"
|
512 |
msgstr "اسفند"
|
513 |
|
514 |
-
#: persian-gravity.php:
|
515 |
#@ GF_FA
|
516 |
msgid "Simple Payment Gateway"
|
517 |
msgstr "عنوان درگاه پرداخت ساده"
|
518 |
|
519 |
-
#: persian-gravity.php:
|
520 |
#@ GF_FA
|
521 |
msgid "Simple Payment Status"
|
522 |
msgstr "وضعیت پرداخت ساده"
|
523 |
|
524 |
-
#: persian-gravity.php:
|
525 |
#@ GF_FA
|
526 |
msgid "Simple Transaction ID"
|
527 |
msgstr "شماره تراکنش ساده"
|
528 |
|
529 |
-
#: persian-gravity.php:
|
530 |
#@ GF_FA
|
531 |
msgid "Styled Payment Gateway"
|
532 |
msgstr "جدول نام درگاه پرداخت"
|
533 |
|
534 |
-
#: persian-gravity.php:
|
535 |
#@ GF_FA
|
536 |
msgid "Styled Payment Status"
|
537 |
msgstr "جدول وضعیت پرداخت"
|
538 |
|
539 |
-
#: persian-gravity.php:
|
540 |
#@ GF_FA
|
541 |
msgid "Styled Transaction ID"
|
542 |
msgstr "جدول شماره تراکنش"
|
543 |
|
544 |
-
#: persian-gravity.php:
|
545 |
#@ GF_FA
|
546 |
msgid "Styled Payment Pack"
|
547 |
msgstr "پک پرداخت"
|
548 |
|
549 |
-
#: persian-gravity.php:
|
550 |
#@ GF_FA
|
551 |
msgid "Start of RTL Div"
|
552 |
msgstr "ابتدای بلوک راستچین ساز"
|
553 |
|
554 |
-
#: persian-gravity.php:
|
555 |
#@ GF_FA
|
556 |
msgid "End of RTL Div"
|
557 |
msgstr "انتهای بلوک راستچین ساز"
|
558 |
|
559 |
-
#: persian-gravity.php:
|
560 |
-
#: persian-gravity.php:
|
561 |
#@ GF_FA
|
562 |
msgid "Approved"
|
563 |
msgstr "موفق"
|
564 |
|
565 |
-
#: persian-gravity.php:
|
566 |
-
#: persian-gravity.php:
|
567 |
#@ GF_FA
|
568 |
msgid "Failed"
|
569 |
msgstr "ناموفق"
|
570 |
|
571 |
-
#: persian-gravity.php:
|
572 |
-
#: persian-gravity.php:
|
573 |
#@ GF_FA
|
574 |
msgid "Cancelled"
|
575 |
msgstr "منصرف شده"
|
576 |
|
577 |
-
#: persian-gravity.php:
|
578 |
-
#: persian-gravity.php:
|
579 |
#@ GF_FA
|
580 |
msgid "Processing"
|
581 |
msgstr "در انتظار"
|
582 |
|
583 |
-
#: persian-gravity.php:
|
584 |
#@ GF_FA
|
585 |
msgid "Payment Gateway"
|
586 |
msgstr "عنوان درگاه پرداخت"
|
587 |
|
588 |
-
#: persian-gravity.php:
|
589 |
#@ GF_FA
|
590 |
msgid "Transaction ID"
|
591 |
msgstr "شماره تراکنش"
|
592 |
|
593 |
-
#: persian-gravity.php:
|
594 |
#@ GF_FA
|
595 |
msgid "Payment Status"
|
596 |
msgstr "وضعیت پرداخت"
|
3 |
"Project-Id-Version: Persian Gravity Forms v2.0.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2016-10-31 12:38:36+0000\n"
|
7 |
"Last-Translator: hannanstd <hannanstd@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
338 |
msgid "Post Permalink"
|
339 |
msgstr "لینک پست"
|
340 |
|
341 |
+
#: includes/class-subtotal-calc.php:194
|
342 |
+
#@ GF_FA
|
343 |
msgid "Subtotal"
|
344 |
+
msgstr "مجموع قیمت ها"
|
345 |
|
346 |
#: includes/class-wpp-gravity-forms.php:89
|
347 |
#@ wp-parsidate
|
419 |
msgid "Apparently, There are no updates to show!"
|
420 |
msgstr "هیچ مطلبی وجود ندارد!"
|
421 |
|
422 |
+
#: persian-gravity.php:548
|
423 |
#@ GF_FA
|
424 |
msgid "Private"
|
425 |
msgstr "Private"
|
426 |
|
427 |
+
#: persian-gravity.php:557
|
428 |
#@ GF_FA
|
429 |
msgid "Iranian Rial"
|
430 |
msgstr "ریال"
|
431 |
|
432 |
+
#: persian-gravity.php:558
|
433 |
+
#: persian-gravity.php:559
|
434 |
#@ GF_FA
|
435 |
msgid "Rial"
|
436 |
msgstr "ریال"
|
437 |
|
438 |
+
#: persian-gravity.php:569
|
439 |
#@ GF_FA
|
440 |
msgid "Iranian Toman"
|
441 |
msgstr "تومان"
|
442 |
|
443 |
+
#: persian-gravity.php:570
|
444 |
+
#: persian-gravity.php:571
|
445 |
#@ GF_FA
|
446 |
msgid "Toman"
|
447 |
msgstr "تومان"
|
448 |
|
449 |
+
#: persian-gravity.php:585
|
450 |
#@ GF_FA
|
451 |
msgid "Iranian Months"
|
452 |
msgstr "ماه های ایران"
|
453 |
|
454 |
+
#: persian-gravity.php:586
|
455 |
#@ GF_FA
|
456 |
msgid "Farvardin"
|
457 |
msgstr "فروردین"
|
458 |
|
459 |
+
#: persian-gravity.php:587
|
460 |
#@ GF_FA
|
461 |
msgid "Ordibehesht"
|
462 |
msgstr "اردیبهشت"
|
463 |
|
464 |
+
#: persian-gravity.php:588
|
465 |
#@ GF_FA
|
466 |
msgid "Khordad"
|
467 |
msgstr "خرداد"
|
468 |
|
469 |
+
#: persian-gravity.php:589
|
470 |
#@ GF_FA
|
471 |
msgid "Tir"
|
472 |
msgstr "تیر"
|
473 |
|
474 |
+
#: persian-gravity.php:590
|
475 |
#@ GF_FA
|
476 |
msgid "Mordad"
|
477 |
msgstr "مرداد"
|
478 |
|
479 |
+
#: persian-gravity.php:591
|
480 |
#@ GF_FA
|
481 |
msgid "Shahrivar"
|
482 |
msgstr "شهریور"
|
483 |
|
484 |
+
#: persian-gravity.php:592
|
485 |
#@ GF_FA
|
486 |
msgid "Mehr"
|
487 |
msgstr "مهر"
|
488 |
|
489 |
+
#: persian-gravity.php:593
|
490 |
#@ GF_FA
|
491 |
msgid "Aban"
|
492 |
msgstr "آبان"
|
493 |
|
494 |
+
#: persian-gravity.php:594
|
495 |
#@ GF_FA
|
496 |
msgid "Azar"
|
497 |
msgstr "آذر"
|
498 |
|
499 |
+
#: persian-gravity.php:595
|
500 |
#@ GF_FA
|
501 |
msgid "Dey"
|
502 |
msgstr "دی"
|
503 |
|
504 |
+
#: persian-gravity.php:596
|
505 |
#@ GF_FA
|
506 |
msgid "Bahman"
|
507 |
msgstr "بهمن"
|
508 |
|
509 |
+
#: persian-gravity.php:597
|
510 |
#@ GF_FA
|
511 |
msgid "Esfand"
|
512 |
msgstr "اسفند"
|
513 |
|
514 |
+
#: persian-gravity.php:607
|
515 |
#@ GF_FA
|
516 |
msgid "Simple Payment Gateway"
|
517 |
msgstr "عنوان درگاه پرداخت ساده"
|
518 |
|
519 |
+
#: persian-gravity.php:608
|
520 |
#@ GF_FA
|
521 |
msgid "Simple Payment Status"
|
522 |
msgstr "وضعیت پرداخت ساده"
|
523 |
|
524 |
+
#: persian-gravity.php:609
|
525 |
#@ GF_FA
|
526 |
msgid "Simple Transaction ID"
|
527 |
msgstr "شماره تراکنش ساده"
|
528 |
|
529 |
+
#: persian-gravity.php:610
|
530 |
#@ GF_FA
|
531 |
msgid "Styled Payment Gateway"
|
532 |
msgstr "جدول نام درگاه پرداخت"
|
533 |
|
534 |
+
#: persian-gravity.php:611
|
535 |
#@ GF_FA
|
536 |
msgid "Styled Payment Status"
|
537 |
msgstr "جدول وضعیت پرداخت"
|
538 |
|
539 |
+
#: persian-gravity.php:612
|
540 |
#@ GF_FA
|
541 |
msgid "Styled Transaction ID"
|
542 |
msgstr "جدول شماره تراکنش"
|
543 |
|
544 |
+
#: persian-gravity.php:613
|
545 |
#@ GF_FA
|
546 |
msgid "Styled Payment Pack"
|
547 |
msgstr "پک پرداخت"
|
548 |
|
549 |
+
#: persian-gravity.php:614
|
550 |
#@ GF_FA
|
551 |
msgid "Start of RTL Div"
|
552 |
msgstr "ابتدای بلوک راستچین ساز"
|
553 |
|
554 |
+
#: persian-gravity.php:615
|
555 |
#@ GF_FA
|
556 |
msgid "End of RTL Div"
|
557 |
msgstr "انتهای بلوک راستچین ساز"
|
558 |
|
559 |
+
#: persian-gravity.php:672
|
560 |
+
#: persian-gravity.php:778
|
561 |
#@ GF_FA
|
562 |
msgid "Approved"
|
563 |
msgstr "موفق"
|
564 |
|
565 |
+
#: persian-gravity.php:675
|
566 |
+
#: persian-gravity.php:781
|
567 |
#@ GF_FA
|
568 |
msgid "Failed"
|
569 |
msgstr "ناموفق"
|
570 |
|
571 |
+
#: persian-gravity.php:678
|
572 |
+
#: persian-gravity.php:784
|
573 |
#@ GF_FA
|
574 |
msgid "Cancelled"
|
575 |
msgstr "منصرف شده"
|
576 |
|
577 |
+
#: persian-gravity.php:681
|
578 |
+
#: persian-gravity.php:787
|
579 |
#@ GF_FA
|
580 |
msgid "Processing"
|
581 |
msgstr "در انتظار"
|
582 |
|
583 |
+
#: persian-gravity.php:688
|
584 |
#@ GF_FA
|
585 |
msgid "Payment Gateway"
|
586 |
msgstr "عنوان درگاه پرداخت"
|
587 |
|
588 |
+
#: persian-gravity.php:701
|
589 |
#@ GF_FA
|
590 |
msgid "Transaction ID"
|
591 |
msgstr "شماره تراکنش"
|
592 |
|
593 |
+
#: persian-gravity.php:714
|
594 |
#@ GF_FA
|
595 |
msgid "Payment Status"
|
596 |
msgstr "وضعیت پرداخت"
|
languages/gravityforms/fa_IR.mo
DELETED
Binary file
|
languages/gravityforms/gravityforms-fa_IR.mo
ADDED
Binary file
|
languages/gravityforms/{fa_IR.po → gravityforms-fa_IR.po}
RENAMED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Gravity Forms v2.0.7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2016-10-
|
7 |
"Last-Translator: Mohammad Bagheri <mo.baagheri@gmail.com>\n"
|
8 |
"Language-Team: Hannanstd <h@nnan.ir>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -95,7 +95,7 @@ msgstr "%s حذف شدند."
|
|
95 |
msgid "%s form deleted."
|
96 |
msgid_plural "%s forms deleted."
|
97 |
msgstr[0] "%sفرم حذف شد."
|
98 |
-
msgstr[1] "%sفرم
|
99 |
|
100 |
#: form_list.php:809
|
101 |
#, php-format
|
@@ -103,7 +103,7 @@ msgstr[1] "%sفرم ها حذف شدند."
|
|
103 |
msgid "%s form has been marked as active."
|
104 |
msgid_plural "%s forms have been marked as active."
|
105 |
msgstr[0] "%s فرم به عنوان فعال علامت گذاری شد."
|
106 |
-
msgstr[1] "%s فرم
|
107 |
|
108 |
#: form_list.php:815
|
109 |
#, php-format
|
@@ -111,7 +111,7 @@ msgstr[1] "%s فرم ها به عنوان فعال علامت گذاری شدن
|
|
111 |
msgid "%s form has been marked as inactive."
|
112 |
msgid_plural "%s forms have been marked as inactive."
|
113 |
msgstr[0] "%s فرم به عنوان غیرفعال علامت گذاری شد."
|
114 |
-
msgstr[1] "%sفرم
|
115 |
|
116 |
#: form_list.php:774
|
117 |
#, php-format
|
@@ -119,7 +119,7 @@ msgstr[1] "%sفرم ها به عنوان غیرفعال علامت گذاری ش
|
|
119 |
msgid "%s form moved to the trash."
|
120 |
msgid_plural "%s forms moved to the trash."
|
121 |
msgstr[0] "%s فرم به زباله دان انتقال یافت."
|
122 |
-
msgstr[1] "%s فرم
|
123 |
|
124 |
#: form_list.php:778
|
125 |
#, php-format
|
@@ -127,13 +127,13 @@ msgstr[1] "%s فرم ها به زباله دادن انتقال یافتند."
|
|
127 |
msgid "%s form restored."
|
128 |
msgid_plural "%s forms restored."
|
129 |
msgstr[0] "%sفرم بازگردانی شد."
|
130 |
-
msgstr[1] "%sفرم
|
131 |
|
132 |
#: includes/addon/class-gf-payment-addon.php:494
|
133 |
#, php-format
|
134 |
#@ gravityforms
|
135 |
msgid "%s has been captured successfully. Amount: %s. Transaction Id: %s"
|
136 |
-
msgstr "%s با موفق انجام شد. مبلغ : %s .
|
137 |
|
138 |
#: includes/addon/class-gf-addon.php:3862
|
139 |
#: includes/addon/class-gf-addon.php:4027
|
@@ -806,7 +806,7 @@ msgstr "تایید هویت"
|
|
806 |
#, php-format
|
807 |
#@ gravityforms
|
808 |
msgid "Authorization has been voided. Transaction Id: %s"
|
809 |
-
msgstr "مجوز صادر شد .
|
810 |
|
811 |
#: notification.php:1057
|
812 |
#@ gravityforms
|
@@ -3116,7 +3116,7 @@ msgstr "شماره فرم"
|
|
3116 |
#: print-entry.php:105
|
3117 |
#@ gravityforms
|
3118 |
msgid "Form Id and Lead Id are required parameters."
|
3119 |
-
msgstr "شماره فرم و
|
3120 |
|
3121 |
#: tooltips.php:40
|
3122 |
#@ gravityforms
|
@@ -4978,13 +4978,13 @@ msgstr "پرداخت ناموفق بود. دلیل : %s"
|
|
4978 |
#, php-format
|
4979 |
#@ gravityforms
|
4980 |
msgid "Payment has been completed. Amount: %s. Transaction Id: %s."
|
4981 |
-
msgstr "وضعیت پرداخت : کامل . مبلغ : %s .
|
4982 |
|
4983 |
#: includes/addon/class-gf-payment-addon.php:1108
|
4984 |
#, php-format
|
4985 |
#@ gravityforms
|
4986 |
msgid "Payment has been refunded. Amount: %s. Transaction Id: %s."
|
4987 |
-
msgstr "وضعیت پرداخت : مسترد . مبلغ : %s .
|
4988 |
|
4989 |
#: includes/addon/class-gf-payment-addon.php:1161
|
4990 |
#, php-format
|
@@ -4996,7 +4996,7 @@ msgstr "وضعیت پرداخت : ناموفق . مبلغ : %s . "
|
|
4996 |
#, php-format
|
4997 |
#@ gravityforms
|
4998 |
msgid "Payment is pending. Amount: %s. Transaction Id: %s."
|
4999 |
-
msgstr "پرداخت در حالت انتظار است . مبلغ : %s .
|
5000 |
|
5001 |
#: includes/locking/class-gf-locking.php:206
|
5002 |
#@ gravityforms
|
@@ -7817,7 +7817,7 @@ msgstr "مجموع: "
|
|
7817 |
#: common.php:4308
|
7818 |
#@ gravityforms
|
7819 |
msgid "Transaction ID"
|
7820 |
-
msgstr "
|
7821 |
|
7822 |
#: entry_detail.php:1135
|
7823 |
#: export.php:854
|
@@ -7825,7 +7825,7 @@ msgstr "کد رهگیری"
|
|
7825 |
#: select_columns.php:181
|
7826 |
#@ gravityforms
|
7827 |
msgid "Transaction Id"
|
7828 |
-
msgstr "
|
7829 |
|
7830 |
#: includes/addon/class-gf-payment-addon.php:1466
|
7831 |
#: includes/addon/class-gf-payment-addon.php:1536
|
3 |
"Project-Id-Version: Gravity Forms v2.0.7\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2016-10-31 12:42:56+0000\n"
|
7 |
"Last-Translator: Mohammad Bagheri <mo.baagheri@gmail.com>\n"
|
8 |
"Language-Team: Hannanstd <h@nnan.ir>\n"
|
9 |
"MIME-Version: 1.0\n"
|
95 |
msgid "%s form deleted."
|
96 |
msgid_plural "%s forms deleted."
|
97 |
msgstr[0] "%sفرم حذف شد."
|
98 |
+
msgstr[1] "%sفرم حذف شدند."
|
99 |
|
100 |
#: form_list.php:809
|
101 |
#, php-format
|
103 |
msgid "%s form has been marked as active."
|
104 |
msgid_plural "%s forms have been marked as active."
|
105 |
msgstr[0] "%s فرم به عنوان فعال علامت گذاری شد."
|
106 |
+
msgstr[1] "%s فرم به عنوان فعال علامت گذاری شدند."
|
107 |
|
108 |
#: form_list.php:815
|
109 |
#, php-format
|
111 |
msgid "%s form has been marked as inactive."
|
112 |
msgid_plural "%s forms have been marked as inactive."
|
113 |
msgstr[0] "%s فرم به عنوان غیرفعال علامت گذاری شد."
|
114 |
+
msgstr[1] "%sفرم به عنوان غیرفعال علامت گذاری شدند."
|
115 |
|
116 |
#: form_list.php:774
|
117 |
#, php-format
|
119 |
msgid "%s form moved to the trash."
|
120 |
msgid_plural "%s forms moved to the trash."
|
121 |
msgstr[0] "%s فرم به زباله دان انتقال یافت."
|
122 |
+
msgstr[1] "%s فرم به زباله دادن انتقال یافتند."
|
123 |
|
124 |
#: form_list.php:778
|
125 |
#, php-format
|
127 |
msgid "%s form restored."
|
128 |
msgid_plural "%s forms restored."
|
129 |
msgstr[0] "%sفرم بازگردانی شد."
|
130 |
+
msgstr[1] "%sفرم بازگردانی شدند."
|
131 |
|
132 |
#: includes/addon/class-gf-payment-addon.php:494
|
133 |
#, php-format
|
134 |
#@ gravityforms
|
135 |
msgid "%s has been captured successfully. Amount: %s. Transaction Id: %s"
|
136 |
+
msgstr "%s با موفق انجام شد. مبلغ : %s . شماره تراکنش : %s"
|
137 |
|
138 |
#: includes/addon/class-gf-addon.php:3862
|
139 |
#: includes/addon/class-gf-addon.php:4027
|
806 |
#, php-format
|
807 |
#@ gravityforms
|
808 |
msgid "Authorization has been voided. Transaction Id: %s"
|
809 |
+
msgstr "مجوز صادر شد . شماره تراکنش : %s ."
|
810 |
|
811 |
#: notification.php:1057
|
812 |
#@ gravityforms
|
3116 |
#: print-entry.php:105
|
3117 |
#@ gravityforms
|
3118 |
msgid "Form Id and Lead Id are required parameters."
|
3119 |
+
msgstr "شماره فرم و شماره تراکنش متغیر های ضروری هستند. "
|
3120 |
|
3121 |
#: tooltips.php:40
|
3122 |
#@ gravityforms
|
4978 |
#, php-format
|
4979 |
#@ gravityforms
|
4980 |
msgid "Payment has been completed. Amount: %s. Transaction Id: %s."
|
4981 |
+
msgstr "وضعیت پرداخت : کامل . مبلغ : %s . شماره تراکنش : %s ."
|
4982 |
|
4983 |
#: includes/addon/class-gf-payment-addon.php:1108
|
4984 |
#, php-format
|
4985 |
#@ gravityforms
|
4986 |
msgid "Payment has been refunded. Amount: %s. Transaction Id: %s."
|
4987 |
+
msgstr "وضعیت پرداخت : مسترد . مبلغ : %s . شماره تراکنش : %s ."
|
4988 |
|
4989 |
#: includes/addon/class-gf-payment-addon.php:1161
|
4990 |
#, php-format
|
4996 |
#, php-format
|
4997 |
#@ gravityforms
|
4998 |
msgid "Payment is pending. Amount: %s. Transaction Id: %s."
|
4999 |
+
msgstr "پرداخت در حالت انتظار است . مبلغ : %s . شماره تراکنش : %s ."
|
5000 |
|
5001 |
#: includes/locking/class-gf-locking.php:206
|
5002 |
#@ gravityforms
|
7817 |
#: common.php:4308
|
7818 |
#@ gravityforms
|
7819 |
msgid "Transaction ID"
|
7820 |
+
msgstr "شماره تراکنش"
|
7821 |
|
7822 |
#: entry_detail.php:1135
|
7823 |
#: export.php:854
|
7825 |
#: select_columns.php:181
|
7826 |
#@ gravityforms
|
7827 |
msgid "Transaction Id"
|
7828 |
+
msgstr "شماره تراکنش"
|
7829 |
|
7830 |
#: includes/addon/class-gf-payment-addon.php:1466
|
7831 |
#: includes/addon/class-gf-payment-addon.php:1536
|
languages/gravityformsauthorizenet/{fa_IR.mo → gravityformsauthorizenet-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsaweber/{fa_IR.mo → gravityformsaweber-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformscampaignmonitor/{fa_IR.mo → gravityformscampaignmonitor-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformscoupons/{fa_IR.mo → gravityformscoupons-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsfreshbooks/{fa_IR.mo → gravityformsfreshbooks-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsmailchimp/{fa_IR.mo → gravityformsmailchimp-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformspaypal/{fa_IR.mo → gravityformspaypal-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformspaypalpaymentspro/{fa_IR.mo → gravityformspaypalpaymentspro-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformspaypalpro/{fa_IR.mo → gravityformspaypalpro-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformspolls/{fa_IR.mo → gravityformspolls-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsquantitylimits/{fa_IR.mo → gravityformsquantitylimits-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsquiz/{fa_IR.mo → gravityformsquiz-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformssignature/{fa_IR.mo → gravityformssignature-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsstickylist/{fa_IR.mo → gravityformsstickylist-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsstripe/{fa_IR.mo → gravityformsstripe-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformssurvey/{fa_IR.mo → gravityformssurvey-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformstwilio/{fa_IR.mo → gravityformstwilio-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformsuserregistration/{fa_IR.mo → gravityformsuserregistration-fa_IR.mo}
RENAMED
File without changes
|
languages/gravityformszapier/{fa_IR.mo → gravityformszapier-fa_IR.mo}
RENAMED
File without changes
|
persian-gravity.php
CHANGED
@@ -13,6 +13,8 @@ class GFParsi
|
|
13 |
protected $language;
|
14 |
|
15 |
protected $is_persian;
|
|
|
|
|
16 |
|
17 |
private $feed = 'http://gravityforms.ir/feed/';
|
18 |
|
@@ -38,7 +40,7 @@ class GFParsi
|
|
38 |
return;
|
39 |
}
|
40 |
|
41 |
-
if (!get_option('
|
42 |
add_action('admin_notices', array($this, 'update_admin_notice'));
|
43 |
add_action('wp_ajax_nopriv_gf_dismiss_admin_notice', array($this, 'gf_dismiss_admin_notice'));
|
44 |
add_action('wp_ajax_gf_dismiss_admin_notice', array($this, 'gf_dismiss_admin_notice'));
|
@@ -96,7 +98,7 @@ class GFParsi
|
|
96 |
add_action('admin_enqueue_scripts', array($this, 'admin_rtl'));
|
97 |
|
98 |
//# اضافه کردن برچسب های ادغام به تاییدیه و اعلان
|
99 |
-
|
100 |
add_filter('gform_replace_merge_tags', array($this, 'replace_merge_tags'), 999, 7);
|
101 |
// add_filter('gform_pre_replace_merge_tags', array( $this, 'pre_replace_merge_tags'), 999, 7);
|
102 |
}
|
@@ -113,14 +115,14 @@ class GFParsi
|
|
113 |
$message = array();
|
114 |
|
115 |
$message[] = __('<strong>گرویتی فرم فارسی :</strong> توجه به موارد زیر الزامیست »', 'GF_FA');
|
116 |
-
$message[] = __('-
|
117 |
-
$message[] = __('- کلیه درگاه های پرداخت
|
118 |
-
$message[] = __('- در صورتی که تاکنون آپدیت 2.2.1 درگاه های پرداخت به دست شما نرسیده است با ارسال مشخصات خرید خود به ایمیل hannanstd@gmail.com درخواست دریافت آپدیت را نمایید. ولی قبل آن اسپم ایمیل خود را نیز چک نمایید.', 'GF_FA');
|
119 |
$message[] = __('- همچنین میتوانید نسخه 2.2.1 درگاه های رایگان را مجددا از سایت گرویتی فرم پارسی دانلود نمایید.', 'GF_FA');
|
120 |
-
$message[] = __('- در
|
121 |
$message[] = __('', 'GF_FA');
|
122 |
|
123 |
-
$class = 'notice notice-
|
124 |
|
125 |
printf('<div class="%1$s"><p>%2$s</p></div>', $class, implode( '<br><br>' , $message));
|
126 |
|
@@ -151,7 +153,13 @@ class GFParsi
|
|
151 |
public function gf_dismiss_admin_notice()
|
152 |
{
|
153 |
check_ajax_referer('gf_dismiss_admin_notice', 'security');
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
die();
|
156 |
}
|
157 |
|
@@ -211,7 +219,7 @@ class GFParsi
|
|
211 |
if (class_exists('GFCommon'))
|
212 |
update_option('rg_form_version', GFCommon::$version);
|
213 |
else
|
214 |
-
update_option('rg_form_version', '
|
215 |
}
|
216 |
|
217 |
}
|
@@ -317,67 +325,67 @@ class GFParsi
|
|
317 |
|
318 |
$domains = array(
|
319 |
'gravityforms' => array(
|
320 |
-
'languages/gravityforms-fa_IR.mo' => 'gravityforms/fa_IR.mo'
|
321 |
),
|
322 |
'gravityformscoupons' => array(
|
323 |
-
'languages/gravityformscoupons-fa_IR.mo' => 'gravityformscoupons/fa_IR.mo'
|
324 |
),
|
325 |
'gravityformsmailchimp' => array(
|
326 |
-
'languages/gravityformsmailchimp-fa_IR.mo' => 'gravityformsmailchimp/fa_IR.mo'
|
327 |
),
|
328 |
'gravityformspolls' => array(
|
329 |
-
'languages/gravityformspolls-fa_IR.mo' => 'gravityformspolls/fa_IR.mo'
|
330 |
),
|
331 |
'gravityformsquiz' => array(
|
332 |
-
'languages/gravityformsquiz-fa_IR.mo' => 'gravityformsquiz/fa_IR.mo'
|
333 |
),
|
334 |
'gravityformssignature' => array(
|
335 |
-
'languages/gravityformssignature-fa_IR.mo' => 'gravityformssignature/fa_IR.mo'
|
336 |
),
|
337 |
'gravityformssurvey' => array(
|
338 |
-
'languages/gravityformssurvey-fa_IR.mo' => 'gravityformssurvey/fa_IR.mo'
|
339 |
),
|
340 |
'gravityformsuserregistration' => array(
|
341 |
-
'languages/gravityformsuserregistration-fa_IR.mo' => 'gravityformsuserregistration/fa_IR.mo'
|
342 |
),
|
343 |
'gravityformsauthorizenet' => array(
|
344 |
-
'languages/gravityformsauthorizenet-fa_IR.mo' => 'gravityformsauthorizenet/fa_IR.mo'
|
345 |
),
|
346 |
'gravityformsaweber' => array(
|
347 |
-
'languages/gravityformsaweber-fa_IR.mo' => 'gravityformsaweber/fa_IR.mo'
|
348 |
),
|
349 |
'gravityformscampaignmonitor' => array(
|
350 |
-
'languages/gravityformscampaignmonitor-fa_IR.mo' => 'gravityformscampaignmonitor/fa_IR.mo'
|
351 |
),
|
352 |
'gravityformsfreshbooks' => array(
|
353 |
-
'languages/gravityformsfreshbooks-fa_IR.mo' => 'gravityformsfreshbooks/fa_IR.mo'
|
354 |
),
|
355 |
'gravityformspaypal' => array(
|
356 |
-
'languages/gravityformspaypal-fa_IR.mo' => 'gravityformspaypal/fa_IR.mo'
|
357 |
),
|
358 |
'gravityformspaypalpro' => array(
|
359 |
-
'languages/gravityformspaypalpro-fa_IR.mo' => 'gravityformspaypalpro/fa_IR.mo'
|
360 |
),
|
361 |
'gravityformspaypalpaymentspro' => array(
|
362 |
-
'languages/gravityformspaypalpaymentspro-fa_IR.mo' => 'gravityformspaypalpaymentspro/fa_IR.mo'
|
363 |
),
|
364 |
'gravityformstwilio' => array(
|
365 |
-
'languages/gravityformstwilio-fa_IR.mo' => 'gravityformstwilio/fa_IR.mo'
|
366 |
),
|
367 |
'gravityformsstripe' => array(
|
368 |
-
'languages/gravityformsstripe-fa_IR.mo' => 'gravityformsstripe/fa_IR.mo'
|
369 |
),
|
370 |
'gravityformszapier' => array(
|
371 |
-
'languages/gravityformszapier-fa_IR.mo' => 'gravityformszapier/fa_IR.mo'
|
372 |
),
|
373 |
'sticky-list' => array(
|
374 |
-
'languages/sticky-list-fa_IR.mo' => 'gravityformsstickylist/fa_IR.mo'
|
375 |
),
|
376 |
'gf-limit' => array(
|
377 |
-
'gf-limit-fa_IR.mo' => 'gravityformsquantitylimits/fa_IR.mo'
|
378 |
),
|
379 |
'gf-limit' => array(
|
380 |
-
'languages/gf-limit-fa_IR.mo' => 'gravityformsquantitylimits/fa_IR.mo'
|
381 |
)
|
382 |
);
|
383 |
|
@@ -446,7 +454,9 @@ class GFParsi
|
|
446 |
AND ld.value = %s";
|
447 |
|
448 |
$sql = "SELECT count(distinct input) as match_count FROM ( ";
|
449 |
-
|
|
|
|
|
450 |
$input_count = 1;
|
451 |
if ( is_array( $field->get_entry_inputs() ) ) {
|
452 |
$input_count = sizeof( $field->inputs );
|
@@ -787,7 +797,7 @@ class GFParsi
|
|
787 |
|
788 |
if (!empty($payment_status)) {
|
789 |
|
790 |
-
echo '<a class="status" href="' . $admin_url . '&sort=0&dir=DESC&s=
|
791 |
|
792 |
if (!empty($gateway))
|
793 |
echo ' - ';
|
@@ -995,9 +1005,11 @@ class GFParsi
|
|
995 |
}
|
996 |
|
997 |
//for use in old plugin
|
|
|
998 |
class GravityFormsPersian extends GFParsi
|
999 |
{
|
1000 |
}
|
|
|
1001 |
|
1002 |
global $gf_parsi;
|
1003 |
$gf_parsi = new GFParsi();
|
13 |
protected $language;
|
14 |
|
15 |
protected $is_persian;
|
16 |
+
|
17 |
+
private $notice_ver = 2;
|
18 |
|
19 |
private $feed = 'http://gravityforms.ir/feed/';
|
20 |
|
40 |
return;
|
41 |
}
|
42 |
|
43 |
+
if (! get_option('persian_gf_notice_v' . $this->notice_ver )) {
|
44 |
add_action('admin_notices', array($this, 'update_admin_notice'));
|
45 |
add_action('wp_ajax_nopriv_gf_dismiss_admin_notice', array($this, 'gf_dismiss_admin_notice'));
|
46 |
add_action('wp_ajax_gf_dismiss_admin_notice', array($this, 'gf_dismiss_admin_notice'));
|
98 |
add_action('admin_enqueue_scripts', array($this, 'admin_rtl'));
|
99 |
|
100 |
//# اضافه کردن برچسب های ادغام به تاییدیه و اعلان
|
101 |
+
add_filter('gform_admin_pre_render', array($this, 'merge_tags_admin'));
|
102 |
add_filter('gform_replace_merge_tags', array($this, 'replace_merge_tags'), 999, 7);
|
103 |
// add_filter('gform_pre_replace_merge_tags', array( $this, 'pre_replace_merge_tags'), 999, 7);
|
104 |
}
|
115 |
$message = array();
|
116 |
|
117 |
$message[] = __('<strong>گرویتی فرم فارسی :</strong> توجه به موارد زیر الزامیست »', 'GF_FA');
|
118 |
+
$message[] = __('- در این بروز رسانی فارسی ساز چند رفع باگ و بروز رسانی ترجمه انجام شده است. همچنین تمام ترجمه های "کد رهگیری" به "شماره تراکنش" تغییر کرده اند؛ زیرا به زودی پلاگین منحصر به کد رهگیری منتشر میشود.', 'GF_FA');
|
119 |
+
$message[] = '<span style="color:red">' . __('- کلیه درگاه های پرداخت زیر نسخه 2.2.1 به دلیل باگ امنیتی امنیتی از کار افتاده اند.', 'GF_FA') . '</span>';
|
120 |
+
$message[] = __('- در صورتی که درگاه های پرداخت را از طریق سایت گرویتی فرم پارسی و یا خود بنده دریافت کرده بودید ولی تاکنون آپدیت 2.2.1 درگاه های پرداخت به دست شما نرسیده است با ارسال مشخصات خرید خود به ایمیل hannanstd@gmail.com درخواست دریافت آپدیت را نمایید. ولی قبل آن اسپم ایمیل خود را نیز چک نمایید.', 'GF_FA');
|
121 |
$message[] = __('- همچنین میتوانید نسخه 2.2.1 درگاه های رایگان را مجددا از سایت گرویتی فرم پارسی دانلود نمایید.', 'GF_FA');
|
122 |
+
$message[] = '<span style="color:red">' . __('- در صورتی که از درگاه پرداخت واسطی استفاده می نمایید که در لیست درگاه های موجود در سایت گرویتی فرم پارسی نیستند و این درگاه ها با این بروز رسانی از کار افتاده اند؛ به این معنیست که درگاه مورد نظر بدون اجازه درگاه های پرداخت گرویتی فرم پارسی را کپی برداری کرده اند.', 'GF_FA') . '</span>';
|
123 |
$message[] = __('', 'GF_FA');
|
124 |
|
125 |
+
$class = 'notice notice-warning gf_support_notice is-dismissible';
|
126 |
|
127 |
printf('<div class="%1$s"><p>%2$s</p></div>', $class, implode( '<br><br>' , $message));
|
128 |
|
153 |
public function gf_dismiss_admin_notice()
|
154 |
{
|
155 |
check_ajax_referer('gf_dismiss_admin_notice', 'security');
|
156 |
+
|
157 |
+
update_option('persian_gf_notice_v' . $this->notice_ver, 'true');
|
158 |
+
|
159 |
+
for ($i = 1; $i < $this->notice_ver; $i++) {
|
160 |
+
delete_option('persian_gf_notice_v' . $i);
|
161 |
+
}
|
162 |
+
|
163 |
die();
|
164 |
}
|
165 |
|
219 |
if (class_exists('GFCommon'))
|
220 |
update_option('rg_form_version', GFCommon::$version);
|
221 |
else
|
222 |
+
update_option('rg_form_version', '2.0.0');
|
223 |
}
|
224 |
|
225 |
}
|
325 |
|
326 |
$domains = array(
|
327 |
'gravityforms' => array(
|
328 |
+
'languages/gravityforms-fa_IR.mo' => 'gravityforms/gravityforms-fa_IR.mo'
|
329 |
),
|
330 |
'gravityformscoupons' => array(
|
331 |
+
'languages/gravityformscoupons-fa_IR.mo' => 'gravityformscoupons/gravityformscoupons-fa_IR.mo'
|
332 |
),
|
333 |
'gravityformsmailchimp' => array(
|
334 |
+
'languages/gravityformsmailchimp-fa_IR.mo' => 'gravityformsmailchimp/gravityformsmailchimp-fa_IR.mo'
|
335 |
),
|
336 |
'gravityformspolls' => array(
|
337 |
+
'languages/gravityformspolls-fa_IR.mo' => 'gravityformspolls/gravityformspolls-fa_IR.mo'
|
338 |
),
|
339 |
'gravityformsquiz' => array(
|
340 |
+
'languages/gravityformsquiz-fa_IR.mo' => 'gravityformsquiz/gravityformsquiz-fa_IR.mo'
|
341 |
),
|
342 |
'gravityformssignature' => array(
|
343 |
+
'languages/gravityformssignature-fa_IR.mo' => 'gravityformssignature/gravityformssignature-fa_IR.mo'
|
344 |
),
|
345 |
'gravityformssurvey' => array(
|
346 |
+
'languages/gravityformssurvey-fa_IR.mo' => 'gravityformssurvey/gravityformssurvey-fa_IR.mo'
|
347 |
),
|
348 |
'gravityformsuserregistration' => array(
|
349 |
+
'languages/gravityformsuserregistration-fa_IR.mo' => 'gravityformsuserregistration/gravityformsuserregistration-fa_IR.mo'
|
350 |
),
|
351 |
'gravityformsauthorizenet' => array(
|
352 |
+
'languages/gravityformsauthorizenet-fa_IR.mo' => 'gravityformsauthorizenet/gravityformsauthorizenet-fa_IR.mo'
|
353 |
),
|
354 |
'gravityformsaweber' => array(
|
355 |
+
'languages/gravityformsaweber-fa_IR.mo' => 'gravityformsaweber/gravityformsaweber-fa_IR.mo'
|
356 |
),
|
357 |
'gravityformscampaignmonitor' => array(
|
358 |
+
'languages/gravityformscampaignmonitor-fa_IR.mo' => 'gravityformscampaignmonitor/gravityformscampaignmonitor-fa_IR.mo'
|
359 |
),
|
360 |
'gravityformsfreshbooks' => array(
|
361 |
+
'languages/gravityformsfreshbooks-fa_IR.mo' => 'gravityformsfreshbooks/gravityformsfreshbooks-fa_IR.mo'
|
362 |
),
|
363 |
'gravityformspaypal' => array(
|
364 |
+
'languages/gravityformspaypal-fa_IR.mo' => 'gravityformspaypal/gravityformspaypal-fa_IR.mo'
|
365 |
),
|
366 |
'gravityformspaypalpro' => array(
|
367 |
+
'languages/gravityformspaypalpro-fa_IR.mo' => 'gravityformspaypalpro/gravityformspaypalpro-fa_IR.mo'
|
368 |
),
|
369 |
'gravityformspaypalpaymentspro' => array(
|
370 |
+
'languages/gravityformspaypalpaymentspro-fa_IR.mo' => 'gravityformspaypalpaymentspro/gravityformspaypalpaymentspro-fa_IR.mo'
|
371 |
),
|
372 |
'gravityformstwilio' => array(
|
373 |
+
'languages/gravityformstwilio-fa_IR.mo' => 'gravityformstwilio/gravityformstwilio-fa_IR.mo'
|
374 |
),
|
375 |
'gravityformsstripe' => array(
|
376 |
+
'languages/gravityformsstripe-fa_IR.mo' => 'gravityformsstripe/gravityformsstripe-fa_IR.mo'
|
377 |
),
|
378 |
'gravityformszapier' => array(
|
379 |
+
'languages/gravityformszapier-fa_IR.mo' => 'gravityformszapier/gravityformszapier-fa_IR.mo'
|
380 |
),
|
381 |
'sticky-list' => array(
|
382 |
+
'languages/sticky-list-fa_IR.mo' => 'gravityformsstickylist/gravityformsstickylist-fa_IR.mo'
|
383 |
),
|
384 |
'gf-limit' => array(
|
385 |
+
'gf-limit-fa_IR.mo' => 'gravityformsquantitylimits/gravityformsquantitylimits-fa_IR.mo'
|
386 |
),
|
387 |
'gf-limit' => array(
|
388 |
+
'languages/gf-limit-fa_IR.mo' => 'gravityformsquantitylimits/gravityformsquantitylimits-fa_IR.mo'
|
389 |
)
|
390 |
);
|
391 |
|
454 |
AND ld.value = %s";
|
455 |
|
456 |
$sql = "SELECT count(distinct input) as match_count FROM ( ";
|
457 |
+
|
458 |
+
$inner_sql = '';
|
459 |
+
|
460 |
$input_count = 1;
|
461 |
if ( is_array( $field->get_entry_inputs() ) ) {
|
462 |
$input_count = sizeof( $field->inputs );
|
797 |
|
798 |
if (!empty($payment_status)) {
|
799 |
|
800 |
+
echo '<a class="status" href="' . $admin_url . '&sort=0&dir=DESC&s=' . $payment_status . '&field_id=payment_status&operator=is" style="color:' . $color . ';"> ' . $status . ' </a>';
|
801 |
|
802 |
if (!empty($gateway))
|
803 |
echo ' - ';
|
1005 |
}
|
1006 |
|
1007 |
//for use in old plugin
|
1008 |
+
/*
|
1009 |
class GravityFormsPersian extends GFParsi
|
1010 |
{
|
1011 |
}
|
1012 |
+
*/
|
1013 |
|
1014 |
global $gf_parsi;
|
1015 |
$gf_parsi = new GFParsi();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: gravityforms,gravity forms,persian gravity forms,persian gravityforms,grav
|
|
4 |
Donate link: http://gravityforms.ir
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.4
|
7 |
-
Stable tag: 2.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 .
|
@@ -53,6 +53,8 @@ This plugin extends the Gravity Forms and its addons with Persian language
|
|
53 |
|
54 |
|
55 |
== Changelog ==
|
|
|
|
|
56 |
= 2.0.4 =
|
57 |
* سازگاری با نسخه آخر گرویتی فرم و رفع باگ
|
58 |
= 2.0.3 =
|
@@ -130,6 +132,8 @@ This plugin extends the Gravity Forms and its addons with Persian language
|
|
130 |
* انتشار نسخه اولیه
|
131 |
|
132 |
== Upgrade Notice ==
|
|
|
|
|
133 |
= 2.0.4 =
|
134 |
* سازگاری با نسخه آخر گرویتی فرم و رفع باگ
|
135 |
= 2.0.3 =
|
4 |
Donate link: http://gravityforms.ir
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6.4
|
7 |
+
Stable tag: 2.0.5
|
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 .
|
53 |
|
54 |
|
55 |
== Changelog ==
|
56 |
+
= 2.0.5 =
|
57 |
+
* رفع باگ و بروز رسانی ترجمه و غیرفعالسازی درگاه های قدیمی و کپی برداری شده
|
58 |
= 2.0.4 =
|
59 |
* سازگاری با نسخه آخر گرویتی فرم و رفع باگ
|
60 |
= 2.0.3 =
|
132 |
* انتشار نسخه اولیه
|
133 |
|
134 |
== Upgrade Notice ==
|
135 |
+
= 2.0.5 =
|
136 |
+
* رفع باگ و بروز رسانی ترجمه و غیرفعالسازی درگاه های قدیمی و کپی برداری شده
|
137 |
= 2.0.4 =
|
138 |
* سازگاری با نسخه آخر گرویتی فرم و رفع باگ
|
139 |
= 2.0.3 =
|