Skip to content

Commit

Permalink
Merge branch 'develop' into release/3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed Apr 30, 2024
2 parents 701777a + b97e5fc commit 8ce4f20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DonorDashboards/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ public function loadEditorAssets()
GIVE_VERSION,
true
);
wp_set_script_translations( 'give-donor-dashboards-block', 'give' );
}
}
2 changes: 2 additions & 0 deletions src/Promotions/WelcomeBanner/WelcomeBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public function loadScripts(): void
]
);

wp_set_script_translations( 'givewp-welcome-banner', 'give' );

wp_enqueue_style('givewp-design-system-foundation');
wp_enqueue_style('givewp-admin-fonts');
}
Expand Down
1 change: 1 addition & 0 deletions src/Views/Admin/DashboardWidgets/Reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public function enqueue_scripts($base)
'assetsUrl' => GIVE_PLUGIN_URL . 'assets/dist',
]
);
wp_set_script_translations( 'give-admin-reports-widget-js', 'give' );
}

public function get_all_time_start()
Expand Down

0 comments on commit 8ce4f20

Please sign in to comment.