LearnPress – WordPress LMS Plugin - Version 3.2.5.5

Version Description

~ Fixed guest can not start quiz with no require enroll course option. ~ Fixed sql to filter orders by user ID. ~ Fixed issue of sending email when finished course: not correct Grade. ~ Fixed can not see Actions buttons when adding questions into the quiz. ~ Fixed changed the logic of Continue button for Course: continue with the next incomplete item. ~ Fixed wrong code to pick up instructor email.

Download this release

Release Info

Developer tunnhn
Plugin Icon 128x128 LearnPress – WordPress LMS Plugin
Version 3.2.5.5
Comparing to
See all releases

Code changes from version 3.2.5.3 to 3.2.5.5

assets/css/admin/admin.css CHANGED
@@ -2961,7 +2961,9 @@
2961
padding: 10px 14px; }
2962
#lp-modal-choose-items .lp-choose-items .main .list-items {
2963
min-height: 260px;
2964
- margin: 0; }
2965
#lp-modal-choose-items .lp-choose-items .main .list-items li {
2966
margin: 15px 0;
2967
cursor: pointer; }
2961
padding: 10px 14px; }
2962
#lp-modal-choose-items .lp-choose-items .main .list-items {
2963
min-height: 260px;
2964
+ margin: 0;
2965
+ max-height: 460px;
2966
+ overflow-y: auto; }
2967
#lp-modal-choose-items .lp-choose-items .main .list-items li {
2968
margin: 15px 0;
2969
cursor: pointer; }
assets/scss/admin/_admin-editor.scss CHANGED
@@ -836,6 +836,8 @@
836
.list-items {
837
min-height: 260px;
838
margin: 0;
839
li {
840
margin: 15px 0;
841
cursor: pointer;
836
.list-items {
837
min-height: 260px;
838
margin: 0;
839
+ max-height: 460px;
840
+ overflow-y: auto;
841
li {
842
margin: 15px 0;
843
cursor: pointer;
inc/abstracts/abstract-assets.php CHANGED
@@ -236,6 +236,10 @@ abstract class LP_Abstract_Assets {
236
$data = array( 'url' => $data );
237
}
238
239
$data = wp_parse_args(
240
$data,
241
array(
236
$data = array( 'url' => $data );
237
}
238
239
+ if ( empty( $data['url'] ) ) {
240
+ continue;
241
+ }
242
+
243
$data = wp_parse_args(
244
$data,
245
array(
inc/admin/class-lp-admin-assets.php CHANGED
@@ -59,31 +59,59 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
59
return apply_filters(
60
'learn-press/admin-default-scripts',
61
array(
62
'select2' => LP_Admin_Assets::url( '../inc/libraries/meta-box/js/select2/select2.min.js' ),
63
'lp-vue' => array(
64
- 'url' => self::url( 'js/vendor/vue' . $min . '.js' ),
65
- 'ver' => '2.5.16'
66
),
67
'lp-vuex' => array(
68
- 'url' => self::url( 'js/vendor/vuex.js' ),
69
- 'ver' => '3.1.0'
70
),
71
'lp-vue-resource' => array(
72
- 'url' => self::url( 'js/vendor/vue-resource.js' ),
73
- 'ver' => '1.3.4'
74
),
75
'lp-sortable' => array(
76
- 'url' => self::url( 'js/vendor/sortable.js' ),
77
- 'ver' => '1.6.0'
78
),
79
'lp-vuedraggable' => array(
80
'url' => self::url( 'js/vendor/vuedraggable.js' ),
81
'ver' => '2.14.1',
82
- 'deps' => array( 'lp-sortable' )
83
),
84
'learn-press-global' => array(
85
- 'url' => $this->url( 'js/global.js' ),
86
- 'deps' => array( 'jquery', 'underscore', 'utils', 'jquery-ui-sortable', 'select2' )
87
),
88
'learn-press-utils' => array(
89
'url' => $this->url( 'js/admin/utils.js' ),
@@ -97,6 +125,14 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
97
'url' => $this->url( 'js/admin/admin-tabs.js' ),
98
'deps' => array( 'jquery' )
99
),
100
'tipsy' => array(
101
'url' => $this->url( 'js/vendor/jquery-tipsy/jquery.tipsy.js' ),
102
'deps' => array( 'jquery' )
@@ -105,9 +141,8 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
105
'url' => $this->url( 'js/admin/course-editor.js' ),
106
'deps' => array(
107
'lp-vue',
108
- 'lp-vuex',
109
- 'lp-vue-resource',
110
- 'lp-vuedraggable',
111
),
112
'screens' => array( LP_COURSE_CPT )
113
),
@@ -115,9 +150,7 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
115
'url' => $this->url( 'js/admin/quiz-editor.js' ),
116
'deps' => array(
117
'lp-vue',
118
- 'lp-vuex',
119
- 'lp-vue-resource',
120
- 'lp-vuedraggable',
121
),
122
'screens' => array( LP_QUIZ_CPT )
123
),
@@ -125,32 +158,38 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
125
'url' => $this->url( 'js/admin/question-editor.js' ),
126
'deps' => array(
127
'lp-vue',
128
- 'lp-vuex',
129
- 'lp-vue-resource',
130
- 'lp-vuedraggable',
131
),
132
'screens' => array( LP_QUESTION_CPT )
133
),
134
'learn-press-modal-search-items' => array(
135
- 'url' => $this->url( 'js/admin/modal-search-items.js' )
136
),
137
'learn-press-modal-search-users' => array(
138
- 'url' => $this->url( 'js/admin/modal-search-users.js' )
139
),
140
'learn-press-meta-box-order' => array(
141
'url' => $this->url( 'js/admin/meta-box-order.js' ),
142
'deps' => array(
143
- 'learn-press-global',
144
'learn-press-modal-search-items',
145
- 'learn-press-modal-search-users'
146
),
147
'screens' => array( LP_ORDER_CPT )
148
),
149
'learn-press-update' => array(
150
- 'url' => $this->url( 'js/admin/update.js' )
151
),
152
'learn-press-sync-data' => array(
153
- 'url' => $this->url( 'js/admin/sync-data.js' )
154
)
155
)
156
);
@@ -182,8 +221,7 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
182
// Register
183
$this->_register_scripts();
184
185
- global $current_screen;
186
- $screen_id = $current_screen ? $current_screen->id : false;
187
188
/**
189
* Enqueue scripts
@@ -193,8 +231,14 @@ class LP_Admin_Assets extends LP_Abstract_Assets {
193
if ( $scripts = $this->_get_scripts() ) {
194
foreach ( $scripts as $handle => $data ) {
195
do_action( 'learn-press/enqueue-script/' . $handle );
196
- if ( empty( $data['screens'] ) || ! empty( $data['screens'] ) && in_array( $screen_id, $data['screens'] ) ) {
197
- wp_enqueue_script( $handle );
198
}
199
}
200
}
59
return apply_filters(
60
'learn-press/admin-default-scripts',
61
array(
62
+ 'wp-color-picker' => array(
63
+ 'screens' => 'learnpress_page_learn-press-settings'
64
+ ),
65
'select2' => LP_Admin_Assets::url( '../inc/libraries/meta-box/js/select2/select2.min.js' ),
66
'lp-vue' => array(
67
+ 'url' => self::url( 'js/vendor/vue' . $min . '.js' ),
68
+ 'ver' => '2.5.16',
69
+ 'screens' => array(
70
+ 'learnpress'
71
+ )
72
),
73
'lp-vuex' => array(
74
+ 'url' => self::url( 'js/vendor/vuex.js' ),
75
+ 'ver' => '3.1.0',
76
+ 'deps' => array( 'lp-vue' ),
77
+ 'screens' => array(
78
+ 'learnpress'
79
+ )
80
),
81
'lp-vue-resource' => array(
82
+ 'url' => self::url( 'js/vendor/vue-resource.js' ),
83
+ 'ver' => '1.3.4',
84
+ 'deps' => array( 'lp-vue' ),
85
+ 'screens' => array(
86
+ 'learnpress'
87
+ )
88
),
89
'lp-sortable' => array(
90
+ 'url' => self::url( 'js/vendor/sortable.js' ),
91
+ 'ver' => '1.6.0',
92
+ 'deps' => array( 'lp-vue' ),
93
+ 'screens' => array(
94
+ 'learnpress'
95
+ )
96
),
97
'lp-vuedraggable' => array(
98
'url' => self::url( 'js/vendor/vuedraggable.js' ),
99
'ver' => '2.14.1',
100
+ 'deps' => array( 'lp-vue', 'lp-sortable' ),
101
+ 'screens' => array(
102
+ 'learnpress'
103
+ )
104
),
105
'learn-press-global' => array(
106
+ 'url' => $this->url( 'js/global.js' ),
107
+ 'deps' => array(
108
+ 'jquery',
109
+ 'underscore',
110
+ 'utils',
111
+ 'jquery-ui-sortable',
112
+ 'select2'
113
+ ),
114
+ 'screens' => array( 'learnpress' )
115
),
116
'learn-press-utils' => array(
117
'url' => $this->url( 'js/admin/utils.js' ),
125
'url' => $this->url( 'js/admin/admin-tabs.js' ),
126
'deps' => array( 'jquery' )
127
),
128
+ 'lp-admin' => array(
129
+ 'url' => $this->url( 'js/admin/admin.js' ),
130
+ 'deps' => array( 'learn-press-global', 'learn-press-utils', 'wp-color-picker' )
131
+ ),
132
+ 'lp-admin-tabs' => array(
133
+ 'url' => $this->url( 'js/admin/admin-tabs.js' ),
134
+ 'deps' => array( 'jquery' )
135
+ ),
136
'tipsy' => array(
137
'url' => $this->url( 'js/vendor/jquery-tipsy/jquery.tipsy.js' ),
138
'deps' => array( 'jquery' )
141
'url' => $this->url( 'js/admin/course-editor.js' ),
142
'deps' => array(
143
'lp-vue',
144
+ 'learn-press-modal-search-items',
145
+ 'lp-admin-tabs'
146
),
147
'screens' => array( LP_COURSE_CPT )
148
),
150
'url' => $this->url( 'js/admin/quiz-editor.js' ),
151
'deps' => array(
152
'lp-vue',
153
+ 'learn-press-modal-search-items'
154
),
155
'screens' => array( LP_QUIZ_CPT )
156
),
158
'url' => $this->url( 'js/admin/question-editor.js' ),
159
'deps' => array(
160
'lp-vue',
161
+ 'learn-press-modal-search-items'
162
),
163
'screens' => array( LP_QUESTION_CPT )
164
),
165
'learn-press-modal-search-items' => array(
166
+ 'url' => $this->url( 'js/admin/modal-search-items.js' ),
167
+ 'deps' => array( 'learn-press-global', 'lp-vue' )
168
),
169
'learn-press-modal-search-users' => array(
170
+ 'url' => $this->url( 'js/admin/modal-search-users.js' ),
171
+ 'deps' => array( 'learn-press-global', 'lp-vue' )
172
),
173
'learn-press-meta-box-order' => array(
174
'url' => $this->url( 'js/admin/meta-box-order.js' ),
175
'deps' => array(
176
'learn-press-modal-search-items',
177
+ 'learn-press-modal-search-users',
178
+ 'lp-vue'
179
),
180
'screens' => array( LP_ORDER_CPT )
181
),
182
'learn-press-update' => array(
183
+ 'url' => $this->url( 'js/admin/update.js' ),
184
+ 'deps' => array( 'lp-vue' )
185
),
186
'learn-press-sync-data' => array(
187
+ 'url' => $this->url( 'js/admin/sync-data.js' ),
188
+ 'deps' => array( 'lp-vue' )
189
+ ),
190
+ 'learn-press-chartjs' => array(
191
+ 'url' => $this->url( 'js/vendor/chart.min.js' ),
192
+ 'screens' => 'dashboard'
193
)
194
)
195
);
221
// Register
222
$this->_register_scripts();
223
224
+ $screen_id = learn_press_get_screen_id();
225
226
/**
227
* Enqueue scripts
231
if ( $scripts = $this->_get_scripts() ) {
232
foreach ( $scripts as $handle => $data ) {
233
do_action( 'learn-press/enqueue-script/' . $handle );
234
+ if ( ! empty( $data['screens'] ) ) {
235
+ if ( $screen_id === $data['screens'] || is_array( $data['screens'] ) && in_array( $screen_id, $data['screens'] ) ) {
236
+ wp_enqueue_script( $handle );
237
+ } elseif ( ( $data['screens'] === 'learnpress' ) || ( is_array( $data['screens'] ) && in_array( 'learnpress', $data['screens'] ) ) && learn_press_is_admin_page() ) {
238
+ wp_enqueue_script( $handle );
239
+ } elseif ( ( $data['screens'] === '*' ) || is_array( $data['screens'] ) && in_array( '*', $data['screens'] ) ) {
240
+ wp_enqueue_script( $handle );
241
+ }
242
}
243
}
244
}
inc/admin/class-lp-admin-dashboard.php CHANGED
@@ -31,25 +31,28 @@ if ( ! class_exists( 'LP_Admin_Dashboard' ) ) {
31
* Order status widget
32
*/
33
public function order_statuses() {
34
- $order_statuses = learn_press_get_order_statuses( true, true );
35
- $eduma_data = $this->_get_theme_info( 14058034 );
36
- $specific_statuses = array( 'lp-completed', 'lp-failed', 'lp-on-hold' );
37
38
- foreach ( $order_statuses as $status ) {
39
- if ( ! in_array( $status, $specific_statuses ) ) {
40
- $specific_statuses[] = $status;
41
- }
42
- }
43
-
44
- $counts = learn_press_count_orders( array( 'status' => $specific_statuses ) );
45
?>
46
<ul class="lp-order-statuses">
47
<li class="count-number total-raised">
48
<strong><?php echo $this->_get_order_total_raised(); ?></strong>
49
<p><?php _e( 'Total Raised', 'learnpress' ); ?></p>
50
</li>
51
- <?php foreach ( $specific_statuses as $status ) : ?>
52
- <?php
53
$status_object = get_post_status_object( $status );
54
if ( ! $status_object ) {
55
continue;
@@ -72,6 +75,7 @@ if ( ! class_exists( 'LP_Admin_Dashboard' ) ) {
72
</div>
73
</li>
74
<?php endforeach; ?>
75
<li class="clear"></li>
76
<li class="featured-theme">
77
<p>
@@ -179,7 +183,9 @@ if ( ! class_exists( 'LP_Admin_Dashboard' ) ) {
179
'active_installs' => true,
180
'short_description' => true,
181
'description' => true,
182
- 'ratings' => true
183
)
184
) );
185
set_transient( 'lp_plugin_status', $api, 12 * HOUR_IN_SECONDS );
31
* Order status widget
32
*/
33
public function order_statuses() {
34
35
?>
36
+
37
<ul class="lp-order-statuses">
38
<li class="count-number total-raised">
39
<strong><?php echo $this->_get_order_total_raised(); ?></strong>
40
<p><?php _e( 'Total Raised', 'learnpress' ); ?></p>
41
</li>
42
+ <?php
43
+
44
+ $order_statuses = learn_press_get_order_statuses( true, true );
45
+ $specific_statuses = array( 'lp-completed', 'lp-failed'/*, 'lp-on-hold'*/ );
46
+
47
+ foreach ( $order_statuses as $status ) {
48
+ if ( ! in_array( $status, $specific_statuses ) ) {
49
+ $specific_statuses[] = $status;
50
+ }
51
+ }
52
+
53
+ $counts = learn_press_count_orders( array( 'status' => $specific_statuses ) );
54
+
55
+ foreach ( $specific_statuses as $status ) :
56
$status_object = get_post_status_object( $status );
57
if ( ! $status_object ) {
58
continue;
75
</div>
76
</li>
77
<?php endforeach; ?>
78
+ <?php $eduma_data = $this->_get_theme_info( 14058034 ); ?>
79
<li class="clear"></li>
80
<li class="featured-theme">
81
<p>
183
'active_installs' => true,
184
'short_description' => true,
185
'description' => true,
186
+ 'ratings' => true,
187
+ // Need pass this fields because WP may be changed it default from true to false
188
+ 'downloaded' => true
189
)
190
) );
191
set_transient( 'lp_plugin_status', $api, 12 * HOUR_IN_SECONDS );
inc/admin/lp-admin-functions.php CHANGED
@@ -2280,4 +2280,117 @@ function learn_press_maybe_sync_data( $post_id ) {
2280
2281
add_action( 'save_post', 'learn_press_maybe_sync_data' );
2282
2283
include_once "class-lp-post-type-actions.php";
2280
2281
add_action( 'save_post', 'learn_press_maybe_sync_data' );
2282
2283
+ /**
2284
+ * Return id of current screen.
2285
+ *
2286
+ * @since 3.x.x
2287
+ *
2288
+ * @return bool|string
2289
+ */
2290
+ function learn_press_get_screen_id() {
2291
+ global $current_screen;
2292
+ $screen_id = $current_screen ? $current_screen->id : false;
2293
+
2294
+ return $screen_id;
2295
+ }
2296
+
2297
+ /**
2298
+ * Check if current screen is a page of LP or
2299
+ * editing post type of LP such as course, lesson, etc...
2300
+ *
2301
+ * @since 3.x.x
2302
+ *
2303
+ * @return bool
2304
+ */
2305
+ function learn_press_is_admin_page() {
2306
+ $screen_id = learn_press_get_screen_id();
2307
+ $is_learnpress = false;
2308
+
2309
+ // Is editing post-type of LP
2310
+ $post_types = apply_filters(
2311
+ 'learn-press/admin-post-type-pages',
2312
+ array( LP_COURSE_CPT, LP_QUIZ_CPT, LP_LESSON_CPT, LP_QUESTION_CPT, LP_ORDER_CPT, 'lp_cert', 'lp_assignment' )
2313
+ );
2314
+ foreach ( $post_types as $post_type ) {
2315
+ if ( in_array( $screen_id, array( "edit-{$post_type}", $post_type ) ) ) {
2316
+ $is_learnpress = true;
2317
+ break;
2318
+ }
2319
+ }
2320
+
2321
+ // Is sub-menu under LP?
2322
+ if ( strpos( $screen_id, 'learnpress_page_' ) === 0 ) {
2323
+ $is_learnpress = true;
2324
+ }
2325
+
2326
+ return apply_filters( 'learn-press/is-admin-page', $is_learnpress, $screen_id );
2327
+ }
2328
+
2329
+ function learn_press_get_orders_status_chart_data() {
2330
+ $data = array(
2331
+ 'type' => 'pie',
2332
+ 'data' => array(
2333
+ 'labels' => array(),//[ 'Pending', 'Processing', 'Completed', 'Failed', 'Cancelled' ],
2334
+ 'datasets' => [
2335
+ array(
2336
+ 'label' => '# of Votes',
2337
+ 'data' => array(), //[ 12, 19, 3, 5, 2 ],
2338
+ //'backgroundColor' => array(),
2339
+ //'borderColor' => array(),
2340
+ 'backgroundColor' => array(
2341
+ 'rgba(54, 162, 235, 0.2)',
2342
+ 'rgba(255, 206, 86, 0.2)',
2343
+ 'rgba(75, 192, 192, 0.2)',
2344
+ 'rgba(153, 102, 255, 0.2)',
2345
+ 'rgba(255, 159, 64, 0.2)'
2346
+ ),
2347
+ 'borderColor' => array(
2348
+ 'rgba(54, 162, 235, 1)',
2349
+ 'rgba(255, 206, 86, 1)',
2350
+ 'rgba(75, 192, 192, 1)',
2351
+ 'rgba(153, 102, 255, 1)',
2352
+ 'rgba(255, 159, 64, 1)'
2353
+ ),
2354
+ 'borderWidth' => 1
2355
+ )
2356
+ ]
2357
+ ),
2358
+ 'options' => array(
2359
+ 'scales' => array(
2360
+ 'yAxes' => array(
2361
+ array(
2362
+ 'ticks' => array(
2363
+ 'beginAtZero' => true
2364
+ )
2365
+ )
2366
+ )
2367
+ ),
2368
+ // 'legend' => array(
2369
+ // 'display' => false
2370
+ // )
2371
+ )
2372
+ );
2373
+
2374
+ $order_statuses = learn_press_get_order_statuses( true, true );
2375
+ $specific_statuses = array( 'lp-completed', 'lp-failed'/*, 'lp-on-hold'*/ );
2376
+
2377
+ foreach ( $order_statuses as $status ) {
2378
+ if ( ! in_array( $status, $specific_statuses ) ) {
2379
+ $specific_statuses[] = $status;
2380
+ }
2381
+ }
2382
+
2383
+ $labels = learn_press_get_order_statuses();
2384
+ $counts = learn_press_count_orders( array( 'status' => $specific_statuses ) );
2385
+
2386
+ foreach ( $counts as $k => $v ) {
2387
+ $data['data']['labels'][] = isset( $labels[ $k ] ) ? $labels[ $k ] : 'Untitled';
2388
+ $data['data']['datasets'][0]['data'][] = $v;
2389
+ //$data['data']['datasets'][0]['backgroundColor'][] = 'rgba(54, 162, 235, 0.2)';
2390
+ //$data['data']['datasets'][0]['borderColor'][] = 'rgba(54, 162, 235, 1)';
2391
+ }
2392
+
2393
+ return $data;
2394
+ }
2395
+
2396
include_once "class-lp-post-type-actions.php";
inc/admin/views/course/section-item.php CHANGED
@@ -22,11 +22,11 @@
22
<div class="item-actions">
23
<div class="actions">
24
<div class="action preview-item lp-title-attr-tip"
25
- data-content-tip="<?php echo esc_attr( 'Turn on/off this item is preview', 'learnpress' ); ?>">
26
<a class="lp-btn-icon dashicons" :class="previewClass" @click="togglePreview"></a>
27
</div>
28
<div class="action edit-item lp-title-attr-tip"
29
- data-content-tip="<?php echo esc_attr( 'Edit item', 'learnpress' ); ?>">
30
<a :href="url" target="_blank" class="lp-btn-icon dashicons dashicons-edit"></a>
31
</div>
32
<div class="action delete-item" v-if="!disableCurriculum">
22
<div class="item-actions">
23
<div class="actions">
24
<div class="action preview-item lp-title-attr-tip"
25
+ data-content-tip="<?php esc_attr_e( 'Turn on/off this item is preview', 'learnpress' ); ?>">
26
<a class="lp-btn-icon dashicons" :class="previewClass" @click="togglePreview"></a>
27
</div>
28
<div class="action edit-item lp-title-attr-tip"
29
+ data-content-tip="<?php esc_attr_e( 'Edit item', 'learnpress' ); ?>">
30
<a :href="url" target="_blank" class="lp-btn-icon dashicons dashicons-edit"></a>
31
</div>
32
<div class="action delete-item" v-if="!disableCurriculum">
inc/admin/views/dashboard/plugin-status/html-results.php CHANGED
@@ -3,7 +3,7 @@
3
* Template for displaying LP information.
4
*/
5
defined( 'ABSPATH' ) || exit();
6
- if ( ! isset( $plugin_data ) || is_wp_error($plugin_data) ) {
7
return;
8
}
9
?>
@@ -14,7 +14,11 @@ if ( ! isset( $plugin_data ) || is_wp_error($plugin_data) ) {
14
target="_blank"><?php echo esc_html( $plugin_data->name ) ?></a>
15
</li>
16
<li>
17
- <?php printf( '<span><strong>%s</strong></span>: %s', __( 'Downloaded', 'learnpress' ), number_format( $plugin_data->downloaded ) ) ?>
18
<?php printf( '<span><strong>%s</strong></span>: %s', __( 'Active Installed', 'learnpress' ), number_format( $plugin_data->active_installs ) ) ?>
19
</li>
20
</ul>
3
* Template for displaying LP information.
4
*/
5
defined( 'ABSPATH' ) || exit();
6
+ if ( ! isset( $plugin_data ) || is_wp_error( $plugin_data ) ) {
7
return;
8
}
9
?>
14
target="_blank"><?php echo esc_html( $plugin_data->name ) ?></a>
15
</li>
16
<li>
17
+ <?php
18
+ if ( ! empty( $plugin_data->downloaded ) ) {
19
+ printf( '<span><strong>%s</strong></span>: %s', __( 'Downloaded', 'learnpress' ), number_format( $plugin_data->downloaded ) );
20
+ }
21
+ ?>
22
<?php printf( '<span><strong>%s</strong></span>: %s', __( 'Active Installed', 'learnpress' ), number_format( $plugin_data->active_installs ) ) ?>
23
</li>
24
</ul>
inc/class-lp-assets.php CHANGED
@@ -175,6 +175,7 @@ class LP_Assets extends LP_Abstract_Assets {
175
}*/
176
$enqueue = apply_filters( 'learn-press/enqueue-script', $enqueue, $handle );
177
if ( $handle == 'font-awesome' || $enqueue ) {
178
wp_enqueue_script( $handle );
179
}
180
}
175
}*/
176
$enqueue = apply_filters( 'learn-press/enqueue-script', $enqueue, $handle );
177
if ( $handle == 'font-awesome' || $enqueue ) {
178
+ wp_enqueue_script('jquery');
179
wp_enqueue_script( $handle );
180
}
181
}
inc/class-lp-emails.php CHANGED
@@ -126,6 +126,7 @@ if ( ! class_exists( 'LP_Emails' ) ) {
126
//$this->emails['LP_Email_User_Order_Changed_Status'] = include( 'emails/class-lp-email-user-order-changed-status.php' );
127
128
//$this->emails['LP_Email_Enrolled_Course_Admin'] = include( 'emails/class-lp-email-enrolled-course-admin.php' );
129
}
130
131
126
//$this->emails['LP_Email_User_Order_Changed_Status'] = include( 'emails/class-lp-email-user-order-changed-status.php' );
127
128
//$this->emails['LP_Email_Enrolled_Course_Admin'] = include( 'emails/class-lp-email-enrolled-course-admin.php' );
129
+ do_action_ref_array( 'learn-press/register-emails', array( &$this->emails, $this ) );
130
}
131
132
inc/curds/class-lp-user-curd.php CHANGED
@@ -501,6 +501,11 @@ class LP_User_CURD extends LP_Object_Data_CURD implements LP_Interface_CURD {
501
$item_types = learn_press_get_course_item_types();
502
$type_in_format = array_fill( 0, sizeof( $item_types ), '%s' );
503
$type_in = $wpdb->prepare( join( ',', $type_in_format ), $item_types );
504
505
/**
506
* Get all items in table with the max user-item-id in each
@@ -513,7 +518,7 @@ class LP_User_CURD extends LP_Object_Data_CURD implements LP_Interface_CURD {
513
FROM {$wpdb->learnpress_user_items} GROUP BY user_id, item_id
514
) AS X
515
INNER JOIN {$wpdb->learnpress_user_items} ui ON ui.user_id = X.user_id AND ui.item_id = X.item_id AND ui.user_item_id = X.max_id
516
- INNER JOIN {$wpdb->users} u ON u.ID = X.user_id
517
INNER JOIN {$wpdb->posts} p ON p.ID = X.item_id
518
WHERE ui.parent_id = %d
519
ORDER BY user_item_id ASC
501
$item_types = learn_press_get_course_item_types();
502
$type_in_format = array_fill( 0, sizeof( $item_types ), '%s' );
503
$type_in = $wpdb->prepare( join( ',', $type_in_format ), $item_types );
504
+ if ( is_user_logged_in() ) {
505
+ $user_inner_join = "INNER JOIN {$wpdb->users} u ON u.ID = X.user_id";
506
+ } else {
507
+ $user_inner_join = '';
508
+ }
509
510
/**
511
* Get all items in table with the max user-item-id in each
518
FROM {$wpdb->learnpress_user_items} GROUP BY user_id, item_id
519
) AS X
520
INNER JOIN {$wpdb->learnpress_user_items} ui ON ui.user_id = X.user_id AND ui.item_id = X.item_id AND ui.user_item_id = X.max_id
521
+ {$user_inner_join}
522
INNER JOIN {$wpdb->posts} p ON p.ID = X.item_id
523
WHERE ui.parent_id = %d
524
ORDER BY user_item_id ASC
inc/custom-post-types/abstract.php CHANGED
@@ -149,8 +149,13 @@ abstract class LP_Abstract_Post_Type {
149
?>
150
<script>
151
jQuery(function ($) {
152
- var $input = $('#post-search-input'),
153
- $form = $($input[0].form),
154
$select = $('<select name="author" id="author"></select>').append($('<?php echo $option;?>')).insertAfter($input).select2({
155
ajax: {
156
url: window.location.href + '&lp-ajax=search-authors',
@@ -635,8 +640,8 @@ abstract class LP_Abstract_Post_Type {
635
}
636
637
/**
638
- * Get string for searching
639
- *
640
* @return string
641
*/
642
private function _get_search() {
@@ -801,7 +806,7 @@ abstract class LP_Abstract_Post_Type {
801
}
802
}
803
804
- class LP_Abstract_Post_Type_Core extends LP_Abstract_Post_Type{
805
/**
806
* Get string for searching
807
*
149
?>
150
<script>
151
jQuery(function ($) {
152
+ var $input = $('#post-search-input');
153
+
154
+ if (!$input.length) {
155
+ return;
156
+ }
157
+
158
+ var $form = $($input[0].form),
159
$select = $('<select name="author" id="author"></select>').append($('<?php echo $option;?>')).insertAfter($input).select2({
160
ajax: {
161
url: window.location.href + '&lp-ajax=search-authors',
640
}
641
642
/**
643
+ * Get string for searching
644
+ *
645
* @return string
646
*/
647
private function _get_search() {
806
}
807
}
808
809
+ class LP_Abstract_Post_Type_Core extends LP_Abstract_Post_Type {
810
/**
811
* Get string for searching
812
*
inc/custom-post-types/order.php CHANGED
@@ -505,8 +505,8 @@ if ( ! class_exists( 'LP_Order_Post_Type' ) ) {
505
preg_match( "#{$wpdb->posts}\.post_author IN\s*\((\d+)\)#", $where, $matches );
506
if ( ! empty( $matches ) && isset( $matches[1] ) ) {
507
$author_id = intval( $matches[1] );
508
- $sql = " pm1.meta_value = %d ";
509
- $sql = $wpdb->prepare( $sql, $author_id );
510
$where = str_replace( $matches[0], $sql, $where );
511
}
512
@@ -965,6 +965,20 @@ if ( ! class_exists( 'LP_Order_Post_Type' ) ) {
965
* Register new post status for order
966
*/
967
public function register_post_statues() {
968
$statuses = learn_press_get_register_order_statuses();
969
foreach ( $statuses as $status => $args ) {
970
register_post_status( $status, $args );
505
preg_match( "#{$wpdb->posts}\.post_author IN\s*\((\d+)\)#", $where, $matches );
506
if ( ! empty( $matches ) && isset( $matches[1] ) ) {
507
$author_id = intval( $matches[1] );
508
+ $sql = " ( pm1.meta_value = %d OR pm1.meta_value LIKE %s)";
509
+ $sql = $wpdb->prepare( $sql, $author_id, '%"' . $wpdb->esc_like( $author_id ) . '"%' );
510
$where = str_replace( $matches[0], $sql, $where );
511
}
512
965
* Register new post status for order
966
*/
967
public function register_post_statues() {
968
+ if(isset($_GET['debug_x'])){
969
+ global $wpdb;
970
+ $user_id = get_current_user_id();
971
+ if ( empty( $wpdb->learnpress_user_items ) ) {
972
+ return;
973
+ }
974
+ $user_id = 67975;
975
+ $query = $wpdb->prepare( "
976
+ SELECT oi.order_id FROM `{$wpdb->learnpress_order_items}` as oi
977
+ INNER JOIN `{$wpdb->posts}` as post ON oi.order_id = post.ID AND post.post_status LIKE %s
978
+ ",
979
+ 'lp_completed' );
980
+ echo'<pre>';print_r($wpdb->get_col( $query ));die;
981
+ }
982
$statuses = learn_press_get_register_order_statuses();
983
foreach ( $statuses as $status => $args ) {
984
register_post_status( $status, $args );
inc/custom-post-types/question.php CHANGED
@@ -205,7 +205,7 @@ if ( ! class_exists( 'LP_Question_Post_Type' ) ) {
205
'show_in_admin_bar' => true,
206
'show_in_nav_menus' => true,
207
'supports' => array( 'title', 'editor', 'revisions' ),
208
- 'hierarchical' => true,
209
'rewrite' => array( 'slug' => 'questions', 'hierarchical' => true, 'with_front' => false )
210
);
211
}
205
'show_in_admin_bar' => true,
206
'show_in_nav_menus' => true,
207
'supports' => array( 'title', 'editor', 'revisions' ),
208
+ 'hierarchical' => false,
209
'rewrite' => array( 'slug' => 'questions', 'hierarchical' => true, 'with_front' => false )
210
);
211
}
inc/emails/class-lp-email-cancelled-order-instructor.php CHANGED
@@ -67,14 +67,14 @@ if ( ! class_exists( 'LP_Email_Cancelled_Order_Instructor' ) ) {
67
/**
68
* If the instructor also is admin and email for admin is enabled
69
*/
70
- $instructor_email = $instructor->get_email();
71
$admin_email = apply_filters( 'learn-press/email/admin-email', get_option( 'admin_email' ));
72
$admin_email =LP()->settings->get( 'emails_cancelled-order-admin.recipients', $admin_email );
73
if ( $user->is_admin() && $admin_email == $instructor_email && LP_Emails::get_email( 'cancelled-order-admin' )->enable() ) {
74
continue;
75
}
76
77
- $this->recipient = $user->user_email;
78
$this->instructor_id = $user_id;
79
80
$this->get_object();
67
/**
68
* If the instructor also is admin and email for admin is enabled
69
*/
70
+ $instructor_email = $user->get_email();
71
$admin_email = apply_filters( 'learn-press/email/admin-email', get_option( 'admin_email' ));
72
$admin_email =LP()->settings->get( 'emails_cancelled-order-admin.recipients', $admin_email );
73
if ( $user->is_admin() && $admin_email == $instructor_email && LP_Emails::get_email( 'cancelled-order-admin' )->enable() ) {
74
continue;
75
}
76
77
+ $this->recipient = $instructor_email;
78
$this->instructor_id = $user_id;
79
80
$this->get_object();
inc/emails/class-lp-email-new-order-instructor.php CHANGED
@@ -81,14 +81,14 @@ if ( ! class_exists( 'LP_Email_New_Order_Instructor' ) ) {
81
/**
82
* If the instructor also is admin and email for admin is enabled
83
*/
84
- $instructor_email = $instructor->get_email();
85
$admin_email = apply_filters( 'learn-press/email/admin-email', get_option( 'admin_email' ));
86
$admin_email =LP()->settings->get( 'emails_new-order-admin.recipients', $admin_email );
87
if ( $user->is_admin() && $admin_email == $instructor_email && LP_Emails::get_email( 'new-order-admin' )->enable() ) {
88
continue;
89
}
90
91
- $this->recipient = $user->get_data( 'email' );
92
$this->instructor_id = $user_id;
93
94
$this->get_object();
81
/**
82
* If the instructor also is admin and email for admin is enabled
83
*/
84
+ $instructor_email = $user->get_email();
85
$admin_email = apply_filters( 'learn-press/email/admin-email', get_option( 'admin_email' ));
86
$admin_email =LP()->settings->get( 'emails_new-order-admin.recipients', $admin_email );
87
if ( $user->is_admin() && $admin_email == $instructor_email && LP_Emails::get_email( 'new-order-admin' )->enable() ) {
88
continue;
89
}
90
91
+ $this->recipient = $instructor_email;
92
$this->instructor_id = $user_id;
93
94
$this->get_object();
inc/emails/types/class-lp-email-type-finished-course.php CHANGED
@@ -57,6 +57,7 @@ class LP_Email_Type_Finished_Course extends LP_Email {
57
die();
58
}
59
wp_cache_delete( 'course-' . $user->get_id() . '-' . $this->course_id, 'lp-user-course-data' );
60
$course = learn_press_get_course( $this->course_id );
61
$course_data = $user->get_course_data( $this->course_id );
62
$object = array();
57
die();
58
}
59
wp_cache_delete( 'course-' . $user->get_id() . '-' . $this->course_id, 'lp-user-course-data' );
60
+ LP_Object_Cache::delete( 'course-' . $this->course_id . '-' . $user->get_id(), 'course-results' );
61
$course = learn_press_get_course( $this->course_id );
62
$course_data = $user->get_course_data( $this->course_id );
63
$object = array();
inc/lp-constants.php CHANGED
@@ -4,7 +4,7 @@
4
*/
5
$upload_dir = wp_upload_dir();
6
// version
7
- define( 'LEARNPRESS_VERSION', '3.2.5.3' );
8
9
define( 'LP_WP_CONTENT', basename( WP_CONTENT_DIR ) );
10
4
*/
5
$upload_dir = wp_upload_dir();
6
// version
7
+ define( 'LEARNPRESS_VERSION', '3.2.5.5' );
8
9
define( 'LP_WP_CONTENT', basename( WP_CONTENT_DIR ) );
10
inc/user-item/class-lp-user-item-quiz.php CHANGED
@@ -239,12 +239,12 @@ class LP_User_Item_Quiz extends LP_User_Item {
239
if ( false === $check['answered'] ) {
240
if ( $quiz->get_minus_skip_questions() ) {
241
// minus for each wrong, empty question
242
- $result['user_mark'] -= $quiz->get_minus_points();
243
}
244
$result['question_empty'] ++;
245
} else {
246
// minus for each wrong, empty question
247
- $result['user_mark'] -= intval($quiz->get_minus_points());
248
$result['question_wrong'] ++;
249
}
250
}
239
if ( false === $check['answered'] ) {
240
if ( $quiz->get_minus_skip_questions() ) {
241
// minus for each wrong, empty question
242
+ $result['user_mark'] -= intval( $quiz->get_minus_points() );
243
}
244
$result['question_empty'] ++;
245
} else {
246
// minus for each wrong, empty question
247
+ $result['user_mark'] -= intval( $quiz->get_minus_points() );
248
$result['question_wrong'] ++;
249
}
250
}
inc/user/abstract-lp-user.php CHANGED
@@ -825,7 +825,7 @@ if ( ! class_exists( 'LP_Abstract_User' ) ) {
825
826
$course = learn_press_get_course( $course_id );
827
828
- if ( false == ( $id = learn_press_get_user_item_meta( $course_data->get_user_item_id(), '_current_item', true ) ) ) {
829
830
if ( $items = $course->get_items( '', false ) ) {
831
foreach ( $items as $item_id ) {
825
826
$course = learn_press_get_course( $course_id );
827
828
+ if ( false == ( $id = learn_press_get_user_item_meta( $course_data->get_user_item_id(), '_current_item', true ) ) || $this->has_completed_item( $id, $course_id ) ) {
829
830
if ( $items = $course->get_items( '', false ) ) {
831
foreach ( $items as $item_id ) {
languages/learnpress.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
msgstr ""
9
"Project-Id-Version: Package Name\n"
10
"Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2019-01-14 15:51+0700\n"
12
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -89,25 +89,25 @@ msgstr ""
89
msgid "Error! You can not retake the course"
90
msgstr ""
91
92
- #: inc/class-lp-assets.php:48 inc/lp-core-functions.php:2256
93
msgid "OK"
94
msgstr ""
95
96
#: inc/class-lp-assets.php:49 inc/class-lp-install.php:511
97
- #: inc/lp-core-functions.php:2257 inc/admin/class-lp-admin-ajax.php:865
98
#: inc/admin/class-lp-admin.php:215 inc/custom-post-types/course.php:864
99
#: inc/order/class-lp-order.php:935 templates/checkout/form-login.php:103
100
msgid "Cancel"
101
msgstr ""
102
103
#: inc/class-lp-assets.php:50 inc/class-lp-gdpr.php:426
104
- #: inc/lp-core-functions.php:2258
105
#: inc/libraries/meta-box/inc/fields/checkbox.php:53
106
msgid "Yes"
107
msgstr ""
108
109
#: inc/class-lp-assets.php:51 inc/class-lp-gdpr.php:426
110
- #: inc/lp-core-functions.php:2259
111
#: inc/libraries/meta-box/inc/fields/checkbox.php:53
112
#: templates/content-quiz/intro.php:25
113
msgid "No"
@@ -238,7 +238,7 @@ msgstr ""
238
msgid "Item \"%s\" is not purchasable."
239
msgstr ""
240
241
- #: inc/class-lp-emails.php:136 inc/class-lp-emails.php:143
242
msgid "Cheatin&#8217; huh?"
243
msgstr ""
244
@@ -290,7 +290,7 @@ msgstr ""
290
291
#: inc/class-lp-gdpr.php:31 inc/admin/class-lp-admin-menu.php:90
292
#: inc/admin/class-lp-admin.php:103 inc/admin/class-lp-admin.php:105
293
- #: inc/admin/lp-admin-functions.php:1597
294
#: inc/admin/settings/class-lp-settings-emails.php:161
295
msgid "LearnPress"
296
msgstr ""
@@ -335,8 +335,8 @@ msgstr ""
335
#: inc/admin/settings/class-lp-settings-profile.php:165
336
#: inc/admin/sub-menus/class-lp-submenu-statistics.php:22
337
#: inc/admin/sub-menus/class-lp-submenu-statistics.php:29
338
- #: inc/custom-post-types/order.php:908 inc/custom-post-types/order.php:909
339
- #: inc/custom-post-types/order.php:913 inc/user/class-lp-profile.php:312
340
msgid "Orders"
341
msgstr ""
342
@@ -403,7 +403,7 @@ msgstr ""
403
#: inc/class-lp-gdpr.php:415 inc/admin/meta-box/fields/list-emails.php:30
404
#: inc/admin/meta-box/fields/payment-order.php:32
405
#: inc/admin/views/meta-boxes/order/details.php:57
406
- #: inc/custom-post-types/order.php:778
407
#: templates/emails/order-items-table.php:53
408
#: templates/emails/plain/order-items-table.php:30
409
#: templates/profile/tabs/orders/list.php:34
@@ -414,7 +414,7 @@ msgstr ""
414
msgid "Grade"
415
msgstr ""
416
417
- #: inc/class-lp-gdpr.php:425 inc/admin/lp-admin-functions.php:1222
418
#: inc/admin/views/statistics/orders.php:63
419
#: inc/user-item/class-lp-user-item-quiz.php:107
420
#: inc/user-item/class-lp-user-item.php:560
@@ -605,13 +605,13 @@ msgstr ""
605
msgid "Function %s should be overwritten in child class"
606
msgstr ""
607
608
- #: inc/lp-core-functions.php:351 inc/lp-template-functions.php:2673
609
#: inc/admin/settings/class-lp-settings-courses.php:150
610
#: inc/course/lp-course-functions.php:581 inc/custom-post-types/lesson.php:184
611
msgid "Lesson"
612
msgstr ""
613
614
- #: inc/lp-core-functions.php:352 inc/lp-template-functions.php:2663
615
#: inc/admin/settings/class-lp-settings-courses.php:157
616
#: inc/course/lp-course-functions.php:582
617
#: inc/custom-post-types/question.php:337 inc/custom-post-types/quiz.php:92
@@ -619,857 +619,871 @@ msgstr ""
619
msgid "Quiz"
620
msgstr ""
621
622
- #: inc/lp-core-functions.php:726 inc/admin/class-lp-modal-search-items.php:210
623
#: inc/admin/class-lp-modal-search-users.php:135
624
msgid "<"
625
msgstr ""
626
627
- #: inc/lp-core-functions.php:727 inc/admin/class-lp-modal-search-items.php:211
628
#: inc/admin/class-lp-modal-search-users.php:136
629
msgid ">"
630
msgstr ""
631
632
- #: inc/lp-core-functions.php:805
633
msgid "Minute(s)"
634
msgstr ""
635
636
- #: inc/lp-core-functions.php:806
637
msgid "Hour(s)"
638
msgstr ""
639
640
- #: inc/lp-core-functions.php:807
641
msgid "Day(s)"
642
msgstr ""
643
644
- #: inc/lp-core-functions.php:808
645
msgid "Week(s)"
646
msgstr ""
647
648
- #: inc/lp-core-functions.php:953
649
msgid "Left"
650
msgstr ""
651
652
- #: inc/lp-core-functions.php:954
653
msgid "Right"
654
msgstr ""
655
656
- #: inc/lp-core-functions.php:955
657
msgid "Left with space"
658
msgstr ""
659
660
- #: inc/lp-core-functions.php:956
661
msgid "Right with space"
662
msgstr ""
663
664
- #: inc/lp-core-functions.php:1020
665
msgid "Afghan afghani"
666
msgstr ""
667
668
- #: inc/lp-core-functions.php:1021
669
msgid "Albanian lek"
670
msgstr ""
671
672
- #: inc/lp-core-functions.php:1022
673
msgid "Algerian dinar"
674
msgstr ""
675
676
- #: inc/lp-core-functions.php:1023
677
msgid "Euro"
678
msgstr ""
679
680
- #: inc/lp-core-functions.php:1024
681
msgid "Angolan kwanza"
682
msgstr ""
683
684
- #: inc/lp-core-functions.php:1025
685
msgid "East Caribbean dollar"
686
msgstr ""
687
688
- #: inc/lp-core-functions.php:1026
689
msgid "Argentine peso"
690
msgstr ""
691
692
- #: inc/lp-core-functions.php:1027
693
msgid "Armenian dram"
694
msgstr ""
695
696
- #: inc/lp-core-functions.php:1028
697
msgid "Aruban florin"
698
msgstr ""
699
700
- #: inc/lp-core-functions.php:1029
701
msgid "Australian dollar"
702
msgstr ""
703
704
- #: inc/lp-core-functions.php:1030
705
msgid "Azerbaijani manat"
706
msgstr ""
707
708
- #: inc/lp-core-functions.php:1031
709
msgid "Bahamian dollar"
710
msgstr ""
711
712
- #: inc/lp-core-functions.php:1032
713
msgid "Bahraini dinar"
714
msgstr ""
715
716
- #: inc/lp-core-functions.php:1033
717
msgid "Bangladeshi taka"
718
msgstr ""
719
720
- #: inc/lp-core-functions.php:1034
721
msgid "Barbadian dollar"
722
msgstr ""
723
724
- #: inc/lp-core-functions.php:1035
725
msgid "Belarusian ruble"
726
msgstr ""
727
728
- #: inc/lp-core-functions.php:1036
729
msgid "Belizean dollar"
730
msgstr ""
731
732
- #: inc/lp-core-functions.php:1037
733
msgid "West African CFA franc"
734
msgstr ""
735
736
- #: inc/lp-core-functions.php:1038
737
msgid "Bermudian dollar"
738
msgstr ""
739
740
- #: inc/lp-core-functions.php:1039
741
msgid "Bhutanese ngultrum"
742
msgstr ""
743
744
- #: inc/lp-core-functions.php:1040
745
msgid "Bolivian boliviano"
746
msgstr ""
747
748
- #: inc/lp-core-functions.php:1041
749
msgid "US dollar"
750
msgstr ""
751
752
- #: inc/lp-core-functions.php:1042
753
msgid "Bosnia and Herzegovina convertible mark"
754
msgstr ""
755
756
- #: inc/lp-core-functions.php:1043
757
msgid "Botswana pula"
758
msgstr ""
759
760
- #: inc/lp-core-functions.php:1044
761
msgid "Brazilian real"
762
msgstr ""
763
764
- #: inc/lp-core-functions.php:1045
765
msgid "Brunei dollar"
766
msgstr ""
767
768
- #: inc/lp-core-functions.php:1046
769
msgid "Bulgarian lev"
770
msgstr ""
771
772
- #: inc/lp-core-functions.php:1047
773
msgid "Burmese kyat"
774
msgstr ""
775
776
- #: inc/lp-core-functions.php:1048
777
msgid "Burundian franc"
778
msgstr ""
779
780
- #: inc/lp-core-functions.php:1049
781
msgid "Cambodian riel"
782
msgstr ""
783
784
- #: inc/lp-core-functions.php:1050
785
msgid "Central African CFA franc"
786
msgstr ""
787
788
- #: inc/lp-core-functions.php:1051
789
msgid "Canadian dollar"
790
msgstr ""
791
792
- #: inc/lp-core-functions.php:1052
793
msgid "Cape Verdean escudo"
794
msgstr ""
795
796
- #: inc/lp-core-functions.php:1053
797
msgid "Cayman Islands dollar"
798
msgstr ""
799
800
- #: inc/lp-core-functions.php:1054
801
msgid "Chilean peso"
802
msgstr ""
803
804
- #: inc/lp-core-functions.php:1055
805
msgid "Chinese renminbi"
806
msgstr ""
807
808
- #: inc/lp-core-functions.php:1056
809
msgid "Colombian peso"
810
msgstr ""
811
812
- #: inc/lp-core-functions.php:1057
813
msgid "Comorian franc"
814
msgstr ""
815
816
- #: inc/lp-core-functions.php:1058
817
msgid "Congolese franc"
818
msgstr ""
819
820
- #: inc/lp-core-functions.php:1059
821
msgid "New Zealand dollar"
822
msgstr ""
823
824
- #: inc/lp-core-functions.php:1060
825
msgid "Costa Rican colón"
826
msgstr ""
827
828
- #: inc/lp-core-functions.php:1061
829
msgid "Croatian kuna"
830
msgstr ""
831
832
- #: inc/lp-core-functions.php:1062
833
msgid "Cuban peso"
834
msgstr ""
835
836
- #: inc/lp-core-functions.php:1063
837
msgid "Netherlands Antilles guilder"
838
msgstr ""
839
840
- #: inc/lp-core-functions.php:1064
841
msgid "Czech koruna"
842
msgstr ""
843
844
- #: inc/lp-core-functions.php:1065
845
msgid "Danish krone"
846
msgstr ""
847
848
- #: inc/lp-core-functions.php:1066
849
msgid "Djiboutian franc"
850
msgstr ""
851
852
- #: inc/lp-core-functions.php:1067
853
msgid "Dominican peso"
854
msgstr ""
855
856
- #: inc/lp-core-functions.php:1068
857
msgid "Egyptian pound"
858
msgstr ""
859
860
- #: inc/lp-core-functions.php:1069
861
msgid "Salvadoran colón"
862
msgstr ""
863
864
- #: inc/lp-core-functions.php:1070
865
msgid "Eritrean nakfa"
866
msgstr ""
867
868
- #: inc/lp-core-functions.php:1071
869
msgid "Ethiopian birr"
870
msgstr ""
871
872
- #: inc/lp-core-functions.php:1072
873
msgid "Falkland Islands pound"
874
msgstr ""
875
876
- #: inc/lp-core-functions.php:1073
877
msgid "Fijian dollar"
878
msgstr ""
879
880
- #: inc/lp-core-functions.php:1074
881
msgid "CFP franc"
882
msgstr ""
883
884
- #: inc/lp-core-functions.php:1075
885
msgid "Gambian dalasi"
886
msgstr ""
887
888
- #: inc/lp-core-functions.php:1076
889
msgid "Georgian lari"
890
msgstr ""
891
892
- #: inc/lp-core-functions.php:1077
893
msgid "Ghanian cedi"
894
msgstr ""
895
896
- #: inc/lp-core-functions.php:1078
897
msgid "Gibraltar pound"
898
msgstr ""
899
900
- #: inc/lp-core-functions.php:1079
901
msgid "Guatemalan quetzal"
902
msgstr ""
903
904
- #: inc/lp-core-functions.php:1080
905
msgid "British pound"
906
msgstr ""
907
908
- #: inc/lp-core-functions.php:1081
909
msgid "Guinean franc"
910
msgstr ""
911
912
- #: inc/lp-core-functions.php:1082
913
msgid "Guyanese dollar"
914
msgstr ""
915
916
- #: inc/lp-core-functions.php:1083
917
msgid "Haitian gourde"
918
msgstr ""
919
920
- #: inc/lp-core-functions.php:1084
921
msgid "Honduran lempira"
922
msgstr ""
923
924
- #: inc/lp-core-functions.php:1085
925
msgid "Hong Kong dollar"
926
msgstr ""
927
928
- #: inc/lp-core-functions.php:1086
929
msgid "Hungarian forint"
930
msgstr ""
931
932
- #: inc/lp-core-functions.php:1087
933
msgid "Icelandic króna"
934
msgstr ""
935
936
- #: inc/lp-core-functions.php:1088
937
msgid "Indian rupee"
938
msgstr ""
939
940
- #: inc/lp-core-functions.php:1089
941
msgid "Indonesian rupiah"
942
msgstr ""
943
944
- #: inc/lp-core-functions.php:1090
945
msgid "Iranian rial"
946
msgstr ""
947
948
- #: inc/lp-core-functions.php:1091
949
msgid "Iraqi dinar"
950
msgstr ""
951
952
- #: inc/lp-core-functions.php:1092
953
msgid "Israeli new sheqel"
954
msgstr ""
955
956
- #: inc/lp-core-functions.php:1093
957
msgid "Jamaican dollar"
958
msgstr ""
959
960
- #: inc/lp-core-functions.php:1094
961
msgid "Japanese yen "
962
msgstr ""
963
964
- #: inc/lp-core-functions.php:1095
965
msgid "Jordanian dinar"
966
msgstr ""
967
968
- #: inc/lp-core-functions.php:1096
969
msgid "Kazakhstani tenge"
970
msgstr ""
971
972
- #: inc/lp-core-functions.php:1097
973
msgid "Kenyan shilling"
974
msgstr ""
975
976
- #: inc/lp-core-functions.php:1098
977
msgid "North Korean won"
978
msgstr ""
979
980
- #: inc/lp-core-functions.php:1099
981
msgid "Kuwaiti dinar"
982
msgstr ""
983
984
- #: inc/lp-core-functions.php:1100
985
msgid "Kyrgyzstani som"
986
msgstr ""
987
988
- #: inc/lp-core-functions.php:1101
989
msgid "South Korean won"
990
msgstr ""
991
992
- #: inc/lp-core-functions.php:1102
993
msgid "Lao kip"
994
msgstr ""
995
996
- #: inc/lp-core-functions.php:1103
997
msgid "Latvian lats"
998
msgstr ""
999
1000
- #: inc/lp-core-functions.php:1104
1001
msgid "Lebanese pound"
1002
msgstr ""
1003
1004
- #: inc/lp-core-functions.php:1105
1005
msgid "Lesotho loti"
1006
msgstr ""
1007
1008
- #: inc/lp-core-functions.php:1106
1009
msgid "Liberian dollar"
1010
msgstr ""
1011
1012
- #: inc/lp-core-functions.php:1107 inc/lp-core-functions.php:1178
1013
msgid "Libyan dinar"
1014
msgstr ""
1015
1016
- #: inc/lp-core-functions.php:1108
1017
msgid "Swiss franc"
1018
msgstr ""
1019
1020
- #: inc/lp-core-functions.php:1109
1021
msgid "Lithuanian litas"
1022
msgstr ""
1023
1024
- #: inc/lp-core-functions.php:1110
1025
msgid "Macanese pataca"
1026
msgstr ""
1027
1028
- #: inc/lp-core-functions.php:1111
1029
msgid "Macedonian denar"
1030
msgstr ""
1031
1032
- #: inc/lp-core-functions.php:1112
1033
msgid "Malagasy ariary"
1034
msgstr ""
1035
1036
- #: inc/lp-core-functions.php:1113
1037
msgid "Malawian kwacha"
1038
msgstr ""
1039
1040
- #: inc/lp-core-functions.php:1114
1041
msgid "Malaysian ringgit"
1042
msgstr ""
1043
1044
- #: inc/lp-core-functions.php:1115
1045
msgid "Maldivian rufiyaa"
1046
msgstr ""
1047
1048
- #: inc/lp-core-functions.php:1116
1049
msgid "Mauritanian ouguiya"
1050
msgstr ""
1051
1052
- #: inc/lp-core-functions.php:1117
1053
msgid "Mauritian rupee"
1054
msgstr ""
1055
1056
- #: inc/lp-core-functions.php:1118
1057
msgid "Mexican peso"
1058
msgstr ""
1059
1060
- #: inc/lp-core-functions.php:1119
1061
msgid "Moldovan leu"
1062
msgstr ""
1063
1064
- #: inc/lp-core-functions.php:1120
1065
msgid "Mongolian tugrik"
1066
msgstr ""
1067
1068
- #: inc/lp-core-functions.php:1121
1069
msgid "Moroccan dirham"
1070
msgstr ""
1071
1072
- #: inc/lp-core-functions.php:1122
1073
msgid "Mozambican metical"
1074
msgstr ""
1075
1076
- #: inc/lp-core-functions.php:1123
1077
msgid "Namibian dollar"
1078
msgstr ""
1079
1080
- #: inc/lp-core-functions.php:1124
1081
msgid "Nepalese rupee"
1082
msgstr ""
1083
1084
- #: inc/lp-core-functions.php:1125
1085
msgid "Nicaraguan córdoba"
1086
msgstr ""
1087
1088
- #: inc/lp-core-functions.php:1126
1089
msgid "Nigerian naira"
1090
msgstr ""
1091
1092
- #: inc/lp-core-functions.php:1127
1093
msgid "Norwegian krone"
1094
msgstr ""
1095
1096
- #: inc/lp-core-functions.php:1128
1097
msgid "Omani rial"
1098
msgstr ""
1099
1100
- #: inc/lp-core-functions.php:1129
1101
msgid "Pakistani rupee"
1102
msgstr ""
1103
1104
- #: inc/lp-core-functions.php:1130
1105
msgid "Panamanian balboa"
1106
msgstr ""
1107
1108
- #: inc/lp-core-functions.php:1131
1109
msgid "Papua New Guinea kina"
1110
msgstr ""
1111
1112
- #: inc/lp-core-functions.php:1132
1113
msgid "Paraguayan guarani"
1114
msgstr ""
1115
1116
- #: inc/lp-core-functions.php:1133
1117
msgid "Peruvian nuevo sol"
1118
msgstr ""
1119
1120
- #: inc/lp-core-functions.php:1134
1121
msgid "Philippine peso"
1122
msgstr ""
1123
1124
- #: inc/lp-core-functions.php:1135
1125
msgid "Polish zloty"
1126
msgstr ""
1127
1128
- #: inc/lp-core-functions.php:1136
1129
msgid "Qatari riyal"
1130
msgstr ""
1131
1132
- #: inc/lp-core-functions.php:1137
1133
msgid "Romanian leu"
1134
msgstr ""
1135
1136
- #: inc/lp-core-functions.php:1138
1137
msgid "Russian ruble"
1138
msgstr ""
1139
1140
- #: inc/lp-core-functions.php:1139
1141
msgid "Rwandan franc"
1142
msgstr ""
1143
1144
- #: inc/lp-core-functions.php:1140
1145
msgid "Samoan tālā"
1146
msgstr ""
1147
1148
- #: inc/lp-core-functions.php:1141
1149
msgid "São Tomé and Príncipe dobra"
1150
msgstr ""
1151
1152
- #: inc/lp-core-functions.php:1142
1153
msgid "Saudi riyal"
1154
msgstr ""
1155
1156
- #: inc/lp-core-functions.php:1143
1157
msgid "Serbian dinar"
1158
msgstr ""
1159
1160
- #: inc/lp-core-functions.php:1144
1161
msgid "Seychellois rupee"
1162
msgstr ""
1163
1164
- #: inc/lp-core-functions.php:1145
1165
msgid "Sierra Leonean leone"
1166
msgstr ""
1167
1168
- #: inc/lp-core-functions.php:1146
1169
msgid "Singapore dollar"
1170
msgstr ""
1171
1172
- #: inc/lp-core-functions.php:1147
1173
msgid "Solomon Islands dollar"
1174
msgstr ""
1175
1176
- #: inc/lp-core-functions.php:1148
1177
msgid "Somali shilling"
1178
msgstr ""
1179
1180
- #: inc/lp-core-functions.php:1149
1181
msgid "South African rand"
1182
msgstr ""
1183
1184
- #: inc/lp-core-functions.php:1150
1185
msgid "Sri Lankan rupee"
1186
msgstr ""
1187
1188
- #: inc/lp-core-functions.php:1151
1189
msgid "St. Helena pound"
1190
msgstr ""
1191
1192
- #: inc/lp-core-functions.php:1152
1193
msgid "Sudanese pound"
1194
msgstr ""
1195
1196
- #: inc/lp-core-functions.php:1153
1197
msgid "Surinamese dollar"
1198
msgstr ""
1199
1200
- #: inc/lp-core-functions.php:1154
1201
msgid "Swazi lilangeni"
1202
msgstr ""
1203
1204
- #: inc/lp-core-functions.php:1155
1205
msgid "Swedish krona"
1206
msgstr ""
1207
1208
- #: inc/lp-core-functions.php:1156
1209
msgid "Syrian pound"
1210
msgstr ""
1211
1212
- #: inc/lp-core-functions.php:1157
1213
msgid "New Taiwan dollar"
1214
msgstr ""
1215
1216
- #: inc/lp-core-functions.php:1158
1217
msgid "Tajikistani somoni"
1218
msgstr ""
1219
1220
- #: inc/lp-core-functions.php:1159
1221
msgid "Tanzanian shilling"
1222
msgstr ""
1223
1224
- #: inc/lp-core-functions.php:1160
1225
msgid "Thai baht "
1226
msgstr ""
1227
1228
- #: inc/lp-core-functions.php:1161
1229
msgid "Tongan pa’anga"
1230
msgstr ""
1231
1232
- #: inc/lp-core-functions.php:1162
1233
msgid "Trinidad and Tobago dollar"
1234
msgstr ""
1235
1236
- #: inc/lp-core-functions.php:1163
1237
msgid "Tunisian dinar"
1238
msgstr ""
1239
1240
- #: inc/lp-core-functions.php:1164
1241
msgid "Turkish lira"
1242
msgstr ""
1243
1244
- #: inc/lp-core-functions.php:1165
1245
msgid "Turkmenistani manat"
1246
msgstr ""
1247
1248
- #: inc/lp-core-functions.php:1166
1249
msgid "Ugandan shilling"
1250
msgstr ""
1251
1252
- #: inc/lp-core-functions.php:1167
1253
msgid "Ukrainian hryvnia"
1254
msgstr ""
1255
1256
- #: inc/lp-core-functions.php:1168
1257
msgid "United Arab Emirates dirham"
1258
msgstr ""
1259
1260
- #: inc/lp-core-functions.php:1169
1261
msgid "Uruguayan peso"
1262
msgstr ""
1263
1264
- #: inc/lp-core-functions.php:1170
1265
msgid "Uzbekistani som"
1266
msgstr ""
1267
1268
- #: inc/lp-core-functions.php:1171
1269
msgid "Vanuatu vatu"
1270
msgstr ""
1271
1272
- #: inc/lp-core-functions.php:1172
1273
msgid "Venezuelan bolivar"
1274
msgstr ""
1275
1276
- #: inc/lp-core-functions.php:1173
1277
msgid "Vietnamese dong"
1278
msgstr ""
1279
1280
- #: inc/lp-core-functions.php:1174
1281
msgid "Yemeni rial"
1282
msgstr ""
1283
1284
- #: inc/lp-core-functions.php:1175
1285
msgid "Zambian kwacha"
1286
msgstr ""
1287
1288
- #: inc/lp-core-functions.php:1176
1289
msgid "Zimbabwean dollar"
1290
msgstr ""
1291
1292
- #: inc/lp-core-functions.php:1177
1293
msgid "Jersey pound"
1294
msgstr ""
1295
1296
- #: inc/lp-core-functions.php:1464
1297
msgid "week"
1298
msgid_plural "weeks"
1299
msgstr[0] ""
1300
msgstr[1] ""
1301
1302
- #: inc/lp-core-functions.php:1468
1303
msgid "day"
1304
msgid_plural "days"
1305
msgstr[0] ""
1306
msgstr[1] ""
1307
1308
- #: inc/lp-core-functions.php:1473
1309
msgid "hour"
1310
msgid_plural "hours"
1311
msgstr[0] ""
1312
msgstr[1] ""
1313
1314
- #: inc/lp-core-functions.php:1477
1315
msgid "minute"
1316
msgid_plural "minutes"
1317
msgstr[0] ""
1318
msgstr[1] ""
1319
1320
- #: inc/lp-core-functions.php:1546 inc/admin/views/quiz/editor.php:29
1321
#: inc/admin/views/tools/course/html-course.php:29
1322
#: inc/admin/views/tools/course/html-user.php:29
1323
msgid "Name"
1324
msgstr ""
1325
1326
- #: inc/lp-core-functions.php:1548
1327
msgid "Your name"
1328
msgstr ""
1329
1330
- #: inc/lp-core-functions.php:1554 inc/admin/meta-box/fields/list-emails.php:28
1331
#: inc/shortcodes/class-lp-shortcode-register-form.php:72
1332
#: inc/shortcodes/class-lp-shortcode-register-form.php:74
1333
msgid "Email"
1334
msgstr ""
1335
1336
- #: inc/lp-core-functions.php:1556
1337
msgid "Your email address"
1338
msgstr ""
1339
1340
- #: inc/lp-core-functions.php:1562
1341
msgid "Phone"
1342
msgstr ""
1343
1344
- #: inc/lp-core-functions.php:1564
1345
msgid "Your phone number"
1346
msgstr ""
1347
1348
- #: inc/lp-core-functions.php:1594
1349
msgid "Please enter your name"
1350
msgstr ""
1351
1352
- #: inc/lp-core-functions.php:1599
1353
msgid "Please enter your email address"
1354
msgstr ""
1355
1356
- #: inc/lp-core-functions.php:1607
1357
msgid "Please moderate"
1358
msgstr ""
1359
1360
- #: inc/lp-core-functions.php:1618
1361
#, php-format
1362
msgid "The user <a href=\"%s\">%s</a> wants to become a teacher."
1363
msgstr ""
1364
1365
- #: inc/lp-core-functions.php:1619
1366
#, php-format
1367
msgid "Name: %s"
1368
msgstr ""
1369
1370
- #: inc/lp-core-functions.php:1620
1371
#, php-format
1372
msgid "Email: %s"
1373
msgstr ""
1374
1375
- #: inc/lp-core-functions.php:1621
1376
#, php-format
1377
msgid "Phone: %s"
1378
msgstr ""
1379
1380
- #: inc/lp-core-functions.php:1627
1381
#, php-format
1382
msgid "Accept: %s"
1383
msgstr ""
1384
1385
- #: inc/lp-core-functions.php:1638
1386
#: inc/shortcodes/class-lp-shortcode-become-a-teacher.php:109
1387
msgid "Your request has been sent! We will get back to you soon!"
1388
msgstr ""
1389
1390
- #: inc/lp-core-functions.php:2504
1391
#, php-format
1392
msgid "Congrats! You've enrolled the course \"%s\"."
1393
msgstr ""
1394
1395
- #: inc/lp-core-functions.php:2537
1396
msgid "Cart"
1397
msgstr ""
1398
1399
- #: inc/lp-core-functions.php:2541
1400
msgid "Enable cart"
1401
msgstr ""
1402
1403
- #: inc/lp-core-functions.php:2542
1404
msgid "Check this option to enable user purchase multiple courses at one time."
1405
msgstr ""
1406
1407
- #: inc/lp-core-functions.php:2548
1408
msgid "Add to cart redirect"
1409
msgstr ""
1410
1411
- #: inc/lp-core-functions.php:2549
1412
msgid "Redirect to checkout immediately after adding course to cart."
1413
msgstr ""
1414
1415
- #: inc/lp-core-functions.php:2555
1416
msgid "AJAX add to cart"
1417
msgstr ""
1418
1419
- #: inc/lp-core-functions.php:2556
1420
msgid "Using AJAX to add course to cart."
1421
msgstr ""
1422
1423
- #: inc/lp-core-functions.php:2562
1424
msgid "Cart page"
1425
msgstr ""
1426
1427
- #: inc/lp-core-functions.php:2701
1428
msgid "Are you sure you want to cancel order?"
1429
msgstr ""
1430
1431
- #: inc/lp-core-functions.php:2702
1432
msgid "Cancel Order"
1433
msgstr ""
1434
1435
- #: inc/lp-core-functions.php:2757 inc/course/lp-course-functions.php:1083
1436
#: inc/user/class-lp-profile.php:847 inc/user/class-lp-profile.php:881
1437
#: inc/user-item/class-lp-user-item-quiz.php:108
1438
#: inc/user-item/class-lp-user-item.php:562
1439
msgid "Passed"
1440
msgstr ""
1441
1442
- #: inc/lp-core-functions.php:2760 inc/course/lp-course-functions.php:1086
1443
#: inc/user/class-lp-profile.php:848 inc/user/class-lp-profile.php:882
1444
#: inc/user-item/class-lp-user-item-quiz.php:109
1445
#: inc/user-item/class-lp-user-item.php:563
1446
msgid "Failed"
1447
msgstr ""
1448
1449
- #: inc/lp-core-functions.php:2954
1450
msgctxt "static-page-name"
1451
msgid "Checkout"
1452
msgstr ""
1453
1454
- #: inc/lp-core-functions.php:2955
1455
msgctxt "static-page-name"
1456
msgid "Courses"
1457
msgstr ""
1458
1459
- #: inc/lp-core-functions.php:2956
1460
msgctxt "static-page-name"
1461
msgid "Profile"
1462
msgstr ""
1463
1464
- #: inc/lp-core-functions.php:2957
1465
msgctxt "static-page-name"
1466
msgid "Become a Teacher"
1467
msgstr ""
1468
1469
#: inc/lp-deprecated.php:370 inc/lp-deprecated.php:402
1470
- #: inc/admin/lp-admin-actions.php:60 inc/admin/lp-admin-functions.php:850
1471
- #: inc/admin/lp-admin-functions.php:1015 inc/admin/lp-admin-functions.php:1217
1472
- #: inc/admin/lp-admin-functions.php:2098
1473
#: inc/admin/views/statistics/courses.php:27
1474
#: inc/admin/views/statistics/courses.php:42
1475
#: inc/admin/views/statistics/general.php:43
@@ -1489,7 +1503,7 @@ msgstr ""
1489
msgid "Learning"
1490
msgstr ""
1491
1492
- #: inc/lp-deprecated.php:372 inc/custom-post-types/order.php:775
1493
#: inc/user/class-lp-profile.php:284
1494
msgid "Purchased"
1495
msgstr ""
@@ -1525,15 +1539,15 @@ msgstr ""
1525
msgid "Your order is waiting for processing"
1526
msgstr ""
1527
1528
- #: inc/lp-template-functions.php:554
1529
msgid "Overview"
1530
msgstr ""
1531
1532
- #: inc/lp-template-functions.php:562 inc/admin/views/course/curriculum.php:15
1533
msgid "Curriculum"
1534
msgstr ""
1535
1536
- #: inc/lp-template-functions.php:568
1537
#: inc/emails/class-lp-email-cancelled-order-instructor.php:24
1538
#: inc/emails/class-lp-email-enrolled-course-instructor.php:27
1539
#: inc/emails/class-lp-email-finished-course-instructor.php:27
@@ -1542,11 +1556,11 @@ msgstr ""
1542
msgid "Instructor"
1543
msgstr ""
1544
1545
- #: inc/lp-template-functions.php:1321
1546
msgid "Course Search Results"
1547
msgstr ""
1548
1549
- #: inc/lp-template-functions.php:1323 inc/admin/class-lp-admin.php:277
1550
#: inc/admin/lp-admin-actions.php:206
1551
#: inc/admin/settings/class-lp-settings-courses.php:12
1552
#: inc/admin/settings/class-lp-settings-profile.php:149
@@ -1560,151 +1574,151 @@ msgstr ""
1560
msgid "Courses"
1561
msgstr ""
1562
1563
- #: inc/lp-template-functions.php:1456
1564
msgctxt "breadcrumb"
1565
msgid "Home"
1566
msgstr ""
1567
1568
- #: inc/lp-template-functions.php:2334
1569
#: inc/admin/settings/class-lp-settings-checkout.php:76
1570
#: inc/admin/settings/class-lp-settings-payments.php:131
1571
msgid "Order received"
1572
msgstr ""
1573
1574
- #: inc/lp-template-functions.php:2350
1575
#, php-format
1576
msgid "Access denied \"%s\""
1577
msgstr ""
1578
1579
- #: inc/lp-template-functions.php:2400
1580
#, php-format
1581
msgid "Search Results for: &ldquo;%s&rdquo;"
1582
msgstr ""
1583
1584
- #: inc/lp-template-functions.php:2403
1585
#, php-format
1586
msgid "&nbsp;&ndash; Page %s"
1587
msgstr ""
1588
1589
- #: inc/lp-template-functions.php:2667 inc/lp-template-functions.php:3237
1590
msgid "Final"
1591
msgstr ""
1592
1593
- #: inc/lp-template-functions.php:2676 inc/course/lp-course-functions.php:948
1594
- #: inc/custom-post-types/abstract.php:795 inc/custom-post-types/lesson.php:319
1595
#: inc/custom-post-types/quiz.php:382
1596
#: templates/single-course/section/item-meta.php:25
1597
msgid "Preview"
1598
msgstr ""
1599
1600
- #: inc/lp-template-functions.php:2972
1601
msgid "Fill out the form and send us your requesting."
1602
msgstr ""
1603
1604
- #: inc/lp-template-functions.php:3245 inc/custom-post-types/quiz.php:419
1605
#, php-format
1606
msgid "%d question"
1607
msgid_plural "%d questions"
1608
msgstr[0] ""
1609
msgstr[1] ""
1610
1611
- #: inc/lp-template-functions.php:3256
1612
#, php-format
1613
msgctxt "duration"
1614
msgid "%s day"
1615
msgstr ""
1616
1617
- #: inc/lp-template-functions.php:3257
1618
#, php-format
1619
msgctxt "duration"
1620
msgid "%s hour"
1621
msgstr ""
1622
1623
- #: inc/lp-template-functions.php:3258
1624
#, php-format
1625
msgctxt "duration"
1626
msgid "%s min"
1627
msgstr ""
1628
1629
- #: inc/lp-template-functions.php:3259
1630
#, php-format
1631
msgctxt "duration"
1632
msgid "%s sec"
1633
msgstr ""
1634
1635
- #: inc/lp-template-functions.php:3271 inc/course/lp-course-functions.php:869
1636
msgid "Edit this item"
1637
msgstr ""
1638
1639
- #: inc/lp-template-functions.php:3326
1640
msgid "Back to class"
1641
msgstr ""
1642
1643
- #: inc/lp-template-functions.php:3442
1644
msgid "Popup links color"
1645
msgstr ""
1646
1647
- #: inc/lp-template-functions.php:3450
1648
msgid "Popup heading background"
1649
msgstr ""
1650
1651
- #: inc/lp-template-functions.php:3458
1652
msgid "Popup heading color"
1653
msgstr ""
1654
1655
- #: inc/lp-template-functions.php:3470
1656
msgid "Popup curriculum background"
1657
msgstr ""
1658
1659
- #: inc/lp-template-functions.php:3479
1660
msgid "Popup item color"
1661
msgstr ""
1662
1663
- #: inc/lp-template-functions.php:3487
1664
msgid "Popup active item background"
1665
msgstr ""
1666
1667
- #: inc/lp-template-functions.php:3495
1668
msgid "Popup active item color"
1669
msgstr ""
1670
1671
- #: inc/lp-template-functions.php:3503
1672
msgid "Popup content background"
1673
msgstr ""
1674
1675
- #: inc/lp-template-functions.php:3511
1676
msgid "Popup content color"
1677
msgstr ""
1678
1679
- #: inc/lp-template-functions.php:3519
1680
msgid "Section heading background"
1681
msgstr ""
1682
1683
- #: inc/lp-template-functions.php:3526
1684
msgid "Section heading color"
1685
msgstr ""
1686
1687
- #: inc/lp-template-functions.php:3533
1688
msgid "Section heading bottom color"
1689
msgstr ""
1690
1691
- #: inc/lp-template-functions.php:3541
1692
msgid "Lines color"
1693
msgstr ""
1694
1695
- #: inc/lp-template-functions.php:3552
1696
msgid "Profile cover background"
1697
msgstr ""
1698
1699
- #: inc/lp-template-functions.php:3560
1700
msgid "Scrollbar"
1701
msgstr ""
1702
1703
- #: inc/lp-template-functions.php:3569
1704
msgid "Progress bar color"
1705
msgstr ""
1706
1707
- #: inc/lp-template-functions.php:3577
1708
msgid "Progress bar active color"
1709
msgstr ""
1710
@@ -1860,13 +1874,13 @@ msgstr ""
1860
msgid "LearnPress status"
1861
msgstr ""
1862
1863
- #: inc/admin/class-lp-admin-dashboard.php:49
1864
#: inc/admin/dashboard-statistics/class-lp-statistic-status.php:30
1865
msgid "Total Raised"
1866
msgstr ""
1867
1868
- #: inc/admin/class-lp-admin-dashboard.php:65
1869
- #: inc/admin/class-lp-admin-dashboard.php:67
1870
#: inc/admin/dashboard-statistics/class-lp-statistic-status.php:45
1871
#: inc/admin/dashboard-statistics/class-lp-statistic-status.php:50
1872
#, php-format
@@ -1875,7 +1889,7 @@ msgid_plural "%d orders"
1875
msgstr[0] ""
1876
msgstr[1] ""
1877
1878
- #: inc/admin/class-lp-admin-dashboard.php:83
1879
#: inc/admin/dashboard-statistics/class-lp-statistic-status.php:63
1880
msgid "Created by: "
1881
msgstr ""
@@ -2061,15 +2075,15 @@ msgstr ""
2061
#: inc/admin/views/meta-boxes/course/assigned.php:22
2062
#: inc/admin/views/meta-boxes/quiz/assigned.php:28
2063
#: inc/admin/views/meta-boxes/quiz/assigned.php:38
2064
- #: inc/custom-post-types/abstract.php:582
2065
- #: inc/custom-post-types/abstract.php:774
2066
- #: inc/custom-post-types/abstract.php:783
2067
#: inc/custom-post-types/question.php:376 inc/order/class-lp-order.php:928
2068
msgid "View"
2069
msgstr ""
2070
2071
#: inc/admin/class-lp-install-sample-data.php:132
2072
- #: inc/attributes/course.php:232 inc/custom-post-types/abstract.php:580
2073
#: inc/custom-post-types/question.php:374
2074
#: templates/content-lesson/no-content.php:22
2075
msgid "Edit"
@@ -2092,16 +2106,16 @@ msgstr ""
2092
2093
#: inc/admin/class-lp-modal-search-items.php:59
2094
#: inc/admin/class-lp-modal-search-users.php:49
2095
- #: inc/admin/views/course/modal-choose-items.php:100
2096
- #: inc/admin/views/quiz/modal-choose-items.php:88
2097
msgid "Add"
2098
msgstr ""
2099
2100
#: inc/admin/class-lp-modal-search-items.php:60
2101
#: inc/admin/class-lp-modal-search-users.php:50
2102
- #: inc/admin/views/course/modal-choose-items.php:71
2103
#: inc/admin/views/meta-boxes/order/details.php:242
2104
- #: inc/admin/views/quiz/modal-choose-items.php:58
2105
msgid "Close"
2106
msgstr ""
2107
@@ -2212,7 +2226,7 @@ msgid "Last Updated:"
2212
msgstr ""
2213
2214
#: inc/admin/class-lp-plugin-install-list-table.php:455
2215
- #: inc/custom-post-types/order.php:842 inc/order/class-lp-order.php:147
2216
#: inc/user-item/class-lp-user-item.php:160
2217
#, php-format
2218
msgid "%s ago"
@@ -2387,7 +2401,7 @@ msgid "Disabling Maintenance mode&#8230;"
2387
msgstr ""
2388
2389
#: inc/admin/lp-admin-actions.php:61
2390
- #: inc/admin/views/dashboard/plugin-status/html-results.php:31
2391
msgid "Published"
2392
msgstr ""
2393
@@ -2419,7 +2433,7 @@ msgstr ""
2419
msgid "LearnPress Status"
2420
msgstr ""
2421
2422
- #: inc/admin/lp-admin-actions.php:212 inc/custom-post-types/course.php:1307
2423
msgid "Categories"
2424
msgstr ""
2425
@@ -2436,7 +2450,7 @@ msgstr ""
2436
#: inc/admin/sub-menus/class-lp-submenu-tools.php:22
2437
#: inc/admin/views/settings/fields/course-permalink.php:31
2438
#: inc/admin/views/statistics/orders.php:47
2439
- #: inc/custom-post-types/abstract.php:556 inc/custom-post-types/quiz.php:379
2440
#: templates/checkout/review-order.php:32
2441
#: templates/emails/order-items-table.php:66
2442
#: templates/order/order-details.php:28 templates/profile/tabs/courses.php:32
@@ -2498,17 +2512,17 @@ msgstr ""
2498
msgid "HTML"
2499
msgstr ""
2500
2501
- #: inc/admin/lp-admin-functions.php:578
2502
#: inc/admin/views/addons/html-loop-theme.php:51
2503
msgid "Get it now"
2504
msgstr ""
2505
2506
- #: inc/admin/lp-admin-functions.php:580
2507
#: inc/admin/views/addons/html-loop-theme.php:53
2508
msgid "View Demo"
2509
msgstr ""
2510
2511
- #: inc/admin/lp-admin-functions.php:855
2512
#: inc/admin/views/statistics/courses.php:9
2513
#: inc/admin/views/statistics/general.php:9
2514
#: inc/admin/views/statistics/orders.php:9
@@ -2517,95 +2531,95 @@ msgstr ""
2517
msgid "Instructors"
2518
msgstr ""
2519
2520
- #: inc/admin/lp-admin-functions.php:860
2521
#: inc/admin/views/statistics/courses.php:8
2522
#: inc/admin/views/statistics/general.php:8
2523
#: inc/admin/views/statistics/orders.php:8
2524
#: inc/admin/views/statistics/users.php:8
2525
#: inc/admin/views/statistics/users.php:47
2526
#: inc/admin/views/tools/course/html-course.php:30
2527
- #: inc/custom-post-types/course.php:1296 inc/custom-post-types/course.php:1303
2528
msgid "Students"
2529
msgstr ""
2530
2531
- #: inc/admin/lp-admin-functions.php:1020 inc/admin/lp-admin-functions.php:2103
2532
#: inc/admin/views/meta-boxes/course/review-logs.php:25
2533
#: inc/user/class-lp-profile.php:814
2534
msgid "Publish"
2535
msgstr ""
2536
2537
- #: inc/admin/lp-admin-functions.php:1025 inc/admin/lp-admin-functions.php:1227
2538
- #: inc/admin/lp-admin-functions.php:2108
2539
#: inc/admin/views/statistics/courses.php:44
2540
#: inc/admin/views/statistics/general.php:61
2541
#: inc/admin/views/statistics/orders.php:64 inc/user/class-lp-profile.php:815
2542
msgid "Pending"
2543
msgstr ""
2544
2545
- #: inc/admin/lp-admin-functions.php:1030 inc/admin/lp-admin-functions.php:2113
2546
#: inc/admin/views/statistics/courses.php:45
2547
#: inc/admin/views/statistics/general.php:62
2548
msgid "Paid"
2549
msgstr ""
2550
2551
- #: inc/admin/lp-admin-functions.php:1035 inc/admin/lp-admin-functions.php:2118
2552
#: inc/admin/views/statistics/courses.php:46
2553
#: inc/admin/views/statistics/general.php:63
2554
- #: inc/course/abstract-course.php:673 inc/custom-post-types/course.php:1374
2555
msgid "Free"
2556
msgstr ""
2557
2558
- #: inc/admin/lp-admin-functions.php:1254
2559
msgid "Pending Courses / Publish Courses"
2560
msgstr ""
2561
2562
- #: inc/admin/lp-admin-functions.php:1255
2563
msgid "Free Courses / Priced Courses"
2564
msgstr ""
2565
2566
- #: inc/admin/lp-admin-functions.php:1423
2567
msgid "Installed"
2568
msgstr ""
2569
2570
- #: inc/admin/lp-admin-functions.php:1456
2571
#, php-format
2572
msgid "The user %s has become a teacher"
2573
msgstr ""
2574
2575
- #: inc/admin/lp-admin-functions.php:1514
2576
msgid "You haven't got any courses yet! Would you like to import sample data?"
2577
msgstr ""
2578
2579
- #: inc/admin/lp-admin-functions.php:1515
2580
msgid "If yes, please install add-on name"
2581
msgstr ""
2582
2583
- #: inc/admin/lp-admin-functions.php:1516
2584
msgid "LearnPress Import/Export"
2585
msgstr ""
2586
2587
- #: inc/admin/lp-admin-functions.php:1517
2588
msgid "but don't worry because it is completely automated."
2589
msgstr ""
2590
2591
- #: inc/admin/lp-admin-functions.php:1518
2592
msgid "Import now"
2593
msgstr ""
2594
2595
- #: inc/admin/lp-admin-functions.php:1519
2596
msgid "No, thanks!"
2597
msgstr ""
2598
2599
- #: inc/admin/lp-admin-functions.php:1729
2600
msgid " Copy"
2601
msgstr ""
2602
2603
- #: inc/admin/lp-admin-functions.php:1822
2604
#, php-format
2605
msgid "Question id %s does not exist."
2606
msgstr ""
2607
2608
- #: inc/admin/lp-admin-functions.php:1825
2609
#, php-format
2610
msgid "Quiz id %s does not exist."
2611
msgstr ""
@@ -3540,23 +3554,23 @@ msgstr ""
3540
msgid "Something went wrong! Please reload to continue editing curriculum."
3541
msgstr ""
3542
3543
- #: inc/admin/views/course/modal-choose-items.php:57
3544
- #: inc/admin/views/quiz/modal-choose-items.php:52
3545
#: inc/custom-post-types/course.php:102 inc/custom-post-types/quiz.php:179
3546
msgid "Selected items"
3547
msgstr ""
3548
3549
- #: inc/admin/views/course/modal-choose-items.php:77
3550
msgid "Type here to search item"
3551
msgstr ""
3552
3553
- #: inc/admin/views/course/modal-choose-items.php:83
3554
- #: inc/admin/views/quiz/modal-choose-items.php:70
3555
msgid "No item found."
3556
msgstr ""
3557
3558
- #: inc/admin/views/course/modal-choose-items.php:101
3559
- #: inc/admin/views/quiz/modal-choose-items.php:89
3560
msgid "Adding"
3561
msgstr ""
3562
@@ -3607,19 +3621,19 @@ msgstr ""
3607
msgid "No results found"
3608
msgstr ""
3609
3610
- #: inc/admin/views/dashboard/plugin-status/html-results.php:17
3611
msgid "Downloaded"
3612
msgstr ""
3613
3614
- #: inc/admin/views/dashboard/plugin-status/html-results.php:18
3615
msgid "Active Installed"
3616
msgstr ""
3617
3618
- #: inc/admin/views/dashboard/plugin-status/html-results.php:32
3619
msgid "Updated"
3620
msgstr ""
3621
3622
- #: inc/admin/views/dashboard/plugin-status/html-results.php:33
3623
msgid "Current Version"
3624
msgstr ""
3625
@@ -3629,7 +3643,7 @@ msgstr ""
3629
3630
#: inc/admin/views/meta-boxes/course/assigned.php:27
3631
#: inc/admin/views/meta-boxes/quiz/assigned.php:49
3632
- #: inc/custom-post-types/abstract.php:595
3633
#: inc/custom-post-types/question.php:379
3634
msgid "Not assigned yet"
3635
msgstr ""
@@ -3730,7 +3744,7 @@ msgstr ""
3730
3731
#: inc/admin/views/meta-boxes/order/details.php:38
3732
#: inc/admin/views/statistics/orders.php:46
3733
- #: inc/custom-post-types/order.php:776
3734
#: templates/checkout/order-received.php:62
3735
#: templates/profile/tabs/courses.php:33 templates/profile/tabs/quizzes.php:39
3736
#: templates/profile/tabs/courses/purchased.php:39
@@ -3796,7 +3810,7 @@ msgid "Sub Total"
3796
msgstr ""
3797
3798
#: inc/admin/views/meta-boxes/order/details.php:158
3799
- #: inc/custom-post-types/order.php:777
3800
#: templates/checkout/order-received.php:68
3801
#: templates/checkout/review-order.php:33
3802
#: templates/checkout/review-order.php:162
@@ -3853,7 +3867,7 @@ msgid "Add option"
3853
msgstr ""
3854
3855
#: inc/admin/views/quiz/editor.php:16
3856
- #: inc/admin/views/quiz/modal-choose-items.php:55
3857
#: inc/custom-post-types/question.php:188 inc/custom-post-types/quiz.php:184
3858
#: inc/custom-post-types/quiz.php:380 templates/content-quiz/intro.php:36
3859
msgid "Questions"
@@ -3888,7 +3902,7 @@ msgstr ""
3888
msgid "Something went wrong! Please reload to continue editing quiz questions."
3889
msgstr ""
3890
3891
- #: inc/admin/views/quiz/modal-choose-items.php:65
3892
msgid "Type here to search question"
3893
msgstr ""
3894
@@ -4026,10 +4040,6 @@ msgstr ""
4026
msgid "Email subject"
4027
msgstr ""
4028
4029
- #: inc/admin/views/settings/emails/become-a-teacher-request.php:41
4030
- msgid "Message"
4031
- msgstr ""
4032
-
4033
#: inc/admin/views/settings/emails/email-template.php:6
4034
#: inc/admin/views/settings/emails/_email-template.php:3
4035
#: inc/emails/class-lp-email-new-course.php:188
@@ -4956,7 +4966,7 @@ msgid "No student enrolled"
4956
msgstr ""
4957
4958
#: inc/course/abstract-course.php:754 inc/course/abstract-course.php:773
4959
- #: inc/lesson/class-lp-lesson.php:104 inc/quiz/class-lp-quiz.php:552
4960
#, php-format
4961
msgid "The function %s doesn't exist"
4962
msgstr ""
@@ -5038,21 +5048,21 @@ msgstr ""
5038
msgid "Invalid lesson with ID \"%d\"."
5039
msgstr ""
5040
5041
- #: inc/curds/class-lp-order-curd.php:420
5042
#, php-format
5043
msgid "Invalid order with ID \"%d\"."
5044
msgstr ""
5045
5046
- #: inc/curds/class-lp-order-curd.php:476
5047
#: templates/checkout/order-received.php:88
5048
msgid "Invalid order."
5049
msgstr ""
5050
5051
- #: inc/curds/class-lp-order-curd.php:480
5052
msgid "Order is already assigned."
5053
msgstr ""
5054
5055
- #: inc/curds/class-lp-order-curd.php:486
5056
msgid "User does not exist."
5057
msgstr ""
5058
@@ -5098,41 +5108,41 @@ msgstr ""
5098
msgid "<p>Sorry! Failed to duplicate quiz!</p>"
5099
msgstr ""
5100
5101
- #: inc/curds/class-lp-user-curd.php:1257 inc/curds/class-lp-user-curd.php:1497
5102
msgid "course"
5103
msgstr ""
5104
5105
- #: inc/curds/class-lp-user-curd.php:1258 inc/curds/class-lp-user-curd.php:1498
5106
msgid "courses"
5107
msgstr ""
5108
5109
- #: inc/curds/class-lp-user-curd.php:1704
5110
msgid "quiz"
5111
msgstr ""
5112
5113
- #: inc/curds/class-lp-user-curd.php:1705
5114
msgid "quizzes"
5115
msgstr ""
5116
5117
- #: inc/curds/class-lp-user-curd.php:1762
5118
msgid "Please provide a valid email address."
5119
msgstr ""
5120
5121
- #: inc/curds/class-lp-user-curd.php:1766
5122
msgid ""
5123
"An account is already registered with your email address. Please log in."
5124
msgstr ""
5125
5126
- #: inc/curds/class-lp-user-curd.php:1772
5127
msgid "Please enter a valid account username."
5128
msgstr ""
5129
5130
- #: inc/curds/class-lp-user-curd.php:1776
5131
msgid ""
5132
"An account is already registered with that username. Please choose another."
5133
msgstr ""
5134
5135
- #: inc/curds/class-lp-user-curd.php:1788
5136
msgid "Failed to create user"
5137
msgstr ""
5138
@@ -5145,73 +5155,73 @@ msgid "Invalid quiz."
5145
msgstr ""
5146
5147
#: inc/custom-post-types/abstract.php:144
5148
- #: inc/custom-post-types/abstract.php:160
5149
msgid "Search by user"
5150
msgstr ""
5151
5152
- #: inc/custom-post-types/abstract.php:211
5153
msgid ""
5154
"This item has already assigned to course. It will be removed from course if "
5155
"it is not published."
5156
msgstr ""
5157
5158
- #: inc/custom-post-types/abstract.php:222
5159
msgid ""
5160
"This question has already assigned to quiz. It will be removed from quiz if "
5161
"it is not published."
5162
msgstr ""
5163
5164
- #: inc/custom-post-types/abstract.php:562
5165
#, php-format
5166
msgid "Course (%d %s)"
5167
msgid_plural "Course (%d %s)"
5168
msgstr[0] ""
5169
msgstr[1] ""
5170
5171
- #: inc/custom-post-types/abstract.php:589
5172
msgid "Remove Filter"
5173
msgstr ""
5174
5175
- #: inc/custom-post-types/abstract.php:754
5176
- #: inc/custom-post-types/abstract.php:757
5177
msgid "updated."
5178
msgstr ""
5179
5180
- #: inc/custom-post-types/abstract.php:755
5181
msgid "Custom field updated."
5182
msgstr ""
5183
5184
- #: inc/custom-post-types/abstract.php:756
5185
msgid "Custom field deleted."
5186
msgstr ""
5187
5188
- #: inc/custom-post-types/abstract.php:759
5189
#, php-format
5190
msgid "Lesson restored to revision from %s"
5191
msgstr ""
5192
5193
- #: inc/custom-post-types/abstract.php:760
5194
msgid "published."
5195
msgstr ""
5196
5197
- #: inc/custom-post-types/abstract.php:761
5198
msgid "saved."
5199
msgstr ""
5200
5201
- #: inc/custom-post-types/abstract.php:762
5202
msgid "submitted."
5203
msgstr ""
5204
5205
- #: inc/custom-post-types/abstract.php:764
5206
#, php-format
5207
msgid "scheduled for: <strong>%1$s</strong>."
5208
msgstr ""
5209
5210
- #: inc/custom-post-types/abstract.php:766
5211
msgid "M j, Y @ G:i"
5212
msgstr ""
5213
5214
- #: inc/custom-post-types/abstract.php:768
5215
msgid "draft updated."
5216
msgstr ""
5217
@@ -5240,7 +5250,7 @@ msgid "Sale start date must before sale end date"
5240
msgstr ""
5241
5242
#: inc/custom-post-types/course.php:111
5243
- msgid "Sale end date must before sale start date"
5244
msgstr ""
5245
5246
#: inc/custom-post-types/course.php:112
@@ -5270,7 +5280,7 @@ msgid "Add New Course"
5270
msgstr ""
5271
5272
#: inc/custom-post-types/course.php:137 inc/custom-post-types/lesson.php:188
5273
- #: inc/custom-post-types/order.php:915 inc/custom-post-types/question.php:191
5274
msgid "Add New"
5275
msgstr ""
5276
@@ -5562,8 +5572,8 @@ msgstr ""
5562
msgid "Course price in <strong>%s</strong> currency."
5563
msgstr ""
5564
5565
- #: inc/custom-post-types/course.php:828 inc/custom-post-types/course.php:1297
5566
- #: inc/custom-post-types/course.php:1304
5567
#: templates/emails/order-items-table.php:68
5568
msgid "Price"
5569
msgstr ""
@@ -5609,7 +5619,7 @@ msgstr ""
5609
msgid "The course price you want to suggest for admin to set."
5610
msgstr ""
5611
5612
- #: inc/custom-post-types/course.php:896 inc/custom-post-types/course.php:1377
5613
msgid "No requirement enroll"
5614
msgstr ""
5615
@@ -5618,7 +5628,7 @@ msgid "Require users logged in to study or public to all."
5618
msgstr ""
5619
5620
#: inc/custom-post-types/course.php:939 inc/custom-post-types/course.php:951
5621
- #: inc/custom-post-types/course.php:1294 inc/custom-post-types/course.php:1301
5622
#: inc/custom-post-types/lesson.php:310 inc/custom-post-types/question.php:336
5623
#: inc/custom-post-types/quiz.php:378
5624
msgid "Author"
@@ -5689,25 +5699,25 @@ msgstr ""
5689
msgid "Course has been updated by Reviewer"
5690
msgstr ""
5691
5692
- #: inc/custom-post-types/course.php:1295 inc/custom-post-types/course.php:1302
5693
msgid "Content"
5694
msgstr ""
5695
5696
- #: inc/custom-post-types/course.php:1335
5697
#, php-format
5698
msgid "<strong>%d</strong> section"
5699
msgid_plural "<strong>%d</strong> sections"
5700
msgstr[0] ""
5701
msgstr[1] ""
5702
5703
- #: inc/custom-post-types/course.php:1347
5704
#, php-format
5705
msgid "<strong>%d</strong> "
5706
msgid_plural "<strong>%d</strong> "
5707
msgstr[0] ""
5708
msgstr[1] ""
5709
5710
- #: inc/custom-post-types/course.php:1357
5711
msgid "No content"
5712
msgstr ""
5713
@@ -5795,7 +5805,7 @@ msgstr ""
5795
msgid "Please enter the title of the lesson"
5796
msgstr ""
5797
5798
- #: inc/custom-post-types/lesson.php:471 inc/custom-post-types/question.php:529
5799
#: inc/custom-post-types/quiz.php:617
5800
msgid "Assigned"
5801
msgstr ""
@@ -5804,80 +5814,80 @@ msgstr ""
5804
msgid "Order number, user name, user email, course name etc..."
5805
msgstr ""
5806
5807
- #: inc/custom-post-types/order.php:639
5808
msgid "Processing..."
5809
msgstr ""
5810
5811
- #: inc/custom-post-types/order.php:656 inc/custom-post-types/order.php:659
5812
msgid "Apply"
5813
msgstr ""
5814
5815
- #: inc/custom-post-types/order.php:697 inc/custom-post-types/order.php:914
5816
msgid "View Order"
5817
msgstr ""
5818
5819
- #: inc/custom-post-types/order.php:705
5820
msgid "View child orders"
5821
msgstr ""
5822
5823
- #: inc/custom-post-types/order.php:773 inc/custom-post-types/order.php:910
5824
#: templates/profile/tabs/orders/list.php:32
5825
msgid "Order"
5826
msgstr ""
5827
5828
- #: inc/custom-post-types/order.php:774
5829
msgid "Student"
5830
msgstr ""
5831
5832
- #: inc/custom-post-types/order.php:826 inc/order/class-lp-order.php:496
5833
msgid "(Guest)"
5834
msgstr ""
5835
5836
- #: inc/custom-post-types/order.php:856
5837
#: templates/checkout/order-received.php:43
5838
msgid "Course does not exist"
5839
msgstr ""
5840
5841
- #: inc/custom-post-types/order.php:858
5842
msgid "Deleted"
5843
msgstr ""
5844
5845
- #: inc/custom-post-types/order.php:873
5846
#: templates/checkout/order-received.php:57
5847
msgid "(No item)"
5848
msgstr ""
5849
5850
- #: inc/custom-post-types/order.php:881
5851
#, php-format
5852
msgid "Pay via <strong>%s</strong>"
5853
msgstr ""
5854
5855
- #: inc/custom-post-types/order.php:911
5856
msgid "Add New Order"
5857
msgstr ""
5858
5859
- #: inc/custom-post-types/order.php:912 inc/custom-post-types/order.php:995
5860
#: templates/order/order-details.php:23
5861
msgid "Order Details"
5862
msgstr ""
5863
5864
- #: inc/custom-post-types/order.php:916
5865
msgid "Update Order"
5866
msgstr ""
5867
5868
- #: inc/custom-post-types/order.php:917
5869
msgid "Search Orders"
5870
msgstr ""
5871
5872
- #: inc/custom-post-types/order.php:918
5873
msgid "No order found"
5874
msgstr ""
5875
5876
- #: inc/custom-post-types/order.php:919
5877
msgid "No order found in Trash"
5878
msgstr ""
5879
5880
- #: inc/custom-post-types/order.php:996
5881
msgid "Order Actions"
5882
msgstr ""
5883
@@ -7288,40 +7298,40 @@ msgstr ""
7288
msgid "Something went wrong!"
7289
msgstr ""
7290
7291
- #: inc/quiz/class-lp-quiz.php:438 templates/content-quiz/intro.php:25
7292
#: templates/content-quiz/progress.php:47
7293
msgid "Unlimited"
7294
msgstr ""
7295
7296
- #: inc/quiz/class-lp-quiz.php:493
7297
msgid "Finish quiz"
7298
msgstr ""
7299
7300
- #: inc/quiz/class-lp-quiz.php:494
7301
msgid "Are you sure you want to finish this quiz?"
7302
msgstr ""
7303
7304
- #: inc/quiz/class-lp-quiz.php:497
7305
msgid "Retake quiz"
7306
msgstr ""
7307
7308
- #: inc/quiz/class-lp-quiz.php:498
7309
msgid "Are you sure you want to retake this quiz?"
7310
msgstr ""
7311
7312
- #: inc/quiz/class-lp-quiz.php:501
7313
msgid "Time's up!"
7314
msgstr ""
7315
7316
- #: inc/quiz/class-lp-quiz.php:502
7317
msgid "The time is up! Your quiz will automate come to finish"
7318
msgstr ""
7319
7320
- #: inc/quiz/class-lp-quiz.php:504
7321
msgid "Congrats! You have finished this quiz"
7322
msgstr ""
7323
7324
- #: inc/quiz/class-lp-quiz.php:505
7325
msgid ""
7326
"Congrats! You have re-taken this quiz. Please wait a moment and the page "
7327
"will reload"
@@ -7446,33 +7456,33 @@ msgstr ""
7446
msgid "%s::%s - User has not completed quiz."
7447
msgstr ""
7448
7449
- #: inc/user/abstract-lp-user.php:1031
7450
msgid "You can not hint question."
7451
msgstr ""
7452
7453
- #: inc/user/abstract-lp-user.php:1283 inc/user/abstract-lp-user.php:1702
7454
- #: inc/user/abstract-lp-user.php:1714
7455
#, php-format
7456
msgid "The role %s for user doesn't exist"
7457
msgstr ""
7458
7459
- #: inc/user/abstract-lp-user.php:1964
7460
msgid "You can not complete a preview lesson."
7461
msgstr ""
7462
7463
- #: inc/user/abstract-lp-user.php:1970
7464
msgid "You have to enroll course to complete lesson."
7465
msgstr ""
7466
7467
- #: inc/user/abstract-lp-user.php:1981
7468
msgid "You have already completed this lesson."
7469
msgstr ""
7470
7471
- #: inc/user/abstract-lp-user.php:2407 inc/user/abstract-lp-user.php:2411
7472
msgid "Failed to enroll course."
7473
msgstr ""
7474
7475
- #: inc/user/abstract-lp-user.php:2415
7476
msgid "Please login to enroll course."
7477
msgstr ""
7478
@@ -7496,7 +7506,7 @@ msgstr ""
7496
msgid "Not enrolled"
7497
msgstr ""
7498
7499
- #: inc/user/class-lp-user-factory.php:363
7500
msgid "Every 3 Minutes"
7501
msgstr ""
7502
@@ -7882,21 +7892,26 @@ msgstr ""
7882
7883
#: templates/content-quiz/result.php:42
7884
msgctxt "quiz-result"
7885
- msgid "Questions"
7886
msgstr ""
7887
7888
#: templates/content-quiz/result.php:46
7889
msgctxt "quiz-result"
7890
- msgid "Correct"
7891
msgstr ""
7892
7893
#: templates/content-quiz/result.php:50
7894
msgctxt "quiz-result"
7895
- msgid "Wrong"
7896
msgstr ""
7897
7898
#: templates/content-quiz/result.php:54
7899
msgctxt "quiz-result"
7900
msgid "Skipped"
7901
msgstr ""
7902
@@ -8301,7 +8316,7 @@ msgstr ""
8301
msgid "%d student"
8302
msgstr ""
8303
8304
- #: templates/single-course/buttons/enroll.php:32
8305
msgid "Enroll"
8306
msgstr ""
8307
@@ -8313,7 +8328,7 @@ msgstr ""
8313
msgid "Finish course"
8314
msgstr ""
8315
8316
- #: templates/single-course/buttons/purchase.php:32
8317
msgid "Buy this course"
8318
msgstr ""
8319
@@ -8321,7 +8336,7 @@ msgstr ""
8321
msgid "confirm-retake-course"
8322
msgstr ""
8323
8324
- #: templates/single-course/buttons/retake.php:39
8325
#, php-format
8326
msgid "Retake course (+%d)"
8327
msgstr ""
@@ -8363,20 +8378,20 @@ msgid "No courses"
8363
msgstr ""
8364
8365
#: templates/widgets/featured-courses/default.php:65
8366
- #: templates/widgets/popular-courses/default.php:60
8367
#: templates/widgets/recent-courses/default.php:65
8368
msgid "..."
8369
msgstr ""
8370
8371
#: templates/widgets/featured-courses/default.php:86
8372
- #: templates/widgets/popular-courses/default.php:81
8373
#: templates/widgets/recent-courses/default.php:86
8374
#, php-format
8375
msgid "%d lessons"
8376
msgstr ""
8377
8378
#: templates/widgets/featured-courses/default.php:86
8379
- #: templates/widgets/popular-courses/default.php:81
8380
#: templates/widgets/recent-courses/default.php:86
8381
#, php-format
8382
msgid "%d lesson"
8
msgstr ""
9
"Project-Id-Version: Package Name\n"
10
"Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2019-05-02 14:11+0700\n"
12
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
"Language-Team: LANGUAGE <LL@li.org>\n"
89
msgid "Error! You can not retake the course"
90
msgstr ""
91
92
+ #: inc/class-lp-assets.php:48 inc/lp-core-functions.php:2263
93
msgid "OK"
94
msgstr ""
95
96
#: inc/class-lp-assets.php:49 inc/class-lp-install.php:511
97
+ #: inc/lp-core-functions.php:2264 inc/admin/class-lp-admin-ajax.php:865
98
#: inc/admin/class-lp-admin.php:215 inc/custom-post-types/course.php:864
99
#: inc/order/class-lp-order.php:935 templates/checkout/form-login.php:103
100
msgid "Cancel"
101
msgstr ""
102
103
#: inc/class-lp-assets.php:50 inc/class-lp-gdpr.php:426
104
+ #: inc/lp-core-functions.php:2265
105
#: inc/libraries/meta-box/inc/fields/checkbox.php:53
106
msgid "Yes"
107
msgstr ""
108
109
#: inc/class-lp-assets.php:51 inc/class-lp-gdpr.php:426
110
+ #: inc/lp-core-functions.php:2266
111
#: inc/libraries/meta-box/inc/fields/checkbox.php:53
112
#: templates/content-quiz/intro.php:25
113
msgid "No"
238
msgid "Item \"%s\" is not purchasable."
239
msgstr ""
240
241
+ #: inc/class-lp-emails.php:137 inc/class-lp-emails.php:144
242
msgid "Cheatin&#8217; huh?"
243
msgstr ""
244
290
291
#: inc/class-lp-gdpr.php:31 inc/admin/class-lp-admin-menu.php:90
292
#: inc/admin/class-lp-admin.php:103 inc/admin/class-lp-admin.php:105
293
+ #: inc/admin/lp-admin-functions.php:1599
294
#: inc/admin/settings/class-lp-settings-emails.php:161
295
msgid "LearnPress"
296
msgstr ""
335
#: inc/admin/settings/class-lp-settings-profile.php:165
336
#: inc/admin/sub-menus/class-lp-submenu-statistics.php:22
337
#: inc/admin/sub-menus/class-lp-submenu-statistics.php:29
338
+ #: inc/custom-post-types/order.php:901 inc/custom-post-types/order.php:902
339
+ #: inc/custom-post-types/order.php:906 inc/user/class-lp-profile.php:312
340
msgid "Orders"
341
msgstr ""
342
403
#: inc/class-lp-gdpr.php:415 inc/admin/meta-box/fields/list-emails.php:30
404
#: inc/admin/meta-box/fields/payment-order.php:32
405
#: inc/admin/views/meta-boxes/order/details.php:57
406
+ #: inc/custom-post-types/order.php:771
407
#: templates/emails/order-items-table.php:53
408
#: templates/emails/plain/order-items-table.php:30
409
#: templates/profile/tabs/orders/list.php:34
414
msgid "Grade"
415
msgstr ""
416
417
+ #: inc/class-lp-gdpr.php:425 inc/admin/lp-admin-functions.php:1224
418
#: inc/admin/views/statistics/orders.php:63
419
#: inc/user-item/class-lp-user-item-quiz.php:107
420
#: inc/user-item/class-lp-user-item.php:560
605
msgid "Function %s should be overwritten in child class"
606
msgstr ""
607
608
+ #: inc/lp-core-functions.php:350 inc/lp-template-functions.php:2676
609
#: inc/admin/settings/class-lp-settings-courses.php:150
610
#: inc/course/lp-course-functions.php:581 inc/custom-post-types/lesson.php:184
611
msgid "Lesson"
612
msgstr ""
613
614
+ #: inc/lp-core-functions.php:351 inc/lp-template-functions.php:2666
615
#: inc/admin/settings/class-lp-settings-courses.php:157
616
#: inc/course/lp-course-functions.php:582
617
#: inc/custom-post-types/question.php:337 inc/custom-post-types/quiz.php:92
619
msgid "Quiz"
620
msgstr ""
621
622
+ #: inc/lp-core-functions.php:725 inc/admin/class-lp-modal-search-items.php:210
623
#: inc/admin/class-lp-modal-search-users.php:135
624
msgid "<"
625
msgstr ""
626
627
+ #: inc/lp-core-functions.php:726 inc/admin/class-lp-modal-search-items.php:211
628
#: inc/admin/class-lp-modal-search-users.php:136
629
msgid ">"
630
msgstr ""
631
632
+ #: inc/lp-core-functions.php:804
633
msgid "Minute(s)"
634
msgstr ""
635
636
+ #: inc/lp-core-functions.php:805
637
msgid "Hour(s)"
638
msgstr ""
639
640
+ #: inc/lp-core-functions.php:806
641
msgid "Day(s)"
642
msgstr ""
643
644
+ #: inc/lp-core-functions.php:807
645
msgid "Week(s)"
646
msgstr ""
647
648
+ #: inc/lp-core-functions.php:952
649
msgid "Left"
650
msgstr ""
651
652
+ #: inc/lp-core-functions.php:953
653
msgid "Right"
654
msgstr ""
655
656
+ #: inc/lp-core-functions.php:954
657
msgid "Left with space"
658
msgstr ""
659
660
+ #: inc/lp-core-functions.php:955
661
msgid "Right with space"
662
msgstr ""
663
664
+ #: inc/lp-core-functions.php:1019
665
msgid "Afghan afghani"
666
msgstr ""
667
668
+ #: inc/lp-core-functions.php:1020
669
msgid "Albanian lek"
670
msgstr ""
671
672
+ #: inc/lp-core-functions.php:1021
673
msgid "Algerian dinar"
674
msgstr ""
675
676
+ #: inc/lp-core-functions.php:1022
677
msgid "Euro"
678
msgstr ""
679
680
+ #: inc/lp-core-functions.php:1023
681
msgid "Angolan kwanza"
682
msgstr ""
683
684
+ #: inc/lp-core-functions.php:1024
685
msgid "East Caribbean dollar"
686
msgstr ""
687
688
+ #: inc/lp-core-functions.php:1025
689
msgid "Argentine peso"
690
msgstr ""
691
692
+ #: inc/lp-core-functions.php:1026
693
msgid "Armenian dram"
694
msgstr ""
695
696
+ #: inc/lp-core-functions.php:1027
697
msgid "Aruban florin"
698
msgstr ""
699
700
+ #: inc/lp-core-functions.php:1028
701
msgid "Australian dollar"
702
msgstr ""
703
704
+ #: inc/lp-core-functions.php:1029
705
msgid "Azerbaijani manat"
706
msgstr ""
707
708
+ #: inc/lp-core-functions.php:1030
709
msgid "Bahamian dollar"
710
msgstr ""
711
712
+ #: inc/lp-core-functions.php:1031
713
msgid "Bahraini dinar"
714
msgstr ""
715
716
+ #: inc/lp-core-functions.php:1032
717
msgid "Bangladeshi taka"
718
msgstr ""
719
720
+ #: inc/lp-core-functions.php:1033
721
msgid "Barbadian dollar"
722
msgstr ""
723
724
+ #: inc/lp-core-functions.php:1034
725
msgid "Belarusian ruble"
726