File tree Expand file tree Collapse file tree 3 files changed +28
-12
lines changed
packages/volto-iframe-block Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ msgstr "Seitenverhältnis beibehalten"
6363msgid "Preserve aspect ratio based on initial width and height"
6464msgstr "Seitenverhältnis basierend auf der ursprünglichen Breite und Höhe beibehalten"
6565
66- #. Default: "Provide an iFrame title for better accessibility for screenreaders (title will not be visible) ,"
66+ #. Default: "Provide an iFrame title for better accessibility,"
6767#: components/schema
68- msgid "Provide an iFrame title for better accessibility for screenreaders (title will not be visible) ,"
69- msgstr "Geben Sie einen iFrame-Titel an, um die Zugänglichkeit für Screenreader zu verbessern (der Titel wird nicht angezeigt) ,"
68+ msgid "Provide an iFrame title for better accessibility,"
69+ msgstr "Geben Sie einen iFrame-Titel an, um die Barrierefreiheit zu verbessern,"
7070
7171#. Default: "Source"
7272#: components/schema
@@ -86,12 +86,12 @@ msgstr "Geben Sie eine URL ein"
8686#. Default: "Values are in Pixels (e.g. 100 or 100px) or Percent (e.g. 100%)"
8787#: components/schema
8888msgid "Values are in Pixels (e.g. 100 or 100px) or Percent (e.g. 100%)"
89- msgstr "Die Werte werden in Pixeln (z.B. 100 oder 100px) oder Prozent (z.B. 100%) angegeben."
89+ msgstr "Werte können in Pixeln (z.B. " 100" oder " 100px" ) oder in Prozent (z.B. " 100%" ) angegeben werden ."
9090
9191#. Default: "Width"
9292#: components/schema
9393msgid "Width"
94- msgstr "Weite "
94+ msgstr "Breite "
9595
9696#. Default: "see WCAG 2.1"
9797#: components/schema
Original file line number Diff line number Diff line change @@ -44,14 +44,18 @@ const IframeView = (props) => {
4444 ) }
4545 { data . credit && (
4646 < div className = "credit" >
47- Credit: { ' ' }
47+ < FormattedMessage id = " Credit" defaultMessage = "Credit" /> :
4848 < div dangerouslySetInnerHTML = { { __html : data . credit . data } } />
4949 </ div >
5050 ) }
5151 </ figcaption >
5252 </ figure >
5353 ) : (
54- isEditMode && < div className = "invalid-url message" > < FormattedMessage id = "Invalid URL" defaultMessage = "Invalid URL" /> </ div >
54+ isEditMode && (
55+ < div className = "invalid-url message" >
56+ < FormattedMessage id = "Invalid URL" defaultMessage = "Invalid URL" />
57+ </ div >
58+ )
5559 ) }
5660 </ div >
5761 </ div >
Original file line number Diff line number Diff line change 3232 }
3333
3434 .invalid-url {
35- padding : 1.5em ;
36- background : #f9edbe ;
37- text-align : center ;
35+ padding : 1.5em ;
36+ background : #f9edbe ;
37+ text-align : center ;
3838 }
39-
40-
4139}
4240
4341.block.iframe {
4442 figure {
4543 margin-right : auto ;
4644 margin-left : auto ;
45+
46+ figcaption {
47+ .credit {
48+ margin-top : 10px ;
49+ display : flex ;
50+ align-items : center ;
51+ & > div {
52+ margin-left : 4px ;
53+ * {
54+ font-size : inherit ;
55+ }
56+ }
57+ }
58+ }
4759 }
4860 iframe {
4961 width : 100% ;
You can’t perform that action at this time.
0 commit comments