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

Merge branch 'feature/polish-translations' into 'master'

feature(core): added polish translations

See merge request !20
parents f7a72dc0 7a920f44
No related branches found
No related tags found
1 merge request!20feature(core): added polish translations
Pipeline #7895 passed with warnings with stages
in 3 minutes and 38 seconds
......@@ -4,3 +4,4 @@ composer.lock
build-coverage
docker-compose.yml
.phpcs-cache
/lang/*.mo
## [1.7.4] - 2022-07-14
### Added
- Polish translations.
## [1.7.3] - 2022-05-19
### Fixed
- Fixed syntax error in file.
......
......@@ -33,5 +33,12 @@
"phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage",
"phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never",
"phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage"
}
},
"extra": {
"text-domain": "wp-logs",
"translations-folder": "lang",
"po-files": {
"pl_PL": "pl_PL.po"
}
}
}
msgid ""
msgstr ""
"Project-Id-Version: wp-logs\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-14 16:11+0200\n"
"PO-Revision-Date: 2022-07-14 16:14+0200\n"
"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n"
"Language-Team: Maciej Swoboda <maciej.swoboda@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"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
"|| n%100>14) ? 1 : 2);\n"
"X-Poedit-Basepath: ../src\n"
"X-Poedit-SourceCharset: UTF-8\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;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Generator: Poedit 3.1.1\n"
"X-Poedit-SearchPath-0: .\n"
#: WP/WPCapture.php:25
#, php-format
msgid ""
"Can not enable WP Desk Debug log! Cannot create directory %s or this "
"directory is not writeable!"
msgstr ""
"Nie można włączyć WP Desk Debug log! Nie można utworzyć katalogu %s lub brak "
"uprawnień do zapisu w tym katalogu!"
#: WP/WPCapture.php:44
#, php-format
msgid "Can not enable WP Desk Debug log! Cannot create file %s!"
msgstr ""
"Nie można włączyć logowania błędów za pomocą WP Desk Debug! Nie można "
"utworzyć pliku %s!"
#: deprecated/wpdesk-logger.php:70
msgid "Disabled"
msgstr "Wyłączono"
#: deprecated/wpdesk-logger.php:71
msgid "Emergency"
msgstr "Wypadek"
#: deprecated/wpdesk-logger.php:72
msgid "Alert"
msgstr "Ostrzeżenie"
#: deprecated/wpdesk-logger.php:73
msgid "Critical"
msgstr "Błąd krytyczny"
#: deprecated/wpdesk-logger.php:74
msgid "Error"
msgstr "Błąd"
#: deprecated/wpdesk-logger.php:75
msgid "Warning"
msgstr "Ostrzeżenie"
#: deprecated/wpdesk-logger.php:76
msgid "Notice"
msgstr "Powiadomienie"
#: deprecated/wpdesk-logger.php:77
msgid "Info"
msgstr "Informacja"
#: deprecated/wpdesk-logger.php:78
msgid "Debug"
msgstr "Debugowanie"
......@@ -30,7 +30,7 @@
-->
<!-- Define plugin text domain for i18n. -->
<config name="text_domain" value="wpdesk-helper"/>
<config name="text_domain" value="wp-logs"/>
<!-- This value should be aligned with WordPress support version declared in plugin header -->
<config name="minimum_supported_wp_version" value="5.0"/>
......
......@@ -23,7 +23,7 @@ class WPCapture {
// Translators: directory.
__(
'Can not enable WP Desk Debug log! Cannot create directory %s or this directory is not writeable!',
'wpdesk-helper'
'wp-logs'
),
$dir
),
......@@ -42,7 +42,7 @@ class WPCapture {
// Translators: directory.
__(
'Can not enable WP Desk Debug log! Cannot create file %s!',
'wpdesk-helper'
'wp-logs'
),
$file
),
......@@ -141,4 +141,4 @@ class WPCapture {
private function get_index_file() {
return trailingslashit( $this->get_log_dir() ) . 'index.html';
}
}
\ No newline at end of file
}
......@@ -67,15 +67,15 @@ if ( ! class_exists( 'WPDesk_Logger' ) ) {
public function wpdesk_logger_level_options( array $options ) {
return [
'disabled' => __( 'Disabled', 'wpdesk-helper' ),
'emergency' => __( 'Emergency', 'wpdesk-helper' ),
'alert' => __( 'Alert', 'wpdesk-helper' ),
'critical' => __( 'Critical', 'wpdesk-helper' ),
'error' => __( 'Error', 'wpdesk-helper' ),
'warning' => __( 'Warning', 'wpdesk-helper' ),
'notice' => __( 'Notice', 'wpdesk-helper' ),
'info' => __( 'Info', 'wpdesk-helper' ),
'debug' => __( 'Debug', 'wpdesk-helper' ),
'disabled' => __( 'Disabled', 'wp-logs' ),
'emergency' => __( 'Emergency', 'wp-logs' ),
'alert' => __( 'Alert', 'wp-logs' ),
'critical' => __( 'Critical', 'wp-logs' ),
'error' => __( 'Error', 'wp-logs' ),
'warning' => __( 'Warning', 'wp-logs' ),
'notice' => __( 'Notice', 'wp-logs' ),
'info' => __( 'Info', 'wp-logs' ),
'debug' => __( 'Debug', 'wp-logs' ),
];
}
......
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