From 38f7844c0e6a4256d663d5662f5a3fffff493fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Ciccola?= Date: Tue, 28 May 2024 12:13:58 -0300 Subject: [PATCH] update translation field.options to use {label, value} --- messages/en.json | 14 +++++++------- messages/es.json | 14 +++++++------- messages/it.json | 12 ++++++------ messages/sw.json | 14 +++++++------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/messages/en.json b/messages/en.json index b4a3ee5c..e7a0e290 100644 --- a/messages/en.json +++ b/messages/en.json @@ -21,27 +21,27 @@ }, "fields.building-type.options.Church": { "description": "Label for option 'Church' for field 'building-type'", - "message": "Church" + "message": {"label": "Church", "value": "Church"} }, "fields.building-type.options.Homestead": { "description": "Label for option 'Homestead' for field 'building-type'", - "message": "Homestead" + "message": {"label": "Homestead", "value": "Homestead"} }, "fields.building-type.options.Hospital": { "description": "Label for option 'Hospital' for field 'building-type'", - "message": "Hospital" + "message": {"label": "Hospital", "value": "Hospital"} }, "fields.building-type.options.Other": { "description": "Label for option 'Other' for field 'building-type'", - "message": "Other" + "message": {"label":"Other", "value": "Other"} }, "fields.building-type.options.School": { "description": "Label for option 'School' for field 'building-type'", - "message": "School" + "message": {"label": "School", "value": "School"} }, "fields.building-type.options.Shop": { "description": "Label for option 'Shop' for field 'building-type'", - "message": "Shop" + "message": {"label": "Shop", "value": "Shop"} }, "fields.building-type.placeholder": { "description": "An example to guide the user for field 'building-type'", @@ -379,4 +379,4 @@ "description": "List of search terms for preset 'waterfall'", "message": "cascade" } -} \ No newline at end of file +} diff --git a/messages/es.json b/messages/es.json index a7163504..f3a533f6 100644 --- a/messages/es.json +++ b/messages/es.json @@ -13,27 +13,27 @@ }, "fields.building-type.options.Church": { "description": "Label for option 'Church' for field 'building-type'", - "message": "Iglesia" + "message": {"label": "Iglesia", "value": "Iglesia"} }, "fields.building-type.options.Homestead": { "description": "Label for option 'Homestead' for field 'building-type'", - "message": "CaserĂ­o" + "message": {"label":"CaserĂ­o", "value": "Caserio"} }, "fields.building-type.options.Hospital": { "description": "Label for option 'Hospital' for field 'building-type'", - "message": "Hospital" + "message": {"label": "Hospital", "value": "Hospital"} }, "fields.building-type.options.Other": { "description": "Label for option 'Other' for field 'building-type'", - "message": "Otro" + "message": {"label": "Otro", "value": "Otro"} }, "fields.building-type.options.School": { "description": "Label for option 'School' for field 'building-type'", - "message": "Escuela" + "message": {"label": "Escuela", "value": "Escuela"} }, "fields.building-type.options.Shop": { "description": "Label for option 'Shop' for field 'building-type'", - "message": "Tienda" + "message": {"label": "Tienda", "value": "Tienda"} }, "fields.building-type.placeholder": { "description": "An example to guide the user for field 'building-type'", @@ -275,4 +275,4 @@ "description": "List of search terms for preset 'waterfall'", "message": "cascada" } -} \ No newline at end of file +} diff --git a/messages/it.json b/messages/it.json index 881bcf3d..36c3a4e6 100644 --- a/messages/it.json +++ b/messages/it.json @@ -13,23 +13,23 @@ }, "fields.building-type.options.Church": { "description": "Label for option 'Church' for field 'building-type'", - "message": "Chiesa" + "message": {"label": "Chiesa", "value":"Chiesa"} }, "fields.building-type.options.Hospital": { "description": "Label for option 'Hospital' for field 'building-type'", - "message": "Ospedale" + "message": {"label": "Ospedale", "value": "Ospedale"} }, "fields.building-type.options.Other": { "description": "Label for option 'Other' for field 'building-type'", - "message": "Altro" + "message": {"label": "Altro", "value": "Altro"} }, "fields.building-type.options.School": { "description": "Label for option 'School' for field 'building-type'", - "message": "Scuola" + "message": {"label": "Scuola", "value": "Scuola"} }, "fields.building-type.options.Shop": { "description": "Label for option 'Shop' for field 'building-type'", - "message": "Negozio" + "message": {"label": "Negozio", "value": "Negozio"} }, "fields.building-type.placeholder": { "description": "An example to guide the user for field 'building-type'", @@ -263,4 +263,4 @@ "description": "The name of preset 'waterfall'", "message": "Cascata" } -} \ No newline at end of file +} diff --git a/messages/sw.json b/messages/sw.json index 0ee0fca9..d7f23b5c 100644 --- a/messages/sw.json +++ b/messages/sw.json @@ -13,27 +13,27 @@ }, "fields.building-type.options.Church": { "description": "Label for option 'Church' for field 'building-type'", - "message": "Kanisa" + "message": {"label": "Kanisa", "value": "Kanisa"} }, "fields.building-type.options.Homestead": { "description": "Label for option 'Homestead' for field 'building-type'", - "message": "Nyumba iliyozungukwa na shamba" + "message": {"label": "Nyumba iliyozungukwa na shamba", "value": "Nyumba iliyozungukwa na shamba"} }, "fields.building-type.options.Hospital": { "description": "Label for option 'Hospital' for field 'building-type'", - "message": "Hospitali" + "message": {"label": "Hospitali", "value": "Hospitali"} }, "fields.building-type.options.Other": { "description": "Label for option 'Other' for field 'building-type'", - "message": "Nyingine" + "message": {"label": "Nyingine", "value": "Nyingine"} }, "fields.building-type.options.School": { "description": "Label for option 'School' for field 'building-type'", - "message": "Shule" + "message": {"label": "Shule", "value": "Shule"} }, "fields.building-type.options.Shop": { "description": "Label for option 'Shop' for field 'building-type'", - "message": "Duka" + "message": {"label": "Duka", "value": "Duka"} }, "fields.building-type.placeholder": { "description": "An example to guide the user for field 'building-type'", @@ -275,4 +275,4 @@ "description": "List of search terms for preset 'waterfall'", "message": "maporomoko" } -} \ No newline at end of file +}