Skip to content

Commit

Permalink
Apply jetpack_widget_name filter to widget title
Browse files Browse the repository at this point in the history
  • Loading branch information
artpi committed Oct 24, 2016
1 parent c36f7fa commit 5ebde71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/widgets/google-translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Google_Translate_Widget extends WP_Widget {
function __construct() {
parent::__construct(
'google_translate_widget',
__( 'Google Translate (Jetpack)', 'jetpack' ),
apply_filters( 'jetpack_widget_name', __( 'Google Translate', 'jetpack' ) ),
array( 'description' => __( 'Automatic translation of your site content', 'jetpack' ), )
);
wp_register_script( 'google-translate-init', plugins_url( 'google-translate/google-translate.js', __FILE__ ) );
Expand Down

0 comments on commit 5ebde71

Please sign in to comment.