Skip to content

Commit a46a715

Browse files
committed
Improve unfound valid image text
1 parent b65e539 commit a46a715

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

event/listener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class listener implements EventSubscriberInterface
6464
* @param template $template Template object
6565
* @param user $user
6666
* @param manager $phpbb_notifications Notifications manager object
67-
* @param $root_path
67+
* @param string $root_path
6868
*/
6969
public function __construct(config $config, controller_helper $controller_helper, FastImageSize $imagesize, form_helper $form_helper, language $language, template $template, user $user, manager $phpbb_notifications, $root_path)
7070
{

language/en/webpushnotifications_common_acp.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
'PWA_ICON_LARGE_EXPLAIN' => 'File name of a 512px x 512px PNG image. This file must be uploaded to your board’s <samp>' . \phpbb\webpushnotifications\ext::PWA_ICON_DIR . '</samp> directory.',
4949
'PWA_ICON_SIZE_INVALID' => '“%s” does not have the correct image dimensions.',
5050
'PWA_ICON_MIME_INVALID' => '“%s” must be a PNG image file.',
51-
'PWA_IMAGE_INVALID' => '“%s” does not appear to be a valid image file.',
51+
'PWA_IMAGE_INVALID' => '“%s” does not appear to be a valid image file. Verify the file name and location are correct.',
5252
'PWA_IMAGE_NOT_PROVIDED' => '%s field must not be empty. All icon fields must contain an image.',
5353
]);

0 commit comments

Comments
 (0)