| @@ -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 | |
| 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 | }; |