Fix spelling of Lakshadweep in i18n file and tests. (#59295)

This commit is contained in:
Thomas Roberts 2025-07-01 15:26:59 +01:00 committed by GitHub
parent 5dfe15e0e7
commit 9a80e10560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 4 deletions

View file

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Ensure Lakshadweep is spelt correctly

View file

@ -2713,7 +2713,7 @@ export const countryStateOptions = [
},
{
key: 'IN:LD',
label: 'India — Lakshadeep',
label: 'India — Lakshadweep',
},
{
key: 'IN:PY',

View file

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Ensure Lakshadweep is spelt correctly

View file

@ -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.

View file

@ -144,7 +144,7 @@
},
{
"code": "LD",
"name": "Lakshadeep"
"name": "Lakshadweep"
},
{
"code": "PY",

View file

@ -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',