diff --git a/composer.lock b/composer.lock index 20676993f3..37857d6c15 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.49", + "version": "3.3.50", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20" + "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/605f78bbbd8526f7597a89077791043d9ecc8c20", - "reference": "605f78bbbd8526f7597a89077791043d9ecc8c20", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/3c1f8dfc2390e667bbc086c5d660900a7985efa6", + "reference": "3c1f8dfc2390e667bbc086c5d660900a7985efa6", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.49" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.50" }, - "time": "2025-09-18T13:41:05+00:00" + "time": "2025-11-25T19:36:35+00:00" }, { "name": "wptt/webfont-loader", @@ -694,5 +694,5 @@ "platform-overrides": { "php": "7.0" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } diff --git a/functions.php b/functions.php index 2cf1aca20f..092715b34c 100644 --- a/functions.php +++ b/functions.php @@ -164,3 +164,48 @@ function() { ); add_filter( 'themeisle_sdk_enable_telemetry', '__return_true' ); +add_filter( + 'themeisle_sdk_labels', + function ( $labels ) { + if ( isset( $labels['about_us'] ) ) { + $labels['about_us'] = array_merge( + $labels['about_us'], + array( + 'title' => __( 'About Us', 'neve' ), + 'heroHeader' => __( 'Our Story', 'neve' ), + ) + ); + } + if ( isset( $labels['dashboard_widget'] ) ) { + $labels['dashboard_widget'] = array_merge( + $labels['dashboard_widget'], + array( + 'title' => __( 'WordPress Guides/Tutorials', 'neve' ), + /* translators: %s: product name */ + 'popular' => __( 'Popular %s', 'neve' ), + 'install' => __( 'Install', 'neve' ), + /* translators: %s: product name */ + 'powered' => __( 'Powered by %s', 'neve' ), + ) + ); + } + if ( isset( $labels['compatibilities'] ) ) { + $labels['compatibilities'] = array_merge( + $labels['compatibilities'], + array( + /* translators: %s: product name, %s: requirement name %s: update link start, %s: update link end, %s: requirement name %s: requirement type(theme/plugin) */ + 'notice' => __( '%1$s requires a newer version of %2$s. Please %3$supdate%4$s %5$s %6$s to the latest version.', 'neve' ), + /* translators: %s: product name, %s: requirement name %s: update link start, %s: update link end, %s: requirement name %s: requirement type(theme/plugin) */ + 'notice2' => __( '%1$s update requires a newer version of %2$s. Please %3$supdate%4$s %5$s %6$s.', 'neve' ), + /* translators: $1: Bold start, $2: Bold end, $3: theme name, $4: plugin name */ + 'notice_theme' => __( '%1$sWarning:%2$s This theme has not been tested with your current version of %1$s%3$s%2$s. Please update %3$s plugin.', 'neve' ), + /* translators: $1: Bold start, $2: Bold end, $3: Product name, $4: product type(theme/plugin) */ + 'notice_plugin' => __( '%1$sWarning:%2$s This plugin has not been tested with your current version of %1$s%3$s%2$s. Please update %3$s %4$s.', 'neve' ), + 'theme' => __( 'theme', 'neve' ), + 'plugin' => __( 'plugin', 'neve' ), + ) + ); + } + return $labels; + } +);