Skip to content

Commit

Permalink
Fixed issue #12276: Strange display of "There are x questions in this…
Browse files Browse the repository at this point in the history
… survey"
  • Loading branch information
lacrioque committed Dec 15, 2017
1 parent c71c1d2 commit 352920d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/survey/no_bootstrap/views/subviews/welcome.twig
Expand Up @@ -50,7 +50,7 @@
{% elseif aSurveyInfo.iTotalquestions == 1 %}
{{ "There is 1 question in this survey" | t }}
{% else %}
{{ "There are " ~ aSurveyInfo.iTotalquestions ~ " questions in this survey." | t}}
{{ "There are" | t}} {{aSurveyInfo.iTotalquestions}} {{"questions in this survey." | t}}
{% endif %}
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/survey/vanilla/views/subviews/messages/welcome.twig
Expand Up @@ -50,7 +50,7 @@
{% elseif aSurveyInfo.iTotalquestions == 1 %}
{{ "There is 1 question in this survey" | t }}
{% else %}
{{ "There are " ~ aSurveyInfo.iTotalquestions ~ " questions in this survey." | t}}
{{ "There are" | t}} {{aSurveyInfo.iTotalquestions}} {{"questions in this survey." | t}}
{% endif %}
{% endif %}
</div>
Expand Down

0 comments on commit 352920d

Please sign in to comment.