File tree Expand file tree Collapse file tree 6 files changed +28
-12
lines changed
packages/volto-code-block
src/components/Blocks/Code Expand file tree Collapse file tree 6 files changed +28
-12
lines changed Original file line number Diff line number Diff 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
1621msgid "Code Block"
Original file line number Diff line number Diff 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
1621msgid "Code Block"
@@ -25,22 +30,22 @@ msgstr "Escuro"
2530#: components/Blocks/Code/schema
2631#: components/Blocks/Gist/schema
2732msgid "Description"
28- msgstr ""
33+ msgstr "Descrição "
2934
3035#. Default: "File"
3136#: components/Blocks/Gist/schema
3237msgid "File"
33- msgstr ""
38+ msgstr "Arquivo "
3439
3540#. Default: "Gist Block"
3641#: components/Blocks/Gist/schema
3742msgid "Gist Block"
38- msgstr ""
43+ msgstr "Bloco Gist "
3944
4045#. Default: "Gist Id"
4146#: components/Blocks/Gist/schema
4247msgid "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
6267msgid "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
7378msgid "Title"
74- msgstr ""
79+ msgstr "Título "
7580
7681#. Default: "Wrap Long Lines"
7782#: components/Blocks/Code/schema
Original file line number Diff line number Diff line change 11msgid ""
22msgstr ""
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
1823msgid "Code Block"
Original file line number Diff line number Diff line change 1+ Update translation to pt_BR. @ericof
Original file line number Diff line number Diff 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
4044export 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 ] ,
You can’t perform that action at this time.
0 commit comments