From fc8ce1cf17556ae596ff34f8ae446ce570f7b8de Mon Sep 17 00:00:00 2001 From: Sebastian Pisula <sebastian.pisula@gmail.com> Date: Wed, 13 Jul 2022 13:12:27 +0200 Subject: [PATCH] feature(core): Fixed text domain --- CHANGELOG.md | 4 ++++ composer.json | 2 +- lang/{wpdesk-rating-petition-pl_PL.po => pl_PL.po} | 8 ++++---- src/views/html-text-petition.php | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) rename lang/{wpdesk-rating-petition-pl_PL.po => pl_PL.po} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3be7f2e..625bb94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.3.1] - 2022-07-13 +### Fixed +- text domain + ## [1.3.0] - 2022-05-22 ### Changes - plugin flow library diff --git a/composer.json b/composer.json index 560e21a..e6e9330 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "text-domain": "wpdesk-rating-petition", "translations-folder": "lang", "po-files": { - "pl_PL": "wpdesk-rating-petition-pl_PL.po" + "pl_PL": "pl_PL.po" } }, "scripts": { diff --git a/lang/wpdesk-rating-petition-pl_PL.po b/lang/pl_PL.po similarity index 99% rename from lang/wpdesk-rating-petition-pl_PL.po rename to lang/pl_PL.po index d4cb495..9131817 100644 --- a/lang/wpdesk-rating-petition-pl_PL.po +++ b/lang/pl_PL.po @@ -1,9 +1,9 @@ msgid "" msgstr "" "Project-Id-Version: WP Desk Helper\n" -"POT-Creation-Date: 2022-02-07 14:26+0100\n" -"PO-Revision-Date: 2022-02-07 14:26+0100\n" -"Last-Translator: Krzysztof Dyszczyk <krzysztof.dyszczyk@gmail.com>\n" +"POT-Creation-Date: 2022-07-13 13:11+0200\n" +"PO-Revision-Date: 2022-07-13 13:11+0200\n" +"Last-Translator: Sebastian Pisula <sebastian.pisula@gmail.com>\n" "Language-Team: Polish\n" "Language: pl_PL\n" "MIME-Version: 1.0\n" @@ -11,7 +11,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\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.0.1\n" +"X-Generator: Poedit 3.1.1\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;" diff --git a/src/views/html-text-petition.php b/src/views/html-text-petition.php index 663ebb4..c176d09 100644 --- a/src/views/html-text-petition.php +++ b/src/views/html-text-petition.php @@ -8,7 +8,7 @@ ?><div class="wpdesk-rating-petition" style="text-align: <?php echo esc_attr( $text_align ); ?>;"> <?php echo wp_kses_post( sprintf( - __( 'Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in plugins repository →%6$s', 'wp-wpdesk-rating-petition' ), + __( 'Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in plugins repository →%6$s', 'wpdesk-rating-petition' ), '<span class="heart">♥</span>', $plugin_author, '<span class="plugin-title">' . $plugin_title . '</span>', -- GitLab