If no API Key is provided yet, the template literally displays <p>Sorry, the signup form could not be loaded.</p> – unlocalized despite the i18n reference*, and as uninterpreted HTML with the <p> tags.
* <% _t('Innoweb\\MailChimpSignup\\Pages\\SignupPage.FORMNOTLOADED', 'Leider konnte das Anmeldeformular nicht geladen werden.') %>
I see two issues here:
(1) The template has an <% if $Form %>$Form<% else %>[…]<% end_if %> query. However, the else part is never reached, despite no-form.
(2) SignupPageController.php returns un-internationalized hard-coded English text in line 38. A return null; should suffice due to that very if query.
If no API Key is provided yet, the template literally displays
<p>Sorry, the signup form could not be loaded.</p>
– unlocalized despite the i18n reference*, and as uninterpreted HTML with the<p>
tags.*
<% _t('Innoweb\\MailChimpSignup\\Pages\\SignupPage.FORMNOTLOADED', 'Leider konnte das Anmeldeformular nicht geladen werden.') %>
I see two issues here:
(1) The template has an
<% if $Form %>$Form<% else %>[…]<% end_if %>
query. However, the else part is never reached, despite no-form.(2)
SignupPageController.php
returns un-internationalized hard-coded English text in line 38. Areturn null;
should suffice due to that very if query.