Skip to content

Commit 36e309e

Browse files
committed
Update translation to pt_BR
1 parent 2491ea8 commit 36e309e

File tree

6 files changed

+28
-12
lines changed

6 files changed

+28
-12
lines changed

packages/volto-code-block/locales/en/LC_MESSAGES/volto.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ msgstr ""
1111
"Content-Transfer-Encoding: \n"
1212
"Plural-Forms: \n"
1313

14+
#. Default: "Caption"
15+
#: components/Blocks/Code/schema
16+
msgid "Caption"
17+
msgstr ""
18+
1419
#. Default: "Code Block"
1520
#: components/Blocks/Code/schema
1621
msgid "Code Block"

packages/volto-code-block/locales/pt_BR/LC_MESSAGES/volto.po

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ msgstr ""
1111
"Content-Transfer-Encoding: \n"
1212
"Plural-Forms: \n"
1313

14+
#. Default: "Caption"
15+
#: components/Blocks/Code/schema
16+
msgid "Caption"
17+
msgstr "Legenda"
18+
1419
#. Default: "Code Block"
1520
#: components/Blocks/Code/schema
1621
msgid "Code Block"
@@ -25,22 +30,22 @@ msgstr "Escuro"
2530
#: components/Blocks/Code/schema
2631
#: components/Blocks/Gist/schema
2732
msgid "Description"
28-
msgstr ""
33+
msgstr "Descrição"
2934

3035
#. Default: "File"
3136
#: components/Blocks/Gist/schema
3237
msgid "File"
33-
msgstr ""
38+
msgstr "Arquivo"
3439

3540
#. Default: "Gist Block"
3641
#: components/Blocks/Gist/schema
3742
msgid "Gist Block"
38-
msgstr ""
43+
msgstr "Bloco Gist"
3944

4045
#. Default: "Gist Id"
4146
#: components/Blocks/Gist/schema
4247
msgid "Gist Id"
43-
msgstr ""
48+
msgstr "Id do Gist"
4449

4550
#. Default: "Language"
4651
#: components/Blocks/Code/schema
@@ -60,7 +65,7 @@ msgstr "Exibir número de linha"
6065
#. Default: "Starting Line Number"
6166
#: components/Blocks/Code/schema
6267
msgid "Starting Line Number"
63-
msgstr ""
68+
msgstr "Número da Linha Inicial"
6469

6570
#. Default: "Style"
6671
#: components/Blocks/Code/schema
@@ -71,7 +76,7 @@ msgstr "Estilo"
7176
#: components/Blocks/Code/schema
7277
#: components/Blocks/Gist/schema
7378
msgid "Title"
74-
msgstr ""
79+
msgstr "Título"
7580

7681
#. Default: "Wrap Long Lines"
7782
#: components/Blocks/Code/schema

packages/volto-code-block/locales/volto.pot

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: Plone\n"
4-
"POT-Creation-Date: 2024-04-02T13:25:29.270Z\n"
4+
"POT-Creation-Date: 2025-11-13T18:21:01.158Z\n"
55
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
66
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
77
"Content-Type: text/plain; charset=utf-8\n"
@@ -13,6 +13,11 @@ msgstr ""
1313
"Preferred-Encodings: utf-8\n"
1414
"Domain: volto\n"
1515

16+
#. Default: "Caption"
17+
#: components/Blocks/Code/schema
18+
msgid "Caption"
19+
msgstr ""
20+
1621
#. Default: "Code Block"
1722
#: components/Blocks/Code/schema
1823
msgid "Code Block"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update translation to pt_BR. @ericof

packages/volto-code-block/src/components/Blocks/Code/schema.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ const messages = defineMessages({
3535
id: 'Description',
3636
defaultMessage: 'Description',
3737
},
38+
caption: {
39+
id: 'Caption',
40+
defaultMessage: 'Caption',
41+
},
3842
});
3943

4044
export const codeSchema = (props) => {
@@ -73,7 +77,7 @@ export const codeSchema = (props) => {
7377
},
7478
{
7579
id: 'caption',
76-
title: 'Caption',
80+
title: props.intl.formatMessage(messages.caption),
7781
fields: ['caption_title', 'caption_description'],
7882
},
7983
],

pnpm-lock.yaml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)