From 48f6de0a5cc7f1d1025554095bfcf839ec0eab82 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 08:56:45 -0400 Subject: [PATCH 01/17] Try adding font size options to the announcement bar --- locales/en.default.schema.json | 12 ++++++++++++ sections/announcement-bar.liquid | 22 +++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index 9306f6aa25f..af4eae23e6f 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -385,6 +385,18 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Text size", + "options__1": { + "label": "Small" + }, + "options__2": { + "label": "Medium" + }, + "options__3": { + "label": "Large" + } } } } diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index fff5743a9ca..3261dd0b666 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -6,7 +6,7 @@ {%- if block.settings.link != blank -%} {%- endif -%} -

+

{{ block.settings.text | escape }} {%- if block.settings.link != blank -%} {% render 'icon-arrow' %} @@ -67,6 +67,26 @@ "type": "url", "id": "link", "label": "t:sections.announcement-bar.blocks.announcement.settings.link.label" + }, + { + "type": "select", + "id": "text_size", + "options": [ + { + "value": "small", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__1.label" + }, + { + "value": "medium", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__2.label" + }, + { + "value": "large", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" + } + ], + "default": "medium", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.label" } ] } From f19d79982fb1141bb429a467b0481d0c15ce9494 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:04:28 -0400 Subject: [PATCH 02/17] Get font size classes working. --- assets/base.css | 18 ++++++++++++++++++ sections/announcement-bar.liquid | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/assets/base.css b/assets/base.css index 80bfd964aee..448f6831aaf 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2192,6 +2192,24 @@ input[type='checkbox'] { letter-spacing: 0.1rem; } +.announcement-bar__message--small { + font-size: calc(var(--font-heading-scale) * 1.2rem); +} + +.announcement-bar__message--medium { + font-size: calc(var(--font-heading-scale) * 1.5rem); +} + +.announcement-bar__message--large { + font-size: calc(var(--font-heading-scale) * 1.8rem); +} + +@media only screen and (min-width: 750px) { + .announcement-bar__message--small { + font-size: calc(var(--font-heading-scale) * 1.3rem); + } +} + /* section-header */ #shopify-section-header { z-index: 3; diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index 3261dd0b666..86d55fcf638 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -6,7 +6,7 @@ {%- if block.settings.link != blank -%} {%- endif -%} -

+

