Paid Memberships Pro - Version 1.8.2.1

Version Description

  • BUG: Fixed issue where admins would get emails RE membership changes whenever a profile was updated even if the membership wasn't changed. (Thanks, chrisw123)
Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 1.8.2.1
Comparing to
See all releases

Code changes from version 1.8.1 to 1.8.2.1

adminpages/memberslist-csv.php CHANGED
@@ -1,6 +1,6 @@
1
<?php
2
//only admins can get this
3
- if(!function_exists("current_user_can") || (!current_user_can("manage_options") && !current_user_can("pmpro_memberslist_csv")))
4
{
5
die(__("You do not have permissions to perform this action.", "pmpro"));
6
}
@@ -20,12 +20,12 @@
20
21
//some vars for the search
22
if(!empty($_REQUEST['pn']))
23
- $pn = $_REQUEST['pn'];
24
else
25
$pn = 1;
26
27
if(!empty($_REQUEST['limit']))
28
- $limit = $_REQUEST['limit'];
29
else
30
$limit = false;
31
@@ -47,7 +47,7 @@
47
if($l == "oldmembers" || $l == "expired" || $l == "cancelled")
48
$sqlQuery .= " LEFT JOIN $wpdb->pmpro_memberships_users mu2 ON u.ID = mu2.user_id AND mu2.status = 'active' ";
49
50
- $sqlQuery .= " WHERE mu.membership_id > 0 AND (u.user_login LIKE '%$s%' OR u.user_email LIKE '%$s%' OR um.meta_value LIKE '%$s%') ";
51
52
if($l == "oldmembers")
53
$sqlQuery .= " AND mu.status <> 'active' AND mu2.status IS NULL ";
@@ -56,7 +56,7 @@
56
elseif($l == "cancelled")
57
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
58
elseif($l)
59
- $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . $l . "' ";
60
else
61
$sqlQuery .= " AND mu.status = 'active' ";
62
@@ -86,7 +86,7 @@
86
elseif($l == "cancelled")
87
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
88
elseif($l)
89
- $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . $l . "' ";
90
else
91
$sqlQuery .= " AND mu.status = 'active' ";
92
$sqlQuery .= "GROUP BY u.ID ";
1
<?php
2
//only admins can get this
3
+ if(!function_exists("current_user_can") || (!current_user_can("manage_options") && !current_user_can("pmpro_memberslistcsv")))
4
{
5
die(__("You do not have permissions to perform this action.", "pmpro"));
6
}
20
21
//some vars for the search
22
if(!empty($_REQUEST['pn']))
23
+ $pn = intval($_REQUEST['pn']);
24
else
25
$pn = 1;
26
27
if(!empty($_REQUEST['limit']))
28
+ $limit = intval($_REQUEST['limit']);
29
else
30
$limit = false;
31
47
if($l == "oldmembers" || $l == "expired" || $l == "cancelled")
48
$sqlQuery .= " LEFT JOIN $wpdb->pmpro_memberships_users mu2 ON u.ID = mu2.user_id AND mu2.status = 'active' ";
49
50
+ $sqlQuery .= " WHERE mu.membership_id > 0 AND (u.user_login LIKE '%" . esc_sql($s) . "%' OR u.user_email LIKE '%" . esc_sql($s) . "%' OR um.meta_value LIKE '%" . esc_sql($s) . "%') ";
51
52
if($l == "oldmembers")
53
$sqlQuery .= " AND mu.status <> 'active' AND mu2.status IS NULL ";
56
elseif($l == "cancelled")
57
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
58
elseif($l)
59
+ $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . esc_sql($l) . "' ";
60
else
61
$sqlQuery .= " AND mu.status = 'active' ";
62
86
elseif($l == "cancelled")
87
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
88
elseif($l)
89
+ $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . esc_sql($l) . "' ";
90
else
91
$sqlQuery .= " AND mu.status = 'active' ";
92
$sqlQuery .= "GROUP BY u.ID ";
adminpages/memberslist.php CHANGED
@@ -8,7 +8,7 @@
8
//vars
9
global $wpdb;
10
if(isset($_REQUEST['s']))
11
- $s = $_REQUEST['s'];
12
else
13
$s = "";
14
@@ -54,12 +54,12 @@
54
<?php
55
//some vars for the search
56
if(isset($_REQUEST['pn']))
57
- $pn = $_REQUEST['pn'];
58
else
59
$pn = 1;
60
61
if(isset($_REQUEST['limit']))
62
- $limit = $_REQUEST['limit'];
63
else
64
$limit = 15;
65
@@ -73,7 +73,7 @@
73
if($l == "oldmembers" || $l == "expired" || $l == "cancelled")
74
$sqlQuery .= " LEFT JOIN $wpdb->pmpro_memberships_users mu2 ON u.ID = mu2.user_id AND mu2.status = 'active' ";
75
76
- $sqlQuery .= " WHERE mu.membership_id > 0 AND (u.user_login LIKE '%$s%' OR u.user_email LIKE '%$s%' OR um.meta_value LIKE '%$s%') ";
77
78
if($l == "oldmembers")
79
$sqlQuery .= " AND mu.status <> 'active' AND mu2.status IS NULL ";
@@ -82,7 +82,7 @@
82
elseif($l == "cancelled")
83
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
84
elseif($l)
85
- $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . $l . "' ";
86
else
87
$sqlQuery .= " AND mu.status = 'active' ";
88
@@ -111,7 +111,7 @@
111
elseif($l == "cancelled")
112
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
113
elseif($l)
114
- $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . $l . "' ";
115
else
116
$sqlQuery .= " AND mu.status = 'active' ";
117
$sqlQuery .= "GROUP BY u.ID ";
8
//vars
9
global $wpdb;
10
if(isset($_REQUEST['s']))
11
+ $s = trim($_REQUEST['s']);
12
else
13
$s = "";
14
54
<?php
55
//some vars for the search
56
if(isset($_REQUEST['pn']))
57
+ $pn = intval($_REQUEST['pn']);
58
else
59
$pn = 1;
60
61
if(isset($_REQUEST['limit']))
62
+ $limit = intval($_REQUEST['limit']);
63
else
64
$limit = 15;
65
73
if($l == "oldmembers" || $l == "expired" || $l == "cancelled")
74
$sqlQuery .= " LEFT JOIN $wpdb->pmpro_memberships_users mu2 ON u.ID = mu2.user_id AND mu2.status = 'active' ";
75
76
+ $sqlQuery .= " WHERE mu.membership_id > 0 AND (u.user_login LIKE '%" . esc_sql($s) . "%' OR u.user_email LIKE '%" . esc_sql($s) . "%' OR um.meta_value LIKE '%" . esc_sql($s) . "%') ";
77
78
if($l == "oldmembers")
79
$sqlQuery .= " AND mu.status <> 'active' AND mu2.status IS NULL ";
82
elseif($l == "cancelled")
83
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
84
elseif($l)
85
+ $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . esc_sql($l) . "' ";
86
else
87
$sqlQuery .= " AND mu.status = 'active' ";
88
111
elseif($l == "cancelled")
112
$sqlQuery .= " AND mu.status IN('cancelled', 'admin_cancelled') AND mu2.status IS NULL ";
113
elseif($l)
114
+ $sqlQuery .= " AND mu.status = 'active' AND mu.membership_id = '" . esc_sql($l) . "' ";
115
else
116
$sqlQuery .= " AND mu.status = 'active' ";
117
$sqlQuery .= "GROUP BY u.ID ";
adminpages/orders-csv.php CHANGED
@@ -65,12 +65,12 @@
65
66
//some vars for the search
67
if(!empty($_REQUEST['pn']))
68
- $pn = $_REQUEST['pn'];
69
else
70
$pn = 1;
71
72
if(!empty($_REQUEST['limit']))
73
- $limit = $_REQUEST['limit'];
74
else
75
$limit = false;
76
@@ -129,15 +129,15 @@
129
$start_date = $start_date . " 00:00:00";
130
$end_date = $end_date . " 23:59:59";
131
132
- $condition = "timestamp BETWEEN '".$start_date."' AND '".$end_date."'";
133
}
134
elseif($filter == "within-a-level")
135
{
136
- $condition = "membership_id = $l";
137
}
138
elseif($filter == "within-a-status")
139
{
140
- $condition = "status = '$status' ";
141
}
142
143
//string search
65
66
//some vars for the search
67
if(!empty($_REQUEST['pn']))
68
+ $pn = intval($_REQUEST['pn']);
69
else
70
$pn = 1;
71
72
if(!empty($_REQUEST['limit']))
73
+ $limit = intval($_REQUEST['limit']);
74
else
75
$limit = false;
76
129
$start_date = $start_date . " 00:00:00";
130
$end_date = $end_date . " 23:59:59";
131
132
+ $condition = "timestamp BETWEEN '".esc_sql($start_date)."' AND '".esc_sql($end_date)."'";
133
}
134
elseif($filter == "within-a-level")
135
{
136
+ $condition = "membership_id = " . esc_sql($l);
137
}
138
elseif($filter == "within-a-status")
139
{
140
+ $condition = "status = '" . esc_sql($status) . "' ";
141
}
142
143
//string search
adminpages/orders.php CHANGED
@@ -8,7 +8,7 @@
8
//vars
9
global $wpdb;
10
if(isset($_REQUEST['s']))
11
- $s = $_REQUEST['s'];
12
else
13
$s = "";
14
@@ -783,12 +783,12 @@
783
<?php
784
//some vars for the search
785
if(isset($_REQUEST['pn']))
786
- $pn = $_REQUEST['pn'];
787
else
788
$pn = 1;
789
790
if(isset($_REQUEST['limit']))
791
- $limit = $_REQUEST['limit'];
792
else
793
$limit = 15;
794
@@ -807,7 +807,7 @@
807
$start_date = $start_date . " 00:00:00";
808
$end_date = $end_date . " 23:59:59";
809
810
- $condition = "timestamp BETWEEN '".$start_date."' AND '".$end_date."'";
811
}
812
elseif($filter == "predefined-date-range")
813
{
@@ -839,15 +839,15 @@
839
$start_date = $start_date . " 00:00:00";
840
$end_date = $end_date . " 23:59:59";
841
842
- $condition = "timestamp BETWEEN '".$start_date."' AND '".$end_date."'";
843
}
844
elseif($filter == "within-a-level")
845
{
846
- $condition = "membership_id = $l";
847
}
848
elseif($filter == "within-a-status")
849
{
850
- $condition = "status = '$status' ";
851
}
852
853
//string search
8
//vars
9
global $wpdb;
10
if(isset($_REQUEST['s']))
11
+ $s = trim($_REQUEST['s']);
12
else
13
$s = "";
14
783
<?php
784
//some vars for the search
785
if(isset($_REQUEST['pn']))
786
+ $pn = intval($_REQUEST['pn']);
787
else
788
$pn = 1;
789
790
if(isset($_REQUEST['limit']))
791
+ $limit = intval($_REQUEST['limit']);
792
else
793
$limit = 15;
794
807
$start_date = $start_date . " 00:00:00";
808
$end_date = $end_date . " 23:59:59";
809
810
+ $condition = "timestamp BETWEEN '".esc_sql($start_date)."' AND '".esc_sql($end_date)."'";
811
}
812
elseif($filter == "predefined-date-range")
813
{
839
$start_date = $start_date . " 00:00:00";
840
$end_date = $end_date . " 23:59:59";
841
842
+ $condition = "timestamp BETWEEN '".esc_sql($start_date)."' AND '".esc_sql($end_date)."'";
843
}
844
elseif($filter == "within-a-level")
845
{
846
+ $condition = "membership_id = " . esc_sql($l);
847
}
848
elseif($filter == "within-a-status")
849
{
850
+ $condition = "status = '" . esc_sql($status) . "' ";
851
}
852
853
//string search
classes/class.pmproemail.php CHANGED
@@ -759,7 +759,7 @@
759
$this->template = "admin_change";
760
$this->data = array("subject" => $this->subject, "name" => $user->display_name, "user_login" => $user->user_login, "sitename" => get_option("blogname"), "membership_id" => $user->membership_level->id, "membership_level_name" => $user->membership_level->name, "siteemail" => pmpro_getOption("from_email"), "login_link" => wp_login_url());
761
if($user->membership_level->ID)
762
- $this->data["membership_change"] = sprintf(__("The new level is %s.", "pmpro"), $user->membership_level->name);
763
else
764
$this->data["membership_change"] = __("Your membership has been cancelled", "pmpro");
765
@@ -797,7 +797,7 @@
797
$this->template = "admin_change_admin";
798
$this->data = array("subject" => $this->subject, "name" => $user->display_name, "user_login" => $user->user_login, "sitename" => get_option("blogname"), "membership_level_name" => $user->membership_level->name, "siteemail" => get_bloginfo("admin_email"), "login_link" => wp_login_url());
799
if($user->membership_level->ID)
800
- $this->data["membership_change"] = sprintf(__("The new level is %s. This membership is free", "pmpro"), $user->membership_level->name);
801
else
802
$this->data["membership_change"] = __("Membership has been cancelled", "pmpro");
803
759
$this->template = "admin_change";
760
$this->data = array("subject" => $this->subject, "name" => $user->display_name, "user_login" => $user->user_login, "sitename" => get_option("blogname"), "membership_id" => $user->membership_level->id, "membership_level_name" => $user->membership_level->name, "siteemail" => pmpro_getOption("from_email"), "login_link" => wp_login_url());
761
if($user->membership_level->ID)
762
+ $this->data["membership_change"] = sprintf(__("The new level is %s", "pmpro"), $user->membership_level->name);
763
else
764
$this->data["membership_change"] = __("Your membership has been cancelled", "pmpro");
765
797
$this->template = "admin_change_admin";
798
$this->data = array("subject" => $this->subject, "name" => $user->display_name, "user_login" => $user->user_login, "sitename" => get_option("blogname"), "membership_level_name" => $user->membership_level->name, "siteemail" => get_bloginfo("admin_email"), "login_link" => wp_login_url());
799
if($user->membership_level->ID)
800
+ $this->data["membership_change"] = sprintf(__("The new level is %s", "pmpro"), $user->membership_level->name);
801
else
802
$this->data["membership_change"] = __("Membership has been cancelled", "pmpro");
803
classes/gateways/class.pmprogateway_stripe.php CHANGED
@@ -870,9 +870,10 @@
870
FROM $wpdb->usermeta
871
WHERE meta_key = 'pmpro_stripe_next_on_date_update'
872
AND meta_value IS NOT NULL
873
AND meta_value < '" . date("Y-m-d", strtotime("+1 day")) . "'";
874
$updates = $wpdb->get_results($sqlQuery);
875
-
876
if(!empty($updates))
877
{
878
//loop through
@@ -882,79 +883,92 @@
882
$user_id = $update->user_id;
883
884
$user = get_userdata($user_id);
885
$user_updates = $user->pmpro_stripe_updates;
886
- $next_on_date_update = "";
887
-
888
//loop through updates looking for updates happening today or earlier
889
- foreach($user_updates as $key => $update)
890
{
891
- if($update['when'] == 'date' &&
892
- $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day'] <= date("Y-m-d")
893
- )
894
{
895
- //get level for user
896
- $user_level = pmpro_getMembershipLevelForUser($user_id);
897
898
- //get current plan at Stripe to get payment date
899
- $last_order = new MemberOrder();
900
- $last_order->getLastMemberOrder($user_id);
901
- $last_order->setGateway('stripe');
902
- $last_order->Gateway->getCustomer($last_order);
903
904
- if(!empty($last_order->Gateway->customer))
905
- {
906
- //find the first subscription
907
- if(!empty($last_order->Gateway->customer->subscriptions['data'][0]))
908
{
909
- $first_sub = $last_order->Gateway->customer->subscriptions['data'][0]->__toArray();
910
- $end_timestamp = $first_sub['current_period_end'];
911
}
912
- }
913
914
- //if we didn't get an end date, let's set one one cycle out
915
- $end_timestamp = strtotime("+" . $update['cycle_number'] . " " . $update['cycle_period']);
916
-
917
- //build order object
918
- $update_order = new MemberOrder();
919
- $update_order->setGateway('stripe');
920
- $update_order->user_id = $user_id;
921
- $update_order->membership_id = $user_level->id;
922
- $update_order->membership_name = $user_level->name;
923
- $update_order->InitialPayment = 0;
924
- $update_order->PaymentAmount = $update['billing_amount'];
925
- $update_order->ProfileStartDate = date("Y-m-d", $end_timestamp);
926
- $update_order->BillingPeriod = $update['cycle_period'];
927
- $update_order->BillingFrequency = $update['cycle_number'];
928
-
929
- //update subscription
930
- $update_order->Gateway->subscribe($update_order, false);
931
-
932
- //update membership
933
- $sqlQuery = "UPDATE $wpdb->pmpro_memberships_users
934
- SET billing_amount = '" . esc_sql($update['billing_amount']) . "',
935
- cycle_number = '" . esc_sql($update['cycle_number']) . "',
936
- cycle_period = '" . esc_sql($update['cycle_period']) . "'
937
- WHERE user_id = '" . esc_sql($user_id) . "'
938
- AND membership_id = '" . esc_sql($last_order->membership_id) . "'
939
- AND status = 'active'
940
- LIMIT 1";
941
-
942
- $wpdb->query($sqlQuery);
943
-
944
- //save order
945
- $update_order->status = "success";
946
- $update_order->save();
947
-
948
- //remove update from list
949
- unset($user_updates[$key]);
950
- }
951
- elseif($update['when'] == 'date')
952
- {
953
- //this is an on date update for the future, update the next on date update
954
- if(!empty($next_on_date_update))
955
- $next_on_date_update = min($next_on_date_update, $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day']);
956
- else
957
- $next_on_date_update = $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day'];
958
}
959
}
960
@@ -1249,6 +1263,10 @@
1249
1250
return $sub;
1251
}
1252
1253
//find subscription based on customer id and order/plan id
1254
$subscriptions = $this->customer->subscriptions->all();
870
FROM $wpdb->usermeta
871
WHERE meta_key = 'pmpro_stripe_next_on_date_update'
872
AND meta_value IS NOT NULL
873
+ AND meta_value <> ''
874
AND meta_value < '" . date("Y-m-d", strtotime("+1 day")) . "'";
875
$updates = $wpdb->get_results($sqlQuery);
876
+
877
if(!empty($updates))
878
{
879
//loop through
883
$user_id = $update->user_id;
884
885
$user = get_userdata($user_id);
886
+
887
+ //if user is missing, delete the update info and continue
888
+ if(empty($user) || empty($user->ID))
889
+ {
890
+ delete_user_meta($user_id, "pmpro_stripe_updates");
891
+ delete_user_meta($user_id, "pmpro_stripe_next_on_date_update");
892
+
893
+ continue;
894
+ }
895
+
896
$user_updates = $user->pmpro_stripe_updates;
897
+ $next_on_date_update = "";
898
+
899
//loop through updates looking for updates happening today or earlier
900
+ if(!empty($user_updates))
901
{
902
+ foreach($user_updates as $key => $update)
903
{
904
+ if($update['when'] == 'date' &&
905
+ $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day'] <= date("Y-m-d")
906
+ )
907
+ {
908
+ //get level for user
909
+ $user_level = pmpro_getMembershipLevelForUser($user_id);
910
911
+ //get current plan at Stripe to get payment date
912
+ $last_order = new MemberOrder();
913
+ $last_order->getLastMemberOrder($user_id);
914
+ $last_order->setGateway('stripe');
915
+ $last_order->Gateway->getCustomer($last_order);
916
917
+ if(!empty($last_order->Gateway->customer))
918
{
919
+ //find the first subscription
920
+ if(!empty($last_order->Gateway->customer->subscriptions['data'][0]))
921
+ {
922
+ $first_sub = $last_order->Gateway->customer->subscriptions['data'][0]->__toArray();
923
+ $end_timestamp = $first_sub['current_period_end'];
924
+ }
925
}
926
927
+ //if we didn't get an end date, let's set one one cycle out
928
+ $end_timestamp = strtotime("+" . $update['cycle_number'] . " " . $update['cycle_period']);
929
+
930
+ //build order object
931
+ $update_order = new MemberOrder();
932
+ $update_order->setGateway('stripe');
933
+ $update_order->user_id = $user_id;
934
+ $update_order->membership_id = $user_level->id;
935
+ $update_order->membership_name = $user_level->name;
936
+ $update_order->InitialPayment = 0;
937
+ $update_order->PaymentAmount = $update['billing_amount'];
938
+ $update_order->ProfileStartDate = date("Y-m-d", $end_timestamp);
939
+ $update_order->BillingPeriod = $update['cycle_period'];
940
+ $update_order->BillingFrequency = $update['cycle_number'];
941
+
942
+ //update subscription
943
+ $update_order->Gateway->subscribe($update_order, false);
944
+
945
+ //update membership
946
+ $sqlQuery = "UPDATE $wpdb->pmpro_memberships_users
947
+ SET billing_amount = '" . esc_sql($update['billing_amount']) . "',
948
+ cycle_number = '" . esc_sql($update['cycle_number']) . "',
949
+ cycle_period = '" . esc_sql($update['cycle_period']) . "'
950
+ WHERE user_id = '" . esc_sql($user_id) . "'
951
+ AND membership_id = '" . esc_sql($last_order->membership_id) . "'
952
+ AND status = 'active'
953
+ LIMIT 1";
954
+
955
+ $wpdb->query($sqlQuery);
956
+
957
+ //save order
958
+ $update_order->status = "success";
959
+ $update_order->save();
960
+
961
+ //remove update from list
962
+ unset($user_updates[$key]);
963
+ }
964
+ elseif($update['when'] == 'date')
965
+ {
966
+ //this is an on date update for the future, update the next on date update
967
+ if(!empty($next_on_date_update))
968
+ $next_on_date_update = min($next_on_date_update, $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day']);
969
+ else
970
+ $next_on_date_update = $update['date_year'] . "-" . $update['date_month'] . "-" . $update['date_day'];
971
+ }
972
}
973
}
974
1263
1264
return $sub;
1265
}
1266
+
1267
+ //no subscriptions object in customer
1268
+ if(empty($this->customer->subscriptions))
1269
+ return false;
1270
1271
//find subscription based on customer id and order/plan id
1272
$subscriptions = $this->customer->subscriptions->all();
includes/content.php CHANGED
@@ -128,7 +128,7 @@ function pmpro_search_filter($query)
128
129
$query->set('post__not_in', $pmpro_pages ); // id of page or post
130
}
131
-
132
//hide member pages from non-members (make sure they aren't hidden from members)
133
if(!$query->is_admin &&
134
!$query->is_singular &&
@@ -301,6 +301,21 @@ function pmpro_membership_content_filter($content, $skipcheck = false)
301
if(empty($post_membership_levels_names))
302
$post_membership_levels_names = array();
303
304
$pmpro_content_message_pre = '<div class="pmpro_content_message">';
305
$pmpro_content_message_post = '</div>';
306
128
129
$query->set('post__not_in', $pmpro_pages ); // id of page or post
130
}
131
+
132
//hide member pages from non-members (make sure they aren't hidden from members)
133
if(!$query->is_admin &&
134
!$query->is_singular &&
301
if(empty($post_membership_levels_names))
302
$post_membership_levels_names = array();
303
304
+ //hide levels which don't allow signups by default
305
+ if(!apply_filters("pmpro_membership_content_filter_disallowed_levels", false, $post_membership_levels_ids, $post_membership_levels_names))
306
+ {
307
+ foreach($post_membership_levels_ids as $key=>$id)
308
+ {
309
+ //does this level allow registrations?
310
+ $level_obj = pmpro_getLevel($id);
311
+ if(!$level_obj->allow_signups)
312
+ {
313
+ unset($post_membership_levels_ids[$key]);
314
+ unset($post_membership_levels_names[$key]);
315
+ }
316
+ }
317
+ }
318
+
319
$pmpro_content_message_pre = '<div class="pmpro_content_message">';
320
$pmpro_content_message_post = '</div>';
321
includes/functions.php CHANGED
@@ -116,6 +116,10 @@ function pmpro_setOption($s, $v = NULL)
116
function pmpro_get_slug($post_id)
117
{
118
global $pmpro_slugs, $wpdb;
119
if(!$pmpro_slugs[$post_id])
120
$pmpro_slugs[$post_id] = $wpdb->get_var("SELECT post_name FROM $wpdb->posts WHERE ID = '" . $post_id . "' LIMIT 1");
121
@@ -537,6 +541,8 @@ function pmpro_hasMembershipLevel($levels = NULL, $user_id = NULL)
537
{
538
$return = true;
539
}
540
}
541
}
542
}
@@ -571,6 +577,9 @@ function pmpro_changeMembershipLevel($level, $user_id = NULL, $old_level_status
571
return false;
572
}
573
574
if(empty($level)) //cancelling membership
575
{
576
$level = 0;
@@ -808,6 +817,8 @@ function pmpro_updateMembershipCategories($level, $categories)
808
*/
809
function pmpro_getMembershipCategories($level_id)
810
{
811
global $wpdb;
812
$categories = $wpdb->get_col("SELECT c.category_id
813
FROM {$wpdb->pmpro_memberships_categories} AS c
@@ -1002,9 +1013,9 @@ function pmpro_calculateInitialPaymentRevenue($s = NULL, $l = NULL)
1002
{
1003
$user_ids_query = "SELECT u.ID FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id WHERE mu.status = 'active' ";
1004
if($s)
1005
- $user_ids_query .= "AND (u.user_login LIKE '%$s%' OR u.user_email LIKE '%$s%' OR um.meta_value LIKE '%$s%') ";
1006
if($l)
1007
- $user_ids_query .= "AND mu.membership_id = '$l' ";
1008
}
1009
1010
//query to sum initial payments
@@ -1026,9 +1037,9 @@ function pmpro_calculateRecurringRevenue($s, $l)
1026
{
1027
$user_ids_query = "AND user_id IN(SELECT u.ID FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id WHERE mu.status = 'active' ";
1028
if($s)
1029
- $user_ids_query .= "AND (u.user_login LIKE '%$s%' OR u.user_email LIKE '%$s%' OR um.meta_value LIKE '%$s%') ";
1030
if($l)
1031
- $user_ids_query .= "AND mu.membership_id = '$l' ";
1032
$user_ids_query .= ")";
1033
}
1034
else
@@ -1077,7 +1088,7 @@ function pmpro_generateUsername($firstname = "", $lastname = "", $email = "")
1077
}
1078
1079
//is it taken?
1080
- $taken = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '" . $username . "' LIMIT 1");
1081
1082
if(!$taken)
1083
return $username;
@@ -1104,7 +1115,7 @@ function pmpro_generateUsername($firstname = "", $lastname = "", $email = "")
1104
}
1105
1106
//taken?
1107
- $taken = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '" . $username . "' LIMIT 1");
1108
1109
//increment the number
1110
$count++;
@@ -1123,7 +1134,7 @@ function pmpro_getDiscountCode($seed = NULL)
1123
{
1124
$scramble = md5(AUTH_KEY . current_time('timestamp') . $seed . SECURE_AUTH_KEY);
1125
$code = substr($scramble, 0, 10);
1126
- $check = $wpdb->get_var("SELECT code FROM $wpdb->pmpro_discount_codes WHERE code = '$code' LIMIT 1");
1127
if($check || is_numeric($code))
1128
$code = NULL;
1129
}
@@ -1138,6 +1149,9 @@ function pmpro_checkDiscountCode($code, $level_id = NULL, $return_errors = false
1138
1139
$error = false;
1140
1141
//no code, no code
1142
if(empty($code))
1143
$error = __("No code was given to check.", "pmpro");
@@ -1145,7 +1159,7 @@ function pmpro_checkDiscountCode($code, $level_id = NULL, $return_errors = false
1145
//get code from db
1146
if(!$error)
1147
{
1148
- $dbcode = $wpdb->get_row("SELECT *, UNIX_TIMESTAMP(starts) as starts, UNIX_TIMESTAMP(expires) as expires FROM $wpdb->pmpro_discount_codes WHERE code ='" . $code . "' LIMIT 1");
1149
1150
//did we find it?
1151
if(empty($dbcode->id))
@@ -1280,6 +1294,9 @@ function pmpro_getMembershipLevelForUser($user_id = NULL, $force = false)
1280
return false;
1281
}
1282
1283
global $all_membership_levels;
1284
1285
if(isset($all_membership_levels[$user_id]) && !$force)
@@ -1337,6 +1354,9 @@ function pmpro_getMembershipLevelsForUser($user_id = NULL, $include_inactive = f
1337
return false;
1338
}
1339
1340
global $wpdb;
1341
return $wpdb->get_results("SELECT
1342
l.id AS ID,
@@ -1394,7 +1414,7 @@ function pmpro_getLevel($level)
1394
else
1395
{
1396
global $wpdb;
1397
- $level_obj = $wpdb->get_row("SELECT * FROM $wpdb->pmpro_membership_levels WHERE name = '" . $level . "' LIMIT 1");
1398
$level_id = $level_obj->id;
1399
$pmpro_levels[$level_id] = $level_obj;
1400
return $pmpro_levels[$level_id];
@@ -1526,6 +1546,10 @@ if(!function_exists("pmpro_getMemberStartdate"))
1526
$user_id = $current_user->ID;
1527
}
1528
1529
global $pmpro_startdates; //for cache
1530
if(empty($pmpro_startdates[$user_id][$level_id]))
1531
{
116
function pmpro_get_slug($post_id)
117
{
118
global $pmpro_slugs, $wpdb;
119
+
120
+ //make sure post id is int for security
121
+ $post_id = intval($post_id);
122
+
123
if(!$pmpro_slugs[$post_id])
124
$pmpro_slugs[$post_id] = $wpdb->get_var("SELECT post_name FROM $wpdb->posts WHERE ID = '" . $post_id . "' LIMIT 1");
125
541
{
542
$return = true;
543
}
544
+ elseif(!is_numeric($level)) //if a level name was passed
545
+ $return = $found_level;
546
}
547
}
548
}
577
return false;
578
}
579
580
+ //make sure user id is int for security
581
+ $user_id = intval($user_id);
582
+
583
if(empty($level)) //cancelling membership
584
{
585
$level = 0;
817
*/
818
function pmpro_getMembershipCategories($level_id)
819
{
820
+ $level_id = intval($level_id);
821
+
822
global $wpdb;
823
$categories = $wpdb->get_col("SELECT c.category_id
824
FROM {$wpdb->pmpro_memberships_categories} AS c
1013
{
1014
$user_ids_query = "SELECT u.ID FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id WHERE mu.status = 'active' ";
1015
if($s)
1016
+ $user_ids_query .= "AND (u.user_login LIKE '%" . esc_sql($s) . "%' OR u.user_email LIKE '%" . esc_sql($s) . "%' OR um.meta_value LIKE '%quot; . esc_sql(s) . "%') ";
1017
if($l)
1018
+ $user_ids_query .= "AND mu.membership_id = '" . esc_sql($l) . "' ";
1019
}
1020
1021
//query to sum initial payments
1037
{
1038
$user_ids_query = "AND user_id IN(SELECT u.ID FROM $wpdb->users u LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id LEFT JOIN $wpdb->pmpro_memberships_users mu ON u.ID = mu.user_id WHERE mu.status = 'active' ";
1039
if($s)
1040
+ $user_ids_query .= "AND (u.user_login LIKE '%" . esc_sql($s) . "%' OR u.user_email LIKE '%" . esc_sql($s) . "%' OR um.meta_value LIKE '%" . esc_sql($s) . "%') ";
1041
if($l)
1042
+ $user_ids_query .= "AND mu.membership_id = '" . esc_sql($l) . "' ";
1043
$user_ids_query .= ")";
1044
}
1045
else
1088
}
1089
1090
//is it taken?
1091
+ $taken = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '" . esc_sql($username) . "' LIMIT 1");
1092
1093
if(!$taken)
1094
return $username;
1115
}
1116
1117
//taken?
1118
+ $taken = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '" . esc_sql($username) . "' LIMIT 1");
1119
1120
//increment the number
1121
$count++;
1134
{
1135
$scramble = md5(AUTH_KEY . current_time('timestamp') . $seed . SECURE_AUTH_KEY);
1136
$code = substr($scramble, 0, 10);
1137
+ $check = $wpdb->get_var("SELECT code FROM $wpdb->pmpro_discount_codes WHERE code = '" . esc_sql($code) . "' LIMIT 1");
1138
if($check || is_numeric($code))
1139
$code = NULL;
1140
}
1149
1150
$error = false;
1151
1152
+ //make sure level id is int for security
1153
+ $level_id = intval($level_id);
1154
+
1155
//no code, no code
1156
if(empty($code))
1157
$error = __("No code was given to check.", "pmpro");
1159
//get code from db
1160
if(!$error)
1161
{
1162
+ $dbcode = $wpdb->get_row("SELECT *, UNIX_TIMESTAMP(starts) as starts, UNIX_TIMESTAMP(expires) as expires FROM $wpdb->pmpro_discount_codes WHERE code ='" . esc_sql($code) . "' LIMIT 1");
1163
1164
//did we find it?
1165
if(empty($dbcode->id))
1294
return false;
1295
}
1296
1297
+ //make sure user id is int for security
1298
+ $user_id = intval($user_id);
1299
+
1300
global $all_membership_levels;
1301
1302
if(isset($all_membership_levels[$user_id]) && !$force)
1354
return false;
1355
}
1356
1357
+ //make sure user id is int for security
1358
+ $user_id = intval($user_id);
1359
+
1360
global $wpdb;
1361
return $wpdb->get_results("SELECT
1362
l.id AS ID,
1414
else
1415
{
1416
global $wpdb;
1417
+ $level_obj = $wpdb->get_row("SELECT * FROM $wpdb->pmpro_membership_levels WHERE name = '" . esc_sql($level) . "' LIMIT 1");
1418
$level_id = $level_obj->id;
1419
$pmpro_levels[$level_id] = $level_obj;
1420
return $pmpro_levels[$level_id];
1546
$user_id = $current_user->ID;
1547
}
1548
1549
+ //make sure user and level id are int for security
1550
+ $user_id = intval($user_id);
1551
+ $level_id = intval($level_id);
1552
+
1553
global $pmpro_startdates; //for cache
1554
if(empty($pmpro_startdates[$user_id][$level_id]))
1555
{
includes/profile.php CHANGED
@@ -45,14 +45,14 @@ function pmpro_membership_level_profile_fields($user)
45
<?php
46
}
47
?>
48
- </select>
49
<span id="current_level_cost">
50
<?php
51
$membership_values = pmpro_getMembershipLevelForUser($user->ID);
52
if(empty($membership_values) || pmpro_isLevelFree($membership_values))
53
- {
54
- echo "Not paying.";
55
- }
56
else
57
{
58
//we tweak the initial payment here so the text here effectively shows the recurring amount
@@ -62,7 +62,7 @@ function pmpro_membership_level_profile_fields($user)
62
?>
63
</span>
64
<p id="cancel_description" class="description hidden"><?php _e("This will not change the subscription at the gateway unless the 'Cancel' checkbox is selected below.", "pmpro"); ?></p>
65
- </td>
66
</tr>
67
<?php
68
}
@@ -303,21 +303,25 @@ function pmpro_membership_level_profile_fields_update()
303
$expiration_changed = true;
304
}
305
}
306
-
307
- //email to admin
308
- $pmproemail = new PMProEmail();
309
- if(!empty($expiration_changed))
310
- $pmproemail->expiration_changed = true;
311
- $pmproemail->sendAdminChangeAdminEmail(get_userdata($user_ID));
312
-
313
- //send email
314
- if(!empty($_REQUEST['send_admin_change_email']))
315
{
316
- //email to member
317
$pmproemail = new PMProEmail();
318
if(!empty($expiration_changed))
319
$pmproemail->expiration_changed = true;
320
- $pmproemail->sendAdminChangeEmail(get_userdata($user_ID));
321
}
322
}
323
add_action( 'show_user_profile', 'pmpro_membership_level_profile_fields' );
45
<?php
46
}
47
?>
48
+ </select>
49
<span id="current_level_cost">
50
<?php
51
$membership_values = pmpro_getMembershipLevelForUser($user->ID);
52
if(empty($membership_values) || pmpro_isLevelFree($membership_values))
53
+ { ?>
54
+ <?php _e("Not paying.", "pmpro"); ?>
55
+ <?php }
56
else
57
{
58
//we tweak the initial payment here so the text here effectively shows the recurring amount
62
?>
63
</span>
64
<p id="cancel_description" class="description hidden"><?php _e("This will not change the subscription at the gateway unless the 'Cancel' checkbox is selected below.", "pmpro"); ?></p>
65
+ </td>
66
</tr>
67
<?php
68
}
303
$expiration_changed = true;
304
}
305
}
306
+
307
+ //emails if there was a change
308
+ if(!empty($level_changed) || !empty($expiration_changed))
309
{
310
+ //email to admin
311
$pmproemail = new PMProEmail();
312
if(!empty($expiration_changed))
313
$pmproemail->expiration_changed = true;
314
+ $pmproemail->sendAdminChangeAdminEmail(get_userdata($user_ID));
315
+
316
+ //send email
317
+ if(!empty($_REQUEST['send_admin_change_email']))
318
+ {
319
+ //email to member
320
+ $pmproemail = new PMProEmail();
321
+ if(!empty($expiration_changed))
322
+ $pmproemail->expiration_changed = true;
323
+ $pmproemail->sendAdminChangeEmail(get_userdata($user_ID));
324
+ }
325
}
326
}
327
add_action( 'show_user_profile', 'pmpro_membership_level_profile_fields' );
languages/pmpro-es_PE.po CHANGED
@@ -1905,8 +1905,8 @@ msgstr "Tu membresía en %s ha cambiado"
1905
1906
#: classes/class.pmproemail.php:645 classes/class.pmproemail.php:683
1907
#, php-format
1908
- msgid "The new level is %s. This membership is free"
1909
- msgstr "El nuevo nivel es %s. Esta membresa es gratuita"
1910
1911
#: classes/class.pmproemail.php:647
1912
msgid "Your membership has been cancelled"
1905
1906
#: classes/class.pmproemail.php:645 classes/class.pmproemail.php:683
1907
#, php-format
1908
+ msgid "The new level is %s"
1909
+ msgstr "El nuevo nivel es %s"
1910
1911
#: classes/class.pmproemail.php:647
1912
msgid "Your membership has been cancelled"
languages/pmpro.mo CHANGED
Binary file
languages/pmpro.po CHANGED
@@ -5,7 +5,7 @@
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
- "POT-Creation-Date: 2015-03-17 09:49-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
@@ -504,6 +504,7 @@ msgstr ""
504
#: pages/checkout.php:553 adminpages/discountcodes.php:367
505
#: adminpages/discountcodes.php:370 adminpages/discountcodes.php:371
506
#: classes/gateways/class.pmprogateway_braintree.php:308
507
#: classes/gateways/class.pmprogateway_stripe.php:454 pages/billing.php:249
508
#: pages/billing.php:253 pages/checkout.php:508 pages/checkout.php:524
509
#: pages/checkout.php:525 pages/checkout.php:532 pages/checkout.php:553
@@ -1432,6 +1433,7 @@ msgstr ""
1432
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:238
1433
#: pages/checkout.php:507 adminpages/orders.php:339 adminpages/orders.php:389
1434
#: classes/gateways/class.pmprogateway_braintree.php:291
1435
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:234
1436
#: pages/billing.php:238 pages/checkout.php:493 pages/checkout.php:507
1437
#: pages/checkout.php:510 pages/checkout.php:517
@@ -2172,6 +2174,7 @@ msgstr ""
2172
#: classes/class.pmproemail.php:580 classes/class.pmproemail.php:645
2173
#: classes/class.pmproemail.php:648
2174
#: classes/gateways/class.pmprogateway_braintree.php:349
2175
#: classes/gateways/class.pmprogateway_stripe.php:495 pages/checkout.php:66
2176
#: pages/checkout.php:67 pages/checkout.php:68 pages/checkout.php:76
2177
#: pages/checkout.php:77 pages/checkout.php:78 pages/checkout.php:549
@@ -2269,10 +2272,10 @@ msgstr ""
2269
msgid "Your membership at %s has been changed"
2270
msgstr ""
2271
2272
- #: classes/class.pmproemail.php:762 classes/class.pmproemail.php:759
2273
- #: classes/class.pmproemail.php:762
2274
#, php-format
2275
- msgid "The new level is %s."
2276
msgstr ""
2277
2278
#: classes/class.pmproemail.php:764 classes/class.pmproemail.php:647
@@ -2305,14 +2308,6 @@ msgstr ""
2305
msgid "Membership for %s at %s has been changed"
2306
msgstr ""
2307
2308
- #: classes/class.pmproemail.php:800 classes/class.pmproemail.php:645
2309
- #: classes/class.pmproemail.php:683 classes/class.pmproemail.php:694
2310
- #: classes/class.pmproemail.php:732 classes/class.pmproemail.php:797
2311
- #: classes/class.pmproemail.php:800
2312
- #, php-format
2313
- msgid "The new level is %s. This membership is free"
2314
- msgstr ""
2315
-
2316
#: classes/class.pmproemail.php:802 classes/class.pmproemail.php:799
2317
#: classes/class.pmproemail.php:802
2318
msgid "Membership has been cancelled"
@@ -2455,12 +2450,14 @@ msgstr ""
2455
#: classes/gateways/class.pmprogateway_braintree.php:76
2456
#: paid-memberships-pro.php:123
2457
#: classes/gateways/class.pmprogateway_braintree.php:63
2458
#: paid-memberships-pro.php:123
2459
msgid "Braintree Payments"
2460
msgstr ""
2461
2462
#: classes/gateways/class.pmprogateway_braintree.php:132
2463
#: classes/gateways/class.pmprogateway_braintree.php:119
2464
msgid "Braintree Settings"
2465
msgstr ""
2466
@@ -2470,6 +2467,7 @@ msgstr ""
2470
#: adminpages/paymentsettings.php:303 adminpages/paymentsettings.php:364
2471
#: adminpages/paymentsettings.php:369
2472
#: classes/gateways/class.pmprogateway_braintree.php:124
2473
#: classes/gateways/class.pmprogateway_cybersource.php:106
2474
msgid "Merchant ID"
2475
msgstr ""
@@ -2478,6 +2476,7 @@ msgstr ""
2478
#: adminpages/paymentsettings.php:302 adminpages/paymentsettings.php:306
2479
#: adminpages/paymentsettings.php:311
2480
#: classes/gateways/class.pmprogateway_braintree.php:132
2481
msgid "Public Key"
2482
msgstr ""
2483
@@ -2485,6 +2484,7 @@ msgstr ""
2485
#: adminpages/paymentsettings.php:310 adminpages/paymentsettings.php:314
2486
#: adminpages/paymentsettings.php:319
2487
#: classes/gateways/class.pmprogateway_braintree.php:140
2488
msgid "Private Key"
2489
msgstr ""
2490
@@ -2492,6 +2492,7 @@ msgstr ""
2492
#: adminpages/paymentsettings.php:318 adminpages/paymentsettings.php:322
2493
#: adminpages/paymentsettings.php:327
2494
#: classes/gateways/class.pmprogateway_braintree.php:148
2495
msgid "Client-Side Encryption Key"
2496
msgstr ""
2497
@@ -2502,6 +2503,7 @@ msgstr ""
2502
#: adminpages/paymentsettings.php:511 adminpages/paymentsettings.php:517
2503
#: adminpages/paymentsettings.php:519
2504
#: classes/gateways/class.pmprogateway_braintree.php:156
2505
#: classes/gateways/class.pmprogateway_stripe.php:181
2506
msgid "Web Hook URL"
2507
msgstr ""
@@ -2510,12 +2512,14 @@ msgstr ""
2510
#: adminpages/paymentsettings.php:474 adminpages/paymentsettings.php:515
2511
#: adminpages/paymentsettings.php:521 adminpages/paymentsettings.php:523
2512
#: classes/gateways/class.pmprogateway_braintree.php:160
2513
msgid "To fully integrate with Braintree, be sure to set your Web Hook URL to"
2514
msgstr ""
2515
2516
#: classes/gateways/class.pmprogateway_braintree.php:283
2517
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2518
#: classes/gateways/class.pmprogateway_braintree.php:270
2519
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2520
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2521
#: pages/checkout.php:500
@@ -2525,6 +2529,7 @@ msgstr ""
2525
#: classes/gateways/class.pmprogateway_braintree.php:283
2526
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2527
#: classes/gateways/class.pmprogateway_braintree.php:270
2528
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2529
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2530
#: pages/checkout.php:500
@@ -2536,6 +2541,7 @@ msgstr ""
2536
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:248
2537
#: pages/checkout.php:548
2538
#: classes/gateways/class.pmprogateway_braintree.php:303
2539
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:244
2540
#: pages/billing.php:248 pages/checkout.php:503 pages/checkout.php:519
2541
#: pages/checkout.php:520 pages/checkout.php:527 pages/checkout.php:548
@@ -2546,6 +2552,7 @@ msgstr ""
2546
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:285
2547
#: pages/checkout.php:585
2548
#: classes/gateways/class.pmprogateway_braintree.php:340
2549
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:281
2550
#: pages/billing.php:285 pages/checkout.php:540 pages/checkout.php:556
2551
#: pages/checkout.php:557 pages/checkout.php:564 pages/checkout.php:585
@@ -2556,6 +2563,7 @@ msgstr ""
2556
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:286
2557
#: pages/checkout.php:586
2558
#: classes/gateways/class.pmprogateway_braintree.php:341
2559
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:282
2560
#: pages/billing.php:286 pages/checkout.php:541 pages/checkout.php:557
2561
#: pages/checkout.php:558 pages/checkout.php:565 pages/checkout.php:586
@@ -2566,6 +2574,7 @@ msgstr ""
2566
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2567
#: pages/checkout.php:596
2568
#: classes/gateways/class.pmprogateway_braintree.php:351
2569
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2570
#: pages/checkout.php:79 pages/checkout.php:80 pages/checkout.php:551
2571
#: pages/checkout.php:567 pages/checkout.php:568 pages/checkout.php:575
@@ -2574,23 +2583,27 @@ msgid "Apply"
2574
msgstr ""
2575
2576
#: classes/gateways/class.pmprogateway_braintree.php:419
2577
- #: classes/gateways/class.pmprogateway_stripe.php:1011
2578
#: classes/gateways/class.pmprogateway_braintree.php:61
2579
#: classes/gateways/class.pmprogateway_braintree.php:406
2580
#: classes/gateways/class.pmprogateway_stripe.php:53
2581
#: classes/gateways/class.pmprogateway_stripe.php:1011
2582
msgid "Unknown error: Initial payment failed."
2583
msgstr ""
2584
2585
#: classes/gateways/class.pmprogateway_braintree.php:478
2586
#: classes/gateways/class.pmprogateway_braintree.php:120
2587
#: classes/gateways/class.pmprogateway_braintree.php:465
2588
msgid "Error during settlement:"
2589
msgstr ""
2590
2591
#: classes/gateways/class.pmprogateway_braintree.php:487
2592
#: classes/gateways/class.pmprogateway_braintree.php:129
2593
#: classes/gateways/class.pmprogateway_braintree.php:474
2594
msgid "Error during charge:"
2595
msgstr ""
2596
@@ -2598,6 +2611,7 @@ msgstr ""
2598
#: classes/gateways/class.pmprogateway_braintree.php:198
2599
#: classes/gateways/class.pmprogateway_braintree.php:221
2600
#: classes/gateways/class.pmprogateway_braintree.php:566
2601
msgid "Failed to update customer."
2602
msgstr ""
2603
@@ -2605,6 +2619,7 @@ msgstr ""
2605
#: classes/gateways/class.pmprogateway_braintree.php:246
2606
#: classes/gateways/class.pmprogateway_braintree.php:269
2607
#: classes/gateways/class.pmprogateway_braintree.php:614
2608
msgid "Failed to create customer."
2609
msgstr ""
2610
@@ -2612,6 +2627,7 @@ msgstr ""
2612
#: classes/gateways/class.pmprogateway_braintree.php:253
2613
#: classes/gateways/class.pmprogateway_braintree.php:276
2614
#: classes/gateways/class.pmprogateway_braintree.php:621
2615
msgid "Error creating customer record with Braintree:"
2616
msgstr ""
2617
@@ -2620,6 +2636,7 @@ msgstr ""
2620
#: classes/gateways/class.pmprogateway_braintree.php:345
2621
#: classes/gateways/class.pmprogateway_braintree.php:376
2622
#: classes/gateways/class.pmprogateway_braintree.php:721
2623
msgid "Error subscribing customer to plan with Braintree:"
2624
msgstr ""
2625
@@ -2628,6 +2645,7 @@ msgstr ""
2628
#: classes/gateways/class.pmprogateway_braintree.php:360
2629
#: classes/gateways/class.pmprogateway_braintree.php:391
2630
#: classes/gateways/class.pmprogateway_braintree.php:736
2631
msgid "Failed to subscribe with Braintree:"
2632
msgstr ""
2633
@@ -2646,6 +2664,8 @@ msgstr ""
2646
#: classes/gateways/class.pmprogateway_braintree.php:774
2647
#: classes/gateways/class.pmprogateway_braintree.php:787
2648
#: classes/gateways/class.pmprogateway_braintree.php:794
2649
#: classes/gateways/class.pmprogateway_stripe.php:343
2650
#: classes/gateways/class.pmprogateway_stripe.php:344
2651
#: classes/gateways/class.pmprogateway_stripe.php:351
@@ -3044,18 +3064,19 @@ msgstr ""
3044
msgid "Could not cancel the old subscription. Updates have not been processed."
3045
msgstr ""
3046
3047
- #: classes/gateways/class.pmprogateway_stripe.php:1188
3048
#: classes/gateways/class.pmprogateway_stripe.php:190
3049
#: classes/gateways/class.pmprogateway_stripe.php:192
3050
#: classes/gateways/class.pmprogateway_stripe.php:199
3051
#: classes/gateways/class.pmprogateway_stripe.php:201
3052
#: classes/gateways/class.pmprogateway_stripe.php:1187
3053
#: classes/gateways/class.pmprogateway_stripe.php:1188
3054
msgid "Error creating customer record with Stripe:"
3055
msgstr ""
3056
3057
- #: classes/gateways/class.pmprogateway_stripe.php:1245
3058
- #: classes/gateways/class.pmprogateway_stripe.php:1391
3059
#: classes/gateways/class.pmprogateway_stripe.php:278
3060
#: classes/gateways/class.pmprogateway_stripe.php:279
3061
#: classes/gateways/class.pmprogateway_stripe.php:286
@@ -3064,12 +3085,14 @@ msgstr ""
3064
#: classes/gateways/class.pmprogateway_stripe.php:311
3065
#: classes/gateways/class.pmprogateway_stripe.php:1244
3066
#: classes/gateways/class.pmprogateway_stripe.php:1245
3067
#: classes/gateways/class.pmprogateway_stripe.php:1390
3068
#: classes/gateways/class.pmprogateway_stripe.php:1391
3069
msgid "Error creating plan with Stripe:"
3070
msgstr ""
3071
3072
- #: classes/gateways/class.pmprogateway_stripe.php:1422
3073
#: classes/gateways/class.pmprogateway_stripe.php:294
3074
#: classes/gateways/class.pmprogateway_stripe.php:295
3075
#: classes/gateways/class.pmprogateway_stripe.php:302
@@ -3078,21 +3101,27 @@ msgstr ""
3078
#: classes/gateways/class.pmprogateway_stripe.php:330
3079
#: classes/gateways/class.pmprogateway_stripe.php:1420
3080
#: classes/gateways/class.pmprogateway_stripe.php:1421
3081
msgid "Error subscribing customer to plan with Stripe:"
3082
msgstr ""
3083
3084
- #: classes/gateways/class.pmprogateway_stripe.php:1518
3085
#: classes/gateways/class.pmprogateway_stripe.php:383
3086
#: classes/gateways/class.pmprogateway_stripe.php:389
3087
#: classes/gateways/class.pmprogateway_stripe.php:410
3088
#: classes/gateways/class.pmprogateway_stripe.php:1516
3089
#: classes/gateways/class.pmprogateway_stripe.php:1517
3090
msgid "Could not cancel old subscription."
3091
msgstr ""
3092
3093
- #: classes/gateways/class.pmprogateway_stripe.php:1535
3094
#: classes/gateways/class.pmprogateway_stripe.php:1533
3095
#: classes/gateways/class.pmprogateway_stripe.php:1534
3096
msgid "Could not find the customer."
3097
msgstr ""
3098
@@ -3191,7 +3220,7 @@ msgstr ""
3191
#: includes/currencies.php:7 includes/currencies.php:75
3192
#: includes/currencies.php:7 includes/currencies.php:37
3193
#: includes/currencies.php:44 includes/currencies.php:64
3194
- #: includes/currencies.php:68
3195
msgid "US Dollars (&#36;)"
3196
msgstr ""
3197
@@ -3199,6 +3228,7 @@ msgstr ""
3199
#: includes/currencies.php:8 includes/currencies.php:9
3200
#: includes/currencies.php:40 includes/currencies.php:47
3201
#: includes/currencies.php:67 includes/currencies.php:71
3202
msgid "Euros (&euro;)"
3203
msgstr ""
3204
@@ -3206,6 +3236,7 @@ msgstr ""
3206
#: includes/currencies.php:9 includes/currencies.php:14
3207
#: includes/currencies.php:39 includes/currencies.php:46
3208
#: includes/currencies.php:66 includes/currencies.php:70
3209
msgid "Pounds Sterling (&pound;)"
3210
msgstr ""
3211
@@ -3222,6 +3253,7 @@ msgstr ""
3222
#: includes/currencies.php:12 includes/currencies.php:24
3223
#: includes/currencies.php:38 includes/currencies.php:45
3224
#: includes/currencies.php:65 includes/currencies.php:69
3225
msgid "Canadian Dollars (&#36;)"
3226
msgstr ""
3227
@@ -3232,283 +3264,322 @@ msgstr ""
3232
3233
#: includes/currencies.php:27 includes/currencies.php:13
3234
#: includes/currencies.php:14 includes/currencies.php:26
3235
msgid "Czech Koruna"
3236
msgstr ""
3237
3238
#: includes/currencies.php:34 includes/currencies.php:14
3239
#: includes/currencies.php:15 includes/currencies.php:27
3240
msgid "Danish Krone"
3241
msgstr ""
3242
3243
#: includes/currencies.php:35 includes/currencies.php:15
3244
#: includes/currencies.php:16 includes/currencies.php:28
3245
msgid "Hong Kong Dollar (&#36;)"
3246
msgstr ""
3247
3248
#: includes/currencies.php:36 includes/currencies.php:16
3249
#: includes/currencies.php:17 includes/currencies.php:29
3250
msgid "Hungarian Forint"
3251
msgstr ""
3252
3253
#: includes/currencies.php:37 includes/currencies.php:18
3254
- #: includes/currencies.php:30
3255
msgid "Indian Rupee"
3256
msgstr ""
3257
3258
#: includes/currencies.php:38 includes/currencies.php:19
3259
- #: includes/currencies.php:31
3260
msgid "Indonesia Rupiah"
3261
msgstr ""
3262
3263
#: includes/currencies.php:39 includes/currencies.php:17
3264
#: includes/currencies.php:20 includes/currencies.php:32
3265
msgid "Israeli Shekel"
3266
msgstr ""
3267
3268
#: includes/currencies.php:41 includes/currencies.php:18
3269
#: includes/currencies.php:21 includes/currencies.php:34
3270
msgid "Japanese Yen (&yen;)"
3271
msgstr ""
3272
3273
#: includes/currencies.php:45 includes/currencies.php:19
3274
#: includes/currencies.php:22 includes/currencies.php:38
3275
msgid "Malaysian Ringgits"
3276
msgstr ""
3277
3278
#: includes/currencies.php:46 includes/currencies.php:20
3279
#: includes/currencies.php:23 includes/currencies.php:39
3280
msgid "Mexican Peso (&#36;)"
3281
msgstr ""
3282
3283
#: includes/currencies.php:47 includes/currencies.php:21
3284
#: includes/currencies.php:24 includes/currencies.php:40
3285
msgid "New Zealand Dollar (&#36;)"
3286
msgstr ""
3287
3288
#: includes/currencies.php:48 includes/currencies.php:22
3289
#: includes/currencies.php:25 includes/currencies.php:41
3290
msgid "Norwegian Krone"
3291
msgstr ""
3292
3293
#: includes/currencies.php:49 includes/currencies.php:23
3294
#: includes/currencies.php:26 includes/currencies.php:42
3295
msgid "Philippine Pesos"
3296
msgstr ""
3297
3298
#: includes/currencies.php:50 includes/currencies.php:24
3299
#: includes/currencies.php:27 includes/currencies.php:43
3300
msgid "Polish Zloty"
3301
msgstr ""
3302
3303
#: includes/currencies.php:52 includes/currencies.php:25
3304
#: includes/currencies.php:28 includes/currencies.php:45
3305
msgid "Singapore Dollar (&#36;)"
3306
msgstr ""
3307
3308
#: includes/currencies.php:57 includes/currencies.php:50
3309
msgid "South African Rand (R)"
3310
msgstr ""
3311
3312
#: includes/currencies.php:61 includes/currencies.php:30
3313
#: includes/currencies.php:50 includes/currencies.php:54
3314
msgid "South Korean Won"
3315
msgstr ""
3316
3317
#: includes/currencies.php:62 includes/currencies.php:26
3318
#: includes/currencies.php:31 includes/currencies.php:51
3319
- #: includes/currencies.php:55
3320
msgid "Swedish Krona"
3321
msgstr ""
3322
3323
#: includes/currencies.php:63 includes/currencies.php:27
3324
#: includes/currencies.php:32 includes/currencies.php:52
3325
- #: includes/currencies.php:56
3326
msgid "Swiss Franc"
3327
msgstr ""
3328
3329
#: includes/currencies.php:64 includes/currencies.php:28
3330
#: includes/currencies.php:33 includes/currencies.php:53
3331
- #: includes/currencies.php:57
3332
msgid "Taiwan New Dollars"
3333
msgstr ""
3334
3335
#: includes/currencies.php:65 includes/currencies.php:29
3336
#: includes/currencies.php:34 includes/currencies.php:54
3337
- #: includes/currencies.php:58
3338
msgid "Thai Baht"
3339
msgstr ""
3340
3341
#: includes/currencies.php:66 includes/currencies.php:35
3342
#: includes/currencies.php:55 includes/currencies.php:59
3343
msgid "Turkish Lira"
3344
msgstr ""
3345
3346
#: includes/currencies.php:67 includes/currencies.php:36
3347
#: includes/currencies.php:56 includes/currencies.php:60
3348
msgid "Vietnamese Dong"
3349
msgstr ""
3350
3351
- #: includes/functions.php:203 includes/functions.php:160
3352
#: includes/functions.php:196 includes/functions.php:202
3353
#: includes/functions.php:203 includes/functions.php:204
3354
#, php-format
3355
msgid "The price for membership is <strong>%s</strong> now"
3356
msgstr ""
3357
3358
- #: includes/functions.php:205 includes/functions.php:204
3359
#: includes/functions.php:205 includes/functions.php:206
3360
#, php-format
3361
msgid "<strong>%s</strong> now"
3362
msgstr ""
3363
3364
- #: includes/functions.php:214 includes/functions.php:169
3365
#: includes/functions.php:205 includes/functions.php:213
3366
#: includes/functions.php:214 includes/functions.php:215
3367
#, php-format
3368
msgid " and then <strong>%s per %s for %d more %s</strong>."
3369
msgstr ""
3370
3371
- #: includes/functions.php:218 includes/functions.php:173
3372
#: includes/functions.php:209 includes/functions.php:217
3373
#: includes/functions.php:218 includes/functions.php:219
3374
#, php-format
3375
msgid " and then <strong>%s every %d %s for %d more %s</strong>."
3376
msgstr ""
3377
3378
- #: includes/functions.php:223 includes/functions.php:178
3379
#: includes/functions.php:214 includes/functions.php:222
3380
#: includes/functions.php:223 includes/functions.php:224
3381
#, php-format
3382
msgid " and then <strong>%s after %d %s</strong>."
3383
msgstr ""
3384
3385
- #: includes/functions.php:231 includes/functions.php:229
3386
#: includes/functions.php:230 includes/functions.php:231
3387
#, php-format
3388
msgid "The price for membership is <strong>%s per %s</strong>."
3389
msgstr ""
3390
3391
- #: includes/functions.php:233 includes/functions.php:233
3392
#, php-format
3393
msgid "<strong>%s per %s</strong>."
3394
msgstr ""
3395
3396
- #: includes/functions.php:238 includes/functions.php:233
3397
#: includes/functions.php:234 includes/functions.php:235
3398
- #: includes/functions.php:238
3399
#, php-format
3400
msgid "The price for membership is <strong>%s every %d %s</strong>."
3401
msgstr ""
3402
3403
- #: includes/functions.php:240 includes/functions.php:240
3404
#, php-format
3405
msgid "<strong>%s every %d %s</strong>."
3406
msgstr ""
3407
3408
- #: includes/functions.php:245 includes/functions.php:184
3409
#: includes/functions.php:220 includes/functions.php:228
3410
#: includes/functions.php:238 includes/functions.php:239
3411
#: includes/functions.php:240 includes/functions.php:245
3412
#, php-format
3413
msgid " and then <strong>%s per %s</strong>."
3414
msgstr ""
3415
3416
- #: includes/functions.php:249 includes/functions.php:188
3417
#: includes/functions.php:224 includes/functions.php:232
3418
#: includes/functions.php:242 includes/functions.php:243
3419
#: includes/functions.php:244 includes/functions.php:249
3420
#, php-format
3421
msgid " and then <strong>%s every %d %s</strong>."
3422
msgstr ""
3423
3424
- #: includes/functions.php:267 includes/functions.php:202
3425
#: includes/functions.php:238 includes/functions.php:249
3426
#: includes/functions.php:260 includes/functions.php:261
3427
- #: includes/functions.php:262 includes/functions.php:267 pages/levels.php:82
3428
msgid "After your initial payment, your first payment is Free."
3429
msgstr ""
3430
3431
- #: includes/functions.php:271 includes/functions.php:206
3432
#: includes/functions.php:242 includes/functions.php:253
3433
#: includes/functions.php:264 includes/functions.php:265
3434
- #: includes/functions.php:266 includes/functions.php:271 pages/levels.php:86
3435
#, php-format
3436
msgid "After your initial payment, your first %d payments are Free."
3437
msgstr ""
3438
3439
- #: includes/functions.php:278 includes/functions.php:213
3440
#: includes/functions.php:249 includes/functions.php:260
3441
#: includes/functions.php:271 includes/functions.php:272
3442
- #: includes/functions.php:273 includes/functions.php:278 pages/levels.php:93
3443
#, php-format
3444
msgid "After your initial payment, your first payment will cost %s."
3445
msgstr ""
3446
3447
- #: includes/functions.php:282 includes/functions.php:217
3448
#: includes/functions.php:253 includes/functions.php:264
3449
#: includes/functions.php:275 includes/functions.php:276
3450
- #: includes/functions.php:277 includes/functions.php:282 pages/levels.php:97
3451
#, php-format
3452
msgid "After your initial payment, your first %d payments will cost %s."
3453
msgstr ""
3454
3455
- #: includes/functions.php:293 includes/functions.php:228
3456
#: includes/functions.php:264 includes/functions.php:275
3457
#: includes/functions.php:286 includes/functions.php:287
3458
#: includes/functions.php:288 includes/functions.php:293
3459
#, php-format
3460
msgid "Customers in %s will be charged %s%% tax."
3461
msgstr ""
3462
3463
- #: includes/functions.php:307 includes/functions.php:242
3464
#: includes/functions.php:278 includes/functions.php:289
3465
#: includes/functions.php:300 includes/functions.php:301
3466
#: includes/functions.php:302 includes/functions.php:307
3467
#, php-format
3468
msgid "Membership expires after %d %s."
3469
msgstr ""
3470
3471
- #: includes/functions.php:570 includes/functions.php:491
3472
#: includes/functions.php:514 includes/functions.php:525
3473
#: includes/functions.php:536 includes/functions.php:537
3474
#: includes/functions.php:538 includes/functions.php:545
3475
- #: includes/functions.php:569
3476
msgid "User ID not found."
3477
msgstr ""
3478
3479
- #: includes/functions.php:587 includes/functions.php:508
3480
#: includes/functions.php:531 includes/functions.php:542
3481
#: includes/functions.php:553 includes/functions.php:554
3482
#: includes/functions.php:555 includes/functions.php:562
3483
- #: includes/functions.php:586
3484
msgid "Invalid level."
3485
msgstr ""
3486
3487
- #: includes/functions.php:598 includes/functions.php:520
3488
#: includes/functions.php:542 includes/functions.php:553
3489
#: includes/functions.php:564 includes/functions.php:565
3490
#: includes/functions.php:566 includes/functions.php:573
3491
- #: includes/functions.php:597
3492
msgid "not changing?"
3493
msgstr ""
3494
3495
- #: includes/functions.php:615 includes/functions.php:674
3496
- #: includes/functions.php:698 includes/functions.php:537
3497
#: includes/functions.php:559 includes/functions.php:570
3498
#: includes/functions.php:581 includes/functions.php:582
3499
#: includes/functions.php:583 includes/functions.php:590
3500
#: includes/functions.php:592 includes/functions.php:605
3501
- #: includes/functions.php:614 includes/functions.php:617
3502
#: includes/functions.php:626 includes/functions.php:628
3503
#: includes/functions.php:631 includes/functions.php:632
3504
#: includes/functions.php:633 includes/functions.php:637
3505
#: includes/functions.php:640 includes/functions.php:649
3506
#: includes/functions.php:656 includes/functions.php:657
3507
- #: includes/functions.php:673 includes/functions.php:697
3508
msgid "Error interacting with database"
3509
msgstr ""
3510
3511
- #: includes/functions.php:739 includes/functions.php:778
3512
#: includes/functions.php:629 includes/functions.php:651
3513
#: includes/functions.php:667 includes/functions.php:668
3514
#: includes/functions.php:678 includes/functions.php:681
@@ -3517,96 +3588,108 @@ msgstr ""
3517
#: includes/functions.php:714 includes/functions.php:717
3518
#: includes/functions.php:720 includes/functions.php:736
3519
#: includes/functions.php:737 includes/functions.php:738
3520
#: includes/functions.php:753 includes/functions.php:777
3521
msgid "Membership level not found."
3522
msgstr ""
3523
3524
- #: includes/functions.php:1143 includes/functions.php:1100
3525
#: includes/functions.php:1101 includes/functions.php:1118
3526
- #: includes/functions.php:1142
3527
msgid "No code was given to check."
3528
msgstr ""
3529
3530
- #: includes/functions.php:1152 includes/functions.php:1050
3531
#: includes/functions.php:1072 includes/functions.php:1088
3532
#: includes/functions.php:1099 includes/functions.php:1102
3533
#: includes/functions.php:1109 includes/functions.php:1110
3534
#: includes/functions.php:1112 includes/functions.php:1113
3535
#: includes/functions.php:1127 includes/functions.php:1151
3536
msgid "The discount code could not be found."
3537
msgstr ""
3538
3539
- #: includes/functions.php:1167 includes/functions.php:1066
3540
#: includes/functions.php:1088 includes/functions.php:1104
3541
#: includes/functions.php:1115 includes/functions.php:1118
3542
#: includes/functions.php:1124 includes/functions.php:1125
3543
#: includes/functions.php:1128 includes/functions.php:1129
3544
#: includes/functions.php:1142 includes/functions.php:1166
3545
#, php-format
3546
msgid "This discount code goes into effect on %s."
3547
msgstr ""
3548
3549
- #: includes/functions.php:1174 includes/functions.php:1075
3550
#: includes/functions.php:1097 includes/functions.php:1113
3551
#: includes/functions.php:1124 includes/functions.php:1127
3552
#: includes/functions.php:1131 includes/functions.php:1132
3553
#: includes/functions.php:1137 includes/functions.php:1138
3554
#: includes/functions.php:1149 includes/functions.php:1173
3555
#, php-format
3556
msgid "This discount code expired on %s."
3557
msgstr ""
3558
3559
- #: includes/functions.php:1184 includes/functions.php:1087
3560
#: includes/functions.php:1109 includes/functions.php:1125
3561
#: includes/functions.php:1136 includes/functions.php:1139
3562
#: includes/functions.php:1141 includes/functions.php:1142
3563
#: includes/functions.php:1149 includes/functions.php:1150
3564
#: includes/functions.php:1159 includes/functions.php:1183
3565
msgid "This discount code is no longer valid."
3566
msgstr ""
3567
3568
- #: includes/functions.php:1197 includes/functions.php:1102
3569
#: includes/functions.php:1124 includes/functions.php:1140
3570
#: includes/functions.php:1151 includes/functions.php:1154
3571
#: includes/functions.php:1155 includes/functions.php:1164
3572
#: includes/functions.php:1165 includes/functions.php:1172
3573
- #: includes/functions.php:1196
3574
msgid "This discount code does not apply to this membership level."
3575
msgstr ""
3576
3577
- #: includes/functions.php:1223 includes/functions.php:1110
3578
#: includes/functions.php:1132 includes/functions.php:1148
3579
#: includes/functions.php:1159 includes/functions.php:1162
3580
#: includes/functions.php:1172 includes/functions.php:1180
3581
#: includes/functions.php:1181 includes/functions.php:1182
3582
#: includes/functions.php:1198 includes/functions.php:1222
3583
msgid "This discount code is okay."
3584
msgstr ""
3585
3586
- #: includes/functions.php:1248 includes/functions.php:1134
3587
#: includes/functions.php:1156 includes/functions.php:1172
3588
#: includes/functions.php:1183 includes/functions.php:1186
3589
#: includes/functions.php:1196 includes/functions.php:1205
3590
#: includes/functions.php:1206 includes/functions.php:1223
3591
- #: includes/functions.php:1247
3592
msgid "and"
3593
msgstr ""
3594
3595
- #: includes/functions.php:1437 includes/functions.php:1319
3596
#: includes/functions.php:1341 includes/functions.php:1361
3597
#: includes/functions.php:1372 includes/functions.php:1375
3598
#: includes/functions.php:1385 includes/functions.php:1394
3599
#: includes/functions.php:1395 includes/functions.php:1412
3600
- #: includes/functions.php:1436
3601
msgid "Sign Up for !!name!! Now"
3602
msgstr ""
3603
3604
- #: includes/functions.php:1443 includes/functions.php:1325
3605
#: includes/functions.php:1347 includes/functions.php:1367
3606
#: includes/functions.php:1378 includes/functions.php:1381
3607
#: includes/functions.php:1391 includes/functions.php:1400
3608
#: includes/functions.php:1401 includes/functions.php:1418
3609
- #: includes/functions.php:1442
3610
msgid "Please specify a level id."
3611
msgstr ""
3612
@@ -3667,6 +3750,10 @@ msgstr ""
3667
msgid "Current Level"
3668
msgstr ""
3669
3670
#: includes/profile.php:64 includes/profile.php:64
3671
msgid ""
3672
"This will not change the subscription at the gateway unless the 'Cancel' "
@@ -3942,7 +4029,7 @@ msgstr ""
3942
#: pages/checkout.php:62 services/applydiscountcode.php:89
3943
#: pages/checkout.php:62 pages/checkout.php:63 pages/checkout.php:64
3944
#: services/applydiscountcode.php:74 services/applydiscountcode.php:75
3945
- #: services/applydiscountcode.php:78
3946
msgid "Click here to change your discount code"
3947
msgstr ""
3948
@@ -4410,6 +4497,7 @@ msgstr ""
4410
4411
#: services/applydiscountcode.php:97 services/applydiscountcode.php:82
4412
#: services/applydiscountcode.php:83 services/applydiscountcode.php:86
4413
#, php-format
4414
msgid "The <strong>%s</strong> code has been applied to your order."
4415
msgstr ""
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
+ "POT-Creation-Date: 2015-03-25 14:50-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
504
#: pages/checkout.php:553 adminpages/discountcodes.php:367
505
#: adminpages/discountcodes.php:370 adminpages/discountcodes.php:371
506
#: classes/gateways/class.pmprogateway_braintree.php:308
507
+ #: classes/gateways/class.pmprogateway_braintree.php:321
508
#: classes/gateways/class.pmprogateway_stripe.php:454 pages/billing.php:249
509
#: pages/billing.php:253 pages/checkout.php:508 pages/checkout.php:524
510
#: pages/checkout.php:525 pages/checkout.php:532 pages/checkout.php:553
1433
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:238
1434
#: pages/checkout.php:507 adminpages/orders.php:339 adminpages/orders.php:389
1435
#: classes/gateways/class.pmprogateway_braintree.php:291
1436
+ #: classes/gateways/class.pmprogateway_braintree.php:304
1437
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:234
1438
#: pages/billing.php:238 pages/checkout.php:493 pages/checkout.php:507
1439
#: pages/checkout.php:510 pages/checkout.php:517
2174
#: classes/class.pmproemail.php:580 classes/class.pmproemail.php:645
2175
#: classes/class.pmproemail.php:648
2176
#: classes/gateways/class.pmprogateway_braintree.php:349
2177
+ #: classes/gateways/class.pmprogateway_braintree.php:362
2178
#: classes/gateways/class.pmprogateway_stripe.php:495 pages/checkout.php:66
2179
#: pages/checkout.php:67 pages/checkout.php:68 pages/checkout.php:76
2180
#: pages/checkout.php:77 pages/checkout.php:78 pages/checkout.php:549
2272
msgid "Your membership at %s has been changed"
2273
msgstr ""
2274
2275
+ #: classes/class.pmproemail.php:762 classes/class.pmproemail.php:800
2276
+ #: classes/class.pmproemail.php:759 classes/class.pmproemail.php:762
2277
#, php-format
2278
+ msgid "The new level is %s"
2279
msgstr ""
2280
2281
#: classes/class.pmproemail.php:764 classes/class.pmproemail.php:647
2308
msgid "Membership for %s at %s has been changed"
2309
msgstr ""
2310
2311
#: classes/class.pmproemail.php:802 classes/class.pmproemail.php:799
2312
#: classes/class.pmproemail.php:802
2313
msgid "Membership has been cancelled"
2450
#: classes/gateways/class.pmprogateway_braintree.php:76
2451
#: paid-memberships-pro.php:123
2452
#: classes/gateways/class.pmprogateway_braintree.php:63
2453
+ #: classes/gateways/class.pmprogateway_braintree.php:76
2454
#: paid-memberships-pro.php:123
2455
msgid "Braintree Payments"
2456
msgstr ""
2457
2458
#: classes/gateways/class.pmprogateway_braintree.php:132
2459
#: classes/gateways/class.pmprogateway_braintree.php:119
2460
+ #: classes/gateways/class.pmprogateway_braintree.php:132
2461
msgid "Braintree Settings"
2462
msgstr ""
2463
2467
#: adminpages/paymentsettings.php:303 adminpages/paymentsettings.php:364
2468
#: adminpages/paymentsettings.php:369
2469
#: classes/gateways/class.pmprogateway_braintree.php:124
2470
+ #: classes/gateways/class.pmprogateway_braintree.php:137
2471
#: classes/gateways/class.pmprogateway_cybersource.php:106
2472
msgid "Merchant ID"
2473
msgstr ""
2476
#: adminpages/paymentsettings.php:302 adminpages/paymentsettings.php:306
2477
#: adminpages/paymentsettings.php:311
2478
#: classes/gateways/class.pmprogateway_braintree.php:132
2479
+ #: classes/gateways/class.pmprogateway_braintree.php:145
2480
msgid "Public Key"
2481
msgstr ""
2482
2484
#: adminpages/paymentsettings.php:310 adminpages/paymentsettings.php:314
2485
#: adminpages/paymentsettings.php:319
2486
#: classes/gateways/class.pmprogateway_braintree.php:140
2487
+ #: classes/gateways/class.pmprogateway_braintree.php:153
2488
msgid "Private Key"
2489
msgstr ""
2490
2492
#: adminpages/paymentsettings.php:318 adminpages/paymentsettings.php:322
2493
#: adminpages/paymentsettings.php:327
2494
#: classes/gateways/class.pmprogateway_braintree.php:148
2495
+ #: classes/gateways/class.pmprogateway_braintree.php:161
2496
msgid "Client-Side Encryption Key"
2497
msgstr ""
2498
2503
#: adminpages/paymentsettings.php:511 adminpages/paymentsettings.php:517
2504
#: adminpages/paymentsettings.php:519
2505
#: classes/gateways/class.pmprogateway_braintree.php:156
2506
+ #: classes/gateways/class.pmprogateway_braintree.php:169
2507
#: classes/gateways/class.pmprogateway_stripe.php:181
2508
msgid "Web Hook URL"
2509
msgstr ""
2512
#: adminpages/paymentsettings.php:474 adminpages/paymentsettings.php:515
2513
#: adminpages/paymentsettings.php:521 adminpages/paymentsettings.php:523
2514
#: classes/gateways/class.pmprogateway_braintree.php:160
2515
+ #: classes/gateways/class.pmprogateway_braintree.php:173
2516
msgid "To fully integrate with Braintree, be sure to set your Web Hook URL to"
2517
msgstr ""
2518
2519
#: classes/gateways/class.pmprogateway_braintree.php:283
2520
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2521
#: classes/gateways/class.pmprogateway_braintree.php:270
2522
+ #: classes/gateways/class.pmprogateway_braintree.php:283
2523
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2524
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2525
#: pages/checkout.php:500
2529
#: classes/gateways/class.pmprogateway_braintree.php:283
2530
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2531
#: classes/gateways/class.pmprogateway_braintree.php:270
2532
+ #: classes/gateways/class.pmprogateway_braintree.php:283
2533
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2534
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2535
#: pages/checkout.php:500
2541
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:248
2542
#: pages/checkout.php:548
2543
#: classes/gateways/class.pmprogateway_braintree.php:303
2544
+ #: classes/gateways/class.pmprogateway_braintree.php:316
2545
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:244
2546
#: pages/billing.php:248 pages/checkout.php:503 pages/checkout.php:519
2547
#: pages/checkout.php:520 pages/checkout.php:527 pages/checkout.php:548
2552
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:285
2553
#: pages/checkout.php:585
2554
#: classes/gateways/class.pmprogateway_braintree.php:340
2555
+ #: classes/gateways/class.pmprogateway_braintree.php:353
2556
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:281
2557
#: pages/billing.php:285 pages/checkout.php:540 pages/checkout.php:556
2558
#: pages/checkout.php:557 pages/checkout.php:564 pages/checkout.php:585
2563
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:286
2564
#: pages/checkout.php:586
2565
#: classes/gateways/class.pmprogateway_braintree.php:341
2566
+ #: classes/gateways/class.pmprogateway_braintree.php:354
2567
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:282
2568
#: pages/billing.php:286 pages/checkout.php:541 pages/checkout.php:557
2569
#: pages/checkout.php:558 pages/checkout.php:565 pages/checkout.php:586
2574
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2575
#: pages/checkout.php:596
2576
#: classes/gateways/class.pmprogateway_braintree.php:351
2577
+ #: classes/gateways/class.pmprogateway_braintree.php:364
2578
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2579
#: pages/checkout.php:79 pages/checkout.php:80 pages/checkout.php:551
2580
#: pages/checkout.php:567 pages/checkout.php:568 pages/checkout.php:575
2583
msgstr ""
2584
2585
#: classes/gateways/class.pmprogateway_braintree.php:419
2586
+ #: classes/gateways/class.pmprogateway_stripe.php:1025
2587
#: classes/gateways/class.pmprogateway_braintree.php:61
2588
#: classes/gateways/class.pmprogateway_braintree.php:406
2589
+ #: classes/gateways/class.pmprogateway_braintree.php:419
2590
#: classes/gateways/class.pmprogateway_stripe.php:53
2591
#: classes/gateways/class.pmprogateway_stripe.php:1011
2592
+ #: classes/gateways/class.pmprogateway_stripe.php:1025
2593
msgid "Unknown error: Initial payment failed."
2594
msgstr ""
2595
2596
#: classes/gateways/class.pmprogateway_braintree.php:478
2597
#: classes/gateways/class.pmprogateway_braintree.php:120
2598
#: classes/gateways/class.pmprogateway_braintree.php:465
2599
+ #: classes/gateways/class.pmprogateway_braintree.php:478
2600
msgid "Error during settlement:"
2601
msgstr ""
2602
2603
#: classes/gateways/class.pmprogateway_braintree.php:487
2604
#: classes/gateways/class.pmprogateway_braintree.php:129
2605
#: classes/gateways/class.pmprogateway_braintree.php:474
2606
+ #: classes/gateways/class.pmprogateway_braintree.php:487
2607
msgid "Error during charge:"
2608
msgstr ""
2609
2611
#: classes/gateways/class.pmprogateway_braintree.php:198
2612
#: classes/gateways/class.pmprogateway_braintree.php:221
2613
#: classes/gateways/class.pmprogateway_braintree.php:566
2614
+ #: classes/gateways/class.pmprogateway_braintree.php:579
2615
msgid "Failed to update customer."
2616
msgstr ""
2617
2619
#: classes/gateways/class.pmprogateway_braintree.php:246
2620
#: classes/gateways/class.pmprogateway_braintree.php:269
2621
#: classes/gateways/class.pmprogateway_braintree.php:614
2622
+ #: classes/gateways/class.pmprogateway_braintree.php:627
2623
msgid "Failed to create customer."
2624
msgstr ""
2625
2627
#: classes/gateways/class.pmprogateway_braintree.php:253
2628
#: classes/gateways/class.pmprogateway_braintree.php:276
2629
#: classes/gateways/class.pmprogateway_braintree.php:621
2630
+ #: classes/gateways/class.pmprogateway_braintree.php:634
2631
msgid "Error creating customer record with Braintree:"
2632
msgstr ""
2633
2636
#: classes/gateways/class.pmprogateway_braintree.php:345
2637
#: classes/gateways/class.pmprogateway_braintree.php:376
2638
#: classes/gateways/class.pmprogateway_braintree.php:721
2639
+ #: classes/gateways/class.pmprogateway_braintree.php:734
2640
msgid "Error subscribing customer to plan with Braintree:"
2641
msgstr ""
2642
2645
#: classes/gateways/class.pmprogateway_braintree.php:360
2646
#: classes/gateways/class.pmprogateway_braintree.php:391
2647
#: classes/gateways/class.pmprogateway_braintree.php:736
2648
+ #: classes/gateways/class.pmprogateway_braintree.php:749
2649
msgid "Failed to subscribe with Braintree:"
2650
msgstr ""
2651
2664
#: classes/gateways/class.pmprogateway_braintree.php:774
2665
#: classes/gateways/class.pmprogateway_braintree.php:787
2666
#: classes/gateways/class.pmprogateway_braintree.php:794
2667
+ #: classes/gateways/class.pmprogateway_braintree.php:800
2668
+ #: classes/gateways/class.pmprogateway_braintree.php:807
2669
#: classes/gateways/class.pmprogateway_stripe.php:343
2670
#: classes/gateways/class.pmprogateway_stripe.php:344
2671
#: classes/gateways/class.pmprogateway_stripe.php:351
3064
msgid "Could not cancel the old subscription. Updates have not been processed."
3065
msgstr ""
3066
3067
+ #: classes/gateways/class.pmprogateway_stripe.php:1202
3068
#: classes/gateways/class.pmprogateway_stripe.php:190
3069
#: classes/gateways/class.pmprogateway_stripe.php:192
3070
#: classes/gateways/class.pmprogateway_stripe.php:199
3071
#: classes/gateways/class.pmprogateway_stripe.php:201
3072
#: classes/gateways/class.pmprogateway_stripe.php:1187
3073
#: classes/gateways/class.pmprogateway_stripe.php:1188
3074
+ #: classes/gateways/class.pmprogateway_stripe.php:1202
3075
msgid "Error creating customer record with Stripe:"
3076
msgstr ""
3077
3078
+ #: classes/gateways/class.pmprogateway_stripe.php:1259
3079
+ #: classes/gateways/class.pmprogateway_stripe.php:1409
3080
#: classes/gateways/class.pmprogateway_stripe.php:278
3081
#: classes/gateways/class.pmprogateway_stripe.php:279
3082
#: classes/gateways/class.pmprogateway_stripe.php:286
3085
#: classes/gateways/class.pmprogateway_stripe.php:311
3086
#: classes/gateways/class.pmprogateway_stripe.php:1244
3087
#: classes/gateways/class.pmprogateway_stripe.php:1245
3088
+ #: classes/gateways/class.pmprogateway_stripe.php:1259
3089
#: classes/gateways/class.pmprogateway_stripe.php:1390
3090
#: classes/gateways/class.pmprogateway_stripe.php:1391
3091
+ #: classes/gateways/class.pmprogateway_stripe.php:1409
3092
msgid "Error creating plan with Stripe:"
3093
msgstr ""
3094
3095
+ #: classes/gateways/class.pmprogateway_stripe.php:1440
3096
#: classes/gateways/class.pmprogateway_stripe.php:294
3097
#: classes/gateways/class.pmprogateway_stripe.php:295
3098
#: classes/gateways/class.pmprogateway_stripe.php:302
3101
#: classes/gateways/class.pmprogateway_stripe.php:330
3102
#: classes/gateways/class.pmprogateway_stripe.php:1420
3103
#: classes/gateways/class.pmprogateway_stripe.php:1421
3104
+ #: classes/gateways/class.pmprogateway_stripe.php:1422
3105
+ #: classes/gateways/class.pmprogateway_stripe.php:1440
3106
msgid "Error subscribing customer to plan with Stripe:"
3107
msgstr ""
3108
3109
+ #: classes/gateways/class.pmprogateway_stripe.php:1536
3110
#: classes/gateways/class.pmprogateway_stripe.php:383
3111
#: classes/gateways/class.pmprogateway_stripe.php:389
3112
#: classes/gateways/class.pmprogateway_stripe.php:410
3113
#: classes/gateways/class.pmprogateway_stripe.php:1516
3114
#: classes/gateways/class.pmprogateway_stripe.php:1517
3115
+ #: classes/gateways/class.pmprogateway_stripe.php:1518
3116
+ #: classes/gateways/class.pmprogateway_stripe.php:1536
3117
msgid "Could not cancel old subscription."
3118
msgstr ""
3119
3120
+ #: classes/gateways/class.pmprogateway_stripe.php:1553
3121
#: classes/gateways/class.pmprogateway_stripe.php:1533
3122
#: classes/gateways/class.pmprogateway_stripe.php:1534
3123
+ #: classes/gateways/class.pmprogateway_stripe.php:1535
3124
+ #: classes/gateways/class.pmprogateway_stripe.php:1553
3125
msgid "Could not find the customer."
3126
msgstr ""
3127
3220
#: includes/currencies.php:7 includes/currencies.php:75
3221
#: includes/currencies.php:7 includes/currencies.php:37
3222
#: includes/currencies.php:44 includes/currencies.php:64
3223
+ #: includes/currencies.php:68 includes/currencies.php:75
3224
msgid "US Dollars (&#36;)"
3225
msgstr ""
3226
3228
#: includes/currencies.php:8 includes/currencies.php:9
3229
#: includes/currencies.php:40 includes/currencies.php:47
3230
#: includes/currencies.php:67 includes/currencies.php:71
3231
+ #: includes/currencies.php:78
3232
msgid "Euros (&euro;)"
3233
msgstr ""
3234
3236
#: includes/currencies.php:9 includes/currencies.php:14
3237
#: includes/currencies.php:39 includes/currencies.php:46
3238
#: includes/currencies.php:66 includes/currencies.php:70
3239
+ #: includes/currencies.php:77
3240
msgid "Pounds Sterling (&pound;)"
3241
msgstr ""
3242
3253
#: includes/currencies.php:12 includes/currencies.php:24
3254
#: includes/currencies.php:38 includes/currencies.php:45
3255
#: includes/currencies.php:65 includes/currencies.php:69
3256
+ #: includes/currencies.php:76
3257
msgid "Canadian Dollars (&#36;)"
3258
msgstr ""
3259
3264
3265
#: includes/currencies.php:27 includes/currencies.php:13
3266
#: includes/currencies.php:14 includes/currencies.php:26
3267
+ #: includes/currencies.php:27
3268
msgid "Czech Koruna"
3269
msgstr ""
3270
3271
#: includes/currencies.php:34 includes/currencies.php:14
3272
#: includes/currencies.php:15 includes/currencies.php:27
3273
+ #: includes/currencies.php:34
3274
msgid "Danish Krone"
3275
msgstr ""
3276
3277
#: includes/currencies.php:35 includes/currencies.php:15
3278
#: includes/currencies.php:16 includes/currencies.php:28
3279
+ #: includes/currencies.php:35
3280
msgid "Hong Kong Dollar (&#36;)"
3281
msgstr ""
3282
3283
#: includes/currencies.php:36 includes/currencies.php:16
3284
#: includes/currencies.php:17 includes/currencies.php:29
3285
+ #: includes/currencies.php:36
3286
msgid "Hungarian Forint"
3287
msgstr ""
3288
3289
#: includes/currencies.php:37 includes/currencies.php:18
3290
+ #: includes/currencies.php:30 includes/currencies.php:37
3291
msgid "Indian Rupee"
3292
msgstr ""
3293
3294
#: includes/currencies.php:38 includes/currencies.php:19
3295
+ #: includes/currencies.php:31 includes/currencies.php:38
3296
msgid "Indonesia Rupiah"
3297
msgstr ""
3298
3299
#: includes/currencies.php:39 includes/currencies.php:17
3300
#: includes/currencies.php:20 includes/currencies.php:32
3301
+ #: includes/currencies.php:39
3302
msgid "Israeli Shekel"
3303
msgstr ""
3304
3305
#: includes/currencies.php:41 includes/currencies.php:18
3306
#: includes/currencies.php:21 includes/currencies.php:34
3307
+ #: includes/currencies.php:41
3308
msgid "Japanese Yen (&yen;)"
3309
msgstr ""
3310
3311
#: includes/currencies.php:45 includes/currencies.php:19
3312
#: includes/currencies.php:22 includes/currencies.php:38
3313
+ #: includes/currencies.php:45
3314
msgid "Malaysian Ringgits"
3315
msgstr ""
3316
3317
#: includes/currencies.php:46 includes/currencies.php:20
3318
#: includes/currencies.php:23 includes/currencies.php:39
3319
+ #: includes/currencies.php:46
3320
msgid "Mexican Peso (&#36;)"
3321
msgstr ""
3322
3323
#: includes/currencies.php:47 includes/currencies.php:21
3324
#: includes/currencies.php:24 includes/currencies.php:40
3325
+ #: includes/currencies.php:47
3326
msgid "New Zealand Dollar (&#36;)"
3327
msgstr ""
3328
3329
#: includes/currencies.php:48 includes/currencies.php:22
3330
#: includes/currencies.php:25 includes/currencies.php:41
3331
+ #: includes/currencies.php:48
3332
msgid "Norwegian Krone"
3333
msgstr ""
3334
3335
#: includes/currencies.php:49 includes/currencies.php:23
3336
#: includes/currencies.php:26 includes/currencies.php:42
3337
+ #: includes/currencies.php:49
3338
msgid "Philippine Pesos"
3339
msgstr ""
3340
3341
#: includes/currencies.php:50 includes/currencies.php:24
3342
#: includes/currencies.php:27 includes/currencies.php:43
3343
+ #: includes/currencies.php:50
3344
msgid "Polish Zloty"
3345
msgstr ""
3346
3347
#: includes/currencies.php:52 includes/currencies.php:25
3348
#: includes/currencies.php:28 includes/currencies.php:45
3349
+ #: includes/currencies.php:52
3350
msgid "Singapore Dollar (&#36;)"
3351
msgstr ""
3352
3353
#: includes/currencies.php:57 includes/currencies.php:50
3354
+ #: includes/currencies.php:57
3355
msgid "South African Rand (R)"
3356
msgstr ""
3357
3358
#: includes/currencies.php:61 includes/currencies.php:30
3359
#: includes/currencies.php:50 includes/currencies.php:54
3360
+ #: includes/currencies.php:61
3361
msgid "South Korean Won"
3362
msgstr ""
3363
3364
#: includes/currencies.php:62 includes/currencies.php:26
3365
#: includes/currencies.php:31 includes/currencies.php:51
3366
+ #: includes/currencies.php:55 includes/currencies.php:62
3367
msgid "Swedish Krona"
3368
msgstr ""
3369
3370
#: includes/currencies.php:63 includes/currencies.php:27
3371
#: includes/currencies.php:32 includes/currencies.php:52
3372
+ #: includes/currencies.php:56 includes/currencies.php:63
3373
msgid "Swiss Franc"
3374
msgstr ""
3375
3376
#: includes/currencies.php:64 includes/currencies.php:28
3377
#: includes/currencies.php:33 includes/currencies.php:53
3378
+ #: includes/currencies.php:57 includes/currencies.php:64
3379
msgid "Taiwan New Dollars"
3380
msgstr ""
3381
3382
#: includes/currencies.php:65 includes/currencies.php:29
3383
#: includes/currencies.php:34 includes/currencies.php:54
3384
+ #: includes/currencies.php:58 includes/currencies.php:65
3385
msgid "Thai Baht"
3386
msgstr ""
3387
3388
#: includes/currencies.php:66 includes/currencies.php:35
3389
#: includes/currencies.php:55 includes/currencies.php:59
3390
+ #: includes/currencies.php:66
3391
msgid "Turkish Lira"
3392
msgstr ""
3393
3394
#: includes/currencies.php:67 includes/currencies.php:36
3395
#: includes/currencies.php:56 includes/currencies.php:60
3396
+ #: includes/currencies.php:67
3397
msgid "Vietnamese Dong"
3398
msgstr ""
3399
3400
+ #: includes/functions.php:207 includes/functions.php:160
3401
#: includes/functions.php:196 includes/functions.php:202
3402
#: includes/functions.php:203 includes/functions.php:204
3403
+ #: includes/functions.php:207
3404
#, php-format
3405
msgid "The price for membership is <strong>%s</strong> now"
3406
msgstr ""
3407
3408
+ #: includes/functions.php:209 includes/functions.php:204
3409
#: includes/functions.php:205 includes/functions.php:206
3410
+ #: includes/functions.php:209
3411
#, php-format
3412
msgid "<strong>%s</strong> now"
3413
msgstr ""
3414
3415
+ #: includes/functions.php:218 includes/functions.php:169
3416
#: includes/functions.php:205 includes/functions.php:213
3417
#: includes/functions.php:214 includes/functions.php:215
3418
+ #: includes/functions.php:218
3419
#, php-format
3420
msgid " and then <strong>%s per %s for %d more %s</strong>."
3421
msgstr ""
3422
3423
+ #: includes/functions.php:222 includes/functions.php:173
3424
#: includes/functions.php:209 includes/functions.php:217
3425
#: includes/functions.php:218 includes/functions.php:219
3426
+ #: includes/functions.php:222
3427
#, php-format
3428
msgid " and then <strong>%s every %d %s for %d more %s</strong>."
3429
msgstr ""
3430
3431
+ #: includes/functions.php:227 includes/functions.php:178
3432
#: includes/functions.php:214 includes/functions.php:222
3433
#: includes/functions.php:223 includes/functions.php:224
3434
+ #: includes/functions.php:227
3435
#, php-format
3436
msgid " and then <strong>%s after %d %s</strong>."
3437
msgstr ""
3438
3439
+ #: includes/functions.php:235 includes/functions.php:229
3440
#: includes/functions.php:230 includes/functions.php:231
3441
+ #: includes/functions.php:235
3442
#, php-format
3443
msgid "The price for membership is <strong>%s per %s</strong>."
3444
msgstr ""
3445
3446
+ #: includes/functions.php:237 includes/functions.php:233
3447
+ #: includes/functions.php:237
3448
#, php-format
3449
msgid "<strong>%s per %s</strong>."
3450
msgstr ""
3451
3452
+ #: includes/functions.php:242 includes/functions.php:233
3453
#: includes/functions.php:234 includes/functions.php:235
3454
+ #: includes/functions.php:238 includes/functions.php:242
3455
#, php-format
3456
msgid "The price for membership is <strong>%s every %d %s</strong>."
3457
msgstr ""
3458
3459
+ #: includes/functions.php:244 includes/functions.php:240
3460
+ #: includes/functions.php:244
3461
#, php-format
3462
msgid "<strong>%s every %d %s</strong>."
3463
msgstr ""
3464
3465
+ #: includes/functions.php:249 includes/functions.php:184
3466
#: includes/functions.php:220 includes/functions.php:228
3467
#: includes/functions.php:238 includes/functions.php:239
3468
#: includes/functions.php:240 includes/functions.php:245
3469
+ #: includes/functions.php:249
3470
#, php-format
3471
msgid " and then <strong>%s per %s</strong>."
3472
msgstr ""
3473
3474
+ #: includes/functions.php:253 includes/functions.php:188
3475
#: includes/functions.php:224 includes/functions.php:232
3476
#: includes/functions.php:242 includes/functions.php:243
3477
#: includes/functions.php:244 includes/functions.php:249
3478
+ #: includes/functions.php:253
3479
#, php-format
3480
msgid " and then <strong>%s every %d %s</strong>."
3481
msgstr ""
3482
3483
+ #: includes/functions.php:271 includes/functions.php:202
3484
#: includes/functions.php:238 includes/functions.php:249
3485
#: includes/functions.php:260 includes/functions.php:261
3486
+ #: includes/functions.php:262 includes/functions.php:267
3487
+ #: includes/functions.php:271 pages/levels.php:82
3488
msgid "After your initial payment, your first payment is Free."
3489
msgstr ""
3490
3491
+ #: includes/functions.php:275 includes/functions.php:206
3492
#: includes/functions.php:242 includes/functions.php:253
3493
#: includes/functions.php:264 includes/functions.php:265
3494
+ #: includes/functions.php:266 includes/functions.php:271
3495
+ #: includes/functions.php:275 pages/levels.php:86
3496
#, php-format
3497
msgid "After your initial payment, your first %d payments are Free."
3498
msgstr ""
3499
3500
+ #: includes/functions.php:282 includes/functions.php:213
3501
#: includes/functions.php:249 includes/functions.php:260
3502
#: includes/functions.php:271 includes/functions.php:272
3503
+ #: includes/functions.php:273 includes/functions.php:278
3504
+ #: includes/functions.php:282 pages/levels.php:93
3505
#, php-format
3506
msgid "After your initial payment, your first payment will cost %s."
3507
msgstr ""
3508
3509
+ #: includes/functions.php:286 includes/functions.php:217
3510
#: includes/functions.php:253 includes/functions.php:264
3511
#: includes/functions.php:275 includes/functions.php:276
3512
+ #: includes/functions.php:277 includes/functions.php:282
3513
+ #: includes/functions.php:286 pages/levels.php:97
3514
#, php-format
3515
msgid "After your initial payment, your first %d payments will cost %s."
3516
msgstr ""
3517
3518
+ #: includes/functions.php:297 includes/functions.php:228
3519
#: includes/functions.php:264 includes/functions.php:275
3520
#: includes/functions.php:286 includes/functions.php:287
3521
#: includes/functions.php:288 includes/functions.php:293
3522
+ #: includes/functions.php:297
3523
#, php-format
3524
msgid "Customers in %s will be charged %s%% tax."
3525
msgstr ""
3526
3527
+ #: includes/functions.php:311 includes/functions.php:242
3528
#: includes/functions.php:278 includes/functions.php:289
3529
#: includes/functions.php:300 includes/functions.php:301
3530
#: includes/functions.php:302 includes/functions.php:307
3531
+ #: includes/functions.php:311
3532
#, php-format
3533
msgid "Membership expires after %d %s."
3534
msgstr ""
3535
3536
+ #: includes/functions.php:576 includes/functions.php:491
3537
#: includes/functions.php:514 includes/functions.php:525
3538
#: includes/functions.php:536 includes/functions.php:537
3539
#: includes/functions.php:538 includes/functions.php:545
3540
+ #: includes/functions.php:569 includes/functions.php:570
3541
+ #: includes/functions.php:576
3542
msgid "User ID not found."
3543
msgstr ""
3544
3545
+ #: includes/functions.php:596 includes/functions.php:508
3546
#: includes/functions.php:531 includes/functions.php:542
3547
#: includes/functions.php:553 includes/functions.php:554
3548
#: includes/functions.php:555 includes/functions.php:562
3549
+ #: includes/functions.php:586 includes/functions.php:587
3550
+ #: includes/functions.php:596
3551
msgid "Invalid level."
3552
msgstr ""
3553
3554
+ #: includes/functions.php:607 includes/functions.php:520
3555
#: includes/functions.php:542 includes/functions.php:553
3556
#: includes/functions.php:564 includes/functions.php:565
3557
#: includes/functions.php:566 includes/functions.php:573
3558
+ #: includes/functions.php:597 includes/functions.php:598
3559
+ #: includes/functions.php:607
3560
msgid "not changing?"
3561
msgstr ""
3562
3563
+ #: includes/functions.php:624 includes/functions.php:683
3564
+ #: includes/functions.php:707 includes/functions.php:537
3565
#: includes/functions.php:559 includes/functions.php:570
3566
#: includes/functions.php:581 includes/functions.php:582
3567
#: includes/functions.php:583 includes/functions.php:590
3568
#: includes/functions.php:592 includes/functions.php:605
3569
+ #: includes/functions.php:614 includes/functions.php:615
3570
+ #: includes/functions.php:617 includes/functions.php:624
3571
#: includes/functions.php:626 includes/functions.php:628
3572
#: includes/functions.php:631 includes/functions.php:632
3573
#: includes/functions.php:633 includes/functions.php:637
3574
#: includes/functions.php:640 includes/functions.php:649
3575
#: includes/functions.php:656 includes/functions.php:657
3576
+ #: includes/functions.php:673 includes/functions.php:674
3577
+ #: includes/functions.php:683 includes/functions.php:697
3578
+ #: includes/functions.php:698 includes/functions.php:707
3579
msgid "Error interacting with database"
3580
msgstr ""
3581
3582
+ #: includes/functions.php:748 includes/functions.php:787
3583
#: includes/functions.php:629 includes/functions.php:651
3584
#: includes/functions.php:667 includes/functions.php:668
3585
#: includes/functions.php:678 includes/functions.php:681
3588
#: includes/functions.php:714 includes/functions.php:717
3589
#: includes/functions.php:720 includes/functions.php:736
3590
#: includes/functions.php:737 includes/functions.php:738
3591
+ #: includes/functions.php:739 includes/functions.php:748
3592
#: includes/functions.php:753 includes/functions.php:777
3593
+ #: includes/functions.php:778 includes/functions.php:787
3594
msgid "Membership level not found."
3595
msgstr ""
3596
3597
+ #: includes/functions.php:1157 includes/functions.php:1100
3598
#: includes/functions.php:1101 includes/functions.php:1118
3599
+ #: includes/functions.php:1142 includes/functions.php:1143
3600
+ #: includes/functions.php:1157
3601
msgid "No code was given to check."
3602
msgstr ""
3603
3604
+ #: includes/functions.php:1166 includes/functions.php:1050
3605
#: includes/functions.php:1072 includes/functions.php:1088
3606
#: includes/functions.php:1099 includes/functions.php:1102
3607
#: includes/functions.php:1109 includes/functions.php:1110
3608
#: includes/functions.php:1112 includes/functions.php:1113
3609
#: includes/functions.php:1127 includes/functions.php:1151
3610
+ #: includes/functions.php:1152 includes/functions.php:1166
3611
msgid "The discount code could not be found."
3612
msgstr ""
3613
3614
+ #: includes/functions.php:1181 includes/functions.php:1066
3615
#: includes/functions.php:1088 includes/functions.php:1104
3616
#: includes/functions.php:1115 includes/functions.php:1118
3617
#: includes/functions.php:1124 includes/functions.php:1125
3618
#: includes/functions.php:1128 includes/functions.php:1129
3619
#: includes/functions.php:1142 includes/functions.php:1166
3620
+ #: includes/functions.php:1167 includes/functions.php:1181
3621
#, php-format
3622
msgid "This discount code goes into effect on %s."
3623
msgstr ""
3624
3625
+ #: includes/functions.php:1188 includes/functions.php:1075
3626
#: includes/functions.php:1097 includes/functions.php:1113
3627
#: includes/functions.php:1124 includes/functions.php:1127
3628
#: includes/functions.php:1131 includes/functions.php:1132
3629
#: includes/functions.php:1137 includes/functions.php:1138
3630
#: includes/functions.php:1149 includes/functions.php:1173
3631
+ #: includes/functions.php:1174 includes/functions.php:1188
3632
#, php-format
3633
msgid "This discount code expired on %s."
3634
msgstr ""
3635
3636
+ #: includes/functions.php:1198 includes/functions.php:1087
3637
#: includes/functions.php:1109 includes/functions.php:1125
3638
#: includes/functions.php:1136 includes/functions.php:1139
3639
#: includes/functions.php:1141 includes/functions.php:1142
3640
#: includes/functions.php:1149 includes/functions.php:1150
3641
#: includes/functions.php:1159 includes/functions.php:1183
3642
+ #: includes/functions.php:1184 includes/functions.php:1198
3643
msgid "This discount code is no longer valid."
3644
msgstr ""
3645
3646
+ #: includes/functions.php:1211 includes/functions.php:1102
3647
#: includes/functions.php:1124 includes/functions.php:1140
3648
#: includes/functions.php:1151 includes/functions.php:1154
3649
#: includes/functions.php:1155 includes/functions.php:1164
3650
#: includes/functions.php:1165 includes/functions.php:1172
3651
+ #: includes/functions.php:1196 includes/functions.php:1197
3652
+ #: includes/functions.php:1211
3653
msgid "This discount code does not apply to this membership level."
3654
msgstr ""
3655
3656
+ #: includes/functions.php:1237 includes/functions.php:1110
3657
#: includes/functions.php:1132 includes/functions.php:1148
3658
#: includes/functions.php:1159 includes/functions.php:1162
3659
#: includes/functions.php:1172 includes/functions.php:1180
3660
#: includes/functions.php:1181 includes/functions.php:1182
3661
#: includes/functions.php:1198 includes/functions.php:1222
3662
+ #: includes/functions.php:1223 includes/functions.php:1237
3663
msgid "This discount code is okay."
3664
msgstr ""
3665
3666
+ #: includes/functions.php:1262 includes/functions.php:1134
3667
#: includes/functions.php:1156 includes/functions.php:1172
3668
#: includes/functions.php:1183 includes/functions.php:1186
3669
#: includes/functions.php:1196 includes/functions.php:1205
3670
#: includes/functions.php:1206 includes/functions.php:1223
3671
+ #: includes/functions.php:1247 includes/functions.php:1248
3672
+ #: includes/functions.php:1262
3673
msgid "and"
3674
msgstr ""
3675
3676
+ #: includes/functions.php:1457 includes/functions.php:1319
3677
#: includes/functions.php:1341 includes/functions.php:1361
3678
#: includes/functions.php:1372 includes/functions.php:1375
3679
#: includes/functions.php:1385 includes/functions.php:1394
3680
#: includes/functions.php:1395 includes/functions.php:1412
3681
+ #: includes/functions.php:1436 includes/functions.php:1437
3682
+ #: includes/functions.php:1457
3683
msgid "Sign Up for !!name!! Now"
3684
msgstr ""
3685
3686
+ #: includes/functions.php:1463 includes/functions.php:1325
3687
#: includes/functions.php:1347 includes/functions.php:1367
3688
#: includes/functions.php:1378 includes/functions.php:1381
3689
#: includes/functions.php:1391 includes/functions.php:1400
3690
#: includes/functions.php:1401 includes/functions.php:1418
3691
+ #: includes/functions.php:1442 includes/functions.php:1443
3692
+ #: includes/functions.php:1463
3693
msgid "Please specify a level id."
3694
msgstr ""
3695
3750
msgid "Current Level"
3751
msgstr ""
3752
3753
+ #: includes/profile.php:54 includes/profile.php:54
3754
+ msgid "Not paying."
3755
+ msgstr ""
3756
+
3757
#: includes/profile.php:64 includes/profile.php:64
3758
msgid ""
3759
"This will not change the subscription at the gateway unless the 'Cancel' "
4029
#: pages/checkout.php:62 services/applydiscountcode.php:89
4030
#: pages/checkout.php:62 pages/checkout.php:63 pages/checkout.php:64
4031
#: services/applydiscountcode.php:74 services/applydiscountcode.php:75
4032
+ #: services/applydiscountcode.php:78 services/applydiscountcode.php:89
4033
msgid "Click here to change your discount code"
4034
msgstr ""
4035
4497
4498
#: services/applydiscountcode.php:97 services/applydiscountcode.php:82
4499
#: services/applydiscountcode.php:83 services/applydiscountcode.php:86
4500
+ #: services/applydiscountcode.php:97
4501
#, php-format
4502
msgid "The <strong>%s</strong> code has been applied to your order."
4503
msgstr ""
languages/pmpro.pot CHANGED
@@ -5,7 +5,7 @@
5
msgid ""
6
msgstr ""
7
"Project-Id-Version: pmpro\n"
8
- "POT-Creation-Date: 2015-03-17 09:49-0400\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: \n"
11
"Language-Team: Stranger Studios <jason@strangerstudios.com>\n"
@@ -504,6 +504,7 @@ msgstr ""
504
#: pages/checkout.php:553 adminpages/discountcodes.php:367
505
#: adminpages/discountcodes.php:370 adminpages/discountcodes.php:371
506
#: classes/gateways/class.pmprogateway_braintree.php:308
507
#: classes/gateways/class.pmprogateway_stripe.php:454 pages/billing.php:249
508
#: pages/billing.php:253 pages/checkout.php:508 pages/checkout.php:524
509
#: pages/checkout.php:525 pages/checkout.php:532 pages/checkout.php:553
@@ -1432,6 +1433,7 @@ msgstr ""
1432
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:238
1433
#: pages/checkout.php:507 adminpages/orders.php:339 adminpages/orders.php:389
1434
#: classes/gateways/class.pmprogateway_braintree.php:291
1435
#: classes/gateways/class.pmprogateway_stripe.php:408 pages/billing.php:234
1436
#: pages/billing.php:238 pages/checkout.php:493 pages/checkout.php:507
1437
#: pages/checkout.php:510 pages/checkout.php:517
@@ -2172,6 +2174,7 @@ msgstr ""
2172
#: classes/class.pmproemail.php:580 classes/class.pmproemail.php:645
2173
#: classes/class.pmproemail.php:648
2174
#: classes/gateways/class.pmprogateway_braintree.php:349
2175
#: classes/gateways/class.pmprogateway_stripe.php:495 pages/checkout.php:66
2176
#: pages/checkout.php:67 pages/checkout.php:68 pages/checkout.php:76
2177
#: pages/checkout.php:77 pages/checkout.php:78 pages/checkout.php:549
@@ -2269,10 +2272,10 @@ msgstr ""
2269
msgid "Your membership at %s has been changed"
2270
msgstr ""
2271
2272
- #: classes/class.pmproemail.php:762 classes/class.pmproemail.php:759
2273
- #: classes/class.pmproemail.php:762
2274
#, php-format
2275
- msgid "The new level is %s."
2276
msgstr ""
2277
2278
#: classes/class.pmproemail.php:764 classes/class.pmproemail.php:647
@@ -2305,14 +2308,6 @@ msgstr ""
2305
msgid "Membership for %s at %s has been changed"
2306
msgstr ""
2307
2308
- #: classes/class.pmproemail.php:800 classes/class.pmproemail.php:645
2309
- #: classes/class.pmproemail.php:683 classes/class.pmproemail.php:694
2310
- #: classes/class.pmproemail.php:732 classes/class.pmproemail.php:797
2311
- #: classes/class.pmproemail.php:800
2312
- #, php-format
2313
- msgid "The new level is %s. This membership is free"
2314
- msgstr ""
2315
-
2316
#: classes/class.pmproemail.php:802 classes/class.pmproemail.php:799
2317
#: classes/class.pmproemail.php:802
2318
msgid "Membership has been cancelled"
@@ -2455,12 +2450,14 @@ msgstr ""
2455
#: classes/gateways/class.pmprogateway_braintree.php:76
2456
#: paid-memberships-pro.php:123
2457
#: classes/gateways/class.pmprogateway_braintree.php:63
2458
#: paid-memberships-pro.php:123
2459
msgid "Braintree Payments"
2460
msgstr ""
2461
2462
#: classes/gateways/class.pmprogateway_braintree.php:132
2463
#: classes/gateways/class.pmprogateway_braintree.php:119
2464
msgid "Braintree Settings"
2465
msgstr ""
2466
@@ -2470,6 +2467,7 @@ msgstr ""
2470
#: adminpages/paymentsettings.php:303 adminpages/paymentsettings.php:364
2471
#: adminpages/paymentsettings.php:369
2472
#: classes/gateways/class.pmprogateway_braintree.php:124
2473
#: classes/gateways/class.pmprogateway_cybersource.php:106
2474
msgid "Merchant ID"
2475
msgstr ""
@@ -2478,6 +2476,7 @@ msgstr ""
2478
#: adminpages/paymentsettings.php:302 adminpages/paymentsettings.php:306
2479
#: adminpages/paymentsettings.php:311
2480
#: classes/gateways/class.pmprogateway_braintree.php:132
2481
msgid "Public Key"
2482
msgstr ""
2483
@@ -2485,6 +2484,7 @@ msgstr ""
2485
#: adminpages/paymentsettings.php:310 adminpages/paymentsettings.php:314
2486
#: adminpages/paymentsettings.php:319
2487
#: classes/gateways/class.pmprogateway_braintree.php:140
2488
msgid "Private Key"
2489
msgstr ""
2490
@@ -2492,6 +2492,7 @@ msgstr ""
2492
#: adminpages/paymentsettings.php:318 adminpages/paymentsettings.php:322
2493
#: adminpages/paymentsettings.php:327
2494
#: classes/gateways/class.pmprogateway_braintree.php:148
2495
msgid "Client-Side Encryption Key"
2496
msgstr ""
2497
@@ -2502,6 +2503,7 @@ msgstr ""
2502
#: adminpages/paymentsettings.php:511 adminpages/paymentsettings.php:517
2503
#: adminpages/paymentsettings.php:519
2504
#: classes/gateways/class.pmprogateway_braintree.php:156
2505
#: classes/gateways/class.pmprogateway_stripe.php:181
2506
msgid "Web Hook URL"
2507
msgstr ""
@@ -2510,12 +2512,14 @@ msgstr ""
2510
#: adminpages/paymentsettings.php:474 adminpages/paymentsettings.php:515
2511
#: adminpages/paymentsettings.php:521 adminpages/paymentsettings.php:523
2512
#: classes/gateways/class.pmprogateway_braintree.php:160
2513
msgid "To fully integrate with Braintree, be sure to set your Web Hook URL to"
2514
msgstr ""
2515
2516
#: classes/gateways/class.pmprogateway_braintree.php:283
2517
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2518
#: classes/gateways/class.pmprogateway_braintree.php:270
2519
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2520
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2521
#: pages/checkout.php:500
@@ -2525,6 +2529,7 @@ msgstr ""
2525
#: classes/gateways/class.pmprogateway_braintree.php:283
2526
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:485
2527
#: classes/gateways/class.pmprogateway_braintree.php:270
2528
#: classes/gateways/class.pmprogateway_stripe.php:387 pages/checkout.php:476
2529
#: pages/checkout.php:478 pages/checkout.php:485 pages/checkout.php:493
2530
#: pages/checkout.php:500
@@ -2536,6 +2541,7 @@ msgstr ""
2536
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:248
2537
#: pages/checkout.php:548
2538
#: classes/gateways/class.pmprogateway_braintree.php:303
2539
#: classes/gateways/class.pmprogateway_stripe.php:449 pages/billing.php:244
2540
#: pages/billing.php:248 pages/checkout.php:503 pages/checkout.php:519
2541
#: pages/checkout.php:520 pages/checkout.php:527 pages/checkout.php:548
@@ -2546,6 +2552,7 @@ msgstr ""
2546
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:285
2547
#: pages/checkout.php:585
2548
#: classes/gateways/class.pmprogateway_braintree.php:340
2549
#: classes/gateways/class.pmprogateway_stripe.php:486 pages/billing.php:281
2550
#: pages/billing.php:285 pages/checkout.php:540 pages/checkout.php:556
2551
#: pages/checkout.php:557 pages/checkout.php:564 pages/checkout.php:585
@@ -2556,6 +2563,7 @@ msgstr ""
2556
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:286
2557
#: pages/checkout.php:586
2558
#: classes/gateways/class.pmprogateway_braintree.php:341
2559
#: classes/gateways/class.pmprogateway_stripe.php:487 pages/billing.php:282
2560
#: pages/billing.php:286 pages/checkout.php:541 pages/checkout.php:557
2561
#: pages/checkout.php:558 pages/checkout.php:565 pages/checkout.php:586
@@ -2566,6 +2574,7 @@ msgstr ""
2566
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2567
#: pages/checkout.php:596
2568
#: classes/gateways/class.pmprogateway_braintree.php:351
2569
#: classes/gateways/class.pmprogateway_stripe.php:497 pages/checkout.php:78
2570
#: pages/checkout.php:79 pages/checkout.php:80 pages/checkout.php:551
2571
#: pages/checkout.php:567 pages/checkout.php:568 pages/checkout.php:575
@@ -2574,23 +2583,27 @@ msgid "Apply"
2574
msgstr ""
2575
2576
#: classes/gateways/class.pmprogateway_braintree.php:419
2577
- #: classes/gateways/class.pmprogateway_stripe.php:1011
2578
#: classes/gateways/class.pmprogateway_braintree.php:61
2579
#: classes/gateways/class.pmprogateway_braintree.php:406
2580
#: classes/gateways/class.pmprogateway_stripe.php:53
2581
#: classes/gateways/class.pmprogateway_stripe.php:1011
2582
msgid "Unknown error: Initial payment failed."
2583
msgstr ""
2584
2585
#: classes/gateways/class.pmprogateway_braintree.php:478
2586
#: classes/gateways/class.pmprogateway_braintree.php:120
2587
#: classes/gateways/class.pmprogateway_braintree.php:465
2588
msgid "Error during settlement:"
2589
msgstr ""
2590
2591
#: classes/gateways/class.pmprogateway_braintree.php:487
2592
#: classes/gateways/class.pmprogateway_braintree.php:129
2593
#: classes/gateways/class.pmprogateway_braintree.php:474
2594
msgid "Error during charge:"
2595
msgstr ""
2596
@@ -2598,6 +2611,7 @@ msgstr ""
2598
#: classes/gateways/class.pmprogateway_braintree.php:198
2599
#: classes/gateways/class.pmprogateway_braintree.php:221
2600
#: classes/gateways/class.pmprogateway_braintree.php:566
2601
msgid "Failed to update customer."
2602
msgstr ""
2603
@@ -2605,6 +2619,7 @@ msgstr ""
2605
#: classes/gateways/class.pmprogateway_braintree.php:246
2606
#: classes/gateways/class.pmprogateway_braintree.php:269
2607
#: classes/gateways/class.pmprogateway_braintree.php:614
2608
msgid "Failed to create customer."
2609
msgstr ""
2610
@@ -2612,6 +2627,7 @@ msgstr ""
2612
#: classes/gateways/class.pmprogateway_braintree.php:253
2613
#: classes/gateways/class.pmprogateway_braintree.php:276
2614
#: classes/gateways/class.pmprogateway_braintree.php:621
2615
msgid "Error creating customer record with Braintree:"
2616
msgstr ""
2617
@@ -2620,6 +2636,7 @@ msgstr ""
2620
#: classes/gateways/class.pmprogateway_braintree.php:345
2621
#: classes/gateways/class.pmprogateway_braintree.php:376
2622
#: classes/gateways/class.pmprogateway_braintree.php:721
2623
msgid "Error subscribing customer to plan with Braintree:"
2624
msgstr ""
2625
@@ -2628,6 +2645,7 @@ msgstr ""
2628
#: classes/gateways/class.pmprogateway_braintree.php:360
2629
#: classes/gateways/class.pmprogateway_braintree.php:391
2630
#: classes/gateways/class.pmprogateway_braintree.php:736
2631
msgid "Failed to subscribe with Braintree:"
2632
msgstr ""
2633
@@ -2646,6 +2664,8 @@ msgstr ""
2646
#: classes/gateways/class.pmprogateway_braintree.php:774
2647
#: classes/gateways/class.pmprogateway_braintree.php:787
2648
#: classes/gateways/class.pmprogateway_braintree.php:794
2649
#: classes/gateways/class.pmprogateway_stripe.php:343
2650
#: classes/gateways/class.pmprogateway_stripe.php:344
2651
#: classes/gateways/class.pmprogateway_stripe.php:351
@@ -3044,18 +3064,19 @@ msgstr ""
3044
msgid "Could not cancel the old subscription. Updates have not been processed."
3045
msgstr ""
3046
3047
- #: classes/gateways/class.pmprogateway_stripe.php:1188
3048
#: classes/gateways/class.pmprogateway_stripe.php:190
3049
#: classes/gateways/class.pmprogateway_stripe.php:192
3050
#: classes/gateways/class.pmprogateway_stripe.php:199
3051
#: classes/gateways/class.pmprogateway_stripe.php:201
3052
#: classes/gateways/class.pmprogateway_stripe.php:1187
3053
#: classes/gateways/class.pmprogateway_stripe.php:1188
3054
msgid "Error creating customer record with Stripe:"
3055
msgstr ""
3056
3057
- #: classes/gateways/class.pmprogateway_stripe.php:1245
3058
- #: classes/gateways/class.pmprogateway_stripe.php:1391
3059
#: classes/gateways/class.pmprogateway_stripe.php:278
3060
#: classes/gateways/class.pmprogateway_stripe.php:279
3061
#: classes/gateways/class.pmprogateway_stripe.php:286
@@ -3064,12 +3085,14 @@ msgstr ""
3064
#: classes/gateways/class.pmprogateway_stripe.php:311
3065
#: classes/gateways/class.pmprogateway_stripe.php:1244
3066
#: classes/gateways/class.pmprogateway_stripe.php:1245
3067
#: classes/gateways/class.pmprogateway_stripe.php:1390
3068
#: classes/gateways/class.pmprogateway_stripe.php:1391
3069
msgid "Error creating plan with Stripe:"
3070
msgstr ""
3071
3072
- #: classes/gateways/class.pmprogateway_stripe.php:1422
3073
#: classes/gateways/class.pmprogateway_stripe.php:294
3074
#: classes/gateways/class.pmprogateway_stripe.php:295
3075
#: classes/gateways/class.pmprogateway_stripe.php:302
@@ -3078,21 +3101,27 @@ msgstr ""
3078
#: classes/gateways/class.pmprogateway_stripe.php:330
3079
#: classes/gateways/class.pmprogateway_stripe.php:1420
3080
#: classes/gateways/class.pmprogateway_stripe.php:1421
3081
msgid "Error subscribing customer to plan with Stripe:"
3082
msgstr ""
3083
3084
- #: classes/gateways/class.pmprogateway_stripe.php:1518
3085
#: classes/gateways/class.pmprogateway_stripe.php:383
3086
#: classes/gateways/class.pmprogateway_stripe.php:389
3087
#: classes/gateways/class.pmprogateway_stripe.php:410
3088
#: classes/gateways/class.pmprogateway_stripe.php:1516
3089
#: classes/gateways/class.pmprogateway_stripe.php:1517
3090
msgid "Could not cancel old subscription."
3091
msgstr ""
3092
3093
- #: classes/gateways/class.pmprogateway_stripe.php:1535
3094
#: classes/gateways/class.pmprogateway_stripe.php:1533
3095
#: classes/gateways/class.pmprogateway_stripe.php:1534
3096
msgid "Could not find the customer."
3097
msgstr ""
3098
@@ -3191,7 +3220,7 @@ msgstr ""
3191
#: includes/currencies.php:7 includes/currencies.php:75
3192
#: includes/currencies.php:7 includes/currencies.php:37
3193
#: includes/currencies.php:44 includes/currencies.php:64
3194
- #: includes/currencies.php:68
3195
msgid "US Dollars (&#36;)"
3196
msgstr ""
3197
@@ -3199,6 +3228,7 @@ msgstr ""
3199
#: includes/currencies.php:8 includes/currencies.php:9
3200
#: includes/currencies.php:40 includes/currencies.php:47
3201
#: includes/currencies.php:67 includes/currencies.php:71
3202
msgid "Euros (&euro;)"
3203
msgstr ""
3204
@@ -3206,6 +3236,7 @@ msgstr ""
3206
#: includes/currencies.php:9 includes/currencies.php:14
3207
#: includes/currencies.php:39 includes/currencies.php:46
3208
#: includes/currencies.php:66 includes/currencies.php:70
3209
msgid "Pounds Sterling (&pound;)"
3210
msgstr ""
3211
@@ -3222,6 +3253,7 @@ msgstr ""
3222
#: includes/currencies.php:12 includes/currencies.php:24
3223
#: includes/currencies.php:38 includes/currencies.php:45
3224
#: includes/currencies.php:65 includes/currencies.php:69
3225
msgid "Canadian Dollars (&#36;)"
3226
msgstr ""
3227
@@ -3232,283 +3264,322 @@ msgstr ""
3232
3233
#: includes/currencies.php:27 includes/currencies.php:13
3234
#: includes/currencies.php:14 includes/currencies.php:26
3235
msgid "Czech Koruna"
3236
msgstr ""
3237
3238
#: includes/currencies.php:34 includes/currencies.php:14
3239
#: includes/currencies.php:15 includes/currencies.php:27
3240
msgid "Danish Krone"
3241
msgstr ""
3242
3243
#: includes/currencies.php:35 includes/currencies.php:15
3244
#: includes/currencies.php:16 includes/currencies.php:28
3245
msgid "Hong Kong Dollar (&#36;)"
3246
msgstr ""
3247
3248
#: includes/currencies.php:36 includes/currencies.php:16
3249
#: includes/currencies.php:17 includes/currencies.php:29
3250
msgid "Hungarian Forint"
3251
msgstr ""
3252
3253
#: includes/currencies.php:37 includes/currencies.php:18
3254
- #: includes/currencies.php:30
3255
msgid "Indian Rupee"
3256
msgstr ""
3257
3258
#: includes/currencies.php:38 includes/currencies.php:19
3259
- #: includes/currencies.php:31
3260
msgid "Indonesia Rupiah"
3261
msgstr ""
3262
3263
#: includes/currencies.php:39 includes/currencies.php:17
3264
#: includes/currencies.php:20 includes/currencies.php:32
3265
msgid "Israeli Shekel"
3266
msgstr ""
3267
3268
#: includes/currencies.php:41 includes/currencies.php:18
3269
#: includes/currencies.php:21 includes/currencies.php:34
3270
msgid "Japanese Yen (&yen;)"
3271
msgstr ""
3272
3273
#: includes/currencies.php:45 includes/currencies.php:19
3274
#: includes/currencies.php:22 includes/currencies.php:38
3275
msgid "Malaysian Ringgits"
3276
msgstr ""
3277
3278
#: includes/currencies.php:46 includes/currencies.php:20
3279
#: includes/currencies.php:23 includes/currencies.php:39
3280
msgid "Mexican Peso (&#36;)"
3281
msgstr ""
3282
3283
#: includes/currencies.php:47 includes/currencies.php:21
3284
#: includes/currencies.php:24 includes/currencies.php:40
3285
msgid "New Zealand Dollar (&#36;)"
3286
msgstr ""
3287
3288
#: includes/currencies.php:48 includes/currencies.php:22
3289
#: includes/currencies.php:25 includes/currencies.php:41
3290
msgid "Norwegian Krone"
3291
msgstr ""
3292
3293
#: includes/currencies.php:49 includes/currencies.php:23
3294
#: includes/currencies.php:26 includes/currencies.php:42
3295
msgid "Philippine Pesos"
3296
msgstr ""
3297
3298
#: includes/currencies.php:50 includes/currencies.php:24
3299
#: includes/currencies.php:27 includes/currencies.php:43
3300
msgid "Polish Zloty"
3301
msgstr ""
3302
3303
#: includes/currencies.php:52 includes/currencies.php:25
3304
#: includes/currencies.php:28 includes/currencies.php:45
3305
msgid "Singapore Dollar (&#36;)"
3306
msgstr ""
3307
3308
#: includes/currencies.php:57 includes/currencies.php:50
3309
msgid "South African Rand (R)"
3310
msgstr ""
3311
3312
#: includes/currencies.php:61 includes/currencies.php:30
3313
#: includes/currencies.php:50 includes/currencies.php:54
3314
msgid "South Korean Won"
3315
msgstr ""
3316
3317
#: includes/currencies.php:62 includes/currencies.php:26
3318
#: includes/currencies.php:31 includes/currencies.php:51
3319
- #: includes/currencies.php:55
3320
msgid "Swedish Krona"
3321
msgstr ""
3322
3323
#: includes/currencies.php:63 includes/currencies.php:27
3324
#: includes/currencies.php:32 includes/currencies.php:52
3325
- #: includes/currencies.php:56
3326
msgid "Swiss Franc"
3327
msgstr ""
3328
3329
#: includes/currencies.php:64 includes/currencies.php:28
3330
#: includes/currencies.php:33 includes/currencies.php:53
3331
- #: includes/currencies.php:57
3332
msgid "Taiwan New Dollars"
3333
msgstr ""
3334
3335
#: includes/currencies.php:65 includes/currencies.php:29
3336
#: includes/currencies.php:34 includes/currencies.php:54
3337
- #: includes/currencies.php:58
3338
msgid "Thai Baht"
3339
msgstr ""
3340
3341
#: includes/currencies.php:66 includes/currencies.php:35
3342
#: includes/currencies.php:55 includes/currencies.php:59
3343
msgid "Turkish Lira"
3344
msgstr ""
3345
3346
#: includes/currencies.php:67 includes/currencies.php:36
3347
#: includes/currencies.php:56 includes/currencies.php:60
3348
msgid "Vietnamese Dong"
3349
msgstr ""
3350
3351
- #: includes/functions.php:203 includes/functions.php:160
3352
#: includes/function