Skip to content

Commit

Permalink
Use translation keys for default values in liquid files (#3484)
Browse files Browse the repository at this point in the history
* Use translation keys for default values in liquid files

* Update 10 translation files

* Update 10 translation files

* Update 10 translation files

---------

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
  • Loading branch information
dpasiliao and translation-platform[bot] committed May 29, 2024
1 parent bcd1850 commit 651d170
Show file tree
Hide file tree
Showing 43 changed files with 2,447 additions and 1,187 deletions.
168 changes: 114 additions & 54 deletions locales/cs.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/da.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/de.schema.json

Large diffs are not rendered by default.

156 changes: 108 additions & 48 deletions locales/en.default.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/es.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/fi.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/fr.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/it.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/ja.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/ko.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/nb.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/nl.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/pl.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/pt-BR.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/pt-PT.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/sv.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/th.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/tr.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/vi.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/zh-CN.schema.json

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions locales/zh-TW.schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sections/announcement-bar.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
{
"type": "text",
"id": "text",
"default": "Welcome to our store",
"default": "t:sections.announcement-bar.blocks.announcement.settings.text.default",
"label": "t:sections.announcement-bar.blocks.announcement.settings.text.label"
},
{
Expand Down
4 changes: 2 additions & 2 deletions sections/collage.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Multimedia collage",
"default": "t:sections.collage.settings.heading.default",
"label": "t:sections.collage.settings.heading.label"
},
{
Expand Down Expand Up @@ -385,7 +385,7 @@
{
"type": "text",
"id": "description",
"default": "Describe the video",
"default": "t:sections.collage.blocks.video.settings.description.default",
"label": "t:sections.collage.blocks.video.settings.description.label",
"info": "t:sections.collage.blocks.video.settings.description.info"
}
Expand Down
4 changes: 2 additions & 2 deletions sections/collapsible-content.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"type": "inline_richtext",
"id": "heading",
"label": "t:sections.collapsible_content.settings.heading.label",
"default": "Collapsible content"
"default": "t:sections.collapsible_content.settings.heading.default"
},
{
"type": "select",
Expand Down Expand Up @@ -284,7 +284,7 @@
{
"type": "text",
"id": "heading",
"default": "Collapsible row",
"default": "t:sections.collapsible_content.blocks.collapsible_row.settings.heading.default",
"label": "t:sections.collapsible_content.blocks.collapsible_row.settings.heading.label",
"info": "t:sections.collapsible_content.blocks.collapsible_row.settings.heading.info"
},
Expand Down
2 changes: 1 addition & 1 deletion sections/collection-list.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
{
"type": "inline_richtext",
"id": "title",
"default": "Collections",
"default": "t:sections.collection-list.settings.title.default",
"label": "t:sections.collection-list.settings.title.label"
},
{
Expand Down
4 changes: 2 additions & 2 deletions sections/contact-form.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Contact form",
"label": "Heading"
"default": "t:sections.contact-form.settings.title.default",
"label": "t:sections.contact-form.settings.title.label"
},
{
"type": "select",
Expand Down
4 changes: 2 additions & 2 deletions sections/email-signup-banner.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
{
"type": "text",
"id": "heading",
"default": "Opening soon",
"default": "t:sections.email-signup-banner.blocks.heading.settings.heading.default",
"label": "t:sections.email-signup-banner.blocks.heading.settings.heading.label"
},
{
Expand Down Expand Up @@ -342,7 +342,7 @@
{
"type": "richtext",
"id": "text",
"default": "<p>Be the first to know when we launch.</p>",
"default": "t:sections.email-signup-banner.blocks.paragraph.settings.paragraph.default",
"label": "t:sections.email-signup-banner.blocks.paragraph.settings.paragraph.label"
},
{
Expand Down
2 changes: 1 addition & 1 deletion sections/featured-blog.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Blog posts",
"default": "t:sections.featured-blog.settings.heading.default",
"label": "t:sections.featured-blog.settings.heading.label"
},
{
Expand Down
2 changes: 1 addition & 1 deletion sections/featured-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
{
"type": "inline_richtext",
"id": "title",
"default": "Featured collection",
"default": "t:sections.featured-collection.settings.title.default",
"label": "t:sections.featured-collection.settings.title.label"
},
{
Expand Down
10 changes: 5 additions & 5 deletions sections/featured-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
{
"type": "inline_richtext",
"id": "text",
"default": "Text block",
"default": "t:sections.featured-product.blocks.text.settings.text.default",
"label": "t:sections.featured-product.blocks.text.settings.text.label"
},
{
Expand Down Expand Up @@ -695,7 +695,7 @@
"type": "text",
"id": "share_label",
"label": "t:sections.featured-product.blocks.share.settings.text.label",
"default": "Share"
"default": "t:sections.featured-product.blocks.share.settings.text.default"
},
{
"type": "paragraph",
Expand Down Expand Up @@ -947,7 +947,7 @@
{
"type": "inline_richtext",
"id": "heading_1",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_1.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_1.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
Expand Down Expand Up @@ -1143,7 +1143,7 @@
{
"type": "inline_richtext",
"id": "heading_2",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_2.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_2.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
Expand Down Expand Up @@ -1339,7 +1339,7 @@
{
"type": "inline_richtext",
"id": "heading_3",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_3.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_3.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
}
Expand Down
8 changes: 4 additions & 4 deletions sections/footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Quick links",
"default": "t:sections.footer.blocks.link_list.settings.heading.default",
"label": "t:sections.footer.blocks.link_list.settings.heading.label"
},
{
Expand Down Expand Up @@ -372,13 +372,13 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Heading",
"default": "t:sections.footer.blocks.text.settings.heading.default",
"label": "t:sections.footer.blocks.text.settings.heading.label"
},
{
"type": "richtext",
"id": "subtext",
"default": "<p>Share contact information, store details, and brand content with your customers.</p>",
"default": "t:sections.footer.blocks.text.settings.subtext.default",
"label": "t:sections.footer.blocks.text.settings.subtext.label"
}
]
Expand Down Expand Up @@ -446,7 +446,7 @@
{
"type": "inline_richtext",
"id": "newsletter_heading",
"default": "Subscribe to our emails",
"default": "t:sections.footer.settings.newsletter_heading.default",
"label": "t:sections.footer.settings.newsletter_heading.label"
},
{
Expand Down
8 changes: 4 additions & 4 deletions sections/image-banner.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Image banner",
"default": "t:sections.image-banner.blocks.heading.settings.heading.default",
"label": "t:sections.image-banner.blocks.heading.settings.heading.label"
},
{
Expand Down Expand Up @@ -403,7 +403,7 @@
{
"type": "inline_richtext",
"id": "text",
"default": "Give customers details about the banner image(s) or content on the template.",
"default": "t:sections.image-banner.blocks.text.settings.text.default",
"label": "t:sections.image-banner.blocks.text.settings.text.label"
},
{
Expand Down Expand Up @@ -436,7 +436,7 @@
{
"type": "text",
"id": "button_label_1",
"default": "Button label",
"default": "t:sections.image-banner.blocks.buttons.settings.button_label_1.default",
"label": "t:sections.image-banner.blocks.buttons.settings.button_label_1.label",
"info": "t:sections.image-banner.blocks.buttons.settings.button_label_1.info"
},
Expand All @@ -454,7 +454,7 @@
{
"type": "text",
"id": "button_label_2",
"default": "Button label",
"default": "t:sections.image-banner.blocks.buttons.settings.button_label_2.default",
"label": "t:sections.image-banner.blocks.buttons.settings.button_label_2.label",
"info": "t:sections.image-banner.blocks.buttons.settings.button_label_2.info"
},
Expand Down
8 changes: 4 additions & 4 deletions sections/image-with-text.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
{
"type": "inline_richtext",
"id": "heading",
"default": "Image with text",
"default": "t:sections.image-with-text.blocks.heading.settings.heading.default",
"label": "t:sections.image-with-text.blocks.heading.settings.heading.label"
},
{
Expand Down Expand Up @@ -365,7 +365,7 @@
{
"type": "text",
"id": "caption",
"default": "Add a tagline",
"default": "t:sections.image-with-text.blocks.caption.settings.text.default",
"label": "t:sections.image-with-text.blocks.caption.settings.text.label"
},
{
Expand Down Expand Up @@ -414,7 +414,7 @@
{
"type": "richtext",
"id": "text",
"default": "<p>Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.</p>",
"default": "t:sections.image-with-text.blocks.text.settings.text.default",
"label": "t:sections.image-with-text.blocks.text.settings.text.label"
},
{
Expand Down Expand Up @@ -443,7 +443,7 @@
{
"type": "text",
"id": "button_label",
"default": "Button label",
"default": "t:sections.image-with-text.blocks.button.settings.button_label.default",
"label": "t:sections.image-with-text.blocks.button.settings.button_label.label",
"info": "t:sections.image-with-text.blocks.button.settings.button_label.info"
},
Expand Down
2 changes: 1 addition & 1 deletion sections/main-article.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"type": "text",
"id": "share_label",
"label": "t:sections.main-article.blocks.share.settings.text.label",
"default": "Share"
"default": "t:sections.main-article.blocks.share.settings.text.default"
},
{
"type": "paragraph",
Expand Down
2 changes: 1 addition & 1 deletion sections/main-list-collections.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"type": "inline_richtext",
"id": "title",
"label": "t:sections.main-list-collections.settings.title.label",
"default": "Collections"
"default": "t:sections.main-list-collections.settings.title.default"
},
{
"type": "select",
Expand Down
16 changes: 8 additions & 8 deletions sections/main-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
{
"type": "inline_richtext",
"id": "text",
"default": "Text block",
"default": "t:sections.main-product.blocks.text.settings.text.default",
"label": "t:sections.main-product.blocks.text.settings.text.label"
},
{
Expand Down Expand Up @@ -960,7 +960,7 @@
"type": "text",
"id": "share_label",
"label": "t:sections.main-product.blocks.share.settings.text.label",
"default": "Share"
"default": "t:sections.main-product.blocks.share.settings.text.default"
},
{
"type": "paragraph",
Expand Down Expand Up @@ -991,7 +991,7 @@
{
"type": "text",
"id": "heading",
"default": "Collapsible row",
"default": "t:sections.main-product.blocks.collapsible_tab.settings.heading.default",
"info": "t:sections.main-product.blocks.collapsible_tab.settings.heading.info",
"label": "t:sections.main-product.blocks.collapsible_tab.settings.heading.label"
},
Expand Down Expand Up @@ -1198,7 +1198,7 @@
{
"type": "text",
"id": "text",
"default": "Pop-up link text",
"default": "t:sections.main-product.blocks.popup.settings.link_label.default",
"label": "t:sections.main-product.blocks.popup.settings.link_label.label"
},
{
Expand Down Expand Up @@ -1231,7 +1231,7 @@
{
"type": "text",
"id": "block_heading",
"default": "Pairs well with",
"default": "t:sections.main-product.blocks.complementary_products.settings.heading.default",
"label": "t:sections.main-product.blocks.complementary_products.settings.heading.label"
},
{
Expand Down Expand Up @@ -1708,7 +1708,7 @@
{
"type": "inline_richtext",
"id": "heading_1",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_1.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_1.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
Expand Down Expand Up @@ -1904,7 +1904,7 @@
{
"type": "inline_richtext",
"id": "heading_2",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_2.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_2.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
Expand Down Expand Up @@ -2100,7 +2100,7 @@
{
"type": "inline_richtext",
"id": "heading_3",
"default": "Heading",
"default": "t:sections.main-product.blocks.icon_with_text.settings.heading_3.default",
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_3.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
}
Expand Down
8 changes: 4 additions & 4 deletions sections/multicolumn.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
{
"type": "inline_richtext",
"id": "title",
"default": "Multicolumn",
"default": "t:sections.multicolumn.settings.title.default",
"label": "t:sections.multicolumn.settings.title.label"
},
{
Expand Down Expand Up @@ -311,7 +311,7 @@
{
"type": "text",
"id": "button_label",
"default": "Button label",
"default": "t:sections.multicolumn.settings.button_label.default",
"label": "t:sections.multicolumn.settings.button_label.label"
},
{
Expand Down Expand Up @@ -389,13 +389,13 @@
{
"type": "inline_richtext",
"id": "title",
"default": "Column",
"default": "t:sections.multicolumn.blocks.column.settings.title.default",
"label": "t:sections.multicolumn.blocks.column.settings.title.label"
},
{
"type": "richtext",
"id": "text",
"default": "<p>Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.</p>",
"default": "t:sections.multicolumn.blocks.column.settings.text.default",
"label": "t:sections.multicolumn.blocks.column.settings.text.label"
},
{
Expand Down
Loading

0 comments on commit 651d170

Please sign in to comment.