Skip to content

Commit

Permalink
release: fixes
Browse files Browse the repository at this point in the history
* add JS translation compatibility
  • Loading branch information
selul authored Jun 11, 2021
2 parents 0a5dd00 + e7c5361 commit 98b6738
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions class-otter-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ public function enqueue_options_assets() {
true
);

wp_set_script_translations( 'otter-blocks-scripts', 'otter-blocks' );

wp_localize_script(
'otter-blocks-scripts',
'otterObj',
Expand Down

0 comments on commit 98b6738

Please sign in to comment.