From 3134c3baef9aafa387e230e1badbdec54d872a07 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 24 Oct 2013 22:24:39 +0200 Subject: [PATCH] More globalisation in module --- lang/en.yml | 3 +++ templates/Layout/IFramePage.ss | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lang/en.yml b/lang/en.yml index d2b2918..bf2ecc2 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -3,6 +3,9 @@ en: DESCRIPTION: 'Embeds an iframe into the body of the page.' PLURALNAME: 'Base Pages' 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: PLURALNAME: Pages SINGULARNAME: Page diff --git a/templates/Layout/IFramePage.ss b/templates/Layout/IFramePage.ss index 579aa4b..766857b 100644 --- a/templates/Layout/IFramePage.ss +++ b/templates/Layout/IFramePage.ss @@ -3,8 +3,12 @@ $Content <% if IFrameURL %> - -
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.
+ +
+ <%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." %> +
<% end_if %> $BottomContent