Skip to content

Commit

Permalink
Merge pull request #7 from plonegovbr/issue-5-18n
Browse files Browse the repository at this point in the history
Update pt_BR translation
  • Loading branch information
ericof authored Aug 4, 2023
2 parents 2aa58fe + 30df0cc commit 21001ec
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.storybook
build

# yarn 3
.pnp.*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ help: ## Show this help.
# Dev Helpers
.PHONY: i18n
i18n: ## Sync i18n
${DOCKER_COMPOSE} run addon-no-backend i18n
${DOCKER_COMPOSE} run -e ADDON_PATH=$(ADDON_PATH) --entrypoint '/app/i18n.sh' addon-no-backend

.PHONY: release
release: ## Release package
Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ FROM plone/frontend-dev:${VOLTO_VERSION}
ARG ADDON_NAME
ARG ADDON_PATH

# Copy i18n helper
COPY --chown=node:node dockerfiles/i18n.sh /app/

# Copy linter / prettier configs
COPY --chown=node:node .eslintignore .prettierignore /app/

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/i18n.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
cd "/app/src/addons/${ADDON_PATH}/" && /app/node_modules/.bin/i18n --addon && rm -Rf build || exit
14 changes: 0 additions & 14 deletions locales/LC_MESSAGES/pt_BR/volto.pot

This file was deleted.

48 changes: 48 additions & 0 deletions locales/pt_BR/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-29T12:34:47.097Z\n"
"PO-Revision-Date: \n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language: \n"
"Language-Team: Plone i18n <[email protected]>\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Language-Code: en\n"
"Language-Name: English\n"
"Preferred-Encodings: utf-8\n"
"Domain: volto\n"

#: components/Blocks/FollowUs/schema
# defaultMessage: Align
msgid "Align"
msgstr "Alinhamento"

#: components/Blocks/FollowUs/schema
# defaultMessage: Animate Icon
msgid "Animate Icon"
msgstr "Animar o ícone"

#: components/Blocks/FollowUs/Data
#: components/Blocks/FollowUs/schema
# defaultMessage: Follow Us
msgid "Follow Us Block"
msgstr "Bloco Siga-nos"

#: components/Blocks/FollowUs/schema
# defaultMessage: Headline
msgid "Headline"
msgstr "Chamada"

#: components/Blocks/FollowUs/schema
# defaultMessage: Network
msgid "Network"
msgstr "Rede"

#: components/Blocks/FollowUs/schema
# defaultMessage: Networks
msgid "Networks"
msgstr "Redes"
33 changes: 32 additions & 1 deletion locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2021-01-29T12:34:47.097Z\n"
"POT-Creation-Date: 2023-08-04T18:02:39.658Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand All @@ -12,3 +12,34 @@ msgstr ""
"Language-Name: English\n"
"Preferred-Encodings: utf-8\n"
"Domain: volto\n"

#: components/Blocks/FollowUs/schema
# defaultMessage: Align
msgid "Align"
msgstr ""

#: components/Blocks/FollowUs/schema
# defaultMessage: Animate Icon
msgid "Animate Icon"
msgstr ""

#: components/Blocks/FollowUs/Data
#: components/Blocks/FollowUs/schema
# defaultMessage: Follow Us
msgid "Follow Us Block"
msgstr ""

#: components/Blocks/FollowUs/schema
# defaultMessage: Headline
msgid "Headline"
msgstr ""

#: components/Blocks/FollowUs/schema
# defaultMessage: Network
msgid "Network"
msgstr ""

#: components/Blocks/FollowUs/schema
# defaultMessage: Networks
msgid "Networks"
msgstr ""
1 change: 1 addition & 0 deletions news/5.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update pt_BR translation [@ericof]

0 comments on commit 21001ec

Please sign in to comment.