diff --git a/CHANGELOG.md b/CHANGELOG.md index 1935f2f1ff2585209a4eafc76f19dff446895ba4..3ea27032c281c3dc90e90d122b34005172d3b6bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -## [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 4f64dee4511cad5f5b36596551c8902ebc41b3d0..dbfe988486867f03f24452cbb823af04b12be63e 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: 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" +"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" "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.4.2\n" +"X-Generator: Poedit 2.2.3\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:202 +#: Basic_Requirement_Checker.php:187 #, 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:206 +#: Basic_Requirement_Checker.php:191 #, 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:210 +#: Basic_Requirement_Checker.php:195 #, 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:214 +#: Basic_Requirement_Checker.php:199 #, php-format msgid "" "The “%s” plugin cannot run without OpenSSL module version at " @@ -54,16 +54,7 @@ msgstr "" "Wtyczka “%s” nie może działać bez aktywacji OpenSSL co najmniej " "w wersji %s. Zaktualizuj wersję OpenSSL." -#: 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 +#: Basic_Requirement_Checker.php:290 #, php-format msgid "" "The “%s” plugin cannot run without %s active. Please install and " @@ -72,7 +63,7 @@ msgstr "" "Wtyczka “%s” nie może działać bez aktywacji %s. Zainstaluj i " "aktywuj wtyczkę %s." -#: Basic_Requirement_Checker.php:452 +#: Basic_Requirement_Checker.php:349 #, php-format msgid "" "The “%s” plugin requires free %s plugin. <a href=\"%s\">Install " @@ -81,7 +72,7 @@ msgstr "" "Wtyczka “%s” wymaga bezpłatnej wtyczki %s. <a href=\"%s" "\">Zainstaluj %s →</a>" -#: Basic_Requirement_Checker.php:461 +#: Basic_Requirement_Checker.php:357 #, php-format msgid "" "The “%s” plugin requires activating %s plugin. <a href=\"%s" @@ -90,7 +81,7 @@ msgstr "" "Wtyczka “%s” wymaga aktywnej wtyczki %s. <a href=\"%s\">Aktywuj " "%s →</a>" -#: Basic_Requirement_Checker.php:508 +#: Basic_Requirement_Checker.php:403 #, php-format msgid "" "The “%s” plugin cannot run without %s php module installed. " @@ -99,7 +90,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:536 +#: Basic_Requirement_Checker.php:431 #, 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 cffcafa3181274856d9e9fb690b15f98d4c37c5a..f9f35bc7397dd0b7d25a77f62488212c388207a4 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 to its latest release.', + $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin requires at least %s version of %s to work correctly. Please update it', $this->get_text_domain() ), esc_html( $this->plugin_name ), $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], $plugin['Name'] ) );