Skip to content

Commit

Permalink
Merge pull request #83 from vektor-inc/develop
Browse files Browse the repository at this point in the history
[ Change version ] 1.16.2
  • Loading branch information
kurudrive authored Apr 11, 2022
2 parents 073000a + 6afcf44 commit 7e74dc9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 50 deletions.
10 changes: 10 additions & 0 deletions admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,13 @@ function vbp_admin_enqueue_scripts( $hook_suffix ) {
wp_localize_script( 'vk-patterns-admin-js', 'vkpOptions', $vbp_options );
}
add_action( 'admin_enqueue_scripts', 'vbp_admin_enqueue_scripts' );

/**
* Add admin js transration
*
* @return void
*/
function vbp_admin_script_translations() {
wp_set_script_translations( 'vk-patterns-admin-js', 'vk-block-patterns' );
}
add_action( 'init', 'vbp_admin_script_translations' );
Binary file removed languages/vk-block-patterns-ja.mo
Binary file not shown.
49 changes: 0 additions & 49 deletions languages/vk-block-patterns-ja.po

This file was deleted.

3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ When you activate this plugin that create new custom post type for custom block

== Changelog ==

= 1.16.2 =
[ Bug fix ] Admin transration

= 1.16.1 =
[ Add ][ Japanese ] Add VK Pattern Library link to block editor
[ Add style ] Add Table class
Expand Down
2 changes: 1 addition & 1 deletion vk-block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: VK Block Patterns
* Plugin URI: https://github.com/vektor-inc/vk-block-patterns
* Description: You can make and register your original custom block patterns.
* Version: 1.16.1
* Version: 1.16.2
* Requires at least: 5.8
* Author: Vektor,Inc.
* Author URI: https://vektor-inc.co.jp
Expand Down

0 comments on commit 7e74dc9

Please sign in to comment.