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.0 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 3.9.1 3.9.10 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9
tutor / includes / translate-text.php
tutor / includes Last commit date
droip 1 week ago kirki 1 week ago theme-compatibility 1 day ago country.php 1 day ago ecommerce-functions.php 1 day ago tinymce_translate.php 1 day ago translate-text.php 1 day ago tutor-general-functions.php 1 day ago tutor-template-functions.php 1 day ago tutor-template-hook.php 4 years ago
translate-text.php
304 lines
1 <?php
2 /**
3 * Translate text
4 *
5 * @package Tutor\Includes
6 * @author Themeum <support@themeum.com>
7 * @link https://themeum.com
8 * @since 2.1.7
9 */
10
11 defined( 'ABSPATH' ) || exit;
12
13 /**
14 * Get translate text array
15 *
16 * @since 2.1.7
17 *
18 * @return array
19 */
20 function tutor_get_translate_text() {
21 return array(
22 'all' => array(
23 'text' => __( 'All', 'tutor' ),
24 ),
25 'read' => array(
26 'text' => __( 'Read', 'tutor' ),
27 ),
28 'unread' => array(
29 'text' => __( 'Unread', 'tutor' ),
30 ),
31 'important' => array(
32 'text' => __( 'Important', 'tutor' ),
33 ),
34 'archived' => array(
35 'text' => __( 'Archived', 'tutor' ),
36 ),
37 'pending' => array(
38 'badge' => 'warning',
39 'text' => __( 'Pending', 'tutor' ),
40 ),
41 'pass' => array(
42 'badge' => 'success',
43 'text' => __( 'Pass', 'tutor' ),
44 ),
45 'passed' => array(
46 'badge' => 'success',
47 'text' => __( 'Passed', 'tutor' ),
48 ),
49 'correct' => array(
50 'badge' => 'success',
51 'text' => __( 'Correct', 'tutor' ),
52 ),
53 'fail' => array(
54 'badge' => 'danger',
55 'text' => __( 'Fail', 'tutor' ),
56 ),
57 'failed' => array(
58 'badge' => 'danger',
59 'text' => __( 'Failed', 'tutor' ),
60 ),
61 'wrong' => array(
62 'badge' => 'danger',
63 'text' => __( 'Wrong', 'tutor' ),
64 ),
65 'approved' => array(
66 'badge' => 'success',
67 'text' => __( 'Approved', 'tutor' ),
68 ),
69 'rejected' => array(
70 'badge' => 'danger',
71 'text' => __( 'Rejected', 'tutor' ),
72 ),
73 'completed' => array(
74 'badge' => 'success',
75 'text' => __( 'Completed', 'tutor' ),
76 ),
77 'incomplete' => array(
78 'badge' => 'default',
79 'text' => __( 'Incomplete', 'tutor' ),
80 ),
81 'processing' => array(
82 'badge' => 'warning',
83 'text' => __( 'Processing', 'tutor' ),
84 ),
85 'scheduled' => array(
86 'badge' => 'warning',
87 'text' => __( 'Scheduled', 'tutor' ),
88 ),
89 'cancelled' => array(
90 'badge' => 'danger',
91 'text' => __( 'Cancelled', 'tutor' ),
92 ),
93 'canceled' => array(
94 'badge' => 'danger',
95 'text' => __( 'Cancelled', 'tutor' ),
96 ),
97 'expired' => array(
98 'badge' => 'danger',
99 'text' => __( 'Expired', 'tutor' ),
100 ),
101 'blocked' => array(
102 'badge' => 'danger',
103 'text' => __( 'Blocked', 'tutor' ),
104 ),
105 'cancel' => array(
106 'badge' => 'danger',
107 'text' => __( 'Cancelled', 'tutor' ),
108 ),
109 'hold' => array(
110 'badge' => 'warning',
111 'text' => __( 'On Hold', 'tutor' ),
112 ),
113 'trial' => array(
114 'badge' => 'warning',
115 'text' => __( 'Trial', 'tutor' ),
116 ),
117 'on-hold' => array(
118 'badge' => 'warning',
119 'text' => __( 'On Hold', 'tutor' ),
120 ),
121 'onhold' => array(
122 'badge' => 'warning',
123 'text' => __( 'On Hold', 'tutor' ),
124 ),
125 'wc-on-hold' => array(
126 'badge' => 'warning',
127 'text' => __( 'On Hold', 'tutor' ),
128 ),
129 'partially-refunded' => array(
130 'badge' => 'default',
131 'text' => __( 'Partially Refunded', 'tutor' ),
132 ),
133 'refunded' => array(
134 'badge' => 'danger',
135 'text' => __( 'Refunded', 'tutor' ),
136 ),
137 'unpaid' => array(
138 'badge' => 'warning',
139 'text' => __( 'Unpaid', 'tutor' ),
140 ),
141 'paid' => array(
142 'badge' => 'success',
143 'text' => __( 'Paid', 'tutor' ),
144 ),
145 'partially-paid' => array(
146 'badge' => 'success',
147 'text' => __( 'Partially Paid', 'tutor' ),
148 ),
149 'trash' => array(
150 'badge' => 'danger',
151 'text' => __( 'Trash', 'tutor' ),
152 ),
153 'draft' => array(
154 'badge' => 'warning',
155 'text' => __( 'Draft', 'tutor' ),
156 ),
157 'private' => array(
158 'badge' => 'warning',
159 'text' => __( 'Private', 'tutor' ),
160 ),
161 'active' => array(
162 'badge' => 'success',
163 'text' => __( 'Active', 'tutor' ),
164 ),
165 'inactive' => array(
166 'badge' => 'default',
167 'text' => __( 'Inactive', 'tutor' ),
168 ),
169 'true' => array(
170 'text' => _x( 'True', 'true/false question options', 'tutor' ),
171 ),
172 'false' => array(
173 'text' => _x( 'False', 'true/false question options', 'tutor' ),
174 ),
175 'days' => array(
176 'text' => __( 'Days', 'tutor' ),
177 ),
178 'day' => array(
179 'text' => __( 'Day', 'tutor' ),
180 ),
181 'hours' => array(
182 'text' => __( 'Hours', 'tutor' ),
183 ),
184 'hour' => array(
185 'text' => __( 'Hour', 'tutor' ),
186 ),
187 'minutes' => array(
188 'text' => __( 'Minutes', 'tutor' ),
189 ),
190 'minute' => array(
191 'text' => __( 'Minute', 'tutor' ),
192 ),
193 'seconds' => array(
194 'text' => __( 'Seconds', 'tutor' ),
195 ),
196 'second' => array(
197 'text' => __( 'Second', 'tutor' ),
198 ),
199 'exclusive' => array(
200 'text' => __( 'Exclusive', 'tutor' ),
201 ),
202 'inclusive' => array(
203 'text' => __( 'Inclusive', 'tutor' ),
204 ),
205
206 // Translate able week name.
207 'monday' => array(
208 'text' => _x( 'Monday', 'Week name', 'tutor' ),
209 ),
210 'tuesday' => array(
211 'text' => _x( 'Tuesday', 'Week name', 'tutor' ),
212 ),
213 'wednesday' => array(
214 'text' => _x( 'Wednesday', 'Week name', 'tutor' ),
215 ),
216 'thursday' => array(
217 'text' => _x( 'Thursday', 'Week name', 'tutor' ),
218 ),
219 'friday' => array(
220 'text' => _x( 'Friday', 'Week name', 'tutor' ),
221 ),
222 'saturday' => array(
223 'text' => _x( 'Saturday', 'Week name', 'tutor' ),
224 ),
225 'sunday' => array(
226 'text' => _x( 'Sunday', 'Week name', 'tutor' ),
227 ),
228
229 // Translate able month name.
230 'january' => array(
231 'text' => _x( 'January', 'Month name', 'tutor' ),
232 ),
233 'february' => array(
234 'text' => _x( 'February', 'Month name', 'tutor' ),
235 ),
236 'march' => array(
237 'text' => _x( 'March', 'Month name', 'tutor' ),
238 ),
239 'april' => array(
240 'text' => _x( 'April', 'Month name', 'tutor' ),
241 ),
242 'may' => array(
243 'text' => _x( 'May', 'Month name', 'tutor' ),
244 ),
245 'june' => array(
246 'text' => _x( 'June', 'Month name', 'tutor' ),
247 ),
248 'july' => array(
249 'text' => _x( 'July', 'Month name', 'tutor' ),
250 ),
251 'august' => array(
252 'text' => _x( 'August', 'Month name', 'tutor' ),
253 ),
254 'september' => array(
255 'text' => _x( 'September', 'Month name', 'tutor' ),
256 ),
257 'october' => array(
258 'text' => _x( 'October', 'Month name', 'tutor' ),
259 ),
260 'november' => array(
261 'text' => _x( 'November', 'Month name', 'tutor' ),
262 ),
263 'december' => array(
264 'text' => _x( 'December', 'Month name', 'tutor' ),
265 ),
266 'jan' => array(
267 'text' => _x( 'January', 'Month name', 'tutor' ),
268 ),
269 'feb' => array(
270 'text' => _x( 'February', 'Month name', 'tutor' ),
271 ),
272 'mar' => array(
273 'text' => _x( 'March', 'Month name', 'tutor' ),
274 ),
275 'apr' => array(
276 'text' => _x( 'April', 'Month name', 'tutor' ),
277 ),
278 'may' => array(
279 'text' => _x( 'May', 'Month name', 'tutor' ),
280 ),
281 'jun' => array(
282 'text' => _x( 'June', 'Month name', 'tutor' ),
283 ),
284 'jul' => array(
285 'text' => _x( 'July', 'Month name', 'tutor' ),
286 ),
287 'aug' => array(
288 'text' => _x( 'August', 'Month name', 'tutor' ),
289 ),
290 'sep' => array(
291 'text' => _x( 'September', 'Month name', 'tutor' ),
292 ),
293 'oct' => array(
294 'text' => _x( 'October', 'Month name', 'tutor' ),
295 ),
296 'nov' => array(
297 'text' => _x( 'November', 'Month name', 'tutor' ),
298 ),
299 'dec' => array(
300 'text' => _x( 'December', 'Month name', 'tutor' ),
301 ),
302 );
303 }
304