I replaced the message on the Vanilla file with one in the translation file
It may work now but is prone to being overwritten when updating.
To do this in an update-proof custom theme...
1) Extend a core theme as described here -
www.limesurvey.org/manual/New_Template_System_in_LS3.x
2) Copy the file
/themes/survey/vanilla/views/subviews/registration/register_message.twig to the directory
/upload/themes/survey/yourThemeName/views/subviews/registration/.
3) Edit
/upload/themes/survey/yourThemeName/views/subviews/registration/register_message.twig as necessary.
If you need language-specific strings, you can do something like this in register_message.twig:
Code:
{% set registerMsg1 = {
'en': 'Thank you for registering. You will receive an email shortly.',
'pt-BR': 'Portuguese-Br Thank you for registering...'
}
%}
{% set registerMsg2 = {
'en': 'You may register for this survey but you have to wait for the {{sStartDate}} before starting the survey.',
'pt-BR': 'Portuguese-Br You may register for this survey but you have to...'
}
%}
{% set registerMsg3 = {
'en': 'You may register for this survey if you wish to take part.',
'pt-BR': 'Portuguese-Br You may register for this survey if you wish...'
}
%}
{% set registerMsg4 = {
'en': 'Enter your details below, and an email containing the link to participate in this survey will be sent immediately.',
'pt-BR': 'Portuguese-Br Enter your details below...'
}
%}
{% set lang = aSurveyInfo.sLanguage %}
{% if registerSuccess %}
<p {{ aSurveyInfo.attr.registermessageb }} >{{ registerMsg1[lang] }}</p>
{% else %}
{% if sStartDate %}
<p {{ aSurveyInfo.attr.registermessagea }} > {{ registerMsg2[lang] }}</p>
{% else %}
<p {{ aSurveyInfo.attr.registermessageb }} >{{ registerMsg3[lang] }}</p>
{% endif %}
<p {{ aSurveyInfo.attr.registermessagec }} >{{ registerMsg4[lang] }}</p>
{% endif %}
{% if not empty(aSurveyInfo.aErrors) %}
<ul class='{{ aSurveyInfo.class.maincoldivdivbul }} alert alert-danger list-unstyled' {{ aSurveyInfo.attr.maincoldivdivbul }}>
{% for key, error in aSurveyInfo.aErrors%}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}