From c372e69d29977f74db7a072a9ddcca593214cccb Mon Sep 17 00:00:00 2001 From: joostdecock Date: Fri, 22 Sep 2023 19:18:10 +0200 Subject: [PATCH] chore(hortensia): Added missing translations --- designs/hortensia/i18n/en.json | 32 +++++++++++++++++++++++++++++ designs/hortensia/src/sidepanel.mjs | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/designs/hortensia/i18n/en.json b/designs/hortensia/i18n/en.json index 4e2b5f00af2..313e1f9e879 100644 --- a/designs/hortensia/i18n/en.json +++ b/designs/hortensia/i18n/en.json @@ -37,6 +37,38 @@ "t": "Zipper size", "d": "Which size of zipper to use" }, + "zipperSize.#3": { + "t": "#3 zipper size", + "d": "#3 zippers have teeth that are 3mm wide" + }, + "zipperSize.#4": { + "t": "#4 zipper size", + "d": "#4 zippers have teeth that are 4mm wide." + }, + "zipperSize.#4.5": { + "t": "#4.5 zipper size", + "d": "#4.5 zippers have teeth that are 4.5mm wide." + }, + "zipperSize.#5": { + "t": "#5 zipper size", + "d": "#5 zippers have teeth that are 5mm wide." + }, + "zipperSize.#6": { + "t": "#6 zipper size", + "d": "#6 zippers have teeth that are 6mm wide." + }, + "zipperSize.#8": { + "t": "#8 zipper size", + "d": "#8 zippers have teeth that are 8mm wide." + }, + "zipperSize.#10": { + "t": "#10 zipper size", + "d": "#10 zippers have teeth that are 10mm wide." + }, + "zipperSize.invisible10": { + "t": "Invisible zipper", + "d": "An invisible zipper is a zipper that can be inserted in such a way that the teeth do not show." + }, "strapLength": { "t": "Strap length", "d": "Controls the length of the strap" diff --git a/designs/hortensia/src/sidepanel.mjs b/designs/hortensia/src/sidepanel.mjs index 15d877f19ac..d134ad08d5f 100644 --- a/designs/hortensia/src/sidepanel.mjs +++ b/designs/hortensia/src/sidepanel.mjs @@ -22,7 +22,7 @@ export const sidePanel = { }, zipperSize: { dflt: '#5', - list: ['#3', '#4', '#4.5', '#5', '#6', '#8', '#10', 'Invisible'], + list: ['#3', '#4', '#4.5', '#5', '#6', '#8', '#10', 'invisible'], menu: 'style', }, }, @@ -31,7 +31,7 @@ export const sidePanel = { const phi = 1.6180339887 const zWidth = new Map([ - ['Invisible', 0], + ['invisible', 0], ['#3', 4.8], ['#4', 5.4], ['#4.5', 5.9],