Skip to content

Commit

Permalink
Merge pull request #25 from vektor-inc/update/translate
Browse files Browse the repository at this point in the history
【確認待ち】Sentences and lower case tuning
  • Loading branch information
shimotmk authored Jun 15, 2023
2 parents dab9695 + be7b543 commit 9b0f4ff
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/copy-button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ export default function Edit(props) {
</BlockControls>
<InspectorControls>
<PanelBody
title={__('Copy button setting', 'vk-simple-copy-block')}
title={__('Settings', 'vk-simple-copy-block')}
>
<TextControl
label={__('Copy button Text', 'vk-simple-copy-block')}
label={__('Copy button text', 'vk-simple-copy-block')}
value={!!text ? text : ''}
onChange={(value) => {
setAttributes({ text: value });
}}
/>
<TextControl
label={__('Copy complete Text', 'vk-simple-copy-block')}
label={__('Copy complete text', 'vk-simple-copy-block')}
value={!!successText ? successText : ''}
onChange={(value) => {
setAttributes({ successText: value });
Expand Down
8 changes: 5 additions & 3 deletions src/copy-target/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"name": "vk-simple-copy-block/copy-target",
"category": "vk-blocks-cat",
"title": "Copy Target",
"description": "Block to be copied.",
"parent": ["vk-simple-copy-block/simple-copy"],
"description": "The inner blocks of this block will be copied.",
"parent": [
"vk-simple-copy-block/simple-copy"
],
"supports": {
"className": true,
"spacing": {
Expand All @@ -28,4 +30,4 @@
"reusable": false
},
"editorScript": "file:./index.js"
}
}
11 changes: 8 additions & 3 deletions src/simple-copy/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@
}
},
"supports": {
"align": ["wide", "full"],
"align": [
"wide",
"full"
],
"className": true,
"reusable": false
},
"viewScript": ["file:./view.js"],
"viewScript": [
"file:./view.js"
],
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css"
}
}

0 comments on commit 9b0f4ff

Please sign in to comment.