PluginProbe
LoginPress | wp-login Custom Login Page Customizer / trunk
LoginPress | wp-login Custom Login Page Customizer vtrunk
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.3 1.0.4 All 118 releases
loginpress / include / customizer-strings.php

customizer-strings.php in LoginPress | wp-login Custom Login Page Customizer trunk, at include/customizer-strings.php

341 lines 12.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * LoginPress Customizer Strings.
4 *
5 * Customizer strings for the logo control.
6 *
7 * @package LoginPress
8 * @since 1.1.3
9 * @version 6.2.0
10 */
11
12 $loginpress_logo_range_control = array( 'customize_logo_width', 'customize_logo_height', 'customize_logo_padding' );
13 $loginpress_logo_range_default = array( '84', '84', '0' );
14 $loginpress_logo_range_label = array( esc_html__( 'Logo Width:', 'loginpress' ), esc_html__( 'Logo Height:', 'loginpress' ), esc_html__( 'Space Bottom:', 'loginpress' ) );
15 $loginpress_logo_range_attrs = array(
16 array(
17 'min' => 0,
18 'max' => 500,
19 'step' => 1,
20 'suffix' => 'px',
21 ),
22 array(
23 'min' => 0,
24 'max' => 500,
25 'step' => 1,
26 'suffix' => 'px',
27 ),
28 array(
29 'min' => 0,
30 'max' => 100,
31 'step' => 1,
32 'suffix' => 'px',
33 ),
34 );
35 $loginpress_logo_range_unit = array( 'px', 'px', 'px' );
36
37 /**
38 * Customizer strings for the grouping control.
39 *
40 * @since 1.1.3
41 * @version 6.2.0
42 */
43
44 $loginpress_group_control = array( 'login_input_group', 'login_label_group', 'login_form_group', 'footer_form_group', 'footer_back_group', 'footer_group', 'bg_image_group', 'bg_video_group', 'logo_group', 'login_page_meta_group', 'random_bg_group' );
45 $loginpress_group_label = array(
46 __( 'Input Fields:', 'loginpress' ),
47 __( 'Input Field Labels:', 'loginpress' ),
48 __( 'Login Form:', 'loginpress' ),
49 __( 'Lost Your Password Text', 'loginpress' ),
50 __( 'Back To Site Text', 'loginpress' ),
51 __( 'LoginPress Footer Text', 'loginpress' ),
52 __( 'Background Image', 'loginpress' ),
53 __( 'Background Video', 'loginpress' ),
54 __( 'Form Logo', 'loginpress' ),
55 __( 'Login Page Meta', 'loginpress' ),
56 __( 'Random Background Images', 'loginpress' ),
57 );
58 $loginpress_group_info = array(
59 __( 'This section helps you to easily Customize the login form input field elements.', 'loginpress' ),
60 __( 'This section helps you to easily Customize the login form input field labels.', 'loginpress' ),
61 __( 'This section helps you to easily Customize the login form elements whether they are form labels, fields or backgrounds.', 'loginpress' ),
62 __( ' Customize the "Lost your password" and "Register" text section under the form.', 'loginpress' ),
63 __( 'Customize the "Back to" text section under the form.', 'loginpress' ),
64 __( 'Customize the copyright note and branding sections at the footer of login page.', 'loginpress' ),
65 __( 'Customize the background Image.', 'loginpress' ),
66 __( 'Customize the background Video.', 'loginpress' ),
67 __( 'Customize the form logo.', 'loginpress' ),
68 __( 'Customize the login page meta tags.', 'loginpress' ),
69 __( 'Customize the Random background images.', 'loginpress' ),
70 );
71 /** ------------------Grouping Control-------------------- */
72
73 /**
74 * [ Customizer strings for the section login form. ]
75 *
76 * @since 1.1.3
77 * @version 6.2.0
78 */
79 $loginpress_form_range_control = array( 'customize_form_width', 'customize_form_height', 'customize_form_radius', 'customize_form_shadow', 'customize_form_opacity', 'textfield_width', 'textfield_radius', 'textfield_shadow', 'textfield_shadow_opacity', 'customize_form_label', 'remember_me_font_size' );
80 $loginpress_form_range_default = array( '350', '200', '0', '0', '0', '100', '0', '0', '80', '14', '13' );
81 $loginpress_form_range_label = array(
82 __( 'Form Width:', 'loginpress' ),
83 __( 'Form Minimum Height:', 'loginpress' ),
84 __( 'Form Radius:', 'loginpress' ),
85 __( 'Form Shadow:', 'loginpress' ),
86 __( 'Form Shadow Opacity:', 'loginpress' ),
87 __( 'Input Text Field Width:', 'loginpress' ),
88 __( 'Input Text Field Radius:', 'loginpress' ),
89 __( 'Input Text Field Shadow:', 'loginpress' ),
90 __( 'Input Text Field Shadow Opacity:', 'loginpress' ),
91 __( 'Input Field Label Font Size:', 'loginpress' ),
92 __( 'Remember Me Font Size:', 'loginpress' ),
93 );
94 $loginpress_form_range_attrs = array(
95 array(
96 'min' => 320,
97 'max' => 800,
98 'step' => 1,
99 'suffix' => 'px',
100 ), // form width.
101 array(
102 'min' => 0,
103 'max' => 500,
104 'step' => 1,
105 'suffix' => 'px',
106 ), // form height.
107 array(
108 'min' => 0,
109 'max' => 100,
110 'step' => 1,
111 'suffix' => 'px',
112 ), // form radius.
113 array(
114 'min' => 0,
115 'max' => 30,
116 'step' => 1,
117 'suffix' => 'px',
118 ), // form shadow.
119 array(
120 'min' => 0,
121 'max' => 100,
122 'step' => 1,
123 'suffix' => '%',
124 ), // form Opacity.
125 array(
126 'min' => 0,
127 'max' => 100,
128 'step' => 1,
129 'suffix' => '%',
130 ), // textfield width.
131 array(
132 'min' => 0,
133 'max' => 30,
134 'step' => 1,
135 'suffix' => 'px',
136 ), // textfield radius.
137 array(
138 'min' => 0,
139 'max' => 30,
140 'step' => 1,
141 'suffix' => 'px',
142 ), // textfield shadow.
143 array(
144 'min' => 0,
145 'max' => 100,
146 'step' => 1,
147 'suffix' => '%',
148 ), // textfield Opacity.
149 array(
150 'min' => 9,
151 'max' => 30,
152 'step' => 1,
153 'suffix' => 'px',
154 ), // textfield label.
155 array(
156 'min' => 9,
157 'max' => 30,
158 'step' => 1,
159 'suffix' => 'px',
160 ), // readme label.
161 );
162 $loginpress_form_range_unit = array( 'px', 'px', 'px', 'px', '%', '%', 'px', 'px', '%', 'px', 'px' );
163 // @version 6.2.0. Added default value for visibility_icon_color color.
164 $loginpress_form_color_control = array( 'form_background_color', 'textfield_background_color', 'textfield_color', 'visibility_icon_color', 'textfield_label_color', 'remember_me_label_size' );
165 $loginpress_form_color_default = array( '#FFF', '#FFF', '#333', '#333', '#777', '#72777c' );
166 $loginpress_form_color_label = array(
167 __( 'Form Background Color:', 'loginpress' ),
168 __( 'Input Field Background Color:', 'loginpress' ),
169 __( 'Input Field Text Color:', 'loginpress' ),
170 __( 'Password Eye Icon & checkbox color:', 'loginpress' ),
171 __( 'Input Field Label Color:', 'loginpress' ),
172 __( 'Remember me Label Color:', 'loginpress' ),
173 );
174 // --------------------
175 $loginpress_form_control = array( 'customize_form_padding', 'customize_form_border', 'textfield_margin', 'form_username_label', 'form_password_label' );
176 $loginpress_form_default = array( '', '', '2px 6px 18px 0px', __( 'Username or Email Address', 'loginpress' ), __( 'Password', 'loginpress' ) );
177 $loginpress_form_label = array(
178 __( 'Form Padding:', 'loginpress' ),
179 __( 'Border (Example: 2px dotted black):', 'loginpress' ),
180 __( 'Input Text Field Margin:', 'loginpress' ),
181 __( 'Username Label:', 'loginpress' ),
182 __( 'Password Label:', 'loginpress' ),
183 );
184 $loginpress_form_sanitization = array( 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags', 'wp_strip_all_tags' );
185 /** -----------------Section Login Form------------------ */
186
187 /**
188 * [ Customizer strings for the section button beauty. ]
189 *
190 * @since 1.1.3
191 * @version 6.2.0
192 */
193 $loginpress_button_control = array( 'custom_button_color', 'button_border_color', 'button_hover_color', 'button_hover_border', 'custom_button_shadow', 'button_text_color', 'button_hover_text_color' );
194 $loginpress_button_default = array( '#F6366A', '#F6366A', '#1E8CBE', '#0074A2', '#78C8E6', '#FFF', '#FFF' );
195 $loginpress_button_label = array(
196 __( 'Button Color:', 'loginpress' ),
197 __( 'Button Border Color:', 'loginpress' ),
198 __( 'Button Color (Hover):', 'loginpress' ),
199 __( 'Button Border (Hover):', 'loginpress' ),
200 __( 'Button Box Shadow:', 'loginpress' ),
201 __( 'Button Text Color:', 'loginpress' ),
202 __( 'Button Text Color (Hover):', 'loginpress' ),
203 );
204
205 $loginpress_button_range_control = array( 'login_button_size', 'login_button_top', 'login_button_bottom', 'login_button_radius', 'login_button_shadow', 'login_button_shadow_opacity', 'login_button_text_size' );
206 $loginpress_button_range_default = array( '100', '13', '13', '5', '0', '80', '15' );
207 $loginpress_button_range_label = array( __( 'Button Size:', 'loginpress' ), __( 'Button Top Padding:', 'loginpress' ), __( 'Button Bottom Padding:', 'loginpress' ), __( 'Radius:', 'loginpress' ), __( 'Shadow:', 'loginpress' ), __( 'Shadow Opacity:', 'loginpress' ), __( 'Text Size:', 'loginpress' ) );
208 $loginpress_button_range_attrs = array(
209 array(
210 'min' => 20,
211 'max' => 100,
212 'step' => 1,
213 'suffix' => '%',
214 ),
215 array(
216 'min' => 0,
217 'max' => 30,
218 'step' => 1,
219 'suffix' => 'px',
220 ),
221 array(
222 'min' => 0,
223 'max' => 30,
224 'step' => 1,
225 'suffix' => 'px',
226 ),
227 array(
228 'min' => 0,
229 'max' => 50,
230 'step' => 1,
231 'suffix' => 'px',
232 ),
233 array(
234 'min' => 0,
235 'max' => 30,
236 'step' => 1,
237 'suffix' => 'px',
238 ),
239 array(
240 'min' => 0,
241 'max' => 100,
242 'step' => 1,
243 'suffix' => 'px',
244 ),
245 array(
246 'min' => 7,
247 'max' => 35,
248 'step' => 1,
249 'suffix' => 'px',
250 ),
251 );
252 $loginpress_button_range_unit = array( '%', 'px', 'px', 'px', 'px', '%', 'px' );
253 /** -----------------Section Button Beauty------------------ */
254
255 /**
256 * [ Customizer strings for the group close. ]
257 *
258 * @since 1.1.3
259 * @version 6.2.0
260 */
261 $loginpress_close_control = array( 'login_input_br', 'login_label_br', 'login_form_br', 'footer_form_br', 'footer_back_br', 'footer_br' );
262 /** -----------------Section Login Footer------------------ */
263
264 /**
265 * [ Customizer strings for the error messages. ]
266 *
267 * @since 1.1.22
268 * @version 6.2.0
269 */
270 $loginpress_error_control = array( 'incorrect_username', 'incorrect_password', 'empty_username', 'empty_password', 'invalid_email', 'empty_email', 'username_exists', 'email_exists', 'invalidcombo_message', 'force_email_login', 'password_mismatch' );
271 $loginpress_error_default = array(
272
273 // translators: 1: Opening strong tag, 2: Closing strong tag.
274 sprintf( __( '%1$sError:%2$s Invalid Username.', 'loginpress' ), '<strong>', '</strong>' ),
275
276 // translators: 1: Opening strong tag, 2: Closing strong tag.
277 sprintf( __( '%1$sError:%2$s Invalid Password.', 'loginpress' ), '<strong>', '</strong>' ),
278
279 // translators: 1: Opening strong tag, 2: Closing strong tag.
280
281 sprintf( __( '%1$sError:%2$s The username field is empty.', 'loginpress' ), '<strong>', '</strong>' ),
282
283 // translators: 1: Opening strong tag, 2: Closing strong tag.
284 sprintf( __( '%1$sError:%2$s The password field is empty.', 'loginpress' ), '<strong>', '</strong>' ),
285
286 // translators: 1: Opening strong tag, 2: Closing strong tag.
287 sprintf( __( '%1$sError:%2$s The email address isn\'t correct.', 'loginpress' ), '<strong>', '</strong>' ),
288
289 // translators: 1: Opening strong tag, 2: Closing strong tag.
290 sprintf( __( '%1$sError:%2$s Please type your email address.', 'loginpress' ), '<strong>', '</strong>' ),
291
292 // translators: 1: Opening strong tag, 2: Closing strong tag.
293 sprintf( __( '%1$sError:%2$s This username is already registered. Please choose another one.', 'loginpress' ), '<strong>', '</strong>' ),
294
295 // translators: 1: Opening strong tag, 2: Closing strong tag.
296 sprintf( __( '%1$sError:%2$s This email is already registered, please choose another one.', 'loginpress' ), '<strong>', '</strong>' ),
297
298 // translators: 1: Opening strong tag, 2: Closing strong tag.
299 sprintf( __( '%1$sError:%2$s Invalid username or email.', 'loginpress' ), '<strong>', '</strong>' ),
300
301 // translators: 1: Opening strong tag, 2: Closing strong tag.
302 sprintf( __( '%1$sError:%2$s Invalid Email Address.', 'loginpress' ), '<strong>', '</strong>' ),
303
304 // translators: 1: Opening strong tag, 2: Closing strong tag.
305 sprintf( __( '%1$sError:%2$s Passwords Don\'t match.', 'loginpress' ), '<strong>', '</strong>' ),
306
307 );
308
309 $loginpress_error_label = array(
310 __( 'Incorrect Username Message:', 'loginpress' ),
311 __( 'Incorrect Password Message:', 'loginpress' ),
312 __( 'Empty Username Message:', 'loginpress' ),
313 __( 'Empty Password Message:', 'loginpress' ),
314 __( 'Invalid Email Message:', 'loginpress' ),
315 __( 'Empty Email Message:', 'loginpress' ),
316 __( 'Username Already Exist Message:', 'loginpress' ),
317 __( 'Email Already Exist Message:', 'loginpress' ),
318 __( 'Forget Password Message:', 'loginpress' ),
319 __( 'Login with Email Message:', 'loginpress' ),
320 __( 'Passwords Don\'t match:', 'loginpress' ),
321
322 );
323 /** -----------------Error Section------------------ */
324
325 /**
326 * [ Customizer strings for the welcome messages. ]
327 *
328 * @since 1.1.22
329 * @version 6.2.0
330 */
331 $loginpress_welcome_control = array( 'lostpwd_welcome_message', 'welcome_message', 'register_welcome_message', 'logout_message', 'message_background_border' );
332 $loginpress_welcome_default = array( 'Forgot password?', 'Welcome', 'Register For This Site', 'Logout', '' );
333 $loginpress_welcome_label = array(
334 __( 'Welcome Message on Lost Password:', 'loginpress' ),
335 __( 'Welcome Message on Login Page:', 'loginpress' ),
336 __( 'Welcome Message on Registration:', 'loginpress' ),
337 __( 'Logout Message:', 'loginpress' ),
338 __( 'Message Field Border: ( Example: 1px solid #00a0d2; )', 'loginpress' ),
339 );
340 $loginpress_welcome_sanitization = array( 'wp_kses_post', 'wp_kses_post', 'wp_kses_post', 'wp_kses_post', 'wp_strip_all_tags' );
341