Skip to content

Commit

Permalink
Fixed issue #11159: Some untranslated strings in template preview
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 13, 2016
1 parent 40b80dc commit f5ab5d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions application/controllers/admin/templates.php
Expand Up @@ -1128,7 +1128,7 @@ protected function _initialise($templatename, $screenname, $editfile, $showsumma
$myoutput[] = $this->getController()->render('/admin/templates/templateeditor_question_meta_view', array(), true);

$aData['aReplacements'] = array(
'SAVE_LINKS' => '<li><a href="#" id="saveallbtnlink">Resume later</a></li>',
'SAVE_LINKS' => '<li><a href="#" id="saveallbtnlink">'.gT("Resume later").'</a></li>',
'CLEARALL_LINKS' => '<li><a href="#" id="clearallbtnlink">'.gT("Exit and clear survey").'</a></li>'
);
$myoutput = array_merge($myoutput, doreplacement($oEditedTemplate->viewPath . "/startpage.pstpl", $aData, $oEditedTemplate));
Expand All @@ -1142,7 +1142,7 @@ protected function _initialise($templatename, $screenname, $editfile, $showsumma

$aReplacements = array(
'QUESTION_TEXT' => gT("How many roads must a man walk down?"),
'QUESTION_CODE' => '1a',
'QUESTION_CODE' => '1a ',
'QUESTIONHELP' => '<div class="text-info questionhelp">
<span class="fa fa-question-circle" aria-hidden="true"></span>
&nbsp;helpful text
Expand All @@ -1167,7 +1167,7 @@ protected function _initialise($templatename, $screenname, $editfile, $showsumma

$aReplacements = array(
'QUESTION_TEXT' => gT('Please explain something in detail:'),
'QUESTION_CODE' => '2a',
'QUESTION_CODE' => '2a ',
'QUESTION_ESSENTIALS' => 'id="question2"',
'QUESTION_CLASS' => 'text-long input-error',
'QUESTION_NUMBER' => '2',
Expand Down
Expand Up @@ -51,7 +51,7 @@ class="radio"
This field is related to the input thanks to attribute aria-labelledby
-->
<div class="label-text label-clickable" id="label-answer319974X233X4277A1">
One
<?php eT('One'); ?>
</div>
</div>
<!-- end of answer_row -->
Expand All @@ -75,7 +75,7 @@ class="radio"
This field is related to the input thanks to attribute aria-labelledby
-->
<div class="label-text label-clickable" id="label-answer319974X233X4277A2">
Two
<?php eT('Two'); ?>
</div>
</div>
<!-- end of answer_row -->
Expand All @@ -99,7 +99,7 @@ class="radio"
This field is related to the input thanks to attribute aria-labelledby
-->
<div class="label-text label-clickable" id="label-answer319974X233X4277A3">
Three
<?php eT('Three'); ?>
</div>
</div>
<!-- end of answer_row -->
Expand Down

0 comments on commit f5ab5d4

Please sign in to comment.