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.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 2 days ago kirki 2 days ago theme-compatibility 4 years ago country.php 1 year ago ecommerce-functions.php 10 months ago tinymce_translate.php 1 year ago translate-text.php 1 year ago tutor-general-functions.php 3 weeks ago tutor-template-functions.php 9 months ago tutor-template-hook.php 4 years ago
translate-text.php
292 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 'trial' => array(
104 'badge' => 'warning',
105 'text' => __( 'Trial', 'tutor' ),
106 ),
107 'on-hold' => array(
108 'badge' => 'warning',
109 'text' => __( 'On Hold', 'tutor' ),
110 ),
111 'onhold' => array(
112 'badge' => 'warning',
113 'text' => __( 'On Hold', 'tutor' ),
114 ),
115 'wc-on-hold' => array(
116 'badge' => 'warning',
117 'text' => __( 'On Hold', 'tutor' ),
118 ),
119 'partially-refunded' => array(
120 'badge' => 'default',
121 'text' => __( 'Partially Refunded', 'tutor' ),
122 ),
123 'refunded' => array(
124 'badge' => 'danger',
125 'text' => __( 'Refunded', 'tutor' ),
126 ),
127 'unpaid' => array(
128 'badge' => 'warning',
129 'text' => __( 'Unpaid', 'tutor' ),
130 ),
131 'paid' => array(
132 'badge' => 'success',
133 'text' => __( 'Paid', 'tutor' ),
134 ),
135 'failed' => array(
136 'badge' => 'danger',
137 'text' => __( 'Failed', 'tutor' ),
138 ),
139 'partially-paid' => array(
140 'badge' => 'success',
141 'text' => __( 'Partially Paid', 'tutor' ),
142 ),
143 'trash' => array(
144 'badge' => 'danger',
145 'text' => __( 'Trash', 'tutor' ),
146 ),
147 'draft' => array(
148 'badge' => 'warning',
149 'text' => __( 'Draft', 'tutor' ),
150 ),
151 'private' => array(
152 'badge' => 'warning',
153 'text' => __( 'Private', 'tutor' ),
154 ),
155 'active' => array(
156 'badge' => 'success',
157 'text' => __( 'Active', 'tutor' ),
158 ),
159 'inactive' => array(
160 'badge' => 'default',
161 'text' => __( 'Inactive', 'tutor' ),
162 ),
163 'true' => array(
164 'text' => _x( 'True', 'true/false question options', 'tutor' ),
165 ),
166 'false' => array(
167 'text' => _x( 'False', 'true/false question options', 'tutor' ),
168 ),
169 'days' => array(
170 'text' => __( 'Days', 'tutor' ),
171 ),
172 'day' => array(
173 'text' => __( 'Day', 'tutor' ),
174 ),
175 'hours' => array(
176 'text' => __( 'Hours', 'tutor' ),
177 ),
178 'hour' => array(
179 'text' => __( 'Hour', 'tutor' ),
180 ),
181 'minutes' => array(
182 'text' => __( 'Minutes', 'tutor' ),
183 ),
184 'minute' => array(
185 'text' => __( 'Minute', 'tutor' ),
186 ),
187 'seconds' => array(
188 'text' => __( 'Seconds', 'tutor' ),
189 ),
190 'second' => array(
191 'text' => __( 'Second', 'tutor' ),
192 ),
193
194 // Translate able week name.
195 'monday' => array(
196 'text' => _x( 'Monday', 'Week name', 'tutor' ),
197 ),
198 'tuesday' => array(
199 'text' => _x( 'Tuesday', 'Week name', 'tutor' ),
200 ),
201 'wednesday' => array(
202 'text' => _x( 'Wednesday', 'Week name', 'tutor' ),
203 ),
204 'thursday' => array(
205 'text' => _x( 'Thursday', 'Week name', 'tutor' ),
206 ),
207 'friday' => array(
208 'text' => _x( 'Friday', 'Week name', 'tutor' ),
209 ),
210 'saturday' => array(
211 'text' => _x( 'Saturday', 'Week name', 'tutor' ),
212 ),
213 'sunday' => array(
214 'text' => _x( 'Sunday', 'Week name', 'tutor' ),
215 ),
216
217 // Translate able month name.
218 'january' => array(
219 'text' => _x( 'January', 'Month name', 'tutor' ),
220 ),
221 'february' => array(
222 'text' => _x( 'February', 'Month name', 'tutor' ),
223 ),
224 'march' => array(
225 'text' => _x( 'March', 'Month name', 'tutor' ),
226 ),
227 'april' => array(
228 'text' => _x( 'April', 'Month name', 'tutor' ),
229 ),
230 'may' => array(
231 'text' => _x( 'May', 'Month name', 'tutor' ),
232 ),
233 'june' => array(
234 'text' => _x( 'June', 'Month name', 'tutor' ),
235 ),
236 'july' => array(
237 'text' => _x( 'July', 'Month name', 'tutor' ),
238 ),
239 'august' => array(
240 'text' => _x( 'August', 'Month name', 'tutor' ),
241 ),
242 'september' => array(
243 'text' => _x( 'September', 'Month name', 'tutor' ),
244 ),
245 'october' => array(
246 'text' => _x( 'October', 'Month name', 'tutor' ),
247 ),
248 'november' => array(
249 'text' => _x( 'November', 'Month name', 'tutor' ),
250 ),
251 'december' => array(
252 'text' => _x( 'December', 'Month name', 'tutor' ),
253 ),
254 'jan' => array(
255 'text' => _x( 'January', 'Month name', 'tutor' ),
256 ),
257 'feb' => array(
258 'text' => _x( 'February', 'Month name', 'tutor' ),
259 ),
260 'mar' => array(
261 'text' => _x( 'March', 'Month name', 'tutor' ),
262 ),
263 'apr' => array(
264 'text' => _x( 'April', 'Month name', 'tutor' ),
265 ),
266 'may' => array(
267 'text' => _x( 'May', 'Month name', 'tutor' ),
268 ),
269 'jun' => array(
270 'text' => _x( 'June', 'Month name', 'tutor' ),
271 ),
272 'jul' => array(
273 'text' => _x( 'July', 'Month name', 'tutor' ),
274 ),
275 'aug' => array(
276 'text' => _x( 'August', 'Month name', 'tutor' ),
277 ),
278 'sep' => array(
279 'text' => _x( 'September', 'Month name', 'tutor' ),
280 ),
281 'oct' => array(
282 'text' => _x( 'October', 'Month name', 'tutor' ),
283 ),
284 'nov' => array(
285 'text' => _x( 'November', 'Month name', 'tutor' ),
286 ),
287 'dec' => array(
288 'text' => _x( 'December', 'Month name', 'tutor' ),
289 ),
290 );
291 }
292