Skip to content

Commit 96acb8c

Browse files
authored
Merge pull request #5 from Bit-Apps-Pro/hotfix/translator-text-domain
fix: translation slug issue
2 parents 65587f2 + b013b64 commit 96acb8c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Installer.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,28 +111,28 @@ public function checkRequirements()
111111
if (version_compare(PHP_VERSION, $this->_requirements['php'], '<')) {
112112
// Str From WP install script
113113
wp_die(
114-
esc_html__(
114+
esc_html(
115115
sprintf(
116116
// translators: 1: Current PHP version, 2: Version required by the uploaded plugin.
117-
__('The PHP version on your server is %1$s, however the uploaded plugin requires %2$s.'),
117+
'The PHP version on your server is %1$s, however the uploaded plugin requires %2$s.',
118118
PHP_VERSION,
119119
$this->_requirements['php']
120120
)
121121
),
122-
esc_html__('Requirements Not Met')
122+
esc_html('Requirements Not Met')
123123
);
124124
}
125125

126126
if (version_compare(get_bloginfo('version'), $this->_requirements['wp'], '<')) {
127127
wp_die(
128-
esc_html__(
128+
esc_html(
129129
sprintf(
130130
// translators: 1: Current WordPress version, 2: Version required by the uploaded plugin.
131-
__('Your WordPress version is %1$s, however the uploaded plugin requires %2$s.'),
131+
'Your WordPress version is %1$s, however the uploaded plugin requires %2$s.',
132132
get_bloginfo('version'),
133133
$this->_requirements['wp']
134134
),
135-
esc_html__('Requirements Not Met')
135+
esc_html('Requirements Not Met')
136136
)
137137
);
138138
}

0 commit comments

Comments
 (0)