PluginProbe ʕ •ᴥ•ʔ
NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall / 4.8.8
NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall v4.8.8
4.9 4.8.8 4.8.7 4.8.6 trunk 4.5 4.5.1 4.5.10 4.5.11 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.6 4.6.1 4.7 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.8 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5
ninjafirewall / lib / i18n.php
ninjafirewall / lib Last commit date
share 9 years ago .htaccess 11 years ago anti_malware.php 5 years ago class-coupon.php 7 months ago class-email-sodium.php 1 month ago class-firewall-log.php 1 month ago class-helpers.php 9 months ago class-import-export.php 5 months ago class-ip.php 5 months ago class-nfw-database.php 7 months ago class-nfw-session.php 1 month ago class-php-session.php 1 year ago class-plugin-upgrade.php 1 month ago class_mail.php 1 month ago event_updates.php 11 months ago firewall.php 5 months ago fw_centlog.php 1 month ago fw_fileguard.php 5 months ago fw_livelog.php 1 year ago help.php 1 month ago helpers.php 1 month ago i18n-extra.php 1 month ago i18n.php 1 year ago index.html 13 years ago init_update.php 2 years ago install.php 1 year ago install_default.php 7 months ago loader.php 7 months ago mail_template_firewall.php 1 year ago mail_template_plugin.php 2 months ago scheduled_tasks.php 3 years ago settings_dashboard.php 2 months ago settings_dashboard_about.php 1 month ago settings_dashboard_statistics.php 2 months ago settings_event_notifications.php 2 months ago settings_events.php 2 months ago settings_firewall_options.php 2 months ago settings_firewall_policies.php 1 month ago settings_login_protection.php 2 months ago settings_logs.php 2 months ago settings_logs_firewall_log.php 1 month ago settings_logs_live_log.php 2 months ago settings_monitoring.php 1 month ago settings_monitoring_file_check.php 2 months ago settings_monitoring_file_guard.php 2 months ago settings_network.php 2 months ago settings_security_rules.php 2 months ago settings_security_rules_editor.php 2 months ago settings_security_rules_update.php 1 month ago sign.pub 7 years ago thickbox.php 4 years ago widget.php 3 years ago wpplus.php 5 months ago
i18n.php
55 lines
1 <?php
2 /*
3 +=====================================================================+
4 | _ _ _ _ _____ _ _ _ |
5 | | \ | (_)_ __ (_) __ _| ___(_)_ __ _____ ____ _| | | |
6 | | \| | | '_ \ | |/ _` | |_ | | '__/ _ \ \ /\ / / _` | | | |
7 | | |\ | | | | || | (_| | _| | | | | __/\ V V / (_| | | | |
8 | |_| \_|_|_| |_|/ |\__,_|_| |_|_| \___| \_/\_/ \__,_|_|_| |
9 | |__/ |
10 | (c) NinTechNet Limited ~ https://nintechnet.com/ |
11 +=====================================================================+
12 */
13
14 /**
15 * Since WP 6.7, translation loading must not be triggered too early.
16 */
17 function nfw_wp_i18n_definitions() {
18
19 global $err_fw;
20
21 $null = esc_html__('A true Web Application Firewall to protect and secure WordPress.', 'ninjafirewall');
22 $err_fw = [
23 1 => esc_html__('Cannot find WordPress configuration file', 'ninjafirewall'),
24 2 => esc_html__('Cannot read WordPress configuration file', 'ninjafirewall'),
25 3 => esc_html__('Cannot retrieve WordPress database credentials', 'ninjafirewall'),
26 4 => esc_html__('Cannot connect to WordPress database', 'ninjafirewall'),
27 5 => esc_html__('Cannot retrieve user options from database (#2)', 'ninjafirewall'),
28 6 => esc_html__('Cannot retrieve user options from database (#3)', 'ninjafirewall'),
29 7 => esc_html__('Cannot retrieve user rules from database (#2)', 'ninjafirewall'),
30 8 => esc_html__('Cannot retrieve user rules from database (#3)', 'ninjafirewall'),
31 9 => sprintf(
32 esc_html__('The firewall has been disabled from the %1$sadministration console%2$s', 'ninjafirewall'),
33 '<a href="admin.php?page=nfsubopt">', '</a>'
34 ),
35 10 => esc_html__('Unable to communicate with the firewall. Please check your settings', 'ninjafirewall'),
36 11 => esc_html__('Cannot retrieve user options from database (#1)', 'ninjafirewall'),
37 12 => esc_html__('Cannot retrieve user rules from database (#1)', 'ninjafirewall'),
38 13 => sprintf(
39 esc_html__('The firewall cannot access its log and cache folders. If you changed the name of WordPress %1$s or %2$s folders, you must define NinjaFirewall\'s built-in %3$s constant (see %4$s for more info)', 'ninjafirewall'),
40 '<code>/wp-content/</code>',
41 '<code>/plugins/</code>',
42 '<code>NFW_LOG_DIR</code>',
43 "<a href='https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/' target='_blank'>Path to NinjaFirewall's log and cache directory</a>"
44 ),
45 14 => esc_html__('The PHP msqli extension is missing or not loaded.', 'ninjafirewall'),
46 15 => esc_html__('Cannot retrieve user options from database (#4)', 'ninjafirewall'),
47 16 => esc_html__('Cannot retrieve user rules from database (#4)', 'ninjafirewall')
48 ];
49 }
50
51 add_action('init', 'nfw_wp_i18n_definitions');
52
53 // ---------------------------------------------------------------------
54 // EOF
55