Commit 9a80e10560 for woocommerce
commit 9a80e105602dc9d708c8a0f8ec9add6b190b18a7
Author: Thomas Roberts <5656702+opr@users.noreply.github.com>
Date: Tue Jul 1 15:26:59 2025 +0100
Fix spelling of Lakshadweep in i18n file and tests. (#59295)
diff --git a/packages/js/onboarding/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep b/packages/js/onboarding/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep
new file mode 100644
index 0000000000..e304536e88
--- /dev/null
+++ b/packages/js/onboarding/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Ensure Lakshadweep is spelt correctly
diff --git a/packages/js/onboarding/src/utils/countries/test/utils/country-options.ts b/packages/js/onboarding/src/utils/countries/test/utils/country-options.ts
index eea5d7633b..026c22a38a 100644
--- a/packages/js/onboarding/src/utils/countries/test/utils/country-options.ts
+++ b/packages/js/onboarding/src/utils/countries/test/utils/country-options.ts
@@ -2713,7 +2713,7 @@ export const countryStateOptions = [
},
{
key: 'IN:LD',
- label: 'India — Lakshadeep',
+ label: 'India — Lakshadweep',
},
{
key: 'IN:PY',
diff --git a/plugins/woocommerce/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep b/plugins/woocommerce/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep
new file mode 100644
index 0000000000..0ca1c16234
--- /dev/null
+++ b/plugins/woocommerce/changelog/wooplug-4834-india-lakshadeep-should-be-lakshadweep
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Ensure Lakshadweep is spelt correctly
diff --git a/plugins/woocommerce/i18n/states.php b/plugins/woocommerce/i18n/states.php
index e0a2d120ed..72dfdc0788 100644
--- a/plugins/woocommerce/i18n/states.php
+++ b/plugins/woocommerce/i18n/states.php
@@ -839,7 +839,7 @@ return array(
'DN' => __( 'Dadra and Nagar Haveli', 'woocommerce' ),
'DD' => __( 'Daman and Diu', 'woocommerce' ),
'DL' => __( 'Delhi', 'woocommerce' ),
- 'LD' => __( 'Lakshadeep', 'woocommerce' ),
+ 'LD' => __( 'Lakshadweep', 'woocommerce' ),
'PY' => __( 'Pondicherry (Puducherry)', 'woocommerce' ),
),
'IR' => array( // Iranian states.
diff --git a/plugins/woocommerce/tests/e2e-pw/data/countries/in.json b/plugins/woocommerce/tests/e2e-pw/data/countries/in.json
index 211ea31127..b4e11b35b6 100644
--- a/plugins/woocommerce/tests/e2e-pw/data/countries/in.json
+++ b/plugins/woocommerce/tests/e2e-pw/data/countries/in.json
@@ -144,7 +144,7 @@
},
{
"code": "LD",
- "name": "Lakshadeep"
+ "name": "Lakshadweep"
},
{
"code": "PY",
diff --git a/plugins/woocommerce/tests/e2e-pw/data/settings.js b/plugins/woocommerce/tests/e2e-pw/data/settings.js
index e1a3ea6efb..6b233922ac 100644
--- a/plugins/woocommerce/tests/e2e-pw/data/settings.js
+++ b/plugins/woocommerce/tests/e2e-pw/data/settings.js
@@ -1036,7 +1036,7 @@ const stateOptions = {
'IN:DN': 'India - Dadra and Nagar Haveli',
'IN:DD': 'India - Daman and Diu',
'IN:DL': 'India - Delhi',
- 'IN:LD': 'India - Lakshadeep',
+ 'IN:LD': 'India - Lakshadweep',
'IN:PY': 'India - Pondicherry (Puducherry)',
'ID:AC': 'Indonesia - Daerah Istimewa Aceh',
'ID:SU': 'Indonesia - Sumatera Utara',