Skip to content
Permalink
Newer
Older
100644 413 lines (373 sloc) 20 KB
1
<?php
2
if ( ! defined( 'ABSPATH' ) ) {
3
exit;
4
}
5
6
/**
7
* Localize JS strings
May 2, 2018
8
* This file should not be edited directly
9
* It is compiled automatically via the gulp task `js:pot`
10
* See the lifterlms-lib-tasks package for more information
11
* @since 3.17.8
Jun 7, 2018
12
* @version 3.19.0
13
*/
14
class LLMS_L10n_JS {
15
16
/**
17
* Constructor
18
* @since 3.17.8
19
* @version 3.17.8
20
*/
21
public function __construct() {
22
add_filter( 'lifterlms_js_l10n', array( $this, 'get_strings' ) );
23
}
24
25
/**
26
* Get strings to be passed to LifterLMS l10n class
27
* @param array $strings existing strings from core / 3rd parties
28
* @return array
29
* @since 3.17.8
Jun 7, 2018
30
* @version 3.19.0
31
*/
32
public function get_strings( $strings ) {
33
34
return array_merge( $strings, array(
May 4, 2018
35
36
/**
37
* file: assets/js/app/llms-l10n.js
38
* @since 2.7.3
39
* @version 3.16.0
40
*/
41
'This is a %2$s %1$s String' => esc_html__( 'This is a %2$s %1$s String', 'lifterlms' ),
42
43
/**
44
* file: assets/js/app/llms-lesson-preview.js
45
* @since 3.0.0
46
* @version 3.16.12
47
*/
48
'You do not have permission to access this content' => esc_html__( 'You do not have permission to access this content', 'lifterlms' ),
49
50
/**
51
* file: assets/js/app/llms-password-strength.js
52
* @since 3.0.0
53
* @version 3.7.0
54
*/
55
'There is an issue with your chosen password.' => esc_html__( 'There is an issue with your chosen password.', 'lifterlms' ),
56
'Too Short' => esc_html__( 'Too Short', 'lifterlms' ),
57
'Very Weak' => esc_html__( 'Very Weak', 'lifterlms' ),
58
'Weak' => esc_html__( 'Weak', 'lifterlms' ),
59
'Medium' => esc_html__( 'Medium', 'lifterlms' ),
60
'Strong' => esc_html__( 'Strong', 'lifterlms' ),
61
'Mismatch' => esc_html__( 'Mismatch', 'lifterlms' ),
62
63
/**
64
* file: assets/js/app/llms-pricing-tables.js
65
* @since 3.0.0
66
* @version 3.9.1
67
*/
68
'Members Only Pricing' => esc_html__( 'Members Only Pricing', 'lifterlms' ),
69
70
/**
71
* file: assets/js/app/llms-student-dashboard.js
72
* @since 3.7.0
73
* @version 3.10.0
74
*/
75
'Are you sure you want to cancel your subscription?' => esc_html__( 'Are you sure you want to cancel your subscription?', 'lifterlms' ),
76
77
/**
78
* file: assets/js/builder/Models/Lesson.js
79
* @since 3.13.0
80
* @version 3.17.1
81
*/
82
'New Lesson' => esc_html__( 'New Lesson', 'lifterlms' ),
83
'lessons' => esc_html__( 'lessons', 'lifterlms' ),
84
'lesson' => esc_html__( 'lesson', 'lifterlms' ),
85
'Section %1$d: %2$s' => esc_html__( 'Section %1$d: %2$s', 'lifterlms' ),
86
'Lesson %1$d: %2$s' => esc_html__( 'Lesson %1$d: %2$s', 'lifterlms' ),
87
'%1$s Quiz' => esc_html__( '%1$s Quiz', 'lifterlms' ),
88
89
/**
90
* file: assets/js/builder/Models/Quiz.js
91
* @since 3.16.0
92
* @version 3.17.6
93
*/
94
'New Quiz' => esc_html__( 'New Quiz', 'lifterlms' ),
95
'quizzes' => esc_html__( 'quizzes', 'lifterlms' ),
96
'quiz' => esc_html__( 'quiz', 'lifterlms' ),
97
98
/**
99
* file: assets/js/builder/Models/Section.js
100
* @since 3.16.0
101
* @version 3.16.12
102
*/
103
'New Section' => esc_html__( 'New Section', 'lifterlms' ),
104
'sections' => esc_html__( 'sections', 'lifterlms' ),
105
'section' => esc_html__( 'section', 'lifterlms' ),
106
107
/**
108
* file: assets/js/builder/Schemas/Lesson.js
109
* @since 3.17.0
110
* @version 3.17.1
111
*/
112
'General Settings' => esc_html__( 'General Settings', 'lifterlms' ),
113
'Video Embed URL' => esc_html__( 'Video Embed URL', 'lifterlms' ),
114
'Audio Embed URL' => esc_html__( 'Audio Embed URL', 'lifterlms' ),
115
'Free Lesson' => esc_html__( 'Free Lesson', 'lifterlms' ),
116
'Require Passing Grade on Quiz' => esc_html__( 'Require Passing Grade on Quiz', 'lifterlms' ),
117
'Require Passing Grade on Assignment' => esc_html__( 'Require Passing Grade on Assignment', 'lifterlms' ),
118
'Prerequisite' => esc_html__( 'Prerequisite', 'lifterlms' ),
119
'Drip Method' => esc_html__( 'Drip Method', 'lifterlms' ),
120
'None' => esc_html__( 'None', 'lifterlms' ),
121
'On a specific date' => esc_html__( 'On a specific date', 'lifterlms' ),
122
'# of days after course enrollment' => esc_html__( '# of days after course enrollment', 'lifterlms' ),
123
'# of days after course start date' => esc_html__( '# of days after course start date', 'lifterlms' ),
124
'# of days after prerequisite lesson completion' => esc_html__( '# of days after prerequisite lesson completion', 'lifterlms' ),
125
'# of days' => esc_html__( '# of days', 'lifterlms' ),
126
'Date' => esc_html__( 'Date', 'lifterlms' ),
127
'Time' => esc_html__( 'Time', 'lifterlms' ),
128
129
/**
130
* file: assets/js/builder/Schemas/Quiz.js
131
* @since 3.17.6
132
* @version 3.17.6
133
*/
134
'General Settings' => esc_html__( 'General Settings', 'lifterlms' ),
135
'Description' => esc_html__( 'Description', 'lifterlms' ),
136
'Passing Percentage' => esc_html__( 'Passing Percentage', 'lifterlms' ),
137
'Minimum percentage of total points required to pass the quiz' => esc_html__( 'Minimum percentage of total points required to pass the quiz', 'lifterlms' ),
138
'Limit Attempts' => esc_html__( 'Limit Attempts', 'lifterlms' ),
139
'Limit the maximum number of times a student can take this quiz' => esc_html__( 'Limit the maximum number of times a student can take this quiz', 'lifterlms' ),
140
'Time Limit' => esc_html__( 'Time Limit', 'lifterlms' ),
141
'Enforce a maximum number of minutes a student can spend on each attempt' => esc_html__( 'Enforce a maximum number of minutes a student can spend on each attempt', 'lifterlms' ),
142
'Show Correct Answers' => esc_html__( 'Show Correct Answers', 'lifterlms' ),
143
'When enabled, students will be shown the correct answer to any question they answered incorrectly.' => esc_html__( 'When enabled, students will be shown the correct answer to any question they answered incorrectly.', 'lifterlms' ),
144
'Randomize Question Order' => esc_html__( 'Randomize Question Order', 'lifterlms' ),
145
'Display questions in a random order for each attempt. Content questions are locked into their defined positions.' => esc_html__( 'Display questions in a random order for each attempt. Content questions are locked into their defined positions.', 'lifterlms' ),
146
147
/**
148
* file: assets/js/builder/Views/_Detachable.js
149
* @since 3.16.12
150
* @version 3.16.12
151
*/
152
'Are you sure you want to detach this %s?' => esc_html__( 'Are you sure you want to detach this %s?', 'lifterlms' ),
153
154
/**
155
* file: assets/js/builder/Views/_Editable.js
156
* @since 3.16.0
157
* @version 3.17.8
158
*/
159
'Select an image' => esc_html__( 'Select an image', 'lifterlms' ),
160
'Use this image' => esc_html__( 'Use this image', 'lifterlms' ),
161
162
/**
163
* file: assets/js/builder/Views/_Trashable.js
164
* @since 3.16.12
165
* @version 3.16.12
166
*/
167
'Are you sure you want to move this %s to the trash?' => esc_html__( 'Are you sure you want to move this %s to the trash?', 'lifterlms' ),
168
169
/**
170
* file: assets/js/builder/Views/Assignment.js
171
* @since 3.17.0
172
* @version 3.17.7
173
*/
174
'%1$s Assignment' => esc_html__( '%1$s Assignment', 'lifterlms' ),
175
'Add Existing Assignment' => esc_html__( 'Add Existing Assignment', 'lifterlms' ),
176
'Search for existing assignments...' => esc_html__( 'Search for existing assignments...', 'lifterlms' ),
177
'Get Your Students Taking Action' => esc_html__( 'Get Your Students Taking Action', 'lifterlms' ),
178
'Get Assignments Now!' => esc_html__( 'Get Assignments Now!', 'lifterlms' ),
179
'Unlock LifterLMS Assignments' => esc_html__( 'Unlock LifterLMS Assignments', 'lifterlms' ),
180
181
/**
182
* file: assets/js/builder/Views/Elements.js
183
* @since 3.16.0
184
* @version 3.16.12
185
*/
186
'Add Existing Lesson' => esc_html__( 'Add Existing Lesson', 'lifterlms' ),
187
'Search for existing lessons...' => esc_html__( 'Search for existing lessons...', 'lifterlms' ),
188
189
/**
190
* file: assets/js/builder/Views/PostSearch.js
191
* @since 3.16.0
192
* @version 3.17.0
193
*/
194
'Searching...' => esc_html__( 'Searching...', 'lifterlms' ),
195
'Attach' => esc_html__( 'Attach', 'lifterlms' ),
196
'Clone' => esc_html__( 'Clone', 'lifterlms' ),
197
'ID' => esc_html__( 'ID', 'lifterlms' ),
198
199
/**
200
* file: assets/js/builder/Views/Question.js
201
* @since 3.16.0
202
* @version 3.16.0
203
*/
204
'Are you sure you want to delete this question?' => esc_html__( 'Are you sure you want to delete this question?', 'lifterlms' ),
205
206
/**
207
* file: assets/js/builder/Views/Quiz.js
208
* @since 3.16.0
209
* @version 3.17.7
210
*/
211
'Add Existing Quiz' => esc_html__( 'Add Existing Quiz', 'lifterlms' ),
212
'Search for existing quizzes...' => esc_html__( 'Search for existing quizzes...', 'lifterlms' ),
213
'Add a Question' => esc_html__( 'Add a Question', 'lifterlms' ),
214
215
/**
216
* file: assets/js/builder/Views/SettingsFields.js
217
* @since 3.17.0
218
* @version 3.17.7
219
*/
220
'Use SoundCloud or Spotify audio URLS.' => esc_html__( 'Use SoundCloud or Spotify audio URLS.', 'lifterlms' ),
221
'Permalink' => esc_html__( 'Permalink', 'lifterlms' ),
222
'Use YouTube, Vimeo, or Wistia video URLS.' => esc_html__( 'Use YouTube, Vimeo, or Wistia video URLS.', 'lifterlms' ),
223
224
/**
225
* file: assets/js/llms-admin-settings.js
226
* @since 3.7.3
May 16, 2018
227
* @version 3.18.0
228
*/
229
'Select an Image' => esc_html__( 'Select an Image', 'lifterlms' ),
230
'Select Image' => esc_html__( 'Select Image', 'lifterlms' ),
231
232
/**
233
* file: assets/js/llms-admin.js
234
* @since ??
235
* @version 3.17.5
236
*/
237
'Select a student' => esc_html__( 'Select a student', 'lifterlms' ),
238
239
/**
240
* file: assets/js/llms-analytics.js
241
* @since 3.0.0
242
* @version 3.17.6
243
*/
244
'Filter by Student(s)' => esc_html__( 'Filter by Student(s)', 'lifterlms' ),
245
'Error' => esc_html__( 'Error', 'lifterlms' ),
246
'Request timed out' => esc_html__( 'Request timed out', 'lifterlms' ),
247
'Retry' => esc_html__( 'Retry', 'lifterlms' ),
248
'Date' => esc_html__( 'Date', 'lifterlms' ),
249
250
/**
251
* file: assets/js/llms-builder.js
252
* @since 3.16.0
253
* @version 3.16.0
254
*/
255
'General Settings' => esc_html__( 'General Settings', 'lifterlms' ),
256
'Description' => esc_html__( 'Description', 'lifterlms' ),
257
'Passing Percentage' => esc_html__( 'Passing Percentage', 'lifterlms' ),
258
'Minimum percentage of total points required to pass the quiz' => esc_html__( 'Minimum percentage of total points required to pass the quiz', 'lifterlms' ),
259
'Limit Attempts' => esc_html__( 'Limit Attempts', 'lifterlms' ),
260
'Limit the maximum number of times a student can take this quiz' => esc_html__( 'Limit the maximum number of times a student can take this quiz', 'lifterlms' ),
261
'Time Limit' => esc_html__( 'Time Limit', 'lifterlms' ),
262
'Enforce a maximum number of minutes a student can spend on each attempt' => esc_html__( 'Enforce a maximum number of minutes a student can spend on each attempt', 'lifterlms' ),
263
'Show Correct Answers' => esc_html__( 'Show Correct Answers', 'lifterlms' ),
264
'When enabled, students will be shown the correct answer to any question they answered incorrectly.' => esc_html__( 'When enabled, students will be shown the correct answer to any question they answered incorrectly.', 'lifterlms' ),
265
'Randomize Question Order' => esc_html__( 'Randomize Question Order', 'lifterlms' ),
266
'Display questions in a random order for each attempt. Content questions are locked into their defined positions.' => esc_html__( 'Display questions in a random order for each attempt. Content questions are locked into their defined positions.', 'lifterlms' ),
267
'New Quiz' => esc_html__( 'New Quiz', 'lifterlms' ),
268
'quizzes' => esc_html__( 'quizzes', 'lifterlms' ),
269
'quiz' => esc_html__( 'quiz', 'lifterlms' ),
270
'Video Embed URL' => esc_html__( 'Video Embed URL', 'lifterlms' ),
271
'Audio Embed URL' => esc_html__( 'Audio Embed URL', 'lifterlms' ),
272
'Free Lesson' => esc_html__( 'Free Lesson', 'lifterlms' ),
273
'Require Passing Grade on Quiz' => esc_html__( 'Require Passing Grade on Quiz', 'lifterlms' ),
274
'Require Passing Grade on Assignment' => esc_html__( 'Require Passing Grade on Assignment', 'lifterlms' ),
275
'Prerequisite' => esc_html__( 'Prerequisite', 'lifterlms' ),
276
'Drip Method' => esc_html__( 'Drip Method', 'lifterlms' ),
277
'None' => esc_html__( 'None', 'lifterlms' ),
278
'On a specific date' => esc_html__( 'On a specific date', 'lifterlms' ),
279
'# of days after course enrollment' => esc_html__( '# of days after course enrollment', 'lifterlms' ),
280
'# of days after course start date' => esc_html__( '# of days after course start date', 'lifterlms' ),
281
'# of days after prerequisite lesson completion' => esc_html__( '# of days after prerequisite lesson completion', 'lifterlms' ),
282
'# of days' => esc_html__( '# of days', 'lifterlms' ),
283
'Date' => esc_html__( 'Date', 'lifterlms' ),
284
'Time' => esc_html__( 'Time', 'lifterlms' ),
285
'New Lesson' => esc_html__( 'New Lesson', 'lifterlms' ),
286
'lessons' => esc_html__( 'lessons', 'lifterlms' ),
287
'lesson' => esc_html__( 'lesson', 'lifterlms' ),
288
'Section %1$d: %2$s' => esc_html__( 'Section %1$d: %2$s', 'lifterlms' ),
289
'Lesson %1$d: %2$s' => esc_html__( 'Lesson %1$d: %2$s', 'lifterlms' ),
290
'%1$s Quiz' => esc_html__( '%1$s Quiz', 'lifterlms' ),
291
'New Section' => esc_html__( 'New Section', 'lifterlms' ),
292
'sections' => esc_html__( 'sections', 'lifterlms' ),
293
'section' => esc_html__( 'section', 'lifterlms' ),
294
'Are you sure you want to detach this %s?' => esc_html__( 'Are you sure you want to detach this %s?', 'lifterlms' ),
295
'Select an image' => esc_html__( 'Select an image', 'lifterlms' ),
296
'Use this image' => esc_html__( 'Use this image', 'lifterlms' ),
297
'Are you sure you want to move this %s to the trash?' => esc_html__( 'Are you sure you want to move this %s to the trash?', 'lifterlms' ),
298
'Use SoundCloud or Spotify audio URLS.' => esc_html__( 'Use SoundCloud or Spotify audio URLS.', 'lifterlms' ),
299
'Permalink' => esc_html__( 'Permalink', 'lifterlms' ),
300
'Use YouTube, Vimeo, or Wistia video URLS.' => esc_html__( 'Use YouTube, Vimeo, or Wistia video URLS.', 'lifterlms' ),
301
'Searching...' => esc_html__( 'Searching...', 'lifterlms' ),
302
'Attach' => esc_html__( 'Attach', 'lifterlms' ),
303
'Clone' => esc_html__( 'Clone', 'lifterlms' ),
304
'ID' => esc_html__( 'ID', 'lifterlms' ),
305
'Are you sure you want to delete this question?' => esc_html__( 'Are you sure you want to delete this question?', 'lifterlms' ),
306
'Add Existing Quiz' => esc_html__( 'Add Existing Quiz', 'lifterlms' ),
307
'Search for existing quizzes...' => esc_html__( 'Search for existing quizzes...', 'lifterlms' ),
308
'Add a Question' => esc_html__( 'Add a Question', 'lifterlms' ),
309
'%1$s Assignment' => esc_html__( '%1$s Assignment', 'lifterlms' ),
310
'Add Existing Assignment' => esc_html__( 'Add Existing Assignment', 'lifterlms' ),
311
'Search for existing assignments...' => esc_html__( 'Search for existing assignments...', 'lifterlms' ),
312
'Get Your Students Taking Action' => esc_html__( 'Get Your Students Taking Action', 'lifterlms' ),
313
'Get Assignments Now!' => esc_html__( 'Get Assignments Now!', 'lifterlms' ),
314
'Unlock LifterLMS Assignments' => esc_html__( 'Unlock LifterLMS Assignments', 'lifterlms' ),
315
'Add Existing Lesson' => esc_html__( 'Add Existing Lesson', 'lifterlms' ),
316
'Search for existing lessons...' => esc_html__( 'Search for existing lessons...', 'lifterlms' ),
317
318
/**
319
* file: assets/js/llms-metabox-product.js
320
* @since 3.0.0
321
* @version 3.6.0
322
*/
323
'There was an error loading the necessary resources. Please try again.' => esc_html__( 'There was an error loading the necessary resources. Please try again.', 'lifterlms' ),
324
325
/**
326
* file: assets/js/llms-metabox-students.js
327
* @since 3.0.0
328
* @version 3.0.0
329
*/
330
'Please select a student to enroll' => esc_html__( 'Please select a student to enroll', 'lifterlms' ),
331
332
/**
333
* file: assets/js/llms-metaboxes.js
334
* @since 3.0.0
Jun 7, 2018
335
* @version 3.19.0
336
*/
337
'Are you sure you want to delete this row? This cannot be undone.' => esc_html__( 'Are you sure you want to delete this row? This cannot be undone.', 'lifterlms' ),
May 24, 2018
338
'Click okay to enroll all active members into the selected course. Enrollment will take place in the background and you may leave your site after confirmation. This action cannot be undone!' => esc_html__( 'Click okay to enroll all active members into the selected course. Enrollment will take place in the background and you may leave your site after confirmation. This action cannot be undone!', 'lifterlms' ),
339
'Cancel' => esc_html__( 'Cancel', 'lifterlms' ),
340
'Refund' => esc_html__( 'Refund', 'lifterlms' ),
341
'Record a Manual Payment' => esc_html__( 'Record a Manual Payment', 'lifterlms' ),
342
'Copy this code and paste it into the desired area' => esc_html__( 'Copy this code and paste it into the desired area', 'lifterlms' ),
343
'View' => esc_html__( 'View', 'lifterlms' ),
344
345
/**
346
* file: assets/js/llms-quiz-attempt-review.js
347
* @since 3.16.0
348
* @version 3.16.9
349
*/
350
'Remarks to Student' => esc_html__( 'Remarks to Student', 'lifterlms' ),
351
'points' => esc_html__( 'points', 'lifterlms' ),
352
353
/**
354
* file: assets/js/llms-quiz.js
355
* @since 1.0.0
356
* @version 3.16.9
357
*/
358
'Are you sure you wish to quit this quiz attempt?' => esc_html__( 'Are you sure you wish to quit this quiz attempt?', 'lifterlms' ),
359
'Grading Quiz...' => esc_html__( 'Grading Quiz...', 'lifterlms' ),
360
'Loading Question...' => esc_html__( 'Loading Question...', 'lifterlms' ),
361
'An unknown error occurred. Please try again.' => esc_html__( 'An unknown error occurred. Please try again.', 'lifterlms' ),
362
'Loading Quiz...' => esc_html__( 'Loading Quiz...', 'lifterlms' ),
363
'Time Remaining' => esc_html__( 'Time Remaining', 'lifterlms' ),
364
'Next Question' => esc_html__( 'Next Question', 'lifterlms' ),
365
'Complete Quiz' => esc_html__( 'Complete Quiz', 'lifterlms' ),
366
'Previous Question' => esc_html__( 'Previous Question', 'lifterlms' ),
367
'Loading...' => esc_html__( 'Loading...', 'lifterlms' ),
368
'You must select an answer to continue.' => esc_html__( 'You must select an answer to continue.', 'lifterlms' ),
369
370
/**
371
* file: assets/js/llms.js
372
* @since 3.14.0
373
* @version 3.14.0
374
*/
375
'This is a %2$s %1$s String' => esc_html__( 'This is a %2$s %1$s String', 'lifterlms' ),
376
'You do not have permission to access this content' => esc_html__( 'You do not have permission to access this content', 'lifterlms' ),
377
'There is an issue with your chosen password.' => esc_html__( 'There is an issue with your chosen password.', 'lifterlms' ),
378
'Too Short' => esc_html__( 'Too Short', 'lifterlms' ),
379
'Very Weak' => esc_html__( 'Very Weak', 'lifterlms' ),
380
'Weak' => esc_html__( 'Weak', 'lifterlms' ),
381
'Medium' => esc_html__( 'Medium', 'lifterlms' ),
382
'Strong' => esc_html__( 'Strong', 'lifterlms' ),
383
'Mismatch' => esc_html__( 'Mismatch', 'lifterlms' ),
384
'Members Only Pricing' => esc_html__( 'Members Only Pricing', 'lifterlms' ),
385
'Are you sure you want to cancel your subscription?' => esc_html__( 'Are you sure you want to cancel your subscription?', 'lifterlms' ),
386
387
/**
388
* file: assets/js/partials/_metabox-field-repeater.js
389
* @since 3.11.0
390
* @version 3.17.3
391
*/
392
'Are you sure you want to delete this row? This cannot be undone.' => esc_html__( 'Are you sure you want to delete this row? This cannot be undone.', 'lifterlms' ),
393
394
/**
395
* file: assets/js/private/llms-metaboxes.js
396
* @since 3.0.0
397
* @version 3.18.2
398
*/
May 24, 2018
399
'Click okay to enroll all active members into the selected course. Enrollment will take place in the background and you may leave your site after confirmation. This action cannot be undone!' => esc_html__( 'Click okay to enroll all active members into the selected course. Enrollment will take place in the background and you may leave your site after confirmation. This action cannot be undone!', 'lifterlms' ),
400
'Cancel' => esc_html__( 'Cancel', 'lifterlms' ),
401
'Refund' => esc_html__( 'Refund', 'lifterlms' ),
402
'Record a Manual Payment' => esc_html__( 'Record a Manual Payment', 'lifterlms' ),
403
'Copy this code and paste it into the desired area' => esc_html__( 'Copy this code and paste it into the desired area', 'lifterlms' ),
404
'View' => esc_html__( 'View', 'lifterlms' ),
405
406
) );
407
408
}
409
410
}
411
412
return new LLMS_L10n_JS();
You can’t perform that action at this time.