Converter for Media – Optimize images | Convert WebP & AVIF - Version 1.3.1

Version Description

(2020-07-03) = * [Fixed] Text Domain for Internationalization

Download this release

Release Info

Developer mateuszgbiorczyk
Plugin Icon 128x128 Converter for Media – Optimize images | Convert WebP & AVIF
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

app/Admin/Activation.php CHANGED
@@ -24,7 +24,7 @@
24
 
25
  deactivate_plugins(basename(WEBPC_FILE));
26
  wp_die(sprintf(
27
- __('%sWebP Converter for Media%s plugin requires a minimum PHP %s version. Sorry about that!', 'webp-converter'),
28
  '<strong>',
29
  '</strong>',
30
  $this->phpVersion
24
 
25
  deactivate_plugins(basename(WEBPC_FILE));
26
  wp_die(sprintf(
27
+ __('%sWebP Converter for Media%s plugin requires a minimum PHP %s version. Sorry about that!', 'webp-converter-for-media'),
28
  '<strong>',
29
  '</strong>',
30
  $this->phpVersion
app/Admin/Plugin.php CHANGED
@@ -18,7 +18,7 @@
18
  public function addLinkToSettings($links)
19
  {
20
  array_unshift($links, sprintf(
21
- __('%sSettings%s', 'webp-converter'),
22
  '<a href="' . menu_page_url('webpc_admin_page', false) . '">',
23
  '</a>'
24
  ));
@@ -28,7 +28,7 @@
28
  public function addLinkToDonate($links)
29
  {
30
  $links[] = sprintf(
31
- __('%sProvide us a coffee%s', 'webp-converter'),
32
  '<a href="https://ko-fi.com/gbiorczyk/" target="_blank">',
33
  '</a>'
34
  );
18
  public function addLinkToSettings($links)
19
  {
20
  array_unshift($links, sprintf(
21
+ __('%sSettings%s', 'webp-converter-for-media'),
22
  '<a href="' . menu_page_url('webpc_admin_page', false) . '">',
23
  '</a>'
24
  ));
28
  public function addLinkToDonate($links)
29
  {
30
  $links[] = sprintf(
31
+ __('%sProvide us a coffee%s', 'webp-converter-for-media'),
32
  '<a href="https://ko-fi.com/gbiorczyk/" target="_blank">',
33
  '</a>'
34
  );
app/Settings/Options.php CHANGED
@@ -19,7 +19,7 @@
19
  [
20
  'name' => 'extensions',
21
  'type' => 'checkbox',
22
- 'label' => __('List of supported files extensions', 'webp-converter'),
23
  'info' => '',
24
  'values' => [
25
  'jpg' => '.jpg',
@@ -32,8 +32,8 @@
32
  [
33
  'name' => 'dirs',
34
  'type' => 'checkbox',
35
- 'label' => __('List of supported directories', 'webp-converter'),
36
- 'info' => __('Files from these directories will be supported in WebP format.', 'webp-converter'),
37
  'values' => [
38
  'plugins' => '/plugins',
39
  'themes' => '/themes',
@@ -44,10 +44,10 @@
44
  [
45
  'name' => 'method',
46
  'type' => 'radio',
47
- 'label' => __('Conversion method', 'webp-converter'),
48
- 'info' => __('The configuration for advanced users.', 'webp-converter'),
49
  'values' => [
50
- 'gd' => sprintf(__('%s (recommended)', 'webp-converter'), 'GD'),
51
  'imagick' => 'Imagick',
52
  ],
53
  'disabled' => $this->getDisabledValues('method'),
@@ -55,19 +55,19 @@
55
  [
56
  'name' => 'features',
57
  'type' => 'checkbox',
58
- 'label' => __('Extra features', 'webp-converter'),
59
- 'info' => __('The options allow you to enable new functionalities that will additionally speed up your website.', 'webp-converter'),
60
  'values' => [
61
- 'only_smaller' => __('Automatic removal of WebP files larger than original', 'webp-converter'),
62
- 'mod_expires' => __('Browser Caching for WebP files (saving images in browser cache memory)', 'webp-converter'),
63
  ],
64
  'disabled' => $this->getDisabledValues('features'),
65
  ],
66
  [
67
  'name' => 'quality',
68
  'type' => 'quality',
69
- 'label' => __('Images quality', 'webp-converter'),
70
- 'info' => __('Adjust the quality of the images being converted. Remember that higher quality also means larger file sizes. The recommended value is 85%.', 'webp-converter'),
71
  'values' => [
72
  '75' => '75%',
73
  '80' => '80%',
19
  [
20
  'name' => 'extensions',
21
  'type' => 'checkbox',
22
+ 'label' => __('List of supported files extensions', 'webp-converter-for-media'),
23
  'info' => '',
24
  'values' => [
25
  'jpg' => '.jpg',
32
  [
33
  'name' => 'dirs',
34
  'type' => 'checkbox',
35
+ 'label' => __('List of supported directories', 'webp-converter-for-media'),
36
+ 'info' => __('Files from these directories will be supported in WebP format.', 'webp-converter-for-media'),
37
  'values' => [
38
  'plugins' => '/plugins',
39
  'themes' => '/themes',
44
  [
45
  'name' => 'method',
46
  'type' => 'radio',
47
+ 'label' => __('Conversion method', 'webp-converter-for-media'),
48
+ 'info' => __('The configuration for advanced users.', 'webp-converter-for-media'),
49
  'values' => [
50
+ 'gd' => sprintf(__('%s (recommended)', 'webp-converter-for-media'), 'GD'),
51
  'imagick' => 'Imagick',
52
  ],
53
  'disabled' => $this->getDisabledValues('method'),
55
  [
56
  'name' => 'features',
57
  'type' => 'checkbox',
58
+ 'label' => __('Extra features', 'webp-converter-for-media'),
59
+ 'info' => __('The options allow you to enable new functionalities that will additionally speed up your website.', 'webp-converter-for-media'),
60
  'values' => [
61
+ 'only_smaller' => __('Automatic removal of WebP files larger than original', 'webp-converter-for-media'),
62
+ 'mod_expires' => __('Browser Caching for WebP files (saving images in browser cache memory)', 'webp-converter-for-media'),
63
  ],
64
  'disabled' => $this->getDisabledValues('features'),
65
  ],
66
  [
67
  'name' => 'quality',
68
  'type' => 'quality',
69
+ 'label' => __('Images quality', 'webp-converter-for-media'),
70
+ 'info' => __('Adjust the quality of the images being converted. Remember that higher quality also means larger file sizes. The recommended value is 85%.', 'webp-converter-for-media'),
71
  'values' => [
72
  '75' => '75%',
73
  '80' => '80%',
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WebP Converter for Media ===
2
  Contributors: mateuszgbiorczyk
3
  Donate link: https://ko-fi.com/gbiorczyk/
4
- Tags: webp, images, performance, compress, optimize
5
  Requires at least: 5.0
6
- Tested up to: 5.4
7
  Requires PHP: 7.0
8
  Stable tag: trunk
9
  License: GPLv2 or later
@@ -71,16 +71,6 @@ That's all! Your website is already loading faster!
71
 
72
  Please always adding your thread, **read all other questions in the FAQ of plugin and other threads in support forum first**. Perhaps someone had a similar problem and it has been resolved.
73
 
74
- This will save time repeating the same issues many times and solving the same problems. If you do not find anything and you still have a problem, then contact us.
75
-
76
- We will be grateful if you appreciate our time and try to find an answer that may already be somewhere. And if it's not here, please describe your problem to us.
77
-
78
- Please remember one thing - we work on it in our free time, with passion. We will be grateful for keeping culture and patience. We are not always able to respond immediately.
79
-
80
- We want to help everyone very much, but we need cooperation between both sides. This is very important. We may have a deal like this?
81
-
82
- And most importantly - **do not leave the thread unanswered**. If you add a thread, follow when you get a reply. Then let us know if we have helped you or not. This helps us improve technical support.
83
-
84
  When adding a thread, follow these steps and reply to each of them:
85
 
86
  **1.** Do you have any error on the plugin settings page? If so, which one? Have you consulted your server administrator or developer? If not, please do it first.
@@ -125,8 +115,6 @@ Send a screenshot from console if an error occurred while converting images. Of
125
 
126
  Please remember to include the answers for all 11 questions by adding a thread. It is much easier and accelerate the solution of your problem.
127
 
128
- And if we would help and would like to thank us, you can [provide us a coffee](https://ko-fi.com/gbiorczyk/).
129
-
130
  = Error on plugin settings screen? =
131
 
132
  If you have an error on the plugin settings screen, first of all please read it carefully. They are displayed when there is a problem with the configuration of your server or website.
@@ -153,17 +141,15 @@ Remember that it happens that other plugins can cause problems with accessing fi
153
 
154
  = What are requirements of plugin? =
155
 
156
- Practically every hosting meets these requirements. You must use PHP at least 7.0 and have the `GD` or `Imagick` extension installed. **The extension must support `WebP format`.**
157
 
158
  They are required native PHP extensions, used among others by WordPress to generate thumbnails. Your server must also have the modules `mod_mime`, `mod_rewrite` and `mod_expires` enabled.
159
 
160
  An example of the correct server configuration can be found [here](https://gbiorczyk.pl/webp-converter/serverinfo.png). Link to your current configuration can be found in the administration panel, on the management plugin page in the section **"We are waiting for your message"** *(or using the URL path: `/wp-admin/options-general.php?page=webpc_admin_page&action=server`)*.
161
 
162
- **Note the items marked in red.** If your server does not meet the technical requirements, please contact your server Administrator.
163
-
164
- Please do not add threads regarding server configuration in the support section. Surely the server Administrator will be able to do it best.
165
 
166
- He is the most competent to solve such problems. Due to the huge amount of possible server environments, we are not able to help you with its configuration.
167
 
168
  Also REST API must be enabled and work without additional restrictions. If you have a problem with it, please contact the Developer who created your website. He should easily find the issue with the REST API not working.
169
 
@@ -175,7 +161,7 @@ Please remember that **Safari and Internet Explorer do not support the WebP form
175
 
176
  You can find more about WebP support by browsers [here](https://caniuse.com/#feat=webp).
177
 
178
- = Forced rewrites to WebP =
179
 
180
  The plugin uses rules in the .htaccess file to redirect from the original image to an image in WebP format. Verifies whether the WebP file exists and whether your browser supports the WebP format. It does this every time you try to load an image.
181
 
@@ -212,9 +198,13 @@ When you have installed plugin and converted all images, follow these steps:
212
  7. In addition, you can check weight of website before and after using plugin. The difference will be huge!
213
  8. More information: [here](https://gbiorczyk.pl/webp-converter/check-devtools.png)
214
 
215
- Please remember that URLs will remain unchanged. The difference will be only in the Type of file. This does not mean that the plugin does not work.
 
 
216
 
217
- If the file type is `WebP`, then everything is working properly. You can also turn off the plugin for a moment and check the weight of your website, then turn it on and test again. The difference should be visible.
 
 
218
 
219
  Only images from the `/uploads` directory are automatically converted. If you use other plugins that also save images in the `/uploads` directory then this may not work. Therefore, check the plugin settings and try converting all images again.
220
 
@@ -482,6 +472,9 @@ This is all very important to us and allows us to do even better things for you!
482
 
483
  == Changelog ==
484
 
 
 
 
485
  = 1.3.0 (2020-06-12) =
486
  * `[Removed]` Ability to skip converting existing images when `Regenerate All`
487
  * `[Fixed]` Creating `/uploads-webpc` directory webpc after re-activation plugin
1
  === WebP Converter for Media ===
2
  Contributors: mateuszgbiorczyk
3
  Donate link: https://ko-fi.com/gbiorczyk/
4
+ Tags: convert webp, webp, optimize images, images, webp converter, performance, optimisation
5
  Requires at least: 5.0
6
+ Tested up to: 5.5
7
  Requires PHP: 7.0
8
  Stable tag: trunk
9
  License: GPLv2 or later
71
 
72
  Please always adding your thread, **read all other questions in the FAQ of plugin and other threads in support forum first**. Perhaps someone had a similar problem and it has been resolved.
73
 
 
 
 
 
 
 
 
 
 
 
74
  When adding a thread, follow these steps and reply to each of them:
75
 
76
  **1.** Do you have any error on the plugin settings page? If so, which one? Have you consulted your server administrator or developer? If not, please do it first.
115
 
116
  Please remember to include the answers for all 11 questions by adding a thread. It is much easier and accelerate the solution of your problem.
117
 
 
 
118
  = Error on plugin settings screen? =
119
 
120
  If you have an error on the plugin settings screen, first of all please read it carefully. They are displayed when there is a problem with the configuration of your server or website.
141
 
142
  = What are requirements of plugin? =
143
 
144
+ Practically every hosting meets these requirements. You must use PHP at least 7.0 and have the `GD` or `Imagick` extension installed. **The extension must support `WebP format`.** If you have an error saying that the GD or Imagick library are not installed, but you have it installed then they are probably incorrectly configured and do not have WebP support.
145
 
146
  They are required native PHP extensions, used among others by WordPress to generate thumbnails. Your server must also have the modules `mod_mime`, `mod_rewrite` and `mod_expires` enabled.
147
 
148
  An example of the correct server configuration can be found [here](https://gbiorczyk.pl/webp-converter/serverinfo.png). Link to your current configuration can be found in the administration panel, on the management plugin page in the section **"We are waiting for your message"** *(or using the URL path: `/wp-admin/options-general.php?page=webpc_admin_page&action=server`)*.
149
 
150
+ **Note the items marked in red.** If the values marked in red do not appear in your case, it means that your server does not meet the technical requirements. Pay attention to the **WebP Support** value for the GD library and **WEBP in the list of supported extensions** for the Imagick library.
 
 
151
 
152
+ In a situation where your server does not meet the technical requirements, please contact your server Administrator. We are not able to help you. Please do not contact us about this matter, because this is a server configuration problem, not a plugin.
153
 
154
  Also REST API must be enabled and work without additional restrictions. If you have a problem with it, please contact the Developer who created your website. He should easily find the issue with the REST API not working.
155
 
161
 
162
  You can find more about WebP support by browsers [here](https://caniuse.com/#feat=webp).
163
 
164
+ = Damaged images on iOS or other browsers =
165
 
166
  The plugin uses rules in the .htaccess file to redirect from the original image to an image in WebP format. Verifies whether the WebP file exists and whether your browser supports the WebP format. It does this every time you try to load an image.
167
 
198
  7. In addition, you can check weight of website before and after using plugin. The difference will be huge!
199
  8. More information: [here](https://gbiorczyk.pl/webp-converter/check-devtools.png)
200
 
201
+ Please remember that URLs will remain unchanged. When you open the image in a new tab or look at its URL, you'll see the original URL. When you try to save the image to disk *(e.g. by clicking Save as...)* the original image will be saved.
202
+
203
+ WebP is only used when loading a image on a website. This is done by the rules from the .htaccess file, on the server side, without the visible URL change to the image. Yes, it can be called magic :)
204
 
205
+ That is why the plugin should be tested in Dev Tools. If the Type of file is `WebP`, then everything is working properly. You can also turn off the plugin for a moment and check the weight of your website, then turn it on and test again. The difference should be visible.
206
+
207
+ The operation of the plugin for non-advanced users may sometimes be less understood, but everything is fine. Thanks to this, regardless of whether your browser supports WebP or not, everything works without problems.
208
 
209
  Only images from the `/uploads` directory are automatically converted. If you use other plugins that also save images in the `/uploads` directory then this may not work. Therefore, check the plugin settings and try converting all images again.
210
 
472
 
473
  == Changelog ==
474
 
475
+ = 1.3.1 (2020-07-03) =
476
+ * `[Fixed]` Text Domain for Internationalization
477
+
478
  = 1.3.0 (2020-06-12) =
479
  * `[Removed]` Ability to skip converting existing images when `Regenerate All`
480
  * `[Fixed]` Creating `/uploads-webpc` directory webpc after re-activation plugin
resources/components/notices/thanks.php CHANGED
@@ -1,11 +1,11 @@
1
  <div class="notice notice-success is-dismissible" data-notice="webp-converter" data-url="<?= apply_filters('webpc_notice_url', ''); ?>">
2
  <div class="webpContent webpContent--notice">
3
  <h4>
4
- <?= __('Thank you for using our plugin WebP Converter for Media!', 'webp-converter'); ?>
5
  </h4>
6
  <p>
7
  <?= sprintf(
8
- __('Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates. If you have a technical problem, please before you add a review %scheck our FAQ%s or contact us if you did not find help there. We will try to help you!', 'webp-converter'),
9
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
10
  '</a>'
11
  ); ?>
@@ -13,19 +13,19 @@
13
  <div class="webpContent__buttons">
14
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/#new-post" target="_blank"
15
  class="webpContent__button webpButton webpButton--green">
16
- <?= __('Get help', 'webp-converter'); ?>
17
  </a>
18
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/reviews/#new-post" target="_blank"
19
  class="webpContent__button webpButton webpButton--green">
20
- <?= __('Add review', 'webp-converter'); ?>
21
  </a>
22
  <a href="https://ko-fi.com/gbiorczyk/" target="_blank"
23
  class="webpContent__button webpButton webpButton--green dashicons-heart">
24
- <?= __('Provide us a coffee', 'webp-converter'); ?>
25
  </a>
26
  <a href="#" target="_blank" data-permanently
27
  class="webpContent__button webpButton webpButton--blue">
28
- <?= __('I added review, do not show again', 'webp-converter'); ?>
29
  </a>
30
  </div>
31
  </div>
1
  <div class="notice notice-success is-dismissible" data-notice="webp-converter" data-url="<?= apply_filters('webpc_notice_url', ''); ?>">
2
  <div class="webpContent webpContent--notice">
3
  <h4>
4
+ <?= __('Thank you for using our plugin WebP Converter for Media!', 'webp-converter-for-media'); ?>
5
  </h4>
6
  <p>
7
  <?= sprintf(
8
+ __('Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates. If you have a technical problem, please before you add a review %scheck our FAQ%s or contact us if you did not find help there. We will try to help you!', 'webp-converter-for-media'),
9
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
10
  '</a>'
11
  ); ?>
13
  <div class="webpContent__buttons">
14
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/#new-post" target="_blank"
15
  class="webpContent__button webpButton webpButton--green">
16
+ <?= __('Get help', 'webp-converter-for-media'); ?>
17
  </a>
18
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/reviews/#new-post" target="_blank"
19
  class="webpContent__button webpButton webpButton--green">
20
+ <?= __('Add review', 'webp-converter-for-media'); ?>
21
  </a>
22
  <a href="https://ko-fi.com/gbiorczyk/" target="_blank"
23
  class="webpContent__button webpButton webpButton--green dashicons-heart">
24
+ <?= __('Provide us a coffee', 'webp-converter-for-media'); ?>
25
  </a>
26
  <a href="#" target="_blank" data-permanently
27
  class="webpContent__button webpButton webpButton--blue">
28
+ <?= __('I added review, do not show again', 'webp-converter-for-media'); ?>
29
  </a>
30
  </div>
31
  </div>
resources/components/widgets/about.php CHANGED
@@ -1,26 +1,26 @@
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
- <?= __('How does this work?', 'webp-converter'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <p>
7
  <?= sprintf(
8
- __('By adding images to your media library, they are automatically converted and saved in a separate directory. Images are converted using %sGD%s or %sImagick%s native extension for PHP.', 'webp-converter'),
9
  '<strong>', '</strong>', '<strong>', '</strong>'
10
  ); ?>
11
  </p>
12
  <p>
13
  <?= sprintf(
14
- __('When the browser tries to download an image file, the server verifies if it supports image/webp files and if the file exists. If everything is OK, instead of the original image, the browser will receive its equivalent in WebP format.', 'webp-converter'),
15
  '<strong>', '</strong>'
16
  ); ?>
17
  </p>
18
  <p>
19
- <?= __('The plugin does not change file URLs, so there are no problems with saving the page to the cache and the page generation time does not increase.', 'webp-converter'); ?>
20
  </p>
21
  <p>
22
  <?= sprintf(
23
- __('Image URLs are modified using the module %smod_rewrite%s on the server, i.e. the same, thanks to which we can use friendly links in WordPress. Additionally, the MIME type of the sent file is modified to %simage/webp%s.', 'webp-converter'),
24
  '<strong>', '</strong>', '<strong>', '</strong>'
25
  ); ?>
26
  </p>
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
+ <?= __('How does this work?', 'webp-converter-for-media'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <p>
7
  <?= sprintf(
8
+ __('By adding images to your media library, they are automatically converted and saved in a separate directory. Images are converted using %sGD%s or %sImagick%s native extension for PHP.', 'webp-converter-for-media'),
9
  '<strong>', '</strong>', '<strong>', '</strong>'
10
  ); ?>
11
  </p>
12
  <p>
13
  <?= sprintf(
14
+ __('When the browser tries to download an image file, the server verifies if it supports image/webp files and if the file exists. If everything is OK, instead of the original image, the browser will receive its equivalent in WebP format.', 'webp-converter-for-media'),
15
  '<strong>', '</strong>'
16
  ); ?>
17
  </p>
18
  <p>
19
+ <?= __('The plugin does not change file URLs, so there are no problems with saving the page to the cache and the page generation time does not increase.', 'webp-converter-for-media'); ?>
20
  </p>
21
  <p>
22
  <?= sprintf(
23
+ __('Image URLs are modified using the module %smod_rewrite%s on the server, i.e. the same, thanks to which we can use friendly links in WordPress. Additionally, the MIME type of the sent file is modified to %simage/webp%s.', 'webp-converter-for-media'),
24
  '<strong>', '</strong>', '<strong>', '</strong>'
25
  ); ?>
26
  </p>
resources/components/widgets/donate.php CHANGED
@@ -1,14 +1,14 @@
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
- <?= __('We love what we do!', 'webp-converter'); ?>
4
  </h3>
5
  <div class="webpContent webpContent--lastCenter">
6
  <p>
7
- <?= __('However, working on plugins and technical support requires many hours of work. If you want to appreciate it, you can provide us a coffee. Thanks everyone!', 'webp-converter'); ?>
8
  </p>
9
  <p>
10
  <a href="https://ko-fi.com/gbiorczyk/" target="_blank" class="webpButton webpButton--blue dashicons-heart">
11
- <?= __('Provide us a coffee', 'webp-converter'); ?>
12
  </a>
13
  </p>
14
  </div>
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
+ <?= __('We love what we do!', 'webp-converter-for-media'); ?>
4
  </h3>
5
  <div class="webpContent webpContent--lastCenter">
6
  <p>
7
+ <?= __('However, working on plugins and technical support requires many hours of work. If you want to appreciate it, you can provide us a coffee. Thanks everyone!', 'webp-converter-for-media'); ?>
8
  </p>
9
  <p>
10
  <a href="https://ko-fi.com/gbiorczyk/" target="_blank" class="webpButton webpButton--blue dashicons-heart">
11
+ <?= __('Provide us a coffee', 'webp-converter-for-media'); ?>
12
  </a>
13
  </p>
14
  </div>
resources/components/widgets/errors.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php if ($errors = apply_filters('webpc_server_errors', [])) : ?>
2
  <div class="webpPage__widget">
3
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--error">
4
- <?= __('Server configuration error', 'webp-converter'); ?>
5
  </h3>
6
  <div class="webpContent">
7
  <?php if (in_array('path_uploads', $errors)) : ?>
8
  <p>
9
  <?= sprintf(
10
- __('The path for /uploads files does not exist %s(function is_dir() returns false)%s. Use filters %s or %s to set the correct path. The current using path is: %s. Please read the plugin FAQ to learn more.', 'webp-converter'),
11
  '<em>',
12
  '</em>',
13
  '<strong>webpc_uploads_root</strong>',
@@ -19,7 +19,7 @@
19
  <?php if (in_array('path_htaccess', $errors)) : ?>
20
  <p>
21
  <?= sprintf(
22
- __('Unable to create or edit .htaccess file %s(function is_readable() or is_writable() returns false)%s. Change directory permissions. The current using path of file is: %s. Please contact your server administrator.', 'webp-converter'),
23
  '<em>',
24
  '</em>',
25
  '<strong>' . apply_filters('webpc_uploads_path', '') . '/.htaccess</strong>'
@@ -29,7 +29,7 @@
29
  <?php if (in_array('path_webp', $errors)) : ?>
30
  <p>
31
  <?= sprintf(
32
- __('The path for saving converted WebP files does not exist and cannot be created %s(function is_writable() returns false)%s. Use filters %s or %s to set the correct path. The current using path is: %s. Please read the plugin FAQ to learn more.', 'webp-converter'),
33
  '<em>',
34
  '</em>',
35
  '<strong>webpc_uploads_root</strong>',
@@ -41,7 +41,7 @@
41
  <?php if (in_array('path_duplicated', $errors)) : ?>
42
  <p>
43
  <?= sprintf(
44
- __('The paths for /uploads files and for saving converted WebP files are the same. Change them using filters %s or %s. The current path for them is: %s.', 'webp-converter'),
45
  '<strong>webpc_uploads_path</strong>',
46
  '<strong>webpc_uploads_webp</strong>',
47
  '<strong>' . apply_filters('webpc_uploads_path', '') . '</strong>'
@@ -51,7 +51,7 @@
51
  <?php if (in_array('rest_api', $errors)) : ?>
52
  <p>
53
  <?= sprintf(
54
- __('The REST API on your website is not available. Please verify this and try again. Pay special attention to the filters: %s, %s and %s.', 'webp-converter'),
55
  '<a href="https://developer.wordpress.org/reference/hooks/rest_enabled/" target="_blank">rest_enabled</a>',
56
  '<a href="https://developer.wordpress.org/reference/hooks/rest_jsonp_enabled/" target="_blank">rest_jsonp_enabled</a>',
57
  '<a href="https://developer.wordpress.org/reference/hooks/rest_authentication_errors/" target="_blank">rest_authentication_errors</a>'
@@ -61,7 +61,7 @@
61
  <?php if (in_array('methods', $errors)) : ?>
62
  <p>
63
  <?= sprintf(
64
- __('On your server is not installed %sGD%s or %sImagick%s library, or installed extension does not support WebP format. Check your server configuration %shere%s and try again. Please contact your server administrator.', 'webp-converter'),
65
  '<strong>',
66
  '</strong>',
67
  '<strong>',
@@ -74,7 +74,7 @@
74
  <?php if (in_array('bypassing_apache', $errors)) : ?>
75
  <p>
76
  <?= sprintf(
77
- __('Requests to images are processed by your server bypassing Apache. When loading images, rules from the .htaccess file are not executed. Check the redirects for %s.png file%s %s(for which the redirection does not work)%s and for %s.png2 file%s %s(for which the redirection works correctly)%s. Change the server settings to stop ignoring the rules in the .htaccess file. Please contact your server administrator.', 'webp-converter'),
78
  '<a href="' . WEBPC_URL . 'public/img/icon-before.png" target="_blank">',
79
  '</a>',
80
  '<em>',
1
  <?php if ($errors = apply_filters('webpc_server_errors', [])) : ?>
2
  <div class="webpPage__widget">
3
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--error">
4
+ <?= __('Server configuration error', 'webp-converter-for-media'); ?>
5
  </h3>
6
  <div class="webpContent">
7
  <?php if (in_array('path_uploads', $errors)) : ?>
8
  <p>
9
  <?= sprintf(
10
+ __('The path for /uploads files does not exist %s(function is_dir() returns false)%s. Use filters %s or %s to set the correct path. The current using path is: %s. Please read the plugin FAQ to learn more.', 'webp-converter-for-media'),
11
  '<em>',
12
  '</em>',
13
  '<strong>webpc_uploads_root</strong>',
19
  <?php if (in_array('path_htaccess', $errors)) : ?>
20
  <p>
21
  <?= sprintf(
22
+ __('Unable to create or edit .htaccess file %s(function is_readable() or is_writable() returns false)%s. Change directory permissions. The current using path of file is: %s. Please contact your server administrator.', 'webp-converter-for-media'),
23
  '<em>',
24
  '</em>',
25
  '<strong>' . apply_filters('webpc_uploads_path', '') . '/.htaccess</strong>'
29
  <?php if (in_array('path_webp', $errors)) : ?>
30
  <p>
31
  <?= sprintf(
32
+ __('The path for saving converted WebP files does not exist and cannot be created %s(function is_writable() returns false)%s. Use filters %s or %s to set the correct path. The current using path is: %s. Please read the plugin FAQ to learn more.', 'webp-converter-for-media'),
33
  '<em>',
34
  '</em>',
35
  '<strong>webpc_uploads_root</strong>',
41
  <?php if (in_array('path_duplicated', $errors)) : ?>
42
  <p>
43
  <?= sprintf(
44
+ __('The paths for /uploads files and for saving converted WebP files are the same. Change them using filters %s or %s. The current path for them is: %s.', 'webp-converter-for-media'),
45
  '<strong>webpc_uploads_path</strong>',
46
  '<strong>webpc_uploads_webp</strong>',
47
  '<strong>' . apply_filters('webpc_uploads_path', '') . '</strong>'
51
  <?php if (in_array('rest_api', $errors)) : ?>
52
  <p>
53
  <?= sprintf(
54
+ __('The REST API on your website is not available. Please verify this and try again. Pay special attention to the filters: %s, %s and %s.', 'webp-converter-for-media'),
55
  '<a href="https://developer.wordpress.org/reference/hooks/rest_enabled/" target="_blank">rest_enabled</a>',
56
  '<a href="https://developer.wordpress.org/reference/hooks/rest_jsonp_enabled/" target="_blank">rest_jsonp_enabled</a>',
57
  '<a href="https://developer.wordpress.org/reference/hooks/rest_authentication_errors/" target="_blank">rest_authentication_errors</a>'
61
  <?php if (in_array('methods', $errors)) : ?>
62
  <p>
63
  <?= sprintf(
64
+ __('On your server is not installed %sGD%s or %sImagick%s library, or installed extension does not support WebP format. Check your server configuration %shere%s and try again. Please contact your server administrator.', 'webp-converter-for-media'),
65
  '<strong>',
66
  '</strong>',
67
  '<strong>',
74
  <?php if (in_array('bypassing_apache', $errors)) : ?>
75
  <p>
76
  <?= sprintf(
77
+ __('Requests to images are processed by your server bypassing Apache. When loading images, rules from the .htaccess file are not executed. Check the redirects for %s.png file%s %s(for which the redirection does not work)%s and for %s.png2 file%s %s(for which the redirection works correctly)%s. Change the server settings to stop ignoring the rules in the .htaccess file. Please contact your server administrator.', 'webp-converter-for-media'),
78
  '<a href="' . WEBPC_URL . 'public/img/icon-before.png" target="_blank">',
79
  '</a>',
80
  '<em>',
resources/components/widgets/options.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle">
3
- <?= __('Settings', 'webp-converter'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <?php foreach ($options as $index => $option) : ?>
@@ -11,12 +11,12 @@
11
  <?php endforeach; ?>
12
  <div class="webpPage__widgetRow">
13
  <button type="submit" name="webpc_save"
14
- class="webpButton webpButton--green"><?= __('Save Changes', 'webp-converter'); ?></button>
15
  </div>
16
  <div class="webpPage__widgetRow">
17
  <p>
18
  <?= sprintf(
19
- __('If you have a problem %scheck our FAQ%s first. If you did not find help there, please %scheck support forum%s for any similar problem or contact us. Before you contact us %scheck the configuration%s of your server.', 'webp-converter'),
20
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
21
  '</a>',
22
  '<a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank">',
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle">
3
+ <?= __('Settings', 'webp-converter-for-media'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <?php foreach ($options as $index => $option) : ?>
11
  <?php endforeach; ?>
12
  <div class="webpPage__widgetRow">
13
  <button type="submit" name="webpc_save"
14
+ class="webpButton webpButton--green"><?= __('Save Changes', 'webp-converter-for-media'); ?></button>
15
  </div>
16
  <div class="webpPage__widgetRow">
17
  <p>
18
  <?= sprintf(
19
+ __('If you have a problem %scheck our FAQ%s first. If you did not find help there, please %scheck support forum%s for any similar problem or contact us. Before you contact us %scheck the configuration%s of your server.', 'webp-converter-for-media'),
20
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
21
  '</a>',
22
  '<a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank">',
resources/components/widgets/regenerate.php CHANGED
@@ -4,18 +4,18 @@
4
  ?>
5
  <div class="webpPage__widget">
6
  <h3 class="webpPage__widgetTitle">
7
- <?= __('Regenerate images', 'webp-converter'); ?>
8
  </h3>
9
  <div class="webpLoader webpContent"
10
  data-api-paths="<?= $apiPaths; ?>"
11
  data-api-regenerate="<?= $apiRegenerate; ?>"
12
- data-api-error-message="<?= __('An unknown error occurred while converting the images: %s', 'webp-converter'); ?>">
13
  <div class="webpPage__widgetRow">
14
  <p>
15
- <?= __('Convert all existing images with just one click! This tool uses the WordPress REST API by downloading addresses of all images and converting all files gradually. This is a process that may take a few or more than ten minutes depending on the number of files. During this process, please do not close your browser window.', 'webp-converter'); ?>
16
  </p>
17
  <p>
18
- <?= __('This operation should be performed only once after installing the plugin. New images from the Media Library will be converted automatically. For other images, e.g. from the /themes or /uploads directory that are not from the Media Library, you must start manual conversion after adding new images.', 'webp-converter'); ?>
19
  </p>
20
  <div class="webpLoader__status" hidden>
21
  <div class="webpLoader__bar">
@@ -24,20 +24,20 @@
24
  </div>
25
  <div class="webpLoader__size">
26
  <?= sprintf(
27
- __('Saving the weight of your images: %s', 'webp-converter'),
28
  '<span class="webpLoader__sizeProgress">0 kB</span>'
29
  ); ?>
30
  </div>
31
  </div>
32
  <div class="webpLoader__success" hidden>
33
- <?= __('The process was completed successfully. Your images have been converted!', 'webp-converter'); ?>
34
  </div>
35
  <div class="webpLoader__errors" hidden>
36
- <div class="webpLoader__errorsTitle"><?= __('List of errors', 'webp-converter'); ?></div>
37
  <div class="webpLoader__errorsContent">
38
  <div class="webpLoader__errorsContentList"></div>
39
  <div class="webpLoader__errorsContentMessage" hidden>
40
- <?= __('An error occurred while connecting to REST API. Please try again.', 'webp-converter'); ?>
41
  </div>
42
  </div>
43
  </div>
@@ -53,7 +53,7 @@
53
  </td>
54
  <td>
55
  <label for="webpc-regenerate-force" class="webpPage__checkboxLabel">
56
- <?= __('Force convert all images again', 'webp-converter'); ?>
57
  </label>
58
  </td>
59
  </tr>
@@ -61,7 +61,7 @@
61
  <button type="button" target="_blank"
62
  class="webpLoader__button webpButton webpButton--green"
63
  <?= (apply_filters('webpc_server_errors', [])) ? 'disabled' : ''; ?>>
64
- <?= __('Regenerate All', 'webp-converter'); ?>
65
  </button>
66
  </div>
67
  </div>
4
  ?>
5
  <div class="webpPage__widget">
6
  <h3 class="webpPage__widgetTitle">
7
+ <?= __('Regenerate images', 'webp-converter-for-media'); ?>
8
  </h3>
9
  <div class="webpLoader webpContent"
10
  data-api-paths="<?= $apiPaths; ?>"
11
  data-api-regenerate="<?= $apiRegenerate; ?>"
12
+ data-api-error-message="<?= __('An unknown error occurred while converting the images: %s', 'webp-converter-for-media'); ?>">
13
  <div class="webpPage__widgetRow">
14
  <p>
15
+ <?= __('Convert all existing images with just one click! This tool uses the WordPress REST API by downloading addresses of all images and converting all files gradually. This is a process that may take a few or more than ten minutes depending on the number of files. During this process, please do not close your browser window.', 'webp-converter-for-media'); ?>
16
  </p>
17
  <p>
18
+ <?= __('This operation should be performed only once after installing the plugin. New images from the Media Library will be converted automatically. For other images, e.g. from the /themes or /uploads directory that are not from the Media Library, you must start manual conversion after adding new images.', 'webp-converter-for-media'); ?>
19
  </p>
20
  <div class="webpLoader__status" hidden>
21
  <div class="webpLoader__bar">
24
  </div>
25
  <div class="webpLoader__size">
26
  <?= sprintf(
27
+ __('Saving the weight of your images: %s', 'webp-converter-for-media'),
28
  '<span class="webpLoader__sizeProgress">0 kB</span>'
29
  ); ?>
30
  </div>
31
  </div>
32
  <div class="webpLoader__success" hidden>
33
+ <?= __('The process was completed successfully. Your images have been converted!', 'webp-converter-for-media'); ?>
34
  </div>
35
  <div class="webpLoader__errors" hidden>
36
+ <div class="webpLoader__errorsTitle"><?= __('List of errors', 'webp-converter-for-media'); ?></div>
37
  <div class="webpLoader__errorsContent">
38
  <div class="webpLoader__errorsContentList"></div>
39
  <div class="webpLoader__errorsContentMessage" hidden>
40
+ <?= __('An error occurred while connecting to REST API. Please try again.', 'webp-converter-for-media'); ?>
41
  </div>
42
  </div>
43
  </div>
53
  </td>
54
  <td>
55
  <label for="webpc-regenerate-force" class="webpPage__checkboxLabel">
56
+ <?= __('Force convert all images again', 'webp-converter-for-media'); ?>
57
  </label>
58
  </td>
59
  </tr>
61
  <button type="button" target="_blank"
62
  class="webpLoader__button webpButton webpButton--green"
63
  <?= (apply_filters('webpc_server_errors', [])) ? 'disabled' : ''; ?>>
64
+ <?= __('Regenerate All', 'webp-converter-for-media'); ?>
65
  </button>
66
  </div>
67
  </div>
resources/components/widgets/server.php CHANGED
@@ -4,18 +4,18 @@
4
  ?>
5
  <div class="webpPage__widget">
6
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
7
- <?= __('Your server configuration', 'webp-converter'); ?>
8
  </h3>
9
  <div class="webpContent">
10
  <div class="webpPage__widgetRow">
11
  <p>
12
- <?= sprintf(__('Please compare your configuration with the configuration that is given in the technical requirements in %sthe plugin FAQ%s. If your server does not meet the technical requirements, please contact your server Administrator.', 'webp-converter'),
13
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
14
  '</a>'
15
  ); ?>
16
  </p>
17
  <a href="<?= $pageUrl; ?>" class="webpLoader__button webpButton webpButton--blue">
18
- <?= __('Back to settings', 'webp-converter'); ?>
19
  </a>
20
  </div>
21
  <div class="webpPage__widgetRow">
@@ -23,7 +23,7 @@
23
  </div>
24
  <div class="webpPage__widgetRow">
25
  <a href="<?= $pageUrl; ?>" class="webpLoader__button webpButton webpButton--blue">
26
- <?= __('Back to settings', 'webp-converter'); ?>
27
  </a>
28
  </div>
29
  </div>
4
  ?>
5
  <div class="webpPage__widget">
6
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
7
+ <?= __('Your server configuration', 'webp-converter-for-media'); ?>
8
  </h3>
9
  <div class="webpContent">
10
  <div class="webpPage__widgetRow">
11
  <p>
12
+ <?= sprintf(__('Please compare your configuration with the configuration that is given in the technical requirements in %sthe plugin FAQ%s. If your server does not meet the technical requirements, please contact your server Administrator.', 'webp-converter-for-media'),
13
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
14
  '</a>'
15
  ); ?>
16
  </p>
17
  <a href="<?= $pageUrl; ?>" class="webpLoader__button webpButton webpButton--blue">
18
+ <?= __('Back to settings', 'webp-converter-for-media'); ?>
19
  </a>
20
  </div>
21
  <div class="webpPage__widgetRow">
23
  </div>
24
  <div class="webpPage__widgetRow">
25
  <a href="<?= $pageUrl; ?>" class="webpLoader__button webpButton webpButton--blue">
26
+ <?= __('Back to settings', 'webp-converter-for-media'); ?>
27
  </a>
28
  </div>
29
  </div>
resources/components/widgets/support.php CHANGED
@@ -1,14 +1,14 @@
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
- <?= __('We are waiting for your message', 'webp-converter'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <p>
7
- <?= __('Do you have a technical problem? Please contact us. We will be happy to help you. Or maybe you have an idea for a new feature? Please let us know about it by filling the support form. We will try to add it!', 'webp-converter'); ?>
8
  </p>
9
  <p>
10
  <?= sprintf(
11
- __('Please %scheck our FAQ%s before adding a thread with technical problem. If you do not find help there, %scheck support forum%s for similar problems. Before you contact us check the configuration of your server and attach it in your message, e.g. as a screenshot.', 'webp-converter'),
12
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
13
  '</a>',
14
  '<a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank">',
@@ -17,18 +17,18 @@
17
  </p>
18
  <p>
19
  <a href="<?= sprintf('%s&action=server', menu_page_url('webpc_admin_page', false)); ?>" class="webpButton webpButton--blue">
20
- <?= __('Server configuration', 'webp-converter'); ?>
21
  </a>
22
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank" class="webpButton webpButton--blue">
23
- <?= __('Get help', 'webp-converter'); ?>
24
  </a>
25
  </p>
26
  <p>
27
- <?= __('Do you like our plugin? Could you rate him? Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates.', 'webp-converter'); ?>
28
  </p>
29
  <p>
30
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/reviews/#new-post" target="_blank" class="webpButton webpButton--blue">
31
- <?= __('Add review', 'webp-converter'); ?>
32
  </a>
33
  </p>
34
  </div>
1
  <div class="webpPage__widget">
2
  <h3 class="webpPage__widgetTitle webpPage__widgetTitle--second">
3
+ <?= __('We are waiting for your message', 'webp-converter-for-media'); ?>
4
  </h3>
5
  <div class="webpContent">
6
  <p>
7
+ <?= __('Do you have a technical problem? Please contact us. We will be happy to help you. Or maybe you have an idea for a new feature? Please let us know about it by filling the support form. We will try to add it!', 'webp-converter-for-media'); ?>
8
  </p>
9
  <p>
10
  <?= sprintf(
11
+ __('Please %scheck our FAQ%s before adding a thread with technical problem. If you do not find help there, %scheck support forum%s for similar problems. Before you contact us check the configuration of your server and attach it in your message, e.g. as a screenshot.', 'webp-converter-for-media'),
12
  '<a href="https://wordpress.org/plugins/webp-converter-for-media/#faq" target="_blank">',
13
  '</a>',
14
  '<a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank">',
17
  </p>
18
  <p>
19
  <a href="<?= sprintf('%s&action=server', menu_page_url('webpc_admin_page', false)); ?>" class="webpButton webpButton--blue">
20
+ <?= __('Server configuration', 'webp-converter-for-media'); ?>
21
  </a>
22
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/" target="_blank" class="webpButton webpButton--blue">
23
+ <?= __('Get help', 'webp-converter-for-media'); ?>
24
  </a>
25
  </p>
26
  <p>
27
+ <?= __('Do you like our plugin? Could you rate him? Please let us know what you think about our plugin. It is important that we can develop this tool. Thank you for all the ratings, reviews and donates.', 'webp-converter-for-media'); ?>
28
  </p>
29
  <p>
30
  <a href="https://wordpress.org/support/plugin/webp-converter-for-media/reviews/#new-post" target="_blank" class="webpButton webpButton--blue">
31
+ <?= __('Add review', 'webp-converter-for-media'); ?>
32
  </a>
33
  </p>
34
  </div>
resources/views/settings.php CHANGED
@@ -5,11 +5,11 @@
5
  ?>
6
  <form method="post" action="<?= $path; ?>" class="webpPage">
7
  <div class="webpPage__inner">
8
- <h1 class="webpPage__headline"><?= __('WebP Converter for Media', 'webp-converter'); ?></h1>
9
  <ul class="webpPage__columns">
10
  <li class="webpPage__column webpPage__column--large">
11
  <?php if ($_POST) : ?>
12
- <div class="webpPage__alert"><?= __('Changes were successfully saved!', 'webp-converter'); ?></div>
13
  <?php endif; ?>
14
  <?php
15
  if (isset($_GET['action']) && ($_GET['action'] === 'server')) {
5
  ?>
6
  <form method="post" action="<?= $path; ?>" class="webpPage">
7
  <div class="webpPage__inner">
8
+ <h1 class="webpPage__headline"><?= __('WebP Converter for Media', 'webp-converter-for-media'); ?></h1>
9
  <ul class="webpPage__columns">
10
  <li class="webpPage__column webpPage__column--large">
11
  <?php if ($_POST) : ?>
12
+ <div class="webpPage__alert"><?= __('Changes were successfully saved!', 'webp-converter-for-media'); ?></div>
13
  <?php endif; ?>
14
  <?php
15
  if (isset($_GET['action']) && ($_GET['action'] === 'server')) {
webp-converter-for-media.php CHANGED
@@ -3,13 +3,13 @@
3
  /*
4
  Plugin Name: WebP Converter for Media
5
  Description: Speed up your website by serving WebP images instead of standard formats JPEG, PNG and GIF.
6
- Version: 1.3.0
7
  Author: Mateusz Gbiorczyk
8
  Author URI: https://gbiorczyk.pl/
9
- Text Domain: webp-converter
10
  */
11
 
12
- define('WEBPC_VERSION', '1.3.0');
13
  define('WEBPC_FILE', __FILE__);
14
  define('WEBPC_NAME', plugin_basename(__FILE__));
15
  define('WEBPC_PATH', plugin_dir_path(__FILE__));
3
  /*
4
  Plugin Name: WebP Converter for Media
5
  Description: Speed up your website by serving WebP images instead of standard formats JPEG, PNG and GIF.
6
+ Version: 1.3.1
7
  Author: Mateusz Gbiorczyk
8
  Author URI: https://gbiorczyk.pl/
9
+ Text Domain: webp-converter-for-media
10
  */
11
 
12
+ define('WEBPC_VERSION', '1.3.1');
13
  define('WEBPC_FILE', __FILE__);
14
  define('WEBPC_NAME', plugin_basename(__FILE__));
15
  define('WEBPC_PATH', plugin_dir_path(__FILE__));