Skip to content

Commit 94f2f1d

Browse files
committed
Update from vk-blocks-pro
1 parent fe1d6c0 commit 94f2f1d

39 files changed

+2365
-946
lines changed

editor-css/_editor_before_grid-column.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
//inner-blocksの中のinner-blocksのcss打ち消し
1414
.block-editor-inner-blocks .block-editor-block-list__layout{
15-
flex-direction:unset;
16-
flex-wrap: unset;
1715
&.wp-block-social-links, //inner-blocksの中のinner-blocksがソーシャルアイコンブロックだった場合
1816
&.wp-block-group { //inner-blocksの中のinner-blocksがグループブロックだった場合
1917
display: flex;
20-
flex-direction: row;
2118
flex-wrap: wrap;
2219
}
20+
&.wp-block-group:where(:not(.is-vertical)){ //垂直レイアウトの場合は除外したいため追加
21+
flex-direction: row;
22+
}
2323
}
2424

2525
// colの余分な余白の削除など

gulpfile.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ gulp.task('text-domain-free', (done) => {
2020
.pipe(replace("wp_set_script_translations( 'vk-blocks-build-js', 'vk-blocks-pro', VK_BLOCKS_DIR_PATH . 'languages' );", "wp_set_script_translations( 'vk-blocks-build-js', 'vk-blocks' );"))
2121
.pipe(gulp.dest('./inc/'));
2222
gulp.src(['./src/**'])
23-
.pipe(replace(/__\(\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gm, "__( $1, 'vk-blocks' )"))
24-
.pipe(replace(/_e\(\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gm, "_e( $1, 'vk-blocks' )"))
25-
.pipe(replace(/_n_noop\(\s*?(['"`].*?['"`]),\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gm, "_n_noop( $1, $2, 'vk-blocks' )"))
26-
.pipe(replace(/_x\(\s*?(['"`].*?['"`]),\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gm, "_x( $1, $2, 'vk-blocks' )"))
27-
.pipe(replace('"textdomain": "vk-blocks-pro"', '"textdomain": "vk-blocks"'))
23+
.pipe(replace(/__\(\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gsm, "__( $1, 'vk-blocks' )"))
24+
.pipe(replace(/_e\(\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gsm, "_e( $1, 'vk-blocks' )"))
25+
.pipe(replace(/_n_noop\(\s*?(['"`].*?['"`]),\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gsm, "_n_noop( $1, $2, 'vk-blocks' )"))
26+
.pipe(replace(/_x\(\s*?(['"`].*?['"`]),\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gsm, "_x( $1, $2, 'vk-blocks' )"))
27+
.pipe(replace(/"textdomain":\s*?["']vk-blocks-pro["']/gsm, '"textdomain": "vk-blocks"'))
2828
.pipe(gulp.dest('./src/'));
2929
gulp.src(['./test/**'])
3030
.pipe(replace(/__\(\s*?(['"`].*?['"`]),\s*?['"`]vk-blocks-pro['"`]\s*?\)/gm, "__( $1, 'vk-blocks' )"))

languages/vk-blocks-pro-ja-vk-blocks-admin-js.json

+1-1
Large diffs are not rendered by default.

languages/vk-blocks-pro-ja-vk-blocks-build-js.json

+1-1
Large diffs are not rendered by default.

languages/vk-blocks-pro-ja.l10n.php

+1-1
Large diffs are not rendered by default.

languages/vk-blocks-pro-ja.mo

1.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)