From 4bb5544ba2c2e6b0bfe2d50f9877d3090f24adfc Mon Sep 17 00:00:00 2001 From: kjonosm <51236777+kjonosm@users.noreply.github.com> Date: Sun, 24 Sep 2023 17:27:55 +0200 Subject: [PATCH 1/2] Add translatable strings to field seamark:beacon_isolated_danger:shape --- data/fields/seamark/beacon_isolated_danger/shape.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/data/fields/seamark/beacon_isolated_danger/shape.json b/data/fields/seamark/beacon_isolated_danger/shape.json index b62f6546..d33b454f 100644 --- a/data/fields/seamark/beacon_isolated_danger/shape.json +++ b/data/fields/seamark/beacon_isolated_danger/shape.json @@ -1,5 +1,12 @@ { "key": "seamark:beacon_isolated_danger:shape", "type": "combo", - "label": "Shape" + "label": "Shape", + "strings": { + "options": { + "pile": "Pile", + "stake": "Stake", + "tower": "Tower" + } + } } From 7b86b7f1a1c0a1d8e27bb7bcc1db19adf9029368 Mon Sep 17 00:00:00 2001 From: kjonosm <51236777+kjonosm@users.noreply.github.com> Date: Sun, 14 Jul 2024 16:33:10 +0200 Subject: [PATCH 2/2] Update shape.json --- .../seamark/beacon_isolated_danger/shape.json | 35 +++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/data/fields/seamark/beacon_isolated_danger/shape.json b/data/fields/seamark/beacon_isolated_danger/shape.json index d33b454f..c047eef6 100644 --- a/data/fields/seamark/beacon_isolated_danger/shape.json +++ b/data/fields/seamark/beacon_isolated_danger/shape.json @@ -4,9 +4,38 @@ "label": "Shape", "strings": { "options": { - "pile": "Pile", - "stake": "Stake", - "tower": "Tower" + "pile": { + "title": "Pile Beacon", + "description": "A long, heavy pile or section of metal, wood or concrete, driven into the seabed, used as a navigational aid." + }, + "stake": { + "title": "Stake", + "description": "An elongated wood or metal stake, embedded in the bottom of the sea, used as a navigational aid." + }, + "pole": { + "title": "Pole", + "description": "An elongated wood or metal pole, embedded in the bottom of the sea, used as a navigational aid." + }, + "withy": { + "title": "Withy", + "description": "A tree without roots stuck or spoiled into the bottom of the sea, used as a navigational aid." + }, + "tower": { + "title": "Beacon Tower", + "description": "A solid structure of the order of 10 meters in height, used as a navigational aid." + }, + "lattice": { + "title": "Lattice Beacon", + "description": "A lattice structure of the order of 10 meters in height, used as a navigational aid." + }, + "cairn": { + "title": "Cairn", + "description": "A mound of stones, usually conical or pyramidal, used as a navigational aid." + }, + "buoyant": { + "title": "Buoyant Beacon", + "description": "A floating structure secured to a seabed sinker, used as a navigational aid." + } } } }