From 649aaa5f621d33950cc16baf5240d368ce08342c Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Sun, 6 Oct 2024 12:26:39 +0600 Subject: [PATCH 1/5] modified includes/api/class-edd-api-v2.php --- includes/api/class-edd-api-v2.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/class-edd-api-v2.php b/includes/api/class-edd-api-v2.php index 3c610780c2..a44bd0fabd 100644 --- a/includes/api/class-edd-api-v2.php +++ b/includes/api/class-edd-api-v2.php @@ -174,6 +174,7 @@ public function get_products( $args = array() ) { $products['products'][0] = $this->get_product_data( $product_info ); } else { + // Translators: %s is the product name. $error['error'] = sprintf( __( 'Product %s not found!', 'easy-digital-downloads' ), $args['product'] ); return $error; } From e92ece2f3d4d3278a6be50cf2c49547ad7071532 Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Sun, 6 Oct 2024 12:31:10 +0600 Subject: [PATCH 2/5] modified includes/widgets.php --- includes/widgets.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/widgets.php b/includes/widgets.php index 11bd19f2cc..263e6f36ae 100755 --- a/includes/widgets.php +++ b/includes/widgets.php @@ -363,6 +363,7 @@ public function widget( $args, $instance ) { public function form( $instance ) { // Set up some default widget settings. $defaults = array( + // Translators: %s is the singular label of the product/item. 'title' => sprintf( __( '%s Details', 'easy-digital-downloads' ), edd_get_label_singular() ), 'display_type' => 'current', 'download_id' => false, From 62f38cba99e874dc970ab1d7065f92f3f8708f19 Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Sun, 6 Oct 2024 12:34:08 +0600 Subject: [PATCH 3/5] modified includes/EDD_SL_Plugin_Updater.php --- includes/EDD_SL_Plugin_Updater.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/EDD_SL_Plugin_Updater.php b/includes/EDD_SL_Plugin_Updater.php index 1b66129d71..5856fe47b3 100755 --- a/includes/EDD_SL_Plugin_Updater.php +++ b/includes/EDD_SL_Plugin_Updater.php @@ -298,6 +298,7 @@ public function show_update_notification( $file, $plugin ) { } elseif ( ! empty( $changelog_link ) ) { echo ' '; printf( + // Translators: %1$s is the link to view the version details, %2$s is the new version number, %3$s closes the version details link, %4$s is the link to update the plugin, %5$s closes the update link. __( '%1$sView version %2$s details%3$s or %4$supdate now%5$s.', 'easy-digital-downloads' ), '', esc_html( $update_cache->response[ $this->name ]->new_version ), From 5bebd9f4341c1cd1da0b27d52c9def6dc5040488 Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Sun, 6 Oct 2024 12:37:38 +0600 Subject: [PATCH 4/5] modified includes/reports/reports-functions.php --- includes/reports/reports-functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/reports/reports-functions.php b/includes/reports/reports-functions.php index e3bff70937..37f74f8b09 100644 --- a/includes/reports/reports-functions.php +++ b/includes/reports/reports-functions.php @@ -1478,6 +1478,7 @@ function display_products_filter() { 'variations' => true, 'selected' => empty( $products ) ? 0 : $products, 'show_option_none' => false, + // Translators: %s represents the plural label for the items in the context of Easy Digital Downloads. 'show_option_all' => sprintf( __( 'All %s', 'easy-digital-downloads' ), edd_get_label_plural() ), ) ); ?> From c73bf1f53a8b8d0a8a0deeb2c9ba3c28a162b760 Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Sun, 6 Oct 2024 12:39:37 +0600 Subject: [PATCH 5/5] modified includes/class-edd-download.php --- includes/class-edd-download.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-edd-download.php b/includes/class-edd-download.php index e3a93db69f..0b8ae287cb 100644 --- a/includes/class-edd-download.php +++ b/includes/class-edd-download.php @@ -374,6 +374,7 @@ public function __get( $key = '' ) { if ( method_exists( $this, "get_{$key}" ) ) { return call_user_func( array( $this, "get_{$key}" ) ); } else { + // Translators: %s is the name of the property that could not be retrieved. return new WP_Error( 'edd-download-invalid-property', sprintf( __( 'Can\'t get property %s', 'easy-digital-downloads' ), $key ) ); } }