Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix typos (#11254)
Viktorf0f53025b10b
diff --git a/api/config/locales/en.yml b/api/config/locales/en.ymlindex 8eb565361d..96a6e3075a 100644--- a/api/config/locales/en.yml+++ b/api/config/locales/en.yml@@ -26,7 +26,7 @@ en:cannot_ready: "Cannot ready shipment."stock_location_required: "A stock_location_id parameter must be provided in order to retrieve stock movements."invalid_taxonomy_id: "Invalid taxonomy id."- shipment_transfer_errors_occurred: "Following errors occured while attempting this action:"+ shipment_transfer_errors_occurred: "Following errors occurred while attempting this action:"negative_quantity: "quantity is negative"wrong_shipment_target: "target shipment is the same as original shipment"diff --git a/api/docs/oauth/index.yml b/api/docs/oauth/index.ymlindex 19fadf67a6..ed58727aab 100644--- a/api/docs/oauth/index.yml+++ b/api/docs/oauth/index.yml@@ -18,13 +18,13 @@ info:paths:/spree_oauth/token:post:- description: Creates or refreshes a Bearer token required to authorize calls API calls+ description: Creates or refreshes a Bearer token required to authorize API callstags:- TokenoperationId: Create or Refresh Tokenresponses:'200':- description: Token was succesfully created or refreshed+ description: Token was successfully created or refreshedcontent:application/json:schema:diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yamlindex 8ab80a4616..9dbe7df557 100644--- a/api/docs/v2/platform/index.yaml+++ b/api/docs/v2/platform/index.yaml@@ -24,14 +24,14 @@ paths:type: integer- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: user,country,stateschema:type: string- name: filterin: query- descripton: ''+ description: ''example: user_id_eq=1&firstname_cont=Johschema:type: string@@ -127,7 +127,7 @@ paths:parameters:- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: user,country,stateschema:@@ -216,7 +216,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: user,country,stateschema:@@ -288,7 +288,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: user,country,stateschema:@@ -415,14 +415,14 @@ paths:type: integer- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: product,taxonschema:type: string- name: filterin: query- descripton: ''+ description: ''example: taxon_id_eq=1schema:type: string@@ -492,7 +492,7 @@ paths:parameters:- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: product,taxonschema:@@ -554,7 +554,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: product,taxonschema:@@ -613,7 +613,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: product,taxonschema:@@ -720,7 +720,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: product,taxonschema:@@ -931,14 +931,14 @@ paths:type: integer- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: taxonomy,parent,childrenschema:type: string- name: filterin: query- descripton: ''+ description: ''example: taxonomy_id_eq=1&name_cont=Shirtsschema:type: string@@ -1083,7 +1083,7 @@ paths:parameters:- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: taxonomy,parent,childrenschema:@@ -1163,7 +1163,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: taxonomy,parent,childrenschema:@@ -1244,7 +1244,7 @@ paths:type: string- name: includein: query- descripton: 'Select which associated resources you would like to fetch, see:+ description: 'Select which associated resources you would like to fetch, see:<a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'example: taxonomy,parent,childrenschema:diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex f28ea6973f..cdc5be5848 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -535,7 +535,7 @@ paths:/api/v2/storefront/cart/add_item:post:description: |-- Additional parameters passed in **options** hash must be registered in `config/initialiers/spree.rb`, eg.+ Additional parameters passed in **options** hash must be registered in `config/initializers/spree.rb`, eg.```Spree::PermittedAttributes.line_item_attributes << :foo@@ -571,7 +571,7 @@ paths:type: integeroptions:type: object- description: 'Additional custom options. You need to add them via `Spree::PermittedAttributes.line_item_attributes << :foo` in `config/initialiers/spree.rb`'+ description: 'Additional custom options. You need to add them via `Spree::PermittedAttributes.line_item_attributes << :foo` in `config/initializers/spree.rb`'example:variant_id: '1'quantity: 5diff --git a/api/lib/spree/api/testing_support/v2/platform_contexts.rb b/api/lib/spree/api/testing_support/v2/platform_contexts.rbindex b748d850f2..fc5f80598a 100644--- a/api/lib/spree/api/testing_support/v2/platform_contexts.rb+++ b/api/lib/spree/api/testing_support/v2/platform_contexts.rb@@ -50,12 +50,12 @@ JSON_API_FILTER_DESCRIPTION = ''def json_api_include_parameter(example = '')let(:include) { nil }- parameter name: :include, in: :query, type: :string, descripton: JSON_API_INCLUDES_DESCRIPTION, example: example+ parameter name: :include, in: :query, type: :string, description: JSON_API_INCLUDES_DESCRIPTION, example: exampleenddef json_api_filter_parameter(example = '')let(:filter) { nil }- parameter name: :filter, in: :query, type: :string, descripton: JSON_API_FILTER_DESCRIPTION, example: example+ parameter name: :filter, in: :query, type: :string, description: JSON_API_FILTER_DESCRIPTION, example: exampleendshared_examples 'authentication failed' dodiff --git a/core/app/models/spree/store.rb b/core/app/models/spree/store.rbindex 1bec30bdba..02889e3cac 100644--- a/core/app/models/spree/store.rb+++ b/core/app/models/spree/store.rb@@ -76,8 +76,8 @@ module Spreedef self.current(url = nil)ActiveSupport::Deprecation.warn(<<-DEPRECATION, caller)- `Spree::Store.current` is deprecated and will be removed in Spree 5- Spree::Stores::FindCurrent.new(url: "http://example.com") instead+ `Spree::Store.current` is deprecated and will be removed in Spree 5.0+ Please use `Spree::Stores::FindCurrent.new(url: "https://example.com").execute` insteadDEPRECATIONStores::FindCurrent.new(url: url).executeenddiff --git a/core/config/locales/en.yml b/core/config/locales/en.ymlindex 74acf3ee4a..66b1f9769d 100644--- a/core/config/locales/en.yml+++ b/core/config/locales/en.yml@@ -1138,7 +1138,7 @@ en:log_in_to_continue: Log in to continuelogs: "Logs"logged_in_as: Logged in as- logged_in_succesfully: Logged in successfully+ logged_in_successfully: Logged in successfullylogged_out: You have been logged out.login: Loginlogin_as_existing: Login as Existing Customerdiff --git a/core/lib/spree/testing_support/locale_helpers.rb b/core/lib/spree/testing_support/locale_helpers.rbindex 88e7eb0f62..5a156706a8 100644--- a/core/lib/spree/testing_support/locale_helpers.rb+++ b/core/lib/spree/testing_support/locale_helpers.rb@@ -48,7 +48,7 @@ module Spreeremember_me: 'Se souvenir de moi',my_account: 'Mon compte',my_orders: 'Mes commandes',- logged_in_succesfully: 'Connexion réussie'+ logged_in_successfully: 'Connexion réussie'})end# rubocop:enable Layout/ArgumentAlignmentdiff --git a/frontend/spec/features/checkout_spec.rb b/frontend/spec/features/checkout_spec.rbindex d8ff9cdc10..0c07070a26 100644--- a/frontend/spec/features/checkout_spec.rb+++ b/frontend/spec/features/checkout_spec.rb@@ -556,7 +556,7 @@ describe 'Checkout', type: :feature, inaccessible: true, js: true doallow_any_instance_of(Spree::CheckoutController).to receive_messages(current_order: order)end- it 'move user to order succesfully placed page' do+ it 'move user to order successfully placed page' dofind('#order_coupon_code').fill_in(with: promotion2.code)find('#shopping-cart-coupon-code-button').clickclick_on 'checkout'