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