mirror of
https://github.com/silverstripe/silverstripe-iframe
synced 2024-10-22 11:05:51 +02:00
More globalisation in module
This commit is contained in:
parent
a55358e93b
commit
3134c3baef
@ -3,6 +3,9 @@ en:
|
|||||||
DESCRIPTION: 'Embeds an iframe into the body of the page.'
|
DESCRIPTION: 'Embeds an iframe into the body of the page.'
|
||||||
PLURALNAME: 'Base Pages'
|
PLURALNAME: 'Base Pages'
|
||||||
SINGULARNAME: 'I Frame Page'
|
SINGULARNAME: 'I Frame Page'
|
||||||
|
IframePage:
|
||||||
|
ExternalNote: 'Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers.'
|
||||||
|
Loading: 'Loading content...'
|
||||||
SiteTree:
|
SiteTree:
|
||||||
PLURALNAME: Pages
|
PLURALNAME: Pages
|
||||||
SINGULARNAME: Page
|
SINGULARNAME: Page
|
||||||
|
@ -3,8 +3,12 @@
|
|||||||
|
|
||||||
$Content
|
$Content
|
||||||
<% if IFrameURL %>
|
<% if IFrameURL %>
|
||||||
<span id="Iframepage-loading" style="display: none;">Loading content...</span>
|
<span id="Iframepage-loading" style="display: none;">
|
||||||
<div class="nonvisual-indicator" style="position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;">Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers.</div>
|
<%t IframePage.Loading "Loading content..." %>
|
||||||
|
</span>
|
||||||
|
<div class="nonvisual-indicator" style="position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;">
|
||||||
|
<%t IframePage.ExternalNote "Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers." %>
|
||||||
|
</div>
|
||||||
<iframe id="Iframepage-iframe" style="$Style" src="$IFrameURL" class="$Class">$AlternateContent</iframe>
|
<iframe id="Iframepage-iframe" style="$Style" src="$IFrameURL" class="$Class">$AlternateContent</iframe>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
$BottomContent
|
$BottomContent
|
||||||
|
Loading…
Reference in New Issue
Block a user