From 91b6e972e34d6a34db4d39e60aa854e3365c7d9d Mon Sep 17 00:00:00 2001 From: Gabriel Manussakis <9420947+Manussakis@users.noreply.github.com> Date: Wed, 28 Aug 2024 11:00:01 -0300 Subject: [PATCH] [Accessibility] Fix misspelling in plugins/woocommerce-blocks/docs (#48562) * Fix "overriden" typo * Fix "prequisites" typo * Fix "overriden" typo * Fix "recieve" typo * Fix "differnt" typo * Fix "revew" typo * Fix "resetted" typo * Fix "overriden" typo * Fix "overriden" typo * Fix "Appearence" typo * Fix "Producto" typo * Fix "tha" and "modifed" typos * Fix "Boundry" typo * Fix "boths" typo * Fix "visibile" typo * Fix "overriden" typo * Fix "Apperance" typo * Fix "returing" typo * Fix "extration" typo * Fix "brough" typo * Fix "teh" typo * Fix "fileds" typo * Fix "arry" typo * Add changelog file * Revert change of "Producto" word * Revert change of "Producto" word --- docs/block-theme-development/theming-woo-blocks.md | 2 +- .../woocommerce-blocks/docs/contributors/coding-guidelines.md | 2 +- .../woocommerce-blocks/docs/contributors/e2e-guidelines.md | 2 +- .../blocks/feature-flags-and-experimental-interfaces.md | 2 +- .../internal-developers/testing/cart-checkout/local-pickup.md | 2 +- .../docs/internal-developers/testing/releases/1000.md | 2 +- .../docs/internal-developers/testing/releases/1010.md | 2 +- .../docs/internal-developers/testing/releases/1030.md | 2 +- .../docs/internal-developers/testing/releases/1040.md | 2 +- .../docs/internal-developers/testing/releases/1062.md | 2 +- .../docs/internal-developers/testing/releases/272.md | 4 ++-- .../docs/internal-developers/testing/releases/440.md | 2 +- .../extensibility/hooks/migrated-hooks.md | 2 +- .../fix-misspelling-in-plugins-woocommerce-blocks-docs | 4 ++++ 14 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-misspelling-in-plugins-woocommerce-blocks-docs diff --git a/docs/block-theme-development/theming-woo-blocks.md b/docs/block-theme-development/theming-woo-blocks.md index 24bfe9737f9..bba927c9873 100644 --- a/docs/block-theme-development/theming-woo-blocks.md +++ b/docs/block-theme-development/theming-woo-blocks.md @@ -43,7 +43,7 @@ WooCommerce also comes with two specific [block template parts](https://github.c - Mini-Cart (`mini-cart.html`): used inside the Mini-Cart block drawer. - Checkout header (`checkout-header.html`): used as the header in the Checkout template. -Similarly to the templates, they can be overriden by themes by adding a file with the same file name under the `/parts` folder. +Similarly to the templates, they can be overridden by themes by adding a file with the same file name under the `/parts` folder. ### Global styles diff --git a/plugins/woocommerce-blocks/docs/contributors/coding-guidelines.md b/plugins/woocommerce-blocks/docs/contributors/coding-guidelines.md index 9f46adcb41e..2afbe5eb722 100644 --- a/plugins/woocommerce-blocks/docs/contributors/coding-guidelines.md +++ b/plugins/woocommerce-blocks/docs/contributors/coding-guidelines.md @@ -141,7 +141,7 @@ And these are the styles of the block: } ``` -As you can see, the styles coming from the themes have higher specificity, so our styles would be overriden. In order to solve this: +As you can see, the styles coming from the themes have higher specificity, so our styles would be overridden. In order to solve this: 1. Never use `!important` rules in CSS to engage in a specificity war with a theme. 2. Never use ID selectors. diff --git a/plugins/woocommerce-blocks/docs/contributors/e2e-guidelines.md b/plugins/woocommerce-blocks/docs/contributors/e2e-guidelines.md index 08e39812ed9..b82a815447a 100644 --- a/plugins/woocommerce-blocks/docs/contributors/e2e-guidelines.md +++ b/plugins/woocommerce-blocks/docs/contributors/e2e-guidelines.md @@ -4,7 +4,7 @@ This living document serves as a guide for writing end-to-end (E2E) tests with P ## Preparing the environment -Please refer to [the Getting Started section of the main `README.md`](https://github.com/woocommerce/woocommerce/blob/trunk/README.md) for a general-purpose guide on getting started. The rest of this document will assume that you've installed all of the prequisites and setup described there. +Please refer to [the Getting Started section of the main `README.md`](https://github.com/woocommerce/woocommerce/blob/trunk/README.md) for a general-purpose guide on getting started. The rest of this document will assume that you've installed all of the prerequisites and setup described there. Run the following command from the repository root to build the WooCommerce plugin: diff --git a/plugins/woocommerce-blocks/docs/internal-developers/blocks/feature-flags-and-experimental-interfaces.md b/plugins/woocommerce-blocks/docs/internal-developers/blocks/feature-flags-and-experimental-interfaces.md index ba7177b08a2..2254ddb6d82 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/blocks/feature-flags-and-experimental-interfaces.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/blocks/feature-flags-and-experimental-interfaces.md @@ -85,7 +85,7 @@ We also have individual features or code blocks behind a feature flag, this is a - **Deprecated** - `__experimental_woocommerce_blocks_checkout_update_order_from_request` hook gives extensions the chance to update orders based on the data in the request ([deprecated experimental hook](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/d469a45d572f2c52d7917707c492dfb905ddfac0/src/StoreApi/Routes/Checkout.php#L466-L477)). [Deprecated in PR 5015](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5015). - **Deprecated** - `__experimental_woocommerce_blocks_checkout_order_processed` hook when order has completed processing and is ready for payment ([deprecated experimental hook](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/accd1bbf402e043b9fc322f118ab614ba7437c92/src/StoreApi/Routes/Checkout.php#L237)). [Deprecated in PR 5014](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5014). - `__experimental_woocommerce_blocks_add_data_attributes_to_namespace` hook that allows 3PD to add a namespace of blocks to receive block attributes as `data-` attributes ([experimental property](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/4a1ee97eb97011458174e93e44a9b7ad2f10ca36/src/BlockTypesController.php#L88)). -- `__experimental_woocommerce_blocks_add_data_attributes_to_block` hook that allows 3PD to add a block to recieve block attributes as `data-` attributes ([experimental property](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/4a1ee97eb97011458174e93e44a9b7ad2f10ca36/src/BlockTypesController.php#L97)). +- `__experimental_woocommerce_blocks_add_data_attributes_to_block` hook that allows 3PD to add a block to receive block attributes as `data-` attributes ([experimental property](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/4a1ee97eb97011458174e93e44a9b7ad2f10ca36/src/BlockTypesController.php#L97)). ### JS methods diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/cart-checkout/local-pickup.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/cart-checkout/local-pickup.md index acd7bf7702c..c7b34613182 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/cart-checkout/local-pickup.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/cart-checkout/local-pickup.md @@ -122,7 +122,7 @@ ### Taxes -1. Setup two differnt tax rates, one for your store base address for 10%, one for a differnt address for 20%. +1. Setup two different tax rates, one for your store base address for 10%, one for a different address for 20%. 2. Create a pickup location with an address that matches the 20% tax address. 3. Create a pickup location without an address. 4. On Checkout, select regular shipping, use an address that doesn't match the ones above, you should **not** see a tax line item. diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1000.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1000.md index e23429382c4..436a8d28344 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1000.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1000.md @@ -122,7 +122,7 @@ Make sure `Single Product` template customizations are reset to the default stat 8. Check the sidebar and ensure the sidebar shows local pickup, and shows the address for the pickup location you have chosen. 9. Change the location and ensure the sidebar updates. -### Product Rating: Normalize the height of icons and the add revew link ([8399](https://github.com/woocommerce/woocommerce-blocks/pull/8399)) +### Product Rating: Normalize the height of icons and the add review link ([8399](https://github.com/woocommerce/woocommerce-blocks/pull/8399)) 1. Add a new page and the **Products** block. 2. Add the **Product Rating** block. diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1010.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1010.md index 6cc214e1480..8e45091f871 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1010.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1010.md @@ -342,6 +342,6 @@ Mini Cart | Cart 4. In the sidebar, set a custom width lower than 300px. 5. Verify when you move the focus somewhere else, it's set to 300px. 6. Remove the value from the custom width input. -7. Verify it gets resetted to the default (480px). +7. Verify it gets reset to the default (480px). 8. Try setting an allowed value (ie: 350px, 500px, etc.). 9. Verify the value persists. diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1030.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1030.md index 4230538e7b2..69533efa19a 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1030.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1030.md @@ -220,7 +220,7 @@ Now, let's test that things keep working if there are two Mini Cart blocks in th 2. Ensure the preview shows nicely per the screenshot above. 3. After adding the pattern to the page/post, publish/update and view it in the frontend and ensure it displays as what you saw in the preview. -### Add to Cart with Options block > Restore the global variable to its original value after being overriden [#9581](https://github.com/woocommerce/woocommerce-blocks/pull/9581) +### Add to Cart with Options block > Restore the global variable to its original value after being overridden [#9581](https://github.com/woocommerce/woocommerce-blocks/pull/9581) 1. While having a block theme enabled such as Twenty-twenty Three, head over to your Dashboard and on the sidebar, click on "Appearance > Editor". 2. Select the Single Product template to customize it and click on edit. diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1040.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1040.md index ac21514c59b..77cd02306ab 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1040.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1040.md @@ -53,7 +53,7 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github. 2. Visit a product page. 3. Check the body and ensure that the product classes are added -### Add to Cart with Options block: Restore the global variable to its original value after being overriden [#9581](https://github.com/woocommerce/woocommerce-blocks/pull/9581) +### Add to Cart with Options block: Restore the global variable to its original value after being overridden [#9581](https://github.com/woocommerce/woocommerce-blocks/pull/9581) 1. While having a block theme enabled such as Twenty-twenty Three, head over to your Dashboard and on the sidebar, click on "Appearance > Editor". 2. Select the Single Product template to customize it and click on edit. diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1062.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1062.md index 4fad5c319a5..14d264aede4 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1062.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/1062.md @@ -11,7 +11,7 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github. 3. Create a new post 4. Insert the navigation block 5. Make sure you can correctly preview it without any problems, as demonstrated in the screenshot in the description of this PR. -6. Now head over to Appearence > Editor > Templates > Product Catalog and edit it. +6. Now head over to Appearance > Editor > Templates > Product Catalog and edit it. 7. If you are seeing the "WooCommerce Product Grid Block", click on "Transform into blocks": Screenshot 2023-07-27 at 18 56 37 diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/272.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/272.md index 6495978f2e9..1bfdbb86f22 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/272.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/272.md @@ -21,7 +21,7 @@ These actions only appear when the feature flag is on for the install. If you ar woocommerce_blocks_phase = 1 ``` -(remember to remove tha file after testing!) +(remember to remove the file after testing!) ## When distributed as the feature plugin @@ -30,7 +30,7 @@ Expected behaviour is: - [ ] `woocommerce_cleanup_draft_orders` action **should** appear in the scheduled tasks for Action Scheduler (Tools->Scheduled Actions). - [ ] Create a draft order (on the frontend load the checkout block with products in the cart and do not complete the order). - [ ] Trigger the scheduled action for `woocommerce_cleanup_draft_orders` and verify the just created draft order and none of the other orders on your test site have been deleted. -- [ ] Modify the draft order date so that it's greater than 24 hours in the past from now (you need to modify the `post_modifed_gmt` field) +- [ ] Modify the draft order date so that it's greater than 24 hours in the past from now (you need to modify the `post_modified_gmt` field) - [ ] Trigger the scheduled action again, this time the draft order you modified (and only that draft order) should be deleted. There are PHPUnit tests covering behaviour as well (including catching errors). diff --git a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/440.md b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/440.md index 304a772709a..8ee38e8ff4f 100644 --- a/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/440.md +++ b/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/440.md @@ -61,7 +61,7 @@ This test requires the browser dev tools to inspect rendered HTML. 4. Make sure it has role="img" & aria-label="Rated X out of 5" 5. Check that the child span has the same text content as the aria-label attribute -### Set correct text color in BlockErrorBoundry notices. #3738 +### Set correct text color in BlockErrorBoundary notices. #3738 This test requires a code edit to force an error. diff --git a/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/hooks/migrated-hooks.md b/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/hooks/migrated-hooks.md index 0af415e0e24..377c2300d7c 100644 --- a/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/hooks/migrated-hooks.md +++ b/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/hooks/migrated-hooks.md @@ -6,7 +6,7 @@ tags: reference, checkout-hooks # Migrated Legacy Hooks -Below are the hooks that exist in WooCommerce core and that were brough over to WooCommerce Blocks. +Below are the hooks that exist in WooCommerce core and that were brought over to WooCommerce Blocks. Please note that the actions and filters here run on the server side. The client-side blocks won't necessarily change based on a callback added to a server side hook. [Please see our documentation relating to APIs for manipulating the blocks on the client-side](../README.md). diff --git a/plugins/woocommerce/changelog/fix-misspelling-in-plugins-woocommerce-blocks-docs b/plugins/woocommerce/changelog/fix-misspelling-in-plugins-woocommerce-blocks-docs new file mode 100644 index 00000000000..774235acaa7 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-misspelling-in-plugins-woocommerce-blocks-docs @@ -0,0 +1,4 @@ +Significance: minor +Type: tweak + +Fix typos in plugins/woocommerce-blocks/docs