Skip to content

Commit

Permalink
Updated block copy
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooney committed Mar 21, 2024
1 parent ab3eafd commit 809bc40
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/blocks/core/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-server-side-render'), 'version' => 'd7f0ff314389bea73211');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-server-side-render'), 'version' => '5856395e8f4156de225c');
4 changes: 2 additions & 2 deletions build/blocks/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,15 @@ var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
return /*#__PURE__*/React.createElement(external_wp_blockEditor_namespaceObject.InspectorControls, null, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.PanelBody, {
title: (0,external_wp_i18n_namespaceObject.__)('Settings', 'ajax-load-more')
}, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.TextareaControl, {
label: (0,external_wp_i18n_namespaceObject.__)('Enter ALM Shortcodes', 'ajax-load-more'),
label: (0,external_wp_i18n_namespaceObject.__)('ALM Shortcode', 'ajax-load-more'),
placeholder: '[ajax_load_more]',
value: attributes === null || attributes === void 0 ? void 0 : attributes.shortcode,
onChange: function onChange(data) {
return setAttributes({
shortcode: data
});
},
help: (0,external_wp_i18n_namespaceObject.__)('Note: Scroll is disabled within the block editor.', 'ajax-load-more'),
help: (0,external_wp_i18n_namespaceObject.__)('Note: Scroll is disabled within the WP block editor.', 'ajax-load-more'),
rows: 6
}), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Flex, {
gap: "5px",
Expand Down
9 changes: 3 additions & 6 deletions lang/ajax-load-more.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-03-21T12:38:47+00:00\n"
"POT-Creation-Date: 2024-03-21T12:45:51+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: ajax-load-more\n"
Expand Down Expand Up @@ -2939,6 +2939,7 @@ msgid " The WooCommerce add-on automatically integrates infinite scrolling into
msgstr ""

#: core/integration/elementor/module/widget.php:43
#: src/blocks/core/inspector.js:19
msgid "ALM Shortcode"
msgstr ""

Expand Down Expand Up @@ -2983,12 +2984,8 @@ msgstr ""
msgid "You must enter an Ajax Load More target for this filter."
msgstr ""

#: src/blocks/core/inspector.js:19
msgid "Enter ALM Shortcodes"
msgstr ""

#: src/blocks/core/inspector.js:23
msgid "Note: Scroll is disabled within the block editor."
msgid "Note: Scroll is disabled within the WP block editor."
msgstr ""

#: src/blocks/core/inspector.js:34
Expand Down
4 changes: 2 additions & 2 deletions src/blocks/core/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export default function (props) {
<InspectorControls>
<PanelBody title={__('Settings', 'ajax-load-more')}>
<TextareaControl
label={__('Enter ALM Shortcodes', 'ajax-load-more')}
label={__('ALM Shortcode', 'ajax-load-more')}
placeholder={'[ajax_load_more]'}
value={attributes?.shortcode}
onChange={(data) => setAttributes({ shortcode: data })}
help={__('Note: Scroll is disabled within the block editor.', 'ajax-load-more')}
help={__('Note: Scroll is disabled within the WP block editor.', 'ajax-load-more')}
rows={6}
/>
<Flex
Expand Down

0 comments on commit 809bc40

Please sign in to comment.