diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ea27032c281c3dc90e90d122b34005172d3b6bc..1935f2f1ff2585209a4eafc76f19dff446895ba4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [3.2.6] - 2021-03-01 +### Fixed +- Update message and translation + ## [3.2.5] - 2021-02-26 ### Fixed - PHP Notice: Undefined property: stdClass::$version diff --git a/lang/wp-basic-requirements-pl_PL.po b/lang/wp-basic-requirements-pl_PL.po index dbfe988486867f03f24452cbb823af04b12be63e..4f64dee4511cad5f5b36596551c8902ebc41b3d0 100644 --- a/lang/wp-basic-requirements-pl_PL.po +++ b/lang/wp-basic-requirements-pl_PL.po @@ -1,15 +1,15 @@ msgid "" msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: 2019-09-18 15:50+0200\n" -"PO-Revision-Date: 2019-09-20 11:54+0200\n" -"Last-Translator: Krzysztof Dyszczyk <krzysztof.dyszczyk@gmail.com>\n" +"Project-Id-Version: WP Basic Requirements\n" +"POT-Creation-Date: 2021-03-01 10:11+0100\n" +"PO-Revision-Date: 2021-03-01 10:12+0100\n" +"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n" "Language-Team: \n" "Language: pl_PL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.4.2\n" "X-Poedit-Basepath: ../src\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" @@ -18,7 +18,7 @@ msgstr "" "\"\n" "X-Poedit-SearchPath-0: .\n" -#: Basic_Requirement_Checker.php:187 +#: Basic_Requirement_Checker.php:202 #, php-format msgid "" "The “%s” plugin cannot run on PHP versions older than %s. Please " @@ -27,7 +27,7 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać w wersjach PHP starszych niż %s. " "Skontaktuj siÄ™ z administratorem hostingu i poproÅ› o aktualizacjÄ™." -#: Basic_Requirement_Checker.php:191 +#: Basic_Requirement_Checker.php:206 #, php-format msgid "" "The “%s” plugin cannot run on WordPress versions older than %s. " @@ -36,7 +36,7 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać w wersjach WordPress starszych niż " "%s. Prosimy o aktualizacjÄ™ WordPress." -#: Basic_Requirement_Checker.php:195 +#: Basic_Requirement_Checker.php:210 #, php-format msgid "" "The “%s” plugin cannot run on WooCommerce versions older than " @@ -45,7 +45,7 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać w wersjach WooCommerce starszych " "niż %s. Prosimy o aktualizacjÄ™ WooCommerce." -#: Basic_Requirement_Checker.php:199 +#: Basic_Requirement_Checker.php:214 #, php-format msgid "" "The “%s” plugin cannot run without OpenSSL module version at " @@ -54,7 +54,16 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać bez aktywacji OpenSSL co najmniej " "w wersji %s. Zaktualizuj wersjÄ™ OpenSSL." -#: Basic_Requirement_Checker.php:290 +#: Basic_Requirement_Checker.php:306 +#, php-format +msgid "" +"The “%s” plugin requires at least %s version of %s to work " +"correctly. Please update it to its latest release." +msgstr "" +"Do poprawnego dziaÅ‚ania “%s” wymaga wtyczki %s co najmniej w " +"wersji %s. Prosimy o wykonanie aktualizacji." + +#: Basic_Requirement_Checker.php:391 #, php-format msgid "" "The “%s” plugin cannot run without %s active. Please install and " @@ -63,7 +72,7 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać bez aktywacji %s. Zainstaluj i " "aktywuj wtyczkÄ™ %s." -#: Basic_Requirement_Checker.php:349 +#: Basic_Requirement_Checker.php:452 #, php-format msgid "" "The “%s” plugin requires free %s plugin. <a href=\"%s\">Install " @@ -72,7 +81,7 @@ msgstr "" "Wtyczka “%s” wymaga bezpÅ‚atnej wtyczki %s. <a href=\"%s" "\">Zainstaluj %s →</a>" -#: Basic_Requirement_Checker.php:357 +#: Basic_Requirement_Checker.php:461 #, php-format msgid "" "The “%s” plugin requires activating %s plugin. <a href=\"%s" @@ -81,7 +90,7 @@ msgstr "" "Wtyczka “%s” wymaga aktywnej wtyczki %s. <a href=\"%s\">Aktywuj " "%s →</a>" -#: Basic_Requirement_Checker.php:403 +#: Basic_Requirement_Checker.php:508 #, php-format msgid "" "The “%s” plugin cannot run without %s php module installed. " @@ -90,7 +99,7 @@ msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać bez moduÅ‚u php: %s. Skontaktuj siÄ™ " "z administratorem hostingu i poproÅ› o instalacjÄ™ %s." -#: Basic_Requirement_Checker.php:431 +#: Basic_Requirement_Checker.php:536 #, php-format msgid "" "The “%s” plugin cannot run without %s php setting set to %s. " diff --git a/src/Basic_Requirement_Checker.php b/src/Basic_Requirement_Checker.php index f9f35bc7397dd0b7d25a77f62488212c388207a4..cffcafa3181274856d9e9fb690b15f98d4c37c5a 100644 --- a/src/Basic_Requirement_Checker.php +++ b/src/Basic_Requirement_Checker.php @@ -303,7 +303,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { if ( count( $required_plugins ) > 0 ) { foreach ( $required_plugins as $plugin ) { if ( version_compare( $plugin['Version'], $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], '<' ) ) { - $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin requires at least %s version of %s to work correctly. Please update it', + $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin requires at least %s version of %s to work correctly. Please update it to its latest release.', $this->get_text_domain() ), esc_html( $this->plugin_name ), $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], $plugin['Name'] ) );