Skip to content
Snippets Groups Projects
Commit e86bfa30 authored by Sebastian Pisula's avatar Sebastian Pisula
Browse files

feature(core): Update translation and message

parent 35eb35b7
No related branches found
No related tags found
1 merge request!31feature(core): Update translation and message
Pipeline #10923 passed with warnings with stages
in 1 minute and 13 seconds
/vendor/ /vendor/
.idea .idea
composer.lock composer.lock
build-coverage build-coverage
\ No newline at end of file /lang/*.mo
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WP Basic Requirements\n" "Project-Id-Version: WP Basic Requirements\n"
"POT-Creation-Date: 2021-03-01 10:11+0100\n" "POT-Creation-Date: 2021-03-01 11:52+0100\n"
"PO-Revision-Date: 2021-03-01 10:12+0100\n" "PO-Revision-Date: 2021-03-01 11:53+0100\n"
"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n" "Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: pl_PL\n" "Language: pl_PL\n"
...@@ -54,16 +54,16 @@ msgstr "" ...@@ -54,16 +54,16 @@ msgstr ""
"Wtyczka &#8220;%s&#8221; nie może działać bez aktywacji OpenSSL co najmniej " "Wtyczka &#8220;%s&#8221; nie może działać bez aktywacji OpenSSL co najmniej "
"w wersji %s. Zaktualizuj wersję OpenSSL." "w wersji %s. Zaktualizuj wersję OpenSSL."
#: Basic_Requirement_Checker.php:306 #: Basic_Requirement_Checker.php:308
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin requires at least %s version of %s to work " "The &#8220;%1$s&#8221; plugin requires at least %2$s version of %3$s to work "
"correctly. Please update it to its latest release." "correctly. Please update it to its latest release."
msgstr "" msgstr ""
"Do poprawnego działania &#8220;%s&#8221; wymaga wtyczki %s co najmniej w " "Do poprawnego działania wtyczki &#8220;%1$s&#8221; wymagana jest wtyczka "
"wersji %s. Prosimy o wykonanie aktualizacji." "%3$s w wersji co najmniej %2$s. Prosimy o wykonanie aktualizacji."
#: Basic_Requirement_Checker.php:391 #: Basic_Requirement_Checker.php:395
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin cannot run without %s active. Please install and " "The &#8220;%s&#8221; plugin cannot run without %s active. Please install and "
...@@ -72,7 +72,7 @@ msgstr "" ...@@ -72,7 +72,7 @@ msgstr ""
"Wtyczka &#8220;%s&#8221; nie może działać bez aktywacji %s. Zainstaluj i " "Wtyczka &#8220;%s&#8221; nie może działać bez aktywacji %s. Zainstaluj i "
"aktywuj wtyczkę %s." "aktywuj wtyczkę %s."
#: Basic_Requirement_Checker.php:452 #: Basic_Requirement_Checker.php:456
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin requires free %s plugin. <a href=\"%s\">Install " "The &#8220;%s&#8221; plugin requires free %s plugin. <a href=\"%s\">Install "
...@@ -81,7 +81,7 @@ msgstr "" ...@@ -81,7 +81,7 @@ msgstr ""
"Wtyczka &#8220;%s&#8221; wymaga bezpłatnej wtyczki %s. <a href=\"%s" "Wtyczka &#8220;%s&#8221; wymaga bezpłatnej wtyczki %s. <a href=\"%s"
"\">Zainstaluj %s →</a>" "\">Zainstaluj %s →</a>"
#: Basic_Requirement_Checker.php:461 #: Basic_Requirement_Checker.php:465
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin requires activating %s plugin. <a href=\"%s" "The &#8220;%s&#8221; plugin requires activating %s plugin. <a href=\"%s"
...@@ -90,7 +90,7 @@ msgstr "" ...@@ -90,7 +90,7 @@ msgstr ""
"Wtyczka &#8220;%s&#8221; wymaga aktywnej wtyczki %s. <a href=\"%s\">Aktywuj " "Wtyczka &#8220;%s&#8221; wymaga aktywnej wtyczki %s. <a href=\"%s\">Aktywuj "
"%s →</a>" "%s →</a>"
#: Basic_Requirement_Checker.php:508 #: Basic_Requirement_Checker.php:512
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin cannot run without %s php module installed. " "The &#8220;%s&#8221; plugin cannot run without %s php module installed. "
...@@ -99,7 +99,7 @@ msgstr "" ...@@ -99,7 +99,7 @@ msgstr ""
"Wtyczka &#8220;%s&#8221; nie może działać bez modułu php: %s. Skontaktuj się " "Wtyczka &#8220;%s&#8221; nie może działać bez modułu php: %s. Skontaktuj się "
"z administratorem hostingu i poproś o instalację %s." "z administratorem hostingu i poproś o instalację %s."
#: Basic_Requirement_Checker.php:536 #: Basic_Requirement_Checker.php:540
#, php-format #, php-format
msgid "" msgid ""
"The &#8220;%s&#8221; plugin cannot run without %s php setting set to %s. " "The &#8220;%s&#8221; plugin cannot run without %s php setting set to %s. "
......
...@@ -303,10 +303,14 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { ...@@ -303,10 +303,14 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) {
if ( count( $required_plugins ) > 0 ) { if ( count( $required_plugins ) > 0 ) {
foreach ( $required_plugins as $plugin ) { foreach ( $required_plugins as $plugin ) {
if ( version_compare( $plugin['Version'], $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], '<' ) ) { if ( version_compare( $plugin['Version'], $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], '<' ) ) {
$notices[] = $this->prepare_notice_message( sprintf( __( 'The &#8220;%s&#8221; plugin requires at least %s version of %s to work correctly. Please update it to its latest release.', $notices[] = $this->prepare_notice_message(
$this->get_text_domain() ), sprintf(
esc_html( $this->plugin_name ), $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], __( 'The &#8220;%1$s&#8221; plugin requires at least %2$s version of %3$s to work correctly. Please update it to its latest release.', $this->get_text_domain() ),
$plugin['Name'] ) ); esc_html( $this->plugin_name ),
$plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ],
$plugin['Name']
)
);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment