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.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
theme-compatibility 4 years ago tinymce_translate.php 4 years ago translate-text.php 3 years ago tutor-general-functions.php 3 years ago tutor-template-functions.php 3 years ago tutor-template-hook.php 4 years ago
translate-text.php
188 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 'processing' => array(
72 'badge' => 'warning',
73 'text' => __( 'Processing', 'tutor' ),
74 ),
75 'cancelled' => array(
76 'badge' => 'danger',
77 'text' => __( 'Cancelled', 'tutor' ),
78 ),
79 'canceled' => array(
80 'badge' => 'danger',
81 'text' => __( 'Cancelled', 'tutor' ),
82 ),
83 'blocked' => array(
84 'badge' => 'danger',
85 'text' => __( 'Blocked', 'tutor' ),
86 ),
87 'cancel' => array(
88 'badge' => 'danger',
89 'text' => __( 'Cancelled', 'tutor' ),
90 ),
91 'on-hold' => array(
92 'badge' => 'warning',
93 'text' => __( 'On Hold', 'tutor' ),
94 ),
95 'onhold' => array(
96 'badge' => 'warning',
97 'text' => __( 'On Hold', 'tutor' ),
98 ),
99 'wc-on-hold' => array(
100 'badge' => 'warning',
101 'text' => __( 'On Hold', 'tutor' ),
102 ),
103 'publish' => array(
104 'badge' => 'success',
105 'text' => __( 'Publish', 'tutor' ),
106 ),
107 'trash' => array(
108 'badge' => 'danger',
109 'text' => __( 'Trash', 'tutor' ),
110 ),
111 'draft' => array(
112 'badge' => 'warning',
113 'text' => __( 'Draft', 'tutor' ),
114 ),
115 'private' => array(
116 'badge' => 'warning',
117 'text' => __( 'Private', 'tutor' ),
118 ),
119 'true' => array(
120 'text' => _x( 'True', 'true/false question options', 'tutor' ),
121 ),
122 'false' => array(
123 'text' => _x( 'False', 'true/false question options', 'tutor' ),
124 ),
125
126 // Translate able week name.
127 'monday' => array(
128 'text' => _x( 'Monday', 'Week name', 'tutor' ),
129 ),
130 'tuesday' => array(
131 'text' => _x( 'Tuesday', 'Week name', 'tutor' ),
132 ),
133 'wednesday' => array(
134 'text' => _x( 'Wednesday', 'Week name', 'tutor' ),
135 ),
136 'thursday' => array(
137 'text' => _x( 'Thursday', 'Week name', 'tutor' ),
138 ),
139 'friday' => array(
140 'text' => _x( 'Friday', 'Week name', 'tutor' ),
141 ),
142 'saturday' => array(
143 'text' => _x( 'Saturday', 'Week name', 'tutor' ),
144 ),
145 'sunday' => array(
146 'text' => _x( 'Sunday', 'Week name', 'tutor' ),
147 ),
148
149 // Translate able month name.
150 'january' => array(
151 'text' => _x( 'January', 'Month name', 'tutor' ),
152 ),
153 'february' => array(
154 'text' => _x( 'February', 'Month name', 'tutor' ),
155 ),
156 'march' => array(
157 'text' => _x( 'March', 'Month name', 'tutor' ),
158 ),
159 'april' => array(
160 'text' => _x( 'April', 'Month name', 'tutor' ),
161 ),
162 'may' => array(
163 'text' => _x( 'May', 'Month name', 'tutor' ),
164 ),
165 'june' => array(
166 'text' => _x( 'June', 'Month name', 'tutor' ),
167 ),
168 'july' => array(
169 'text' => _x( 'July', 'Month name', 'tutor' ),
170 ),
171 'august' => array(
172 'text' => _x( 'August', 'Month name', 'tutor' ),
173 ),
174 'september' => array(
175 'text' => _x( 'September', 'Month name', 'tutor' ),
176 ),
177 'october' => array(
178 'text' => _x( 'October', 'Month name', 'tutor' ),
179 ),
180 'november' => array(
181 'text' => _x( 'November', 'Month name', 'tutor' ),
182 ),
183 'december' => array(
184 'text' => _x( 'December', 'Month name', 'tutor' ),
185 ),
186 );
187 }
188