From 3ca918f89112ccc51f40bbd5f49813e2fff13340 Mon Sep 17 00:00:00 2001 From: kjonosm <51236777+kjonosm@users.noreply.github.com> Date: Sat, 21 Jan 2023 18:48:18 +0100 Subject: [PATCH 1/3] Add translatable strings for fence_type field For common values, closes #619 --- data/fields/fence_type.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/data/fields/fence_type.json b/data/fields/fence_type.json index f0b0f90b..68c9d7c6 100644 --- a/data/fields/fence_type.json +++ b/data/fields/fence_type.json @@ -1,5 +1,17 @@ { "key": "fence_type", "type": "combo", - "label": "Type" + "label": "Type", + "strings": { + "options": { + "barbed_wire": "Barbed Wire", + "bars": "Vertical Bars", + "chain_link": "Chain-link", + "electric": "Electric", + "pole": "Poles", + "railing": "Railing", + "split_rail": "Spit-rail", + "wire": "Wire" + } + } } From ac8a6ce2ad5ce56c53d8ecfe847f7fc1bde58d1d Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 23 Jan 2023 11:04:21 +0100 Subject: [PATCH 2/3] fix title case --- data/fields/fence_type.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/fields/fence_type.json b/data/fields/fence_type.json index 68c9d7c6..bf0cf7ce 100644 --- a/data/fields/fence_type.json +++ b/data/fields/fence_type.json @@ -6,11 +6,11 @@ "options": { "barbed_wire": "Barbed Wire", "bars": "Vertical Bars", - "chain_link": "Chain-link", + "chain_link": "Chain-Link", "electric": "Electric", "pole": "Poles", "railing": "Railing", - "split_rail": "Spit-rail", + "split_rail": "Spit-Rail", "wire": "Wire" } } From 283b2dda8d32a6568178ab37280d5d193fed2483 Mon Sep 17 00:00:00 2001 From: kjonosm <51236777+kjonosm@users.noreply.github.com> Date: Mon, 30 Jan 2023 20:05:00 +0100 Subject: [PATCH 3/3] Add additional values --- data/fields/fence_type.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/fields/fence_type.json b/data/fields/fence_type.json index bf0cf7ce..51c068a4 100644 --- a/data/fields/fence_type.json +++ b/data/fields/fence_type.json @@ -8,8 +8,13 @@ "bars": "Vertical Bars", "chain_link": "Chain-Link", "electric": "Electric", + "pailing": "Pailing", + "panel": "Panels", "pole": "Poles", + "post_and_rail": "Post-And-Rail", "railing": "Railing", + "roundpole": "Roundpole", + "slatted": "Slatted Boards", "split_rail": "Spit-Rail", "wire": "Wire" }