Skip to content

Commit

Permalink
Added icons and text block (#1)
Browse files Browse the repository at this point in the history
Us 57555 icon and text block
  • Loading branch information
pnicolli authored Sep 5, 2024
2 parents d87a43b + 829051d commit e9a482a
Show file tree
Hide file tree
Showing 18 changed files with 1,360 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

env:
NODE_VERSION: 20.x

jobs:
towncrier:
runs-on: ubuntu-latest
Expand All @@ -17,6 +20,30 @@ jobs:
- name: Install towncrier
run: pip install towncrier

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

- name: Enable corepack
run: corepack enable

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: make install

- uses: dorny/paths-filter@v2
id: filter
with:
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,24 @@ jobs:

- run: npm install -g npm

- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Enable corepack
run: corepack enable

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
run_install: |
- args: [--frozen-lockfile]
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: make install

- name: Extract package from release tag
id: get_package
Expand Down
131 changes: 131 additions & 0 deletions packages/volto-blocks/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ msgstr ""

#. Default: "Text"
#: components/blocks/Accordion/EditItem
#: components/blocks/IconsAndText/Edit
#: components/blocks/IconsAndText/EditItem
#: components/blocks/IconsAndText/schema
#: components/blocks/Testimonials/Edit
#: components/blocks/Testimonials/schema
#: components/blocks/Text1/Edit
Expand All @@ -37,10 +40,18 @@ msgstr ""
msgid "Text"
msgstr ""

#. Default: "Type header text..."
#: components/blocks/IconsAndText/EditItem
msgid "Text placeholder"
msgstr ""

#. Default: "Title"
#: components/blocks/Accordion/Edit
#: components/blocks/Accordion/EditItem
#: components/blocks/Accordion/schema
#: components/blocks/IconsAndText/Edit
#: components/blocks/IconsAndText/EditItem
#: components/blocks/IconsAndText/schema
#: components/blocks/Testimonials/Edit
#: components/blocks/Testimonials/schema
#: components/blocks/Text1/Edit
Expand All @@ -52,6 +63,121 @@ msgstr ""
msgid "Title"
msgstr ""

#. Default: "Add column"
#: components/blocks/IconsAndText/schema
msgid "addColumn"
msgstr ""

#. Default: "After title"
#: components/blocks/IconsAndText/schema
msgid "after_title"
msgstr ""

#. Default: "Before header text"
#: components/blocks/IconsAndText/schema
msgid "before_header_text"
msgstr ""

#. Default: "Before title"
#: components/blocks/IconsAndText/schema
msgid "before_title"
msgstr ""

#. Default: "Column"
#: components/blocks/IconsAndText/schema
msgid "column"
msgstr ""

#. Default: "Number of columns"
#: components/blocks/IconsAndText/schema
msgid "columnsNumber"
msgstr ""

#. Default: "The image must be a PNG or SVG. The maximum recommended size for PNG is 200x200px."
#: components/blocks/IconsAndText/schema
msgid "description"
msgstr ""

#. Default: "Divider position"
#: components/blocks/IconsAndText/schema
msgid "divider_position"
msgstr ""

#. Default: "Header text position"
#: components/blocks/IconsAndText/schema
msgid "header_text_position"
msgstr ""

#. Default: "Icon"
#: components/blocks/IconsAndText/schema
msgid "icon"
msgstr ""

#. Default: "Define the number of columns for this block"
#: components/blocks/IconsAndText/schema
msgid "icon_and_text_column_number_description"
msgstr ""

#. Default: "Column Number"
#: components/blocks/IconsAndText/schema
msgid "icon_and_text_column_number_title"
msgstr ""

#. Default: "Icon & Text block"
#: components/blocks/IconsAndText/schema
msgid "icons_and_text_title"
msgstr ""

#. Default: "Image size"
#: components/blocks/IconsAndText/schema
msgid "image_size"
msgstr ""

#. Default: "Large"
#: components/blocks/IconsAndText/schema
msgid "large"
msgstr ""

#. Default: "Link"
#: components/blocks/IconsAndText/schema
msgid "link"
msgstr ""

#. Default: "Link title"
#: components/blocks/IconsAndText/schema
msgid "link_title"
msgstr ""

#. Default: "If no title is entered, and a link is selected, the link will be added to the block title."
#: components/blocks/IconsAndText/schema
msgid "link_title_description"
msgstr ""

#. Default: "Medium"
#: components/blocks/IconsAndText/schema
msgid "medium"
msgstr ""

#. Default: "Do not fit the columns to the available space"
#: components/blocks/IconsAndText/schema
msgid "noAdaptColumns"
msgstr ""

#. Default: "Hide divider"
#: components/blocks/IconsAndText/schema
msgid "no_divider"
msgstr ""

#. Default: "On bottom"
#: components/blocks/IconsAndText/schema
msgid "on_bottom"
msgstr ""

#. Default: "On right"
#: components/blocks/IconsAndText/schema
msgid "on_right"
msgstr ""

#. Default: "Columns"
#: components/blocks/Accordion/schema
msgid "redturtle__volto-blocks__accordion_columns_title"
Expand Down Expand Up @@ -131,3 +257,8 @@ msgstr ""
#: components/blocks/Text7/schema
msgid "redturtle__volto-blocks__text7_title"
msgstr ""

#. Default: "Small"
#: components/blocks/IconsAndText/schema
msgid "small"
msgstr ""
131 changes: 131 additions & 0 deletions packages/volto-blocks/locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ msgstr ""

#. Default: "Text"
#: components/blocks/Accordion/EditItem
#: components/blocks/IconsAndText/Edit
#: components/blocks/IconsAndText/EditItem
#: components/blocks/IconsAndText/schema
#: components/blocks/Testimonials/Edit
#: components/blocks/Testimonials/schema
#: components/blocks/Text1/Edit
Expand All @@ -37,10 +40,18 @@ msgstr ""
msgid "Text"
msgstr "Testo"

#. Default: "Type header text..."
#: components/blocks/IconsAndText/EditItem
msgid "Text placeholder"
msgstr ""

#. Default: "Title"
#: components/blocks/Accordion/Edit
#: components/blocks/Accordion/EditItem
#: components/blocks/Accordion/schema
#: components/blocks/IconsAndText/Edit
#: components/blocks/IconsAndText/EditItem
#: components/blocks/IconsAndText/schema
#: components/blocks/Testimonials/Edit
#: components/blocks/Testimonials/schema
#: components/blocks/Text1/Edit
Expand All @@ -52,6 +63,121 @@ msgstr "Testo"
msgid "Title"
msgstr "Titolo"

#. Default: "Add column"
#: components/blocks/IconsAndText/schema
msgid "addColumn"
msgstr ""

#. Default: "After title"
#: components/blocks/IconsAndText/schema
msgid "after_title"
msgstr ""

#. Default: "Before header text"
#: components/blocks/IconsAndText/schema
msgid "before_header_text"
msgstr ""

#. Default: "Before title"
#: components/blocks/IconsAndText/schema
msgid "before_title"
msgstr ""

#. Default: "Column"
#: components/blocks/IconsAndText/schema
msgid "column"
msgstr ""

#. Default: "Number of columns"
#: components/blocks/IconsAndText/schema
msgid "columnsNumber"
msgstr ""

#. Default: "The image must be a PNG or SVG. The maximum recommended size for PNG is 200x200px."
#: components/blocks/IconsAndText/schema
msgid "description"
msgstr ""

#. Default: "Divider position"
#: components/blocks/IconsAndText/schema
msgid "divider_position"
msgstr ""

#. Default: "Header text position"
#: components/blocks/IconsAndText/schema
msgid "header_text_position"
msgstr ""

#. Default: "Icon"
#: components/blocks/IconsAndText/schema
msgid "icon"
msgstr ""

#. Default: "Define the number of columns for this block"
#: components/blocks/IconsAndText/schema
msgid "icon_and_text_column_number_description"
msgstr ""

#. Default: "Column Number"
#: components/blocks/IconsAndText/schema
msgid "icon_and_text_column_number_title"
msgstr ""

#. Default: "Icon & Text block"
#: components/blocks/IconsAndText/schema
msgid "icons_and_text_title"
msgstr ""

#. Default: "Image size"
#: components/blocks/IconsAndText/schema
msgid "image_size"
msgstr ""

#. Default: "Large"
#: components/blocks/IconsAndText/schema
msgid "large"
msgstr ""

#. Default: "Link"
#: components/blocks/IconsAndText/schema
msgid "link"
msgstr ""

#. Default: "Link title"
#: components/blocks/IconsAndText/schema
msgid "link_title"
msgstr ""

#. Default: "If no title is entered, and a link is selected, the link will be added to the block title."
#: components/blocks/IconsAndText/schema
msgid "link_title_description"
msgstr ""

#. Default: "Medium"
#: components/blocks/IconsAndText/schema
msgid "medium"
msgstr ""

#. Default: "Do not fit the columns to the available space"
#: components/blocks/IconsAndText/schema
msgid "noAdaptColumns"
msgstr ""

#. Default: "Hide divider"
#: components/blocks/IconsAndText/schema
msgid "no_divider"
msgstr ""

#. Default: "On bottom"
#: components/blocks/IconsAndText/schema
msgid "on_bottom"
msgstr ""

#. Default: "On right"
#: components/blocks/IconsAndText/schema
msgid "on_right"
msgstr ""

#. Default: "Columns"
#: components/blocks/Accordion/schema
msgid "redturtle__volto-blocks__accordion_columns_title"
Expand Down Expand Up @@ -131,3 +257,8 @@ msgstr ""
#: components/blocks/Text7/schema
msgid "redturtle__volto-blocks__text7_title"
msgstr ""

#. Default: "Small"
#: components/blocks/IconsAndText/schema
msgid "small"
msgstr ""
Loading

0 comments on commit e9a482a

Please sign in to comment.