PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | blocks/components/edit-form/index.js +5 -5 2.3.2 → 4.17.0 View file →
@@ -1,9 +1,9 @@
1 1 /**
2 2 * WordPress dependencies
3 3 */
4 -const { __ } = wp.i18n;
5 -const { Button } = wp.components;
4 +import { __ } from '@wordpress/i18n'
5 +import { Button } from '@wordpress/components';
6 6
7 7 /**
8 8 * Internal dependencies
9 9 */
@@ -21,19 +21,19 @@
21 21 };
22 22
23 23 return (
24 24 <GiveBlankSlate title={ __( 'Edit Form.' ) }
25 - description={ __( 'You can not see donation form preview because there is something went wrong with donation form settings.' ) }>
25 + description={ __( 'An error occured with donation form settings that rendered the preview inaccessible.', 'give' ) }>
26 26 <Button isPrimary
27 27 isLarge
28 28 target="_blank"
29 29 href={ `${ getSiteUrl() }/wp-admin/post.php?post=${ formId }&action=edit` }>
30 - { __( 'Edit Donation Form' ) }
30 + { __( 'Edit Donation Form', 'give' ) }
31 31 </Button>
32 32 &nbsp;&nbsp;
33 33 <Button isLarge
34 34 onClick={ changeForm }>
35 - { __( 'Change Form' ) }
35 + { __( 'Change Form', 'give' ) }
36 36 </Button>
37 37 </GiveBlankSlate>
38 38 );
39 39 };