diff --git a/CHANGELOG.md b/CHANGELOG.md index 3376e95a3bb1faa435aa1385b698669c20b54aa9..4febe358b3e0999457cf943018689b4375d671fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [3.3.0] - 2022-08-09 +### Added +- en_AU translators + ## [3.2.8] - 2022-07-18 ### Added - __DIR__ for requires diff --git a/composer.json b/composer.json index 5ab9f3e522a1d5ae48397fad0eb441849ae712d3..c406b824438145a1dffad2b1877f4f0e426b183e 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,8 @@ "text-domain": "wp-basic-requirements", "translations-folder": "lang", "po-files": { - "pl_PL": "wp-basic-requirements-pl_PL.po" + "pl_PL": "wp-basic-requirements-pl_PL.po", + "en_AU": "wp-basic-requirements-en_AU.po" } }, "scripts": { diff --git a/lang/wp-basic-requirements-en_AU.po b/lang/wp-basic-requirements-en_AU.po new file mode 100644 index 0000000000000000000000000000000000000000..1483bc8b0d222212a385af8b120cf35dc72b1d00 --- /dev/null +++ b/lang/wp-basic-requirements-en_AU.po @@ -0,0 +1,117 @@ +msgid "" +msgstr "" +"Project-Id-Version: WP Basic Requirements\n" +"POT-Creation-Date: 2021-03-01 11:52+0100\n" +"PO-Revision-Date: 2022-08-08 16:47+0200\n" +"Last-Translator: Åukasz Spryszak <lukasz.spryszak@octolize.com>\n" +"Language-Team: Åukasz Spryszak <lspryszak@gmail.com>\n" +"Language: en_AU\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.1.1\n" +"X-Poedit-Basepath: ../src\n" +"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" +"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" +"\"\n" +"X-Poedit-SearchPath-0: .\n" + +#: Basic_Requirement_Checker.php:202 +#, php-format +msgid "" +"The “%s” plugin cannot run on PHP versions older than %s. Please " +"contact your host and ask them to upgrade." +msgstr "" +"The “%s” plugin cannot run on PHP versions older than %s. Please " +"contact your host and ask them to upgrade." + +#: Basic_Requirement_Checker.php:206 +#, php-format +msgid "" +"The “%s” plugin cannot run on WordPress versions older than %s. " +"Please update WordPress." +msgstr "" +"The “%s” plugin cannot run on WordPress versions older than %s. " +"Please update WordPress." + +#: Basic_Requirement_Checker.php:210 +#, php-format +msgid "" +"The “%s” plugin cannot run on WooCommerce versions older than %s. " +"Please update WooCommerce." +msgstr "" +"The “%s” plugin cannot run on WooCommerce versions older than %s. " +"Please update WooCommerce." + +#: Basic_Requirement_Checker.php:214 +#, php-format +msgid "" +"The “%s” plugin cannot run without OpenSSL module version at least " +"%s. Please update OpenSSL module." +msgstr "" +"The “%s” plugin cannot run without OpenSSL module version at least " +"%s. Please update OpenSSL module." + +#: Basic_Requirement_Checker.php:308 +#, php-format +msgid "" +"The “%1$s” plugin requires at least %2$s version of %3$s to work " +"correctly. Please update it to its latest release." +msgstr "" +"The “%1$s” plugin requires at least %2$s version of %3$s to work " +"correctly. Please update it to its latest release." + +#: Basic_Requirement_Checker.php:395 +#, php-format +msgid "" +"The “%s” plugin cannot run without %s active. Please install and " +"activate %s plugin." +msgstr "" +"The “%s” plugin cannot run without %s active. Please install and " +"activate %s plugin." + +#: Basic_Requirement_Checker.php:456 +#, php-format +msgid "" +"The “%s” plugin requires free %s plugin. <a href=\"%s\">Install %s " +"→</a>" +msgstr "" +"The “%s” plugin requires free %s plugin. <a href=\"%s\">Install %s " +"→</a>" + +#: Basic_Requirement_Checker.php:465 +#, php-format +msgid "" +"The “%s” plugin requires activating %s plugin. <a href=\"%s" +"\">Activate %s →</a>" +msgstr "" +"The “%s” plugin requires activating %s plugin. <a href=\"%s" +"\">Activate %s →</a>" + +#: Basic_Requirement_Checker.php:512 +#, php-format +msgid "" +"The “%s” plugin cannot run without %s PHP module installed. Please " +"contact your host and ask them to install %s." +msgstr "" +"The “%s” plugin cannot run without %s PHP module installed. Please " +"contact your host and ask them to install %s." + +#: Basic_Requirement_Checker.php:540 +#, php-format +msgid "" +"The “%s” plugin cannot run without %s PHP setting set to %s. Please " +"contact your host and ask them to set %s." +msgstr "" +"The “%s” plugin cannot run without %s PHP setting set to %s. Please " +"contact your host and ask them to set %s." + +#: Basic_Requirement_Checker_With_Update_Disable.php:27 +#, php-format +msgid "" +"The “%s” plugin is temporarily disabled since the required %s plugin is " +"being upgraded." +msgstr "" +"The “%s” plugin is temporarily disabled since the required %s plugin is " +"being upgraded." diff --git a/lang/wp-basic-requirements-pl_PL.po b/lang/wp-basic-requirements-pl_PL.po index eebfb4a6985a7e2e3856fcd5fcaad5b7c0298f61..9dc16bb47bd1c65c30b32384b4c4c47f566b4f9d 100644 --- a/lang/wp-basic-requirements-pl_PL.po +++ b/lang/wp-basic-requirements-pl_PL.po @@ -2,17 +2,17 @@ msgid "" msgstr "" "Project-Id-Version: WP Basic Requirements\n" "POT-Creation-Date: 2021-03-01 11:52+0100\n" -"PO-Revision-Date: 2021-03-01 11:53+0100\n" -"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n" -"Language-Team: \n" +"PO-Revision-Date: 2022-08-08 16:32+0200\n" +"Last-Translator: Åukasz Spryszak <lukasz.spryszak@octolize.com>\n" +"Language-Team: Åukasz Spryszak <lspryszak@gmail.com>\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-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" +"X-Generator: Poedit 3.1.1\n" +"X-Poedit-Basepath: ../src\n" "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" "\"\n" @@ -24,8 +24,8 @@ msgid "" "The “%s” plugin cannot run on PHP versions older than %s. Please " "contact your host and ask them to upgrade." msgstr "" -"Wtyczka “%s” nie może dziaÅ‚ać w wersjach PHP starszych niż %s. " -"Skontaktuj siÄ™ z administratorem hostingu i poproÅ› o aktualizacjÄ™." +"Wtyczka “%s” nie może dziaÅ‚ać na wersjach PHP starszych niż %s. " +"Skontaktuj siÄ™ z administratorem hostingu i poproÅ› o aktualizacjÄ™ wersji PHP." #: Basic_Requirement_Checker.php:206 #, php-format @@ -33,8 +33,8 @@ msgid "" "The “%s” plugin cannot run on WordPress versions older than %s. " "Please update WordPress." msgstr "" -"Wtyczka “%s” nie może dziaÅ‚ać w wersjach WordPress starszych niż " -"%s. Prosimy o aktualizacjÄ™ WordPress." +"Wtyczka “%s” nie może dziaÅ‚ać na wersjach WordPressa starszych " +"niż %s. Wykonaj aktualizacjÄ™ WordPressa." #: Basic_Requirement_Checker.php:210 #, php-format @@ -42,8 +42,8 @@ msgid "" "The “%s” plugin cannot run on WooCommerce versions older than " "%s. Please update WooCommerce." msgstr "" -"Wtyczka “%s” nie może dziaÅ‚ać w wersjach WooCommerce starszych " -"niż %s. Prosimy o aktualizacjÄ™ WooCommerce." +"Wtyczka “%s” nie może dziaÅ‚ać na wersjach WooCommerce starszych " +"niż %s. Wykonaj aktualizacjÄ™ WooCommerce." #: Basic_Requirement_Checker.php:214 #, php-format @@ -52,7 +52,7 @@ msgid "" "least %s. Please update OpenSSL module." msgstr "" "Wtyczka “%s” nie może dziaÅ‚ać bez aktywacji OpenSSL co najmniej " -"w wersji %s. Zaktualizuj wersjÄ™ OpenSSL." +"w wersji %s. Wykonaj aktualizacjÄ™ OpenSSL." #: Basic_Requirement_Checker.php:308 #, php-format @@ -61,7 +61,7 @@ msgid "" "correctly. Please update it to its latest release." msgstr "" "Do poprawnego dziaÅ‚ania wtyczki “%1$s” wymagana jest wtyczka " -"%3$s w wersji co najmniej %2$s. Prosimy o wykonanie aktualizacji." +"%3$s co najmniej w wersji %2$s. Wykonaj jej aktualizacjÄ™." #: Basic_Requirement_Checker.php:395 #, php-format @@ -87,55 +87,32 @@ msgid "" "The “%s” plugin requires activating %s plugin. <a href=\"%s" "\">Activate %s →</a>" msgstr "" -"Wtyczka “%s” wymaga aktywnej wtyczki %s. <a href=\"%s\">Aktywuj " -"%s →</a>" +"Wtyczka “%s” wymaga aktywnej wtyczki %s. <a href=\"%s\">Włącz %s " +"→</a>" #: Basic_Requirement_Checker.php:512 #, php-format msgid "" -"The “%s” plugin cannot run without %s php module installed. " +"The “%s” plugin cannot run without %s PHP module installed. " "Please contact your host and ask them to install %s." msgstr "" -"Wtyczka “%s” nie może dziaÅ‚ać bez moduÅ‚u php: %s. Skontaktuj siÄ™ " +"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:540 #, php-format msgid "" -"The “%s” plugin cannot run without %s php setting set to %s. " +"The “%s” plugin cannot run without %s PHP setting set to %s. " "Please contact your host and ask them to set %s." msgstr "" -"Wtyczka “%s” nie może dziaÅ‚ać bez ustawienia php %s ustawionego " +"Wtyczka “%s” nie może dziaÅ‚ać bez ustawienia PHP %s ustawionego " "na %s. Skontaktuj siÄ™ z administratorem hostingu i poproÅ› o ustawienie %s." #: Basic_Requirement_Checker_With_Update_Disable.php:27 #, php-format msgid "" -"The “%s” plugin disables temporarily as required %s plugin is " +"The “%s” plugin is temporarily disabled since the required %s plugin is " "being upgraded." msgstr "" -"Wtyczka “%s” jest chwilowo nieaktywna, ponieważ wymagana wtyczka " -"%s jest wÅ‚aÅ›nie aktualizowana." - -#~ msgid "" -#~ "The “%s” plugin cannot start as there is a dependency " -#~ "conflict with other existing plugin “%s”. Please upgrade all " -#~ "plugins to the most recent version or disable the “%s” plugin." -#~ msgstr "" -#~ "Wtyczka “%s” nie może zostać uruchomiona, ponieważ powstaÅ‚ " -#~ "konflikt zależnoÅ›ci z już uruchomionÄ… wtyczkÄ… “%s”. ProszÄ™ " -#~ "zaktualizuj wtyczki do najnowszych wersji lub dezaktywuj wtyczkÄ™ “" -#~ "%s”." - -#~ msgid "" -#~ "The “%s” plugin cannot start as there is a dependency " -#~ "conflict with other existing plugin “%s”. The required " -#~ "version of dependency %s is %s and the version used by plugin “" -#~ "%s” is %s. Please upgrade all plugins to the most recent version or " -#~ "disable the “%s” plugin." -#~ msgstr "" -#~ "Plugin “%s” nie może zostać uruchomiony, ponieważ powstaÅ‚ " -#~ "konflikt zależnoÅ›ci z już uruchomionem pluginem “%s”. " -#~ "Wymagana wersja zależnoÅ›ci %s to %s, a wersja używana przez plugin “" -#~ "%s” to %s. ProszÄ™ zaktualizuj pluginy do najnowszej wersji lub " -#~ "deaktywuj plugin “%s”." +"Wtyczka “%s” zostaÅ‚a chwilowo wyłączona, ponieważ wymagana " +"wtyczka %s jest wÅ‚aÅ›nie aktualizowana." \ No newline at end of file diff --git a/src/Basic_Requirement_Checker.php b/src/Basic_Requirement_Checker.php index 797516627b07717411a1b42499a12816ada15539..239b2e4deeb9dc89b0f66cbd711b7c6190894266 100644 --- a/src/Basic_Requirement_Checker.php +++ b/src/Basic_Requirement_Checker.php @@ -509,7 +509,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { if ( count( $this->module_require ) > 0 ) { foreach ( $this->module_require as $module_name => $nice_module_name ) { if ( ! self::is_module_active( $module_name ) ) { - $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin cannot run without %s php module installed. Please contact your host and ask them to install %s.', + $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin cannot run without %s PHP module installed. Please contact your host and ask them to install %s.', $this->get_text_domain() ), esc_html( $this->plugin_name ), esc_html( basename( $nice_module_name ) ), esc_html( basename( $nice_module_name ) ) ) ); } @@ -537,7 +537,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { if ( count( $this->setting_require ) > 0 ) { foreach ( $this->setting_require as $setting => $value ) { if ( ! self::is_setting_set( $setting, $value ) ) { - $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin cannot run without %s php setting set to %s. Please contact your host and ask them to set %s.', + $notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin cannot run without %s PHP setting set to %s. Please contact your host and ask them to set %s.', $this->get_text_domain() ), esc_html( $this->plugin_name ), esc_html( basename( $setting ) ), esc_html( basename( $value ) ), esc_html( basename( $setting ) ) ) ); diff --git a/src/Basic_Requirement_Checker_With_Update_Disable.php b/src/Basic_Requirement_Checker_With_Update_Disable.php index cb668311612ffc5b2d614beb811c1f4d602b7927..791603fb4963653c58ac175a17059cce3150205a 100644 --- a/src/Basic_Requirement_Checker_With_Update_Disable.php +++ b/src/Basic_Requirement_Checker_With_Update_Disable.php @@ -24,7 +24,7 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker_With_Update_Disable' ) ) foreach ( $this->plugin_require as $name => $plugin_info ) { if ( $this->is_currently_updated( $name ) ) { $nice_name = $plugin_info[ self::PLUGIN_INFO_KEY_NICE_NAME ]; - $this->notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin disables temporarily as required %s plugin is being upgraded.', + $this->notices[] = $this->prepare_notice_message( sprintf( __( 'The “%s” plugin is temporarily disabled since the required %s plugin is being upgraded.', $this->get_text_domain() ), $this->plugin_name, $nice_name, $nice_name ) ); }