Skip to content

Commit a9f8726

Browse files
committed
refacotr: Follow core development
1 parent 2e326a9 commit a9f8726

3 files changed

Lines changed: 22 additions & 23 deletions

File tree

language/english/admin/core_lang.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
$lang['admin_content'] = 'Content';
1919
$lang['admin_database_backup'] = 'Database Backups';
2020
$lang['admin_extensions'] = 'Extensions';
21-
$lang['admin_footer_left'] = 'Thank you for creating with <a href="%s" target="_blank">%s</a>.';
21+
$lang['admin_footer_left'] = 'Thank you for creating with <a href="%s" target="_blank" rel="nofollow noopener">%s</a>.';
2222
$lang['admin_footer_right'] = 'Version: <b>%s</b>';
2323
$lang['admin_help'] = 'Help';
2424
$lang['admin_logs'] = 'System Logs';
@@ -28,7 +28,7 @@
2828
$lang['admin_reports'] = 'Activity Log';
2929
$lang['admin_system'] = 'System';
3030
$lang['admin_themes'] = 'Themes';
31-
$lang['admin_update_notice'] = '<a href="%2$s" target="_blank">Version <b>%1$s</b> is now available!</a>';
31+
$lang['admin_update_notice'] = '<a href="%2$s" target="_blank" rel="nofollow noopener">Version <b>%1$s</b> is now available!</a>';
3232
$lang['admin_users'] = 'Users';
3333
$lang['admin_view_site'] = 'View Site';
3434
$lang['settings_global'] = 'Global Settings';
@@ -122,13 +122,13 @@
122122
$lang['base_controller'] = 'Base Controller';
123123
$lang['base_controller_tip'] = 'The controller used as your default homepage.';
124124
$lang['contact_email'] = 'Contact Email';
125-
$lang['contact_email_tip'] = 'The email address to which contact form messages are sent.';
125+
$lang['contact_email_tip'] = 'Public email address visitors can use to reach you.';
126126
$lang['date_format'] = 'Date Format';
127127
$lang['date_format_tip'] = 'Choose the date format you want to use.';
128128
$lang['demo_mode'] = 'Demo Mode';
129129
$lang['demo_mode_tip'] = 'Choose whether to put the site on demo-mode.';
130130
$lang['discord_auth'] = 'Login with Discord';
131-
$lang['discord_auth_tip'] = 'Allow users to log in with <a href="https://discord.com/developers" target="_blank">Discord</a>.';
131+
$lang['discord_auth_tip'] = 'Allow users to log in with <a href="https://discord.com/developers" target="_blank" rel="nofollow noopener">Discord</a>.';
132132
$lang['discord_client_id'] = 'Client ID';
133133
$lang['discord_client_id_tip'] = 'Enter your Discord application client ID.';
134134
$lang['discord_client_secret'] = 'Client Secret';
@@ -143,19 +143,19 @@
143143
$lang['facebook_app_secret'] = 'Client Secret';
144144
$lang['facebook_app_secret_tip'] = 'Enter your Facebook application secret key.';
145145
$lang['facebook_auth'] = 'Login with Facebook';
146-
$lang['facebook_auth_tip'] = 'Allow users to log in with <a href="https://developers.facebook.com/apps/" target="_blank">Facebook</a>.';
146+
$lang['facebook_auth_tip'] = 'Allow users to log in with <a href="https://developers.facebook.com/apps/" target="_blank" rel="nofollow noopener">Facebook</a>.';
147147
$lang['facebook_pixel_id'] = 'Facebook Pixel ID';
148148
$lang['facebook_pixel_id_tip'] = 'Your Facebook Pixel ID. Used to track visits and conversions. You can find it in Events Manager under your pixel\'s settings.';
149149
$lang['github_auth'] = 'Login with GitHub';
150-
$lang['github_auth_tip'] = 'Allow users to log in with <a href="https://github.com/" target="_blank">GitHub</a>.';
150+
$lang['github_auth_tip'] = 'Allow users to log in with <a href="https://github.com/" target="_blank" rel="nofollow noopener">GitHub</a>.';
151151
$lang['github_client_id'] = 'Client ID';
152152
$lang['github_client_id_tip'] = 'Enter your GitHub application client ID.';
153153
$lang['github_client_secret'] = 'Client Secret';
154154
$lang['github_client_secret_tip'] = 'Enter your GitHub application secret key.';
155155
$lang['google_analytics_id'] = 'Google Analytics ID';
156156
$lang['google_analytics_id_tip'] = 'Enter your Google Analytics Tracking ID.';
157157
$lang['google_auth'] = 'Login with Google';
158-
$lang['google_auth_tip'] = 'Allow users to log in with <a href="https://console.cloud.google.com/" target="_blank">Google</a>.';
158+
$lang['google_auth_tip'] = 'Allow users to log in with <a href="https://console.cloud.google.com/" target="_blank" rel="nofollow noopener">Google</a>.';
159159
$lang['google_client_id'] = 'Client ID';
160160
$lang['google_client_id_tip'] = 'Enter your Google application client ID.';
161161
$lang['google_client_secret'] = 'Client Secret';
@@ -171,7 +171,7 @@
171171
$lang['imgur_client_secret'] = 'Client Secret';
172172
$lang['imgur_client_secret_tip'] = 'Enter your Imgur application secret key.';
173173
$lang['linkedin_auth'] = 'Login with LinkedIn';
174-
$lang['linkedin_auth_tip'] = 'Allow users to log in with <a href="https://developer.linkedin.com/" target="_blank">LinkedIn</a>.';
174+
$lang['linkedin_auth_tip'] = 'Allow users to log in with <a href="https://developer.linkedin.com/" target="_blank" rel="nofollow noopener">LinkedIn</a>.';
175175
$lang['linkedin_client_id'] = 'Client ID';
176176
$lang['linkedin_client_id_tip'] = 'Enter your LinkedIn application client ID.';
177177
$lang['linkedin_client_secret'] = 'Client Secret';
@@ -206,10 +206,11 @@
206206
$lang['offline_access_level_tip'] = 'The minimum level capable to login while in maintenance mode.';
207207
$lang['per_page'] = 'Per Page';
208208
$lang['per_page_tip'] = 'How many items are shown on pages using pagination?';
209-
$lang['recaptcha_private_key'] = 'Private reCAPTCHA Key';
210-
$lang['recaptcha_private_key_tip'] = 'Enter the reCAPTCHA private key provided by Google.';
211-
$lang['recaptcha_site_key'] = 'Site reCAPTCHA Key';
212-
$lang['recaptcha_site_key_tip'] = 'Enter the reCAPTCHA site key provided by Google.';
209+
$lang['pwa'] = 'PWA';
210+
$lang['recaptcha_secret_key'] = 'reCAPTCHA Secret Key';
211+
$lang['recaptcha_secret_key_tip'] = 'Enter your reCAPTCHA secret key provided by Google.';
212+
$lang['recaptcha_site_key'] = 'reCAPTCHA Site Key';
213+
$lang['recaptcha_site_key_tip'] = 'Enter your reCAPTCHA site key provided by Google.';
213214
$lang['sendmail_path'] = 'Sendmail Path';
214215
$lang['sendmail_path_tip'] = 'Enter the sendmail path. Default: /usr/sbin/sendmail. Required only if using the Sendmail protocol.';
215216
$lang['server_email'] = 'Server Email';
@@ -263,17 +264,16 @@
263264
$lang['upload_path_tip'] = 'The path where different allowed files are uploaded to. Default: content/uploads/';
264265
$lang['upload_year_month'] = 'Year/Month based folders';
265266
$lang['upload_year_month_tip'] = 'Organize uploads into year/month based folders.';
266-
$lang['use_captcha'] = 'Use captcha';
267-
$lang['use_captcha_tip'] = 'Whether to enable Captcha on some site forms.';
267+
$lang['use_captcha'] = 'Enable CAPTCHA';
268+
$lang['use_captcha_tip'] = 'Whether to enable CAPTCHA on some site forms.';
268269
$lang['use_gravatar'] = 'Use Gravatar';
269270
$lang['use_gravatar_tip'] = 'Use Gravatar or allow users to upload their avatars.';
270271
$lang['use_imgur'] = 'Upload to Imgur.com';
271-
$lang['use_imgur_tip'] = 'Upload your images to Imgur instead (<a href="https://api.imgur.com/oauth2/addclient" target="_blank">Requires App</a>).';
272+
$lang['use_imgur_tip'] = 'Upload your images to Imgur instead (<a href="https://api.imgur.com/oauth2/addclient" target="_blank" rel="nofollow noopener">Requires App</a>).';
272273
$lang['use_manifest'] = 'Enable Progressive Web App';
273274
$lang['use_manifest_tip'] = 'A "manifest.json" file is a JSON file that provides metadata about a site or web application, primarily to enhance how the site behaves on mobile devices and how it can be added to the user\'s home screen as a Progressive Web App (PWA).';
274275
$lang['use_recaptcha'] = 'Use reCAPTCHA';
275-
$lang['use_recaptcha_tip'] = 'Use Google reCAPTCHA if enabled, or use CiSkeleton\'s built-in captcha if Use captcha is set to Yes.';
276-
$lang['pwa'] = 'PWA';
276+
$lang['use_recaptcha_tip'] = 'Whether to use Google reCAPTCHA. Requires valid site and secret keys, and CAPTCHA to be enabled.';
277277

278278
// System Information
279279
$lang['sysinfo_database_type'] = 'Database Type';

language/english/core_lang.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
$lang['banned'] = 'Banned';
7171
$lang['both'] = 'Both';
7272
$lang['cancel'] = 'Cancel';
73-
$lang['cannot_display_download'] = 'Unable to display file. <a href="%s" target="_blank">Download</a> instead.';
74-
$lang['captcha'] = 'Captcha';
73+
$lang['cannot_display_download'] = 'Unable to display file. <a href="%s" target="_blank" rel="nofollow noopener">Download</a> instead.';
74+
$lang['captcha'] = 'CAPTCHA';
7575
$lang['check_inbox_or_spam'] = 'Check your inbox or spam.';
7676
$lang['city'] = 'City';
7777
$lang['click_here'] = 'Click Here';
@@ -80,8 +80,6 @@
8080
$lang['company'] = 'Company';
8181
$lang['confirm'] = 'Confirm';
8282
$lang['confirm_password'] = 'Confirm password';
83-
$lang['contact'] = 'Contact';
84-
$lang['contact_us'] = 'Contact Us';
8583
$lang['content'] = 'Content';
8684
$lang['cookie_consent'] = 'We use cookies to understand how visitors interact with our website and to improve its functionality.';
8785
$lang['copy'] = 'Copy';
@@ -144,7 +142,6 @@
144142
$lang['error_404'] = 'Whoops! Sorry but...';
145143
$lang['error_404_body'] = 'We cannot find the page you\'re looking for.';
146144
$lang['error_404_uri'] = 'Error 404 (Not Found) !! %s';
147-
$lang['error_captcha'] = 'The captcha code you entered is incorrect.';
148145
$lang['error_component_disabled'] = 'This component is disabled. Enable it on the dashboard in order to use it.';
149146
$lang['error_csrf'] = 'This action did not pass our security controls.';
150147
$lang['error_logged_in'] = 'You are already logged in.';
@@ -272,7 +269,7 @@
272269
$lang['plugin'] = 'Plugin';
273270
$lang['popular'] = 'Popular';
274271
$lang['powered_by'] = 'Powered by %s';
275-
$lang['powered_by_url'] = 'Powered by <a href="%2$s" target="_blank">%1$s</a>';
272+
$lang['powered_by_url'] = 'Powered by <a href="%2$s" target="_blank" rel="nofollow noopener">%1$s</a>';
276273
$lang['premium'] = 'Premium';
277274
$lang['prev'] = 'Prev.';
278275
$lang['preview'] = 'Preview';

language/english/form_validation_lang.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@
4747
$lang['form_validation_exact_words'] = 'The {field} field must contain exactly {param} words.';
4848
$lang['form_validation_alpha_dash_space'] = 'The {field} field may only contain alpha-numeric characters, underscores, dashes, and spaces.';
4949
$lang['form_validation_strong_password'] = 'For your safety, please choose a stronger password.';
50+
$lang['form_validation_valid_captcha'] = 'The CAPTCHA code you entered is incorrect.';
51+
$lang['form_validation_valid_recaptcha'] = 'Please confirm that you are not a robot.';

0 commit comments

Comments
 (0)