{{ block.settings.text | escape }} {%- if block.settings.link != blank -%} {% render 'icon-arrow' %} @@ -85,7 +85,7 @@ "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" } ], - "default": "medium", + "default": "small", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.label" } ] From 777e81fef4bf8c684d9daccf2f4ecaca9e68a44f Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:07:15 -0400 Subject: [PATCH 03/17] Scale up on larger screens. --- assets/base.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/base.css b/assets/base.css index 448f6831aaf..f2e74e00118 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2208,6 +2208,10 @@ input[type='checkbox'] { .announcement-bar__message--small { font-size: calc(var(--font-heading-scale) * 1.3rem); } + + .announcement-bar__message--medium { + font-size: calc(var(--font-heading-scale) * 1.6rem); + } } /* section-header */ From 094fd98981c69dfdfad25774eb4a3f6301de72e7 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:15:31 -0400 Subject: [PATCH 04/17] Sync up the font size with h3. --- assets/base.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/base.css b/assets/base.css index f2e74e00118..b7623d8e4eb 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2201,7 +2201,7 @@ input[type='checkbox'] { } .announcement-bar__message--large { - font-size: calc(var(--font-heading-scale) * 1.8rem); + font-size: calc(var(--font-heading-scale) * 1.7rem); } @media only screen and (min-width: 750px) { @@ -2212,6 +2212,10 @@ input[type='checkbox'] { .announcement-bar__message--medium { font-size: calc(var(--font-heading-scale) * 1.6rem); } + + .announcement-bar__message--large { + font-size: calc(var(--font-heading-scale) * 1.8rem); + } } /* section-header */ From 866361bda5313a06f1f3302cc901d89144d0a8bc Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:23:00 -0400 Subject: [PATCH 05/17] Have medium match the body font size. --- assets/base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/base.css b/assets/base.css index b7623d8e4eb..28692c46d56 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2197,7 +2197,7 @@ input[type='checkbox'] { } .announcement-bar__message--medium { - font-size: calc(var(--font-heading-scale) * 1.5rem); + font-size: 1.5rem; } .announcement-bar__message--large { @@ -2210,7 +2210,7 @@ input[type='checkbox'] { } .announcement-bar__message--medium { - font-size: calc(var(--font-heading-scale) * 1.6rem); + font-size: 1.6rem; } .announcement-bar__message--large { From 3d45368490b178d603ac048b7c996a2a072309e9 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 09:25:45 -0400 Subject: [PATCH 06/17] =?UTF-8?q?Use=20the=20cascade.=20=F0=9F=99=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/base.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/base.css b/assets/base.css index 28692c46d56..ca4416c0995 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2197,7 +2197,7 @@ input[type='checkbox'] { } .announcement-bar__message--medium { - font-size: 1.5rem; + font-size: inherit; } .announcement-bar__message--large { @@ -2209,10 +2209,6 @@ input[type='checkbox'] { font-size: calc(var(--font-heading-scale) * 1.3rem); } - .announcement-bar__message--medium { - font-size: 1.6rem; - } - .announcement-bar__message--large { font-size: calc(var(--font-heading-scale) * 1.8rem); } From bceff47eac89b4304b6dffcf8c6eb82d0805e2e4 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 10 Jun 2022 12:09:56 -0400 Subject: [PATCH 07/17] Rearrange the settings. --- locales/en.default.schema.json | 6 ++--- sections/announcement-bar.liquid | 40 ++++++++++++++++---------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index af4eae23e6f..ac059dedfc0 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -383,9 +383,6 @@ "text": { "label": "Text" }, - "link": { - "label": "Link" - }, "text_size": { "label": "Text size", "options__1": { @@ -397,6 +394,9 @@ "options__3": { "label": "Large" } + }, + "link": { + "label": "Link" } } } diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index 86d55fcf638..4c2d8a83296 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -35,6 +35,26 @@ "default": "Welcome to our store", "label": "t:sections.announcement-bar.blocks.announcement.settings.text.label" }, + { + "type": "select", + "id": "text_size", + "options": [ + { + "value": "small", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__1.label" + }, + { + "value": "medium", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__2.label" + }, + { + "value": "large", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" + } + ], + "default": "small", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.label" + }, { "type": "select", "id": "color_scheme", @@ -67,26 +87,6 @@ "type": "url", "id": "link", "label": "t:sections.announcement-bar.blocks.announcement.settings.link.label" - }, - { - "type": "select", - "id": "text_size", - "options": [ - { - "value": "small", - "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__1.label" - }, - { - "value": "medium", - "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__2.label" - }, - { - "value": "large", - "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" - } - ], - "default": "small", - "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.label" } ] } From 59a8898bdfb67de2be1abe4c121f60e31c96735b Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Tue, 14 Jun 2022 15:56:37 -0400 Subject: [PATCH 08/17] Modify font sizes. --- assets/base.css | 8 ++++++++ locales/en.default.schema.json | 3 +++ sections/announcement-bar.liquid | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/assets/base.css b/assets/base.css index ca4416c0995..f9d80d91bf7 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2204,6 +2204,10 @@ input[type='checkbox'] { font-size: calc(var(--font-heading-scale) * 1.7rem); } +.announcement-bar__message--x-large { + font-size: calc(var(--font-heading-scale) * 2rem); +} + @media only screen and (min-width: 750px) { .announcement-bar__message--small { font-size: calc(var(--font-heading-scale) * 1.3rem); @@ -2212,6 +2216,10 @@ input[type='checkbox'] { .announcement-bar__message--large { font-size: calc(var(--font-heading-scale) * 1.8rem); } + + .announcement-bar__message--x-large { + font-size: calc(var(--font-heading-scale) * 2.4rem); + } } /* section-header */ diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index ac059dedfc0..436404a0b28 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -393,6 +393,9 @@ }, "options__3": { "label": "Large" + }, + "options__4": { + "label": "Extra Large" } }, "link": { diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index 4c2d8a83296..3a87502c69f 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -50,6 +50,10 @@ { "value": "large", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" + }, + { + "value": "x-large", + "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__4.label" } ], "default": "small", From e0fb64171b10fd4a02c336e567e4812c03c62a6b Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 17 Jun 2022 08:44:14 -0400 Subject: [PATCH 09/17] Add line-height and letter-spacing rules. --- assets/base.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/base.css b/assets/base.css index f9d80d91bf7..2bf8460717a 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2192,6 +2192,13 @@ input[type='checkbox'] { letter-spacing: 0.1rem; } +.announcement-bar__message--small, +.announcement-bar__message--large, +.announcement-bar__message--x-large { + letter-spacing: calc(var(--font-heading-scale) * 0.06rem); + line-height: calc(1 + 0.3 / max(1, var(--font-heading-scale))); +} + .announcement-bar__message--small { font-size: calc(var(--font-heading-scale) * 1.2rem); } From 0be9f40c816d5c1cf88f2833720e0e539c75f3af Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 17 Jun 2022 10:58:20 -0400 Subject: [PATCH 10/17] Add specs for the medium size too. --- assets/base.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/base.css b/assets/base.css index 2bf8460717a..bd32337493f 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2193,6 +2193,7 @@ input[type='checkbox'] { } .announcement-bar__message--small, +.announcement-bar__message--medium, .announcement-bar__message--large, .announcement-bar__message--x-large { letter-spacing: calc(var(--font-heading-scale) * 0.06rem); From 50a18eff02843fb00849f67865cc7ca4c91397ca Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Tue, 21 Jun 2022 10:29:04 -0400 Subject: [PATCH 11/17] Try using existing classnames. --- assets/base.css | 38 -------------------------------- sections/announcement-bar.liquid | 12 +++++----- 2 files changed, 6 insertions(+), 44 deletions(-) diff --git a/assets/base.css b/assets/base.css index bd32337493f..80bfd964aee 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2192,44 +2192,6 @@ input[type='checkbox'] { letter-spacing: 0.1rem; } -.announcement-bar__message--small, -.announcement-bar__message--medium, -.announcement-bar__message--large, -.announcement-bar__message--x-large { - letter-spacing: calc(var(--font-heading-scale) * 0.06rem); - line-height: calc(1 + 0.3 / max(1, var(--font-heading-scale))); -} - -.announcement-bar__message--small { - font-size: calc(var(--font-heading-scale) * 1.2rem); -} - -.announcement-bar__message--medium { - font-size: inherit; -} - -.announcement-bar__message--large { - font-size: calc(var(--font-heading-scale) * 1.7rem); -} - -.announcement-bar__message--x-large { - font-size: calc(var(--font-heading-scale) * 2rem); -} - -@media only screen and (min-width: 750px) { - .announcement-bar__message--small { - font-size: calc(var(--font-heading-scale) * 1.3rem); - } - - .announcement-bar__message--large { - font-size: calc(var(--font-heading-scale) * 1.8rem); - } - - .announcement-bar__message--x-large { - font-size: calc(var(--font-heading-scale) * 2.4rem); - } -} - /* section-header */ #shopify-section-header { z-index: 3; diff --git a/sections/announcement-bar.liquid b/sections/announcement-bar.liquid index 3a87502c69f..166fcc1ff57 100644 --- a/sections/announcement-bar.liquid +++ b/sections/announcement-bar.liquid @@ -6,7 +6,7 @@ {%- if block.settings.link != blank -%} {%- endif -%} -

+

{{ block.settings.text | escape }} {%- if block.settings.link != blank -%} {% render 'icon-arrow' %} @@ -40,23 +40,23 @@ "id": "text_size", "options": [ { - "value": "small", + "value": "h5", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__1.label" }, { - "value": "medium", + "value": "h4", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__2.label" }, { - "value": "large", + "value": "h3", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__3.label" }, { - "value": "x-large", + "value": "h2", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.options__4.label" } ], - "default": "small", + "default": "h5", "label": "t:sections.announcement-bar.blocks.announcement.settings.text_size.label" }, { From 1584db5d5a21c8ff12b00859eb059b6933845a94 Mon Sep 17 00:00:00 2001 From: "translation-platform[bot]" <34770790+translation-platform[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 07:06:35 +0000 Subject: [PATCH 12/17] Update 2 translation files --- locales/cs.schema.json | 15 +++++++++++++++ locales/ja.schema.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/locales/cs.schema.json b/locales/cs.schema.json index 615c2037c08..dbc1d25fdf0 100644 --- a/locales/cs.schema.json +++ b/locales/cs.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Odkaz" + }, + "text_size": { + "label": "Velikost textu", + "options__1": { + "label": "Malý" + }, + "options__2": { + "label": "Střední" + }, + "options__3": { + "label": "Velký" + }, + "options__4": { + "label": "Extra velký" + } } } } diff --git a/locales/ja.schema.json b/locales/ja.schema.json index cf851b66af0..37cfae87473 100644 --- a/locales/ja.schema.json +++ b/locales/ja.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "リンク" + }, + "text_size": { + "label": "テキストサイズ", + "options__1": { + "label": "小" + }, + "options__2": { + "label": "中" + }, + "options__3": { + "label": "大" + }, + "options__4": { + "label": "特大" + } } }, "name": "告知" From 753f5a4c7053cd31e8d4643b60c79a86a3679f84 Mon Sep 17 00:00:00 2001 From: "translation-platform[bot]" <34770790+translation-platform[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 16:04:24 +0000 Subject: [PATCH 13/17] Update 16 translation files --- locales/da.schema.json | 15 +++++++++++++++ locales/es.schema.json | 15 +++++++++++++++ locales/fi.schema.json | 15 +++++++++++++++ locales/fr.schema.json | 15 +++++++++++++++ locales/it.schema.json | 15 +++++++++++++++ locales/ko.schema.json | 15 +++++++++++++++ locales/nb.schema.json | 15 +++++++++++++++ locales/pl.schema.json | 15 +++++++++++++++ locales/pt-BR.schema.json | 15 +++++++++++++++ locales/pt-PT.schema.json | 15 +++++++++++++++ locales/sv.schema.json | 15 +++++++++++++++ locales/th.schema.json | 15 +++++++++++++++ locales/tr.schema.json | 15 +++++++++++++++ locales/vi.schema.json | 15 +++++++++++++++ locales/zh-CN.schema.json | 15 +++++++++++++++ locales/zh-TW.schema.json | 15 +++++++++++++++ 16 files changed, 240 insertions(+) diff --git a/locales/da.schema.json b/locales/da.schema.json index f0eee40f83e..885109c7221 100644 --- a/locales/da.schema.json +++ b/locales/da.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Tekststørrelse", + "options__1": { + "label": "Lille" + }, + "options__2": { + "label": "Medium" + }, + "options__3": { + "label": "Stor" + }, + "options__4": { + "label": "Ekstra stor" + } } } } diff --git a/locales/es.schema.json b/locales/es.schema.json index cf9344a2fba..fbb41fd261b 100644 --- a/locales/es.schema.json +++ b/locales/es.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Enlace" + }, + "text_size": { + "label": "Tamaño del texto", + "options__1": { + "label": "Pequeño" + }, + "options__2": { + "label": "Mediano" + }, + "options__3": { + "label": "Grande" + }, + "options__4": { + "label": "Extra grande" + } } } } diff --git a/locales/fi.schema.json b/locales/fi.schema.json index 6052193d6ed..466029e9713 100644 --- a/locales/fi.schema.json +++ b/locales/fi.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Linkki" + }, + "text_size": { + "label": "Tekstin koko", + "options__1": { + "label": "Pieni" + }, + "options__2": { + "label": "Keskisuuri" + }, + "options__3": { + "label": "Suuri" + }, + "options__4": { + "label": "Erikoissuuri" + } } } } diff --git a/locales/fr.schema.json b/locales/fr.schema.json index 1bf3c12efc2..294ed6b0af1 100644 --- a/locales/fr.schema.json +++ b/locales/fr.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Lien" + }, + "text_size": { + "label": "Taille du texte", + "options__1": { + "label": "Petit" + }, + "options__2": { + "label": "Moyen" + }, + "options__3": { + "label": "Grand" + }, + "options__4": { + "label": "Très grand" + } } } } diff --git a/locales/it.schema.json b/locales/it.schema.json index 60a8874692b..ab5d9328435 100644 --- a/locales/it.schema.json +++ b/locales/it.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Dimensione testo", + "options__1": { + "label": "Piccola" + }, + "options__2": { + "label": "Media" + }, + "options__3": { + "label": "Grande" + }, + "options__4": { + "label": "Molto grande" + } } } } diff --git a/locales/ko.schema.json b/locales/ko.schema.json index 0b11347f2d4..1081774f267 100644 --- a/locales/ko.schema.json +++ b/locales/ko.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "링크" + }, + "text_size": { + "label": "텍스트 사이즈", + "options__1": { + "label": "작게" + }, + "options__2": { + "label": "보통" + }, + "options__3": { + "label": "크게" + }, + "options__4": { + "label": "아주 크게" + } } }, "name": "공지" diff --git a/locales/nb.schema.json b/locales/nb.schema.json index 6b31a4b67f7..e3f1f7d6f1c 100644 --- a/locales/nb.schema.json +++ b/locales/nb.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Kobling" + }, + "text_size": { + "label": "Tekststørrelse", + "options__1": { + "label": "Liten" + }, + "options__2": { + "label": "Middels" + }, + "options__3": { + "label": "Stor" + }, + "options__4": { + "label": "Ekstra stor" + } } } } diff --git a/locales/pl.schema.json b/locales/pl.schema.json index 314d2f33683..6e66a3bfd78 100644 --- a/locales/pl.schema.json +++ b/locales/pl.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Rozmiar tekstu", + "options__1": { + "label": "Mały" + }, + "options__2": { + "label": "Średni" + }, + "options__3": { + "label": "Duży" + }, + "options__4": { + "label": "Bardzo duży" + } } } } diff --git a/locales/pt-BR.schema.json b/locales/pt-BR.schema.json index 9b4d8099bcb..76f001f2c35 100644 --- a/locales/pt-BR.schema.json +++ b/locales/pt-BR.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Tamanho do texto", + "options__1": { + "label": "Pequeno" + }, + "options__2": { + "label": "Médio" + }, + "options__3": { + "label": "Grande" + }, + "options__4": { + "label": "Extra grande" + } } } } diff --git a/locales/pt-PT.schema.json b/locales/pt-PT.schema.json index 5d8ccc7b492..85b6a924469 100644 --- a/locales/pt-PT.schema.json +++ b/locales/pt-PT.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "Ligação" + }, + "text_size": { + "label": "Tamanho do texto", + "options__1": { + "label": "Pequeno" + }, + "options__2": { + "label": "Médio" + }, + "options__3": { + "label": "Grande" + }, + "options__4": { + "label": "Extra grande" + } } }, "name": "Comunicado" diff --git a/locales/sv.schema.json b/locales/sv.schema.json index 9b835dd136e..1bcb0d24f18 100644 --- a/locales/sv.schema.json +++ b/locales/sv.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "Länk" + }, + "text_size": { + "label": "Textstorlek", + "options__1": { + "label": "Liten" + }, + "options__2": { + "label": "Medel" + }, + "options__3": { + "label": "Stor" + }, + "options__4": { + "label": "Extra stor" + } } }, "name": "Meddelande" diff --git a/locales/th.schema.json b/locales/th.schema.json index 2c9dcb4ed33..d38e718e8e0 100644 --- a/locales/th.schema.json +++ b/locales/th.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "ลิงก์" + }, + "text_size": { + "label": "ขนาดตัวอักษร", + "options__1": { + "label": "เล็ก" + }, + "options__2": { + "label": "ปานกลาง" + }, + "options__3": { + "label": "ใหญ่" + }, + "options__4": { + "label": "ใหญ่พิเศษ" + } } }, "name": "การประกาศ" diff --git a/locales/tr.schema.json b/locales/tr.schema.json index 03eece40ced..4aafc5e0f27 100644 --- a/locales/tr.schema.json +++ b/locales/tr.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Bağlantı" + }, + "text_size": { + "label": "Metin boyutu", + "options__1": { + "label": "Küçük" + }, + "options__2": { + "label": "Orta" + }, + "options__3": { + "label": "Büyük" + }, + "options__4": { + "label": "Çok Büyük" + } } } } diff --git a/locales/vi.schema.json b/locales/vi.schema.json index 22e3945bf4f..155011b3fd8 100644 --- a/locales/vi.schema.json +++ b/locales/vi.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Liên kết" + }, + "text_size": { + "label": "Cỡ chữ", + "options__1": { + "label": "Nhỏ" + }, + "options__2": { + "label": "Trung bình" + }, + "options__3": { + "label": "Lớn" + }, + "options__4": { + "label": "Cực lớn" + } } } } diff --git a/locales/zh-CN.schema.json b/locales/zh-CN.schema.json index 8f6bb3d1cdc..69b61a51553 100644 --- a/locales/zh-CN.schema.json +++ b/locales/zh-CN.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "链接" + }, + "text_size": { + "label": "文本大小", + "options__1": { + "label": "小" + }, + "options__2": { + "label": "中" + }, + "options__3": { + "label": "大" + }, + "options__4": { + "label": "特大" + } } }, "name": "公告" diff --git a/locales/zh-TW.schema.json b/locales/zh-TW.schema.json index 3de8766a902..b63a63ea12f 100644 --- a/locales/zh-TW.schema.json +++ b/locales/zh-TW.schema.json @@ -384,6 +384,21 @@ }, "link": { "label": "連結" + }, + "text_size": { + "label": "文字大小", + "options__1": { + "label": "小" + }, + "options__2": { + "label": "中" + }, + "options__3": { + "label": "大" + }, + "options__4": { + "label": "超大" + } } }, "name": "公告" From 0509fee68067837ef14170ae8a6e3329d6802292 Mon Sep 17 00:00:00 2001 From: "translation-platform[bot]" <34770790+translation-platform[bot]@users.noreply.github.com> Date: Sat, 2 Jul 2022 13:06:10 +0000 Subject: [PATCH 14/17] Update 1 translation file --- locales/nl.schema.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/locales/nl.schema.json b/locales/nl.schema.json index c4d7fe84211..aef44828b17 100644 --- a/locales/nl.schema.json +++ b/locales/nl.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Tekstgrootte", + "options__1": { + "label": "Klein" + }, + "options__2": { + "label": "Gemiddeld" + }, + "options__3": { + "label": "Groot" + }, + "options__4": { + "label": "Extra groot" + } } } } From fef8ece20546258db31440ef5e511893973788dd Mon Sep 17 00:00:00 2001 From: "translation-platform[bot]" <34770790+translation-platform[bot]@users.noreply.github.com> Date: Wed, 6 Jul 2022 11:03:24 +0000 Subject: [PATCH 15/17] Update 1 translation file --- locales/de.schema.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/locales/de.schema.json b/locales/de.schema.json index 8cf145dad3a..9b40b92c2a2 100644 --- a/locales/de.schema.json +++ b/locales/de.schema.json @@ -385,6 +385,21 @@ }, "link": { "label": "Link" + }, + "text_size": { + "label": "Textgröße", + "options__1": { + "label": "Klein" + }, + "options__2": { + "label": "Mittel" + }, + "options__3": { + "label": "Groß" + }, + "options__4": { + "label": "Extra groß" + } } } } From cd7bcb70f4bc1814c4bf7df29eb31ede3645cb01 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Fri, 8 Jul 2022 14:39:09 -0400 Subject: [PATCH 16/17] Fix JSON --- locales/de.schema.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/locales/de.schema.json b/locales/de.schema.json index bfd79fa2457..4e42544de22 100644 --- a/locales/de.schema.json +++ b/locales/de.schema.json @@ -400,6 +400,8 @@ }, "options__4": { "label": "Extra groß" + } + }, "text_alignment": { "label": "Textausrichtung", "options__1": { From 1e746defc190f3e58f365030e6c8bd6512e617d2 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad <1202812+kjellr@users.noreply.github.com> Date: Mon, 11 Jul 2022 12:39:50 -0400 Subject: [PATCH 17/17] Update locales/en.default.schema.json Co-authored-by: Ludo --- locales/en.default.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index 6939e3b2192..fc875c14ba0 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -397,7 +397,7 @@ }, "options__4": { "label": "Extra Large" - } + } }, "text_alignment": { "label": "Text alignment",