diff --git a/CHANGELOG.md b/CHANGELOG.md index ee680adc38809a58f6f8aafd5d2e94048e028221..10472af82653fea9f36416e28c5527d6064c57b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.6.3] - 2025-04-22 +### Fixed +- text domain + ## [1.6.2] - 2023-04-05 ### Fixed - bottom margin diff --git a/composer.json b/composer.json index 2c29e7f6a4ed98893b4c7a7c7120a438972195ed..45f1985ad9f04951392af042a100ba8741418348 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "classmap": ["tests/"] }, "extra": { - "text-domain": "wpdesk-rating-petition", + "text-domain": "wp-wpdesk-rating-petition", "translations-folder": "lang", "po-files": { "pl_PL": "pl_PL.po", diff --git a/src/RatingPetitionNotice.php b/src/RatingPetitionNotice.php index e78fc0c93d9c2b7bb1c5c9cc4637c9a194a6fa12..b80a8c83785c91bc5466c228007decd4586ff1ab 100644 --- a/src/RatingPetitionNotice.php +++ b/src/RatingPetitionNotice.php @@ -166,7 +166,7 @@ class RatingPetitionNotice implements Hookable { */ private function get_notice_content() { // Translators: plugin name. - $content = sprintf( __( 'Awesome, you\'ve been using %s for more than 2 weeks. Could you please do me a BIG favor and give it a 5-star rating on WordPress? ~ Peter', 'wpdesk-rating-petition' ), $this->plugin_name ); + $content = sprintf( __( 'Awesome, you\'ve been using %s for more than 2 weeks. Could you please do me a BIG favor and give it a 5-star rating on WordPress? ~ Peter', 'wp-wpdesk-rating-petition' ), $this->plugin_name ); $content .= '<br/>'; $content .= implode( ' | ', $this->action_links() ); @@ -181,19 +181,19 @@ class RatingPetitionNotice implements Hookable { protected function action_links() { $actions[] = sprintf( // phpcs:ignore // Translators: link. - __( '%1$sOk, you deserved it%2$s', 'wpdesk-rating-petition' ), + __( '%1$sOk, you deserved it%2$s', 'wp-wpdesk-rating-petition' ), '<a class="fs-response-deserved" target="_blank" href="' . esc_url( $this->rate_url ) . '">', '</a>' ); $actions[] = sprintf( // Translators: link. - __( '%1$sNope, maybe later%2$s', 'wpdesk-rating-petition' ), + __( '%1$sNope, maybe later%2$s', 'wp-wpdesk-rating-petition' ), '<a class="fs-response-close-temporary-notice notice-dismiss-link" data-source="' . self::CLOSE_TEMPORARY_NOTICE . '" href="#">', '</a>' ); $actions[] = sprintf( // Translators: link. - __( '%1$sI already did%2$s', 'wpdesk-rating-petition' ), + __( '%1$sI already did%2$s', 'wp-wpdesk-rating-petition' ), '<a class="fs-response-already-did notice-dismiss-link" data-source="already-did" href="#">', '</a>' ); diff --git a/src/TextPetitionDisplayer.php b/src/TextPetitionDisplayer.php index 258f3aa4c422e54c065cad76d65dbb1c8619d6e4..233d68ab9038da2fb9244b417d76c7289caa4541 100644 --- a/src/TextPetitionDisplayer.php +++ b/src/TextPetitionDisplayer.php @@ -48,7 +48,7 @@ class TextPetitionDisplayer implements Hookable { */ public function enqueue_css_if_should() { if ( $this->display_decision->should_display() ) { - wp_enqueue_style( 'wpdesk-rating-petition', plugin_dir_url( __DIR__ . '/../assets/css/style.css' ) . 'style.css', array(), self::SCRIPTS_VERSION ); + wp_enqueue_style( 'wp-wpdesk-rating-petition', plugin_dir_url( __DIR__ . '/../assets/css/style.css' ) . 'style.css', array(), self::SCRIPTS_VERSION ); } } diff --git a/src/views/html-text-petition.php b/src/views/html-text-petition.php index c176d09e33835ab5d1f7e28669242ab27bac6239..663ebb4f8a2283efc9f1aeda98b2fcb198e04d9f 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', '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', 'wp-wpdesk-rating-petition' ), '<span class="heart">♥</span>', $plugin_author, '<span class="plugin-title">' . $plugin_title . '</span>',