diff --git a/application/config/internal.php b/application/config/internal.php
index 3832c09c75b..7ca97038cad 100644
--- a/application/config/internal.php
+++ b/application/config/internal.php
@@ -266,7 +266,8 @@
'getLanguageNameFromCode' => 'getLanguageNameFromCode',
'checkconditionFunction' => 'checkconditionFunction',
'doRender' => 'doRender',
- 'flattenText' => 'flattenText'
+ 'flattenText' => 'flattenText',
+ 'getEditor' => 'getEditor'
),
'filters' => array(
'jencode' => 'CJSON::encode',
@@ -367,7 +368,8 @@
'checkconditionFunction',
'doRender',
'flattenText',
- 'range'
+ 'range',
+ 'getEditor'
),
),
),
diff --git a/application/controllers/admin/questiongroups.php b/application/controllers/admin/questiongroups.php
index dc85c20c710..9e3185d2030 100644
--- a/application/controllers/admin/questiongroups.php
+++ b/application/controllers/admin/questiongroups.php
@@ -415,8 +415,6 @@ public function updateOrder($surveyid)
$oQuestion->save(true);
}, $oQuestions);
}
-
- Question::updateSortOrder($aQuestiongroup['gid'], $surveyid);
}
return Yii::app()->getController()->renderPartial(
diff --git a/application/controllers/admin/questions.php b/application/controllers/admin/questions.php
index 030c58c2792..396d8452d8a 100644
--- a/application/controllers/admin/questions.php
+++ b/application/controllers/admin/questions.php
@@ -953,7 +953,7 @@ public function getSubquestionRow($surveyid, $gid, $qid, $codes, $language, $fir
}
$html = '';
- $html .= $this->getController()->renderPartial('/admin/survey/Question/subquestionsAndAnswers/'.$view, $aData, true, false);
+ $html .= App()->twigRenderer->renderAnswerOptions('/admin/survey/Question/subquestionsAndAnswers/'.$view, $aData);
$html .= '';
return $html;
}
diff --git a/application/core/LSETwigViewRenderer.php b/application/core/LSETwigViewRenderer.php
index 9b0d315904b..d01f593a8d2 100644
--- a/application/core/LSETwigViewRenderer.php
+++ b/application/core/LSETwigViewRenderer.php
@@ -179,6 +179,61 @@ public function renderQuestion($sView, $aData)
}
}
+ /**
+ * This method is used to render question's subquestions and answer options pages .
+ * It first checks if the question use a template (set in display attributes)
+ * If it is the case, it will use the views of that template, else, it will render the core view.
+ *
+ * @param string $sView the view (layout) to render
+ * @param array $aData the datas needed for the view rendering
+ *
+ * @return string the generated html
+ */
+ public function renderAnswerOptions($sView, $aData)
+ {
+ $this->_twig = parent::getTwig(); // Twig object
+ $loader = $this->_twig->getLoader(); // Twig Template loader
+ $requiredView = Yii::getPathOfAlias('application.views').$sView; // By default, the required view is the core view
+ $loader->setPaths(App()->getBasePath().'/views/'); // Core views path
+
+ $oQuestionTemplate = QuestionTemplate::getInstance(); // Question template instance has been created at top of qanda_helper::retrieveAnswers()
+
+ // currently, question's subquestions and answer options pages are rendered only from core
+ $sTemplateFolderName = null;
+
+ // Check if question use a custom template and that it provides its own twig view
+ if ($sTemplateFolderName) {
+ $bTemplateHasThisView = $oQuestionTemplate->checkIfTemplateHasView($sView); // A template can change only one of the view of the question type. So other views should be rendered by core.
+
+ if ($bTemplateHasThisView) {
+ $sQTemplatePath = $oQuestionTemplate->getTemplatePath(); // Question template views path
+ $loader->setPaths($sQTemplatePath); // Loader path
+ $requiredView = $sQTemplatePath.ltrim($sView, '/'); // Complete path of the view
+ }
+ }
+
+ // We check if the file is a twig file or a php file
+ // This allow us to twig the view one by one, from PHP to twig.
+ // The check will be removed when 100% of the views will have been twig
+ if (file_exists($requiredView.'.twig')) {
+ // We're not using the Yii Theming system, so we don't use parent::renderFile
+ // current controller properties will be accessible as {{ this.property }}
+
+ // aData and surveyInfo variables are accessible from question type twig files
+ $aData['aData'] = $aData;
+ $sBaseLanguage = Survey::model()->findByPk($_SESSION['LEMsid'])->language;
+ $aData['surveyInfo'] = getSurveyInfo($_SESSION['LEMsid'], $sBaseLanguage);
+ $aData['this'] = Yii::app()->getController();
+
+ $aData['question_template_attribute'] = null;
+
+ $template = $this->_twig->loadTemplate($sView.'.twig')->render($aData);
+ return $template;
+ } else {
+ return Yii::app()->getController()->renderPartial($sView, $aData, true);
+ }
+ }
+
/**
* This method is called from Template Editor.
* It returns the HTML string needed for the tmp file using the template twig file.
diff --git a/application/views/admin/responses/browsemenubar_view.php b/application/views/admin/responses/browsemenubar_view.php
index bff19058eab..173514694e9 100644
--- a/application/views/admin/responses/browsemenubar_view.php
+++ b/application/views/admin/responses/browsemenubar_view.php
@@ -57,7 +57,7 @@
-
+
diff --git a/application/views/admin/survey/Question/answerOptionsEdit_view.twig b/application/views/admin/survey/Question/answerOptionsEdit_view.twig
new file mode 100644
index 00000000000..9818c0b98c7
--- /dev/null
+++ b/application/views/admin/survey/Question/answerOptionsEdit_view.twig
@@ -0,0 +1,232 @@
+
+
+
+
+
+ {% if viewType=='subQuestions' %}
+
+ {% elseif viewType=='answerOptions' %}
+
+ {% endif %}
+
+
+
+
+ {% set first=true %}
+
+
+
+ {% set sortorderids='' %}
+ {% set codeids='' %}
+ {% set scale_id = 0 %}
+
+
+
+ {% for i, anslang in anslangs %}
+
+ {% for scale_id in range(0,scalecount-1) %}
+ {% set result = results[anslang][scale_id] %}
+ {% set anscount = result|length %}
+ {# TODO : check the rendering of XSCALES / Y SCALES #}
+
+ {# For subQuestions #}
+ {% if viewType=='subQuestions' %}
+ {% set position=0 %}
+ {% if scalecount>1 %}
+ {% if scale_id==0 %}
+
+ {% else %}
+
+ {% endif %}
+ {% endif %}
+
+ {# For answers #}
+ {% elseif viewType=='answerOptions' %}
+ {% set position=1 %}
+ {% if scalecount>1 %}
+
+ {% endif %}
+ {% endif %}
+
+
+
+
+
+
+
+
+ {% if first and activated != 'Y' %}
+ {{ gT("Position") }}
+ {% else %}
+
+ {% endif %}
+
+ {{ gT("Code") }}
+
+
+ {% if viewType=='subQuestions' %}
+
+ {{ gT("Subquestion") }}
+
+ {% if first %}
+
+ {{ gT("Relevance equation") }}
+
+
+ {{ gT("Action") }}
+
+ {% endif %}
+
+
+ {% elseif viewType=='answerOptions' %}
+ {% if assessmentvisible %}
+
+ {{ gT("Assessment value") }}
+
+ {% else %}
+
+
+
+ {% endif %}
+
+
+ {{ gT("Answer option") }}
+
+
+
+ {% if first %}
+ {{ gT("Actions") }}
+ {% endif %}
+
+ {% endif %}
+
+
+
+
+
+ {% for row in result %}
+
+ {% if viewType=='subQuestions' %}
+ {% include '/admin/survey/Question/subquestionsAndAnswers/_subquestion.twig' with {
+ 'position' : position,
+ 'scale_id' : scale_id,
+ 'activated' : activated,
+ 'first' : first,
+ 'surveyid' : surveyid,
+ 'gid' : gid,
+ 'qid' : row.qid,
+ 'language' : row.language,
+ 'title' : row.title,
+ 'question' : row.question,
+ 'relevance' : row.relevance,
+ 'oldCode' : true,
+ } %}
+
+ {% elseif viewType=='answerOptions' %}
+ {% include '/admin/survey/Question/subquestionsAndAnswers/_answer_option.twig' with {
+ 'position' : position,
+ 'first' : first,
+ 'assessmentvisible' : assessmentvisible,
+ 'scale_id' : scale_id,
+ 'title' : row.code,
+ 'surveyid' : surveyid,
+ 'gid' : gid,
+ 'qid' : qid,
+ 'language' : row.language,
+ 'assessment_value' : row.assessment_value,
+ 'sortorder' : row.sortorder,
+ 'answer' : row.answer,
+ 'oldCode' : true,
+ } %}
+
+ {% endif %}
+
+ {% set position = position + 1 %}
+
+ {% endfor %}
+
+
+
+
+ {% if viewType=='subQuestions' %}
+ {% if activated == 'Y' %}
+ {% set disabled = 'disabled="disabled"' %}
+ {% else %}
+ {% set disabled = '' %}
+ {% endif %}
+ {% elseif viewType=='answerOptions' %}
+ {% if first %}
+
+ {% set disabled="" %}
+ {% endif %}
+
+ {% endif %}
+
+
+ {{ gT('Predefined label sets...') }}
+
+
+
+ {{ gT('Quick add...') }}
+
+
+
+ {% if has_permissions %}
+
+ {{ gT('Save as label set') }}
+
+ {% endif %}
+
+
+ {% set position=sprintf("%05d", position) %}
+ {% endfor %}
+
+ {% set first=false %}
+ {% endfor %}
+
+
+ {% include 'admin/survey/Question/question_subviews/_modals.twig' %}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/admin/survey/Question/answerOptions_view.php b/application/views/admin/survey/Question/answerOptions_view.php
index cf693759a4a..dedbfd8b7da 100644
--- a/application/views/admin/survey/Question/answerOptions_view.php
+++ b/application/views/admin/survey/Question/answerOptions_view.php
@@ -26,241 +26,33 @@
$formId, 'name'=>$formName)); ?>
-
-
-
+ $anslang) {
+ $base_language[$i] = getLanguageNameFromCode($anslang, false).($anslang==Survey::model()->findByPk($surveyid)->language ? ' ('.gT("Base language").')':'');
+ }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $anslang):?>
-
'>
-
-
-
-
-
-
-
-
- 1): ?>
-
-
-
-
-
-
-
-
-
-
- 1): ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- renderPartial('/admin/survey/Question/subquestionsAndAnswers/_subquestion', array(
- 'position' => $position,
- 'scale_id' => $scale_id,
- 'activated' => $activated,
- 'first' => $first,
- 'surveyid' => $surveyid,
- 'gid' => $gid,
- 'qid' => $row->qid,
+ $aData = array(
'language' => $anslang,
- 'title' => $row->title,
'question' => $row->questionL10ns[$anslang]->question,
- 'relevance' => $row->relevance,
- 'oldCode' => true,
- ));?>
-
-
- renderPartial('/admin/survey/Question/subquestionsAndAnswers/_answer_option', array(
- 'position' => $position,
- 'first' => $first,
- 'assessmentvisible' => $assessmentvisible,
- 'scale_id' => $scale_id,
'title' => CHtml::encode($row->code),
- 'surveyid' => $surveyid,
- 'gid' => $gid,
- 'qid' => $qid,
- 'language' => $anslang,
- 'assessment_value' => CHtml::encode($row->assessment_value),
- 'sortorder' => $row->sortorder,
+ 'surveyid' => $surveyid,
+ 'gid' => $gid,
+ 'qid' => $qid,
+ 'assessment_value' => CHtml::encode($row->assessment_value),
+ 'scalecount' => $scalecount,
'answer' => CHtml::encode($row->answerL10ns[$anslang]->answer),
- 'oldCode' => true,
- ));?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id='btnlsbrowser__' data-scale-id="" class='btnlsbrowser btn btn-default' type='button' data-toggle="modal" data-target="#labelsetbrowserModal">
-
-
-
- id='btnquickadd__' data-scale-id="" class='btn btn-default btnquickadd' type='button' data-toggle="modal" data-target="#quickaddModal" data-scale-id="">
-
-
+ 'tableId' => $tableId,
+ 'activated' => $activated,
+ 'assessmentvisible' => (empty($assessmentvisible)) ? false : $assessmentvisible,
+ 'base_language' => $base_language,
+ 'has_permissions' => Permission::model()->hasGlobalPermission('superadmin','read') || Permission::model()->hasGlobalPermission('labelsets','create'),
+ 'all_languages' => Survey::model()->findByPk($surveyid)->getAllLanguages()
+ );
-
- hasGlobalPermission('superadmin','read') || Permission::model()->hasGlobalPermission('labelsets','create')): ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- renderPartial("./survey/Question/question_subviews/_modals", array()); ?>
-
-
-
-
- "
- data-errormessage="An error occured while processing the ajax request."
- data-surveyid=""
- data-languages='findByPk($surveyid)->getAllLanguages());?>'
- data-gid=""
- data-qid=""
- data-scale-id=""
- />
-
-
-
-
+ echo App()->twigRenderer->renderAnswerOptions('/admin/survey/Question/answerOptionsEdit_view', $aData); ?>
+
diff --git a/application/views/admin/survey/Question/question_subviews/_modals.php b/application/views/admin/survey/Question/question_subviews/_modals.twig
similarity index 75%
rename from application/views/admin/survey/Question/question_subviews/_modals.php
rename to application/views/admin/survey/Question/question_subviews/_modals.twig
index 4fec66be43f..7c9f30501da 100644
--- a/application/views/admin/survey/Question/question_subviews/_modals.php
+++ b/application/views/admin/survey/Question/question_subviews/_modals.twig
@@ -1,8 +1,8 @@
-
+#}
@@ -10,19 +10,19 @@
-
+ {{ gT('Enter one answer per line. You can provide a code by separating code and answer text with a semikolon or tab. For multilingual surveys you add the translation(s) on the same line separated with a semikolon or tab.') }}
@@ -34,18 +34,18 @@
- =gT('Please select a label set')?>
+ {{ ('Please select a label set') }}
- --=gT('Select label set')?>--
+ --{{ gT('Select label set') }}--
@@ -58,9 +58,9 @@
@@ -73,7 +73,7 @@
@@ -81,17 +81,17 @@
@@ -104,7 +104,7 @@
@@ -115,8 +115,8 @@
diff --git a/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php b/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php
deleted file mode 100644
index 5647e72b45d..00000000000
--- a/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ">
- ">
-
-
-
diff --git a/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.twig b/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.twig
new file mode 100644
index 00000000000..975f042e11a
--- /dev/null
+++ b/application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.twig
@@ -0,0 +1,136 @@
+{#
+ * answer option row view
+ *
+ * @var $position
+ * @var $first
+ * @var $assessmentvisible
+ * @var $scale_id
+ * @var $title
+ * @var $surveyid
+ * @var $gid
+ * @var $qid
+ * @var $language
+ * @var $assessment_value
+ * @var $sortorder
+ * @var $answer
+ *
+ *
+ * NB : !!! If you edit this view, remember to check if subquestion row view need also to be updated !!!
+ */
+#}
+
+
+
+ {% if first %} {# If survey is not activated and first language #}
+
+ {% set sPattern = (title)?"^([a-zA-Z0-9]*|"~title~")$":"^[a-zA-Z0-9]*$" %}
+
+
+
+
+
+
+
+
+
+ {% if oldCode %}
+
+ {% endif %}
+
+
+
+ {# If survey is not active, and it's not the first language : no move button, code not editable #}
+ {% else %}
+
+
+
+
+
+
+
+
+ {{ title }}
+
+ {% endif %}
+
+
+
+ {% if assessmentvisible and first %}
+
+
+
+ {% elseif first %}
+
+
+
+ {% elseif assessmentvisible %}
+
+ {{ assessment_value }}
+
+ {% else %}
+
+
+ {% endif %}
+
+
+
+
+
+
+ {{ getEditor("editanswer","answer_"~language~"_"~qid~"_"~scale_id, "["~gT("Subquestion:", "js")~"]("~language~")",surveyid,gid,qid,'editanswer') }}
+
+
+
+
+
+
+
+
+
+ {% if first %}
+
+
+ {% endif %}
+
+
diff --git a/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php b/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php
deleted file mode 100644
index 8e61283a7f2..00000000000
--- a/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- value=""
- maxlength='20'
- size='5'
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- " type='text' class='relevance form-control input' id='relevance__' name='relevance__' value="" onkeypress=" if(event.keyCode==13) { if (event && event.preventDefault) event.preventDefault(); document.getElementById('save-button').click(); return false;}" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ">
- ">
-
-
-
-
diff --git a/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.twig b/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.twig
new file mode 100644
index 00000000000..52b535fc72c
--- /dev/null
+++ b/application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.twig
@@ -0,0 +1,140 @@
+{#
+/**
+ * subquestion row view
+ *
+ * @var $row
+ * @var $position
+ * @var $scale_id
+ * @var $activated
+ * @var $first
+ * @var $surveyid
+ * @var $gid
+ * @var $qid
+ * @var $language
+ * @var $title
+ * @var $question
+ * @var $relevance
+ * @var $oldCode
+ *
+ * NB : !!! If you edit this view, remember to check if answer option row view need also to be updated !!!
+ */
+#}
+
+
+
+ {# If survey is active : no move button, code not editable #}
+ {% if activated == 'Y' %}
+
+
+
+
+
+
+
+
+ {{ title }}
+
+
+ {# If survey is not activated and first language : move button, code editable #}
+ {% elseif first %}
+
+ {% set sPattern = (title)?"^([a-zA-Z0-9]*|"~title~")$":"^[a-zA-Z0-9]*$" %}
+
+
+
+
+
+
+
+
+ {% if oldCode %}
+
+ {% endif %}
+
+
+
+
+ {# If survey is not active, and it's not the first language : no move button, code not editable #}
+ {% else %}
+
+
+
+
+
+
+
+
+ {{ title }}
+
+ {% endif %}
+
+
+
+
+
+
+
+
+
+ {{ getEditor("editanswer","answer_"~language~"_"~qid~"_"~scale_id, "["~gT("Subquestion:", "js")~"]("~language~")",surveyid,gid,qid,'editanswer') }}
+
+
+
+
+
+ {% if first %}
+
+
+
+ {% else %}
+
+ {{ relevance }}
+
+ {% endif %}
+
+
+
+
+
+
+ {% if activated != 'Y' and first %}
+ {# TODO : to merge subquestion and answer options, implies : define in controller titles #}
+
+
+
+ {% endif %}
+
+
+
diff --git a/locale/_template/limesurvey.pot b/locale/_template/limesurvey.pot
index 5255afcaa7f..64c9fdabc99 100644
--- a/locale/_template/limesurvey.pot
+++ b/locale/_template/limesurvey.pot
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: LimeSurvey language file\n"
"Report-Msgid-Bugs-To: http://translate.limesurvey.org/\n"
-"POT-Creation-Date: 2018-05-24 10:34:21+00:00\n"
+"POT-Creation-Date: 2018-05-29 14:18:56+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -48,15 +48,15 @@ msgstr ""
#: application/helpers/admin/import_helper.php:1413
#: application/helpers/admin/import_helper.php:1431
#: application/helpers/admin/import_helper.php:1452
-#: application/helpers/admin/import_helper.php:1467
-#: application/helpers/admin/import_helper.php:1488
-#: application/helpers/admin/import_helper.php:1682
-#: application/helpers/admin/import_helper.php:2014
-#: application/helpers/admin/import_helper.php:2185
-#: application/helpers/admin/import_helper.php:2239
-#: application/helpers/admin/import_helper.php:2283
-#: application/helpers/admin/import_helper.php:2402
-#: application/helpers/admin/import_helper.php:2441
+#: application/helpers/admin/import_helper.php:1468
+#: application/helpers/admin/import_helper.php:1489
+#: application/helpers/admin/import_helper.php:1683
+#: application/helpers/admin/import_helper.php:2015
+#: application/helpers/admin/import_helper.php:2186
+#: application/helpers/admin/import_helper.php:2240
+#: application/helpers/admin/import_helper.php:2284
+#: application/helpers/admin/import_helper.php:2403
+#: application/helpers/admin/import_helper.php:2442
#: application/views/admin/dataentry/active_html_view.php:116
#: application/views/admin/dataentry/vvimport_result.php:16
#: application/views/admin/error_view.php:3
@@ -105,7 +105,7 @@ msgstr ""
#: application/views/admin/super/layout_insurvey.php:85
#: application/views/admin/super/layout_main.php:37
#: application/views/admin/super/layout_minimal.php:33
-#: application/views/layouts/main.php:36 plugins/Demo/Example/Example.php:53
+#: application/views/layouts/main.php:36
msgid "LimeSurvey online manual"
msgstr ""
@@ -636,7 +636,7 @@ msgstr ""
#: application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_selector.php:25
#: application/helpers/qanda_helper.php:2305
#: application/models/Question.php:825
-#: application/models/TemplateManifest.php:291
+#: application/models/TemplateManifest.php:295
#: application/views/admin/participants/massive_actions/_selector.php:18
#: application/views/admin/participants/massive_actions/_selector.php:37
#: application/views/admin/participants/massive_actions/_selector_attribute.php:18
@@ -923,7 +923,7 @@ msgstr ""
#: application/controllers/admin/questiongroups.php:237
#: application/controllers/admin/questiongroups.php:267
#: application/controllers/admin/questiongroups.php:402
-#: application/controllers/admin/questiongroups.php:532
+#: application/controllers/admin/questiongroups.php:530
#: application/controllers/admin/questions.php:420
#: application/controllers/admin/questions.php:633
#: application/controllers/admin/questions.php:678
@@ -1150,8 +1150,6 @@ msgstr ""
#: application/controllers/admin/assessments.php:119
#: application/views/admin/global_settings/_language.php:47
#: application/views/admin/labels/_labelviewquickadd_view.php:13
-#: application/views/admin/survey/Question/question_subviews/_modals.php:24
-#: application/views/admin/survey/Question/question_subviews/_modals.php:62
msgid "Add"
msgstr ""
@@ -1501,10 +1499,10 @@ msgstr ""
#: application/controllers/admin/conditionsaction.php:644
#: application/controllers/admin/tokens.php:1491
#: application/controllers/admin/useraction.php:163
-#: application/helpers/admin/import_helper.php:2326
-#: application/helpers/admin/import_helper.php:2343
-#: application/helpers/admin/import_helper.php:2367
-#: application/helpers/admin/import_helper.php:2423
+#: application/helpers/admin/import_helper.php:2327
+#: application/helpers/admin/import_helper.php:2344
+#: application/helpers/admin/import_helper.php:2368
+#: application/helpers/admin/import_helper.php:2424
#: application/views/admin/dataentry/import.php:29
#: application/views/admin/dataentry/vvimport_result.php:22
#: application/views/admin/survey/Question/question_view.php:102
@@ -1682,9 +1680,9 @@ msgstr ""
#: application/views/admin/quotas/_form.php:63
#: application/views/admin/responses/listResponses_view.php:121
#: application/views/admin/super/footer.php:158
-#: application/views/admin/survey/Question/editQuestion_view.php:114
-#: application/views/admin/survey/Question/editQuestion_view.php:126
-#: application/views/admin/survey/Question/editQuestion_view.php:138
+#: application/views/admin/survey/Question/editQuestion_view.php:115
+#: application/views/admin/survey/Question/editQuestion_view.php:127
+#: application/views/admin/survey/Question/editQuestion_view.php:139
#: application/views/admin/survey/Question/question_view.php:138
#: application/views/admin/survey/Question/question_view.php:156
#: application/views/admin/survey/Question/yesNo_defaultvalue_widget.php:63
@@ -1844,9 +1842,9 @@ msgstr ""
#: application/views/admin/quotas/_form.php:64
#: application/views/admin/responses/listResponses_view.php:121
#: application/views/admin/super/footer.php:159
-#: application/views/admin/survey/Question/editQuestion_view.php:115
-#: application/views/admin/survey/Question/editQuestion_view.php:127
-#: application/views/admin/survey/Question/editQuestion_view.php:139
+#: application/views/admin/survey/Question/editQuestion_view.php:116
+#: application/views/admin/survey/Question/editQuestion_view.php:128
+#: application/views/admin/survey/Question/editQuestion_view.php:140
#: application/views/admin/survey/Question/question_view.php:140
#: application/views/admin/survey/Question/question_view.php:158
#: application/views/admin/survey/Question/yesNo_defaultvalue_widget.php:62
@@ -2365,9 +2363,8 @@ msgstr ""
#: application/views/admin/responses/browsemenubar_view.php:153
#: application/views/admin/responses/listResponses_view.php:278
#: application/views/admin/super/fullpagebar_view.php:21
-#: application/views/admin/survey/Question/editQuestion_view.php:356
+#: application/views/admin/survey/Question/editQuestion_view.php:359
#: application/views/admin/survey/Question/editdefaultvalues_view.php:191
-#: application/views/admin/survey/Question/question_subviews/_modals.php:93
#: application/views/admin/survey/Question/question_subviews/_tabs.php:125
#: application/views/admin/survey/Question/questionbar_view.php:227
#: application/views/admin/survey/Question/questionbar_view.php:268
@@ -2771,7 +2768,6 @@ msgid "Uploaded label set file needs to have an .lsl extension."
msgstr ""
#: application/controllers/admin/labels.php:197
-#: application/views/admin/survey/Question/question_subviews/_modals.php:84
msgid "New label set"
msgstr ""
@@ -2785,7 +2781,6 @@ msgstr ""
#: application/controllers/admin/labels.php:316
#: application/helpers/qanda_helper.php:2391
#: application/views/admin/labels/_labelviewtabcontent_view.php:86
-#: application/views/admin/survey/Question/answerOptions_view.php:232
#: application/views/admin/themes/templatesummary_view.php:112
msgid "Save changes"
msgstr ""
@@ -2942,7 +2937,6 @@ msgstr ""
#: application/helpers/frontend_helper.php:2110
#: application/views/admin/homepagesettings/index.php:11
#: application/views/admin/participants/participantsPanel_view.php:6
-#: application/views/admin/survey/Question/question_subviews/_modals.php:118
msgid "OK"
msgstr ""
@@ -3326,7 +3320,7 @@ msgstr ""
#: application/views/admin/assessments/assessments_edit.php:89
#: application/views/admin/emailtemplates/emailtemplates_view.php:38
#: application/views/admin/quotas/_form_langsettings.php:15
-#: application/views/admin/survey/Question/answerOptions_view.php:45
+#: application/views/admin/survey/Question/answerOptions_view.php:27
#: application/views/admin/survey/Question/question_subviews/_tabs.php:17
#: application/views/admin/survey/QuestionGroups/addGroup_view.php:28
#: application/views/admin/token/invite.php:94
@@ -3335,7 +3329,7 @@ msgstr ""
msgid "Base language"
msgstr ""
-#: application/controllers/admin/questiongroups.php:524
+#: application/controllers/admin/questiongroups.php:522
msgid "Question group successfully saved."
msgstr ""
@@ -3378,58 +3372,58 @@ msgstr ""
#: application/controllers/admin/questions.php:1020
#: application/controllers/admin/questions.php:1170
-#: application/views/admin/survey/Question/editQuestion_view.php:38
+#: application/views/admin/survey/Question/editQuestion_view.php:39
msgid "Add a new question"
msgstr ""
#: application/controllers/admin/questions.php:1170
-#: application/views/admin/survey/Question/editQuestion_view.php:40
-#: application/views/admin/survey/Question/editQuestion_view.php:352
+#: application/views/admin/survey/Question/editQuestion_view.php:41
+#: application/views/admin/survey/Question/editQuestion_view.php:355
msgid "Copy question"
msgstr ""
-#: application/controllers/admin/questions.php:1385
+#: application/controllers/admin/questions.php:1391
#: application/controllers/admin/surveyadmin.php:73
msgid "Deleted"
msgstr ""
-#: application/controllers/admin/questions.php:1416
+#: application/controllers/admin/questions.php:1422
msgid "Question could not be deleted. There are conditions for other questions that rely on this question. You cannot delete this question until those conditions are removed."
msgstr ""
-#: application/controllers/admin/questions.php:1446
+#: application/controllers/admin/questions.php:1452
msgid "Question was successfully deleted."
msgstr ""
-#: application/controllers/admin/questions.php:1461
+#: application/controllers/admin/questions.php:1467
msgid "You are not authorized to delete questions."
msgstr ""
-#: application/controllers/admin/questions.php:1809
+#: application/controllers/admin/questions.php:1815
msgid "The existing label set has assessment values assigned."
msgstr ""
-#: application/controllers/admin/questions.php:1809
+#: application/controllers/admin/questions.php:1815
msgid "If you replace the label set the existing asssessment values will be lost."
msgstr ""
-#: application/controllers/admin/questions.php:1812
+#: application/controllers/admin/questions.php:1818
msgid "The existing label set has different/more languages."
msgstr ""
-#: application/controllers/admin/questions.php:1812
+#: application/controllers/admin/questions.php:1818
msgid "If you replace the label set these translations will be lost."
msgstr ""
-#: application/controllers/admin/questions.php:1818
+#: application/controllers/admin/questions.php:1824
msgid "Do you really want to continue?"
msgstr ""
-#: application/controllers/admin/questions.php:1820
+#: application/controllers/admin/questions.php:1826
msgid "You are about to replace an existing label set with the current answer options."
msgstr ""
-#: application/controllers/admin/questions.php:1822
+#: application/controllers/admin/questions.php:1828
#: application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_selector.php:65
#: application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_selector.php:83
#: application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_selector.php:99
@@ -3437,7 +3431,7 @@ msgstr ""
msgid "Continue?"
msgstr ""
-#: application/controllers/admin/questions.php:1908
+#: application/controllers/admin/questions.php:1913
#: application/views/admin/super/_question_explorer.php:74
msgid "You can't add questions while the survey is active."
msgstr ""
@@ -3836,7 +3830,6 @@ msgstr ""
#: application/views/admin/labels/_labelviewtabcontent_view.php:21
#: application/views/admin/pluginmanager/index.php:84
#: application/views/admin/quotas/viewquotas_view.php:101
-#: application/views/admin/survey/Question/answerOptions_view.php:117
#: application/views/admin/survey/subview/accordion/_integration_panel.php:19
#: application/views/admin/survey/subview/accordion/_integration_panel.php:46
#: application/views/admin/usergroup/viewUserGroup_view.php:41
@@ -4510,10 +4503,6 @@ msgstr ""
#: application/views/admin/survey/Question/massive_actions/_selector.php:126
#: application/views/admin/survey/Question/massive_actions/_selector.php:162
#: application/views/admin/survey/Question/massive_actions/_selector.php:183
-#: application/views/admin/survey/Question/question_subviews/_modals.php:25
-#: application/views/admin/survey/Question/question_subviews/_modals.php:63
-#: application/views/admin/survey/Question/question_subviews/_modals.php:94
-#: application/views/admin/survey/Question/question_subviews/_modals.php:119
#: application/views/admin/survey/activateSurvey_view.php:191
#: application/views/admin/survey/deactivateSurvey_view.php:64
#: application/views/admin/survey/deleteSurvey_view.php:36
@@ -4894,7 +4883,7 @@ msgid "Survey title and description"
msgstr ""
#: application/controllers/admin/translate.php:434
-#: application/helpers/expressions/em_manager_helper.php:9409
+#: application/helpers/expressions/em_manager_helper.php:9415
#: application/models/Boxes.php:57
#: application/views/admin/survey/QuestionGroups/addGroup_view.php:57
#: application/views/admin/survey/QuestionGroups/addGroup_view.php:60
@@ -4916,7 +4905,7 @@ msgid "Welcome and end text"
msgstr ""
#: application/controllers/admin/translate.php:464
-#: application/helpers/expressions/em_manager_helper.php:9423
+#: application/helpers/expressions/em_manager_helper.php:9429
#: application/views/admin/survey/editLocalSettings_view.php:128
#: application/views/admin/survey/editLocalSettings_view.php:132
#: application/views/admin/survey/subview/_create_survey_text.php:196
@@ -5354,7 +5343,7 @@ msgstr ""
msgid "Can't render layout %s for template %s. Please try to re-install the template."
msgstr ""
-#: application/core/LSETwigViewRenderer.php:178
+#: application/core/LSETwigViewRenderer.php:233
msgid "%s not found!"
msgstr ""
@@ -6692,8 +6681,8 @@ msgstr ""
#: application/views/admin/homepagesettings/index.php:64
#: application/views/admin/labels/editlabel_view.php:106
#: application/views/admin/survey/Question/advanced_settings_view.php:57
-#: application/views/admin/survey/Question/editQuestion_view.php:282
-#: application/views/admin/survey/Question/editQuestion_view.php:294
+#: application/views/admin/survey/Question/editQuestion_view.php:285
+#: application/views/admin/survey/Question/editQuestion_view.php:297
#: application/views/admin/survey/Question/importQuestion_view.php:36
#: application/views/admin/survey/Question/importQuestion_view.php:48
#: application/views/admin/survey/Question/massive_actions/_set_questions_mandatory.php:21
@@ -6792,8 +6781,8 @@ msgstr ""
#: application/views/admin/homepagesettings/index.php:64
#: application/views/admin/labels/editlabel_view.php:107
#: application/views/admin/survey/Question/advanced_settings_view.php:58
-#: application/views/admin/survey/Question/editQuestion_view.php:282
-#: application/views/admin/survey/Question/editQuestion_view.php:294
+#: application/views/admin/survey/Question/editQuestion_view.php:285
+#: application/views/admin/survey/Question/editQuestion_view.php:297
#: application/views/admin/survey/Question/importQuestion_view.php:37
#: application/views/admin/survey/Question/importQuestion_view.php:49
#: application/views/admin/survey/Question/massive_actions/_set_questions_mandatory.php:22
@@ -7470,112 +7459,112 @@ msgstr ""
msgid "Title of subquestion %s was updated to %s."
msgstr ""
-#: application/helpers/admin/import_helper.php:1510
+#: application/helpers/admin/import_helper.php:1511
msgid "Error when saving %s for plugin %s"
msgstr ""
-#: application/helpers/admin/import_helper.php:1513
+#: application/helpers/admin/import_helper.php:1514
msgid "Plugin %s didn't exist, settings not imported"
msgstr ""
-#: application/helpers/admin/import_helper.php:1528
+#: application/helpers/admin/import_helper.php:1529
msgid "Attention: Several question codes were updated. Please check these carefully as the update may not be perfect with customized expressions."
msgstr ""
-#: application/helpers/admin/import_helper.php:1573
+#: application/helpers/admin/import_helper.php:1574
msgid "This is not a valid token data XML file."
msgstr ""
-#: application/helpers/admin/import_helper.php:1617
+#: application/helpers/admin/import_helper.php:1618
msgid "Skipped tokens entry:"
msgstr ""
-#: application/helpers/admin/import_helper.php:1651
+#: application/helpers/admin/import_helper.php:1652
msgid "This is not a valid response data XML file."
msgstr ""
-#: application/helpers/admin/import_helper.php:1747
+#: application/helpers/admin/import_helper.php:1748
msgid "File seems empty or has only one line"
msgstr ""
-#: application/helpers/admin/import_helper.php:1797
+#: application/helpers/admin/import_helper.php:1798
msgid "Import failed: Forced import was requested but the input file doesn't contain enough columns to fill the survey."
msgstr ""
-#: application/helpers/admin/import_helper.php:1809
+#: application/helpers/admin/import_helper.php:1810
msgid "Import failed: No answers could be mapped."
msgstr ""
-#: application/helpers/admin/import_helper.php:1952
+#: application/helpers/admin/import_helper.php:1953
msgid "%s response lines in your file."
msgstr ""
-#: application/helpers/admin/import_helper.php:1954
+#: application/helpers/admin/import_helper.php:1955
msgid "No response lines in your file."
msgstr ""
-#: application/helpers/admin/import_helper.php:1957
+#: application/helpers/admin/import_helper.php:1958
msgid "%s responses were inserted."
msgstr ""
-#: application/helpers/admin/import_helper.php:1961
+#: application/helpers/admin/import_helper.php:1962
msgid "%s responses were updated."
msgstr ""
-#: application/helpers/admin/import_helper.php:1964
+#: application/helpers/admin/import_helper.php:1965
msgid "%s responses cannot be inserted or updated."
msgstr ""
-#: application/helpers/admin/import_helper.php:1967
+#: application/helpers/admin/import_helper.php:1968
msgid "%s responses already exist."
msgstr ""
-#: application/helpers/admin/import_helper.php:1985
+#: application/helpers/admin/import_helper.php:1986
msgid "This is not a valid timings data XML file."
msgstr ""
-#: application/helpers/admin/import_helper.php:2155
+#: application/helpers/admin/import_helper.php:2156
msgid "Error(s) when try to create survey"
msgstr ""
-#: application/helpers/admin/import_helper.php:2185
+#: application/helpers/admin/import_helper.php:2186
msgid "Failed to insert survey language"
msgstr ""
-#: application/helpers/admin/import_helper.php:2239
+#: application/helpers/admin/import_helper.php:2240
msgid "Failed to insert group"
msgstr ""
-#: application/helpers/admin/import_helper.php:2239
-#: application/helpers/admin/import_helper.php:2283
-#: application/helpers/admin/import_helper.php:2326
-#: application/helpers/admin/import_helper.php:2343
-#: application/helpers/admin/import_helper.php:2367
-#: application/helpers/admin/import_helper.php:2402
-#: application/helpers/admin/import_helper.php:2423
-#: application/helpers/admin/import_helper.php:2441
+#: application/helpers/admin/import_helper.php:2240
+#: application/helpers/admin/import_helper.php:2284
+#: application/helpers/admin/import_helper.php:2327
+#: application/helpers/admin/import_helper.php:2344
+#: application/helpers/admin/import_helper.php:2368
+#: application/helpers/admin/import_helper.php:2403
+#: application/helpers/admin/import_helper.php:2424
+#: application/helpers/admin/import_helper.php:2442
msgid "Text file row number "
msgstr ""
-#: application/helpers/admin/import_helper.php:2283
+#: application/helpers/admin/import_helper.php:2284
msgid "Could not insert question"
msgstr ""
-#: application/helpers/admin/import_helper.php:2326
+#: application/helpers/admin/import_helper.php:2327
msgid "Failed to insert question attribute"
msgstr ""
-#: application/helpers/admin/import_helper.php:2343
-#: application/helpers/admin/import_helper.php:2367
-#: application/helpers/admin/import_helper.php:2423
+#: application/helpers/admin/import_helper.php:2344
+#: application/helpers/admin/import_helper.php:2368
+#: application/helpers/admin/import_helper.php:2424
msgid "Failed to insert default value"
msgstr ""
-#: application/helpers/admin/import_helper.php:2402
+#: application/helpers/admin/import_helper.php:2403
msgid "Could not insert subquestion"
msgstr ""
-#: application/helpers/admin/import_helper.php:2441
+#: application/helpers/admin/import_helper.php:2442
msgid "Could not insert answer"
msgstr ""
@@ -8947,22 +8936,22 @@ msgstr ""
msgid "Please rank all items."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9393
+#: application/helpers/expressions/em_manager_helper.php:9399
msgid "Invalid question - probably missing sub-questions or language-specific settings for language %s"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9399
+#: application/helpers/expressions/em_manager_helper.php:9405
msgid "Logic File for Survey # "
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9416
+#: application/helpers/expressions/em_manager_helper.php:9422
#: application/views/admin/survey/editLocalSettings_view.php:120
#: application/views/admin/survey/subview/_create_survey_text.php:187
#: application/views/admin/survey/surveySummary_view.php:140
msgid "Welcome:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9430
+#: application/helpers/expressions/em_manager_helper.php:9436
#: application/views/admin/survey/editLocalSettings_view.php:58
#: application/views/admin/survey/subview/_create_survey_text.php:115
#: application/views/admin/survey/subview/accordion/_generaloptions_panel.php:174
@@ -8970,36 +8959,36 @@ msgstr ""
msgid "End URL:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9437
+#: application/helpers/expressions/em_manager_helper.php:9443
msgid "Survey policy notice:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9444
+#: application/helpers/expressions/em_manager_helper.php:9450
msgid "Survey policy error:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9451
+#: application/helpers/expressions/em_manager_helper.php:9457
msgid "Survey policy label:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9457
+#: application/helpers/expressions/em_manager_helper.php:9463
msgid "Name [ID]"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9458
+#: application/helpers/expressions/em_manager_helper.php:9464
msgid "Relevance [Validation] (Default value)"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9459
+#: application/helpers/expressions/em_manager_helper.php:9465
msgid "Text [Help] (Tip)"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9517
-#: application/helpers/expressions/em_manager_helper.php:9823
+#: application/helpers/expressions/em_manager_helper.php:9523
+#: application/helpers/expressions/em_manager_helper.php:9829
msgid "Default:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9541
+#: application/helpers/expressions/em_manager_helper.php:9547
#: application/views/admin/survey/Question/question_subviews/_tabs.php:57
#: application/views/admin/survey/Question/question_subviews/_tabs.php:61
#: application/views/admin/survey/Question/question_subviews/_tabs.php:83
@@ -9010,67 +8999,67 @@ msgstr ""
msgid "Help:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9543
+#: application/helpers/expressions/em_manager_helper.php:9549
msgid "Tip:"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9561
+#: application/helpers/expressions/em_manager_helper.php:9567
msgid "Question attribute"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9561
+#: application/helpers/expressions/em_manager_helper.php:9567
msgid "Value"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9718
+#: application/helpers/expressions/em_manager_helper.php:9724
msgid "This variable name has already been used."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9730
+#: application/helpers/expressions/em_manager_helper.php:9736
msgid "Starting in 2.05, variable names should only contain letters and numbers; and may not start with a number. This variable name is deprecated."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9893
+#: application/helpers/expressions/em_manager_helper.php:9899
msgid "This question has at least {n} error.|This question has at least {n} errors."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9931
+#: application/helpers/expressions/em_manager_helper.php:9937
msgid "{n} question contains errors that need to be corrected.|{n} questions contain errors that need to be corrected."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9937
+#: application/helpers/expressions/em_manager_helper.php:9943
msgid "No syntax errors detected in this survey."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9940
+#: application/helpers/expressions/em_manager_helper.php:9946
msgid "This group, by itself, does not contain any syntax errors."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:9943
+#: application/helpers/expressions/em_manager_helper.php:9949
msgid "This question, by itself, does not contain any syntax errors."
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:10441
-#: application/helpers/expressions/em_manager_helper.php:10453
-#: application/helpers/expressions/em_manager_helper.php:10461
-#: application/helpers/expressions/em_manager_helper.php:10472
-#: application/helpers/expressions/em_manager_helper.php:10480
-#: application/helpers/expressions/em_manager_helper.php:10487
-#: application/helpers/expressions/em_manager_helper.php:10494
-#: application/helpers/expressions/em_manager_helper.php:10501
-#: application/helpers/expressions/em_manager_helper.php:10514
-#: application/helpers/expressions/em_manager_helper.php:10521
-#: application/helpers/expressions/em_manager_helper.php:10529
-#: application/helpers/expressions/em_manager_helper.php:10545
-#: application/helpers/expressions/em_manager_helper.php:10552
-#: application/helpers/expressions/em_manager_helper.php:10567
-#: application/helpers/expressions/em_manager_helper.php:10577
-#: application/helpers/expressions/em_manager_helper.php:10590
-#: application/helpers/expressions/em_manager_helper.php:10597
+#: application/helpers/expressions/em_manager_helper.php:10447
+#: application/helpers/expressions/em_manager_helper.php:10459
+#: application/helpers/expressions/em_manager_helper.php:10467
+#: application/helpers/expressions/em_manager_helper.php:10478
+#: application/helpers/expressions/em_manager_helper.php:10486
+#: application/helpers/expressions/em_manager_helper.php:10493
+#: application/helpers/expressions/em_manager_helper.php:10500
+#: application/helpers/expressions/em_manager_helper.php:10507
+#: application/helpers/expressions/em_manager_helper.php:10520
+#: application/helpers/expressions/em_manager_helper.php:10527
+#: application/helpers/expressions/em_manager_helper.php:10535
+#: application/helpers/expressions/em_manager_helper.php:10551
+#: application/helpers/expressions/em_manager_helper.php:10558
+#: application/helpers/expressions/em_manager_helper.php:10573
+#: application/helpers/expressions/em_manager_helper.php:10583
+#: application/helpers/expressions/em_manager_helper.php:10596
+#: application/helpers/expressions/em_manager_helper.php:10603
msgid "%s is an invalid value for this question"
msgstr ""
-#: application/helpers/expressions/em_manager_helper.php:10560
+#: application/helpers/expressions/em_manager_helper.php:10566
msgid "This question only accept 30 digits including 10 decimals."
msgstr ""
@@ -9539,7 +9528,6 @@ msgstr ""
#: application/helpers/questionHelper.php:131
#: application/views/admin/labels/_labelviewtabcontent_view.php:19
#: application/views/admin/survey/Question/_subQuestionsAndAnwsersJsVariables.php:49
-#: application/views/admin/survey/Question/answerOptions_view.php:125
msgid "Assessment value"
msgstr ""
@@ -10343,7 +10331,7 @@ msgstr ""
#: application/helpers/questionHelper.php:1121
#: application/helpers/questionHelper.php:1147
#: application/helpers/questionHelper.php:1206
-#: application/models/QuestionTemplate.php:406
+#: application/models/QuestionTemplate.php:396
#: application/views/admin/authentication/ajaxLogin.php:74
#: application/views/admin/authentication/login.php:91
#: application/views/admin/authentication/login.php:94
@@ -10742,7 +10730,7 @@ msgid "Display type"
msgstr ""
#: application/helpers/questionHelper.php:1571
-#: application/views/admin/survey/Question/editQuestion_view.php:237
+#: application/views/admin/survey/Question/editQuestion_view.php:238
msgid "Use a customized question theme for this question"
msgstr ""
@@ -10779,6 +10767,10 @@ msgstr ""
msgid "Your assessment"
msgstr ""
+#: application/helpers/replacements_helper.php:436
+msgid "unkown"
+msgstr ""
+
#: application/helpers/surveytranslator_helper.php:41
msgid "dd.mm.yyyy"
msgstr ""
@@ -11206,19 +11198,19 @@ msgstr ""
msgid "Moving user templates to new location at %s..."
msgstr ""
-#: application/helpers/update/updatedb_helper.php:2233
+#: application/helpers/update/updatedb_helper.php:2227
msgid "An non-recoverable error happened during the update. Error details:"
msgstr ""
-#: application/helpers/update/updatedb_helper.php:2237
+#: application/helpers/update/updatedb_helper.php:2231
msgid "File %s, line %s."
msgstr ""
-#: application/helpers/update/updatedb_helper.php:2273
+#: application/helpers/update/updatedb_helper.php:2271
msgid "Database update"
msgstr ""
-#: application/helpers/update/updatedb_helper.php:2274
+#: application/helpers/update/updatedb_helper.php:2272
msgid "The database has been updated from version %s to version %s."
msgstr ""
@@ -11256,22 +11248,22 @@ msgid "Config file is malformed or null."
msgstr ""
#: application/libraries/PluginManager/Question/QuestionBase.php:101
-#: application/views/admin/survey/Question/editQuestion_view.php:171
-#: application/views/admin/survey/Question/editQuestion_view.php:191
-#: application/views/admin/survey/Question/editQuestion_view.php:215
+#: application/views/admin/survey/Question/editQuestion_view.php:172
+#: application/views/admin/survey/Question/editQuestion_view.php:192
+#: application/views/admin/survey/Question/editQuestion_view.php:216
msgid "Question type:"
msgstr ""
#: application/libraries/PluginManager/Question/QuestionBase.php:114
#: application/views/admin/assessments/assessments_edit.php:39
-#: application/views/admin/survey/Question/editQuestion_view.php:267
+#: application/views/admin/survey/Question/editQuestion_view.php:270
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:93
#: application/views/admin/survey/Question/question_view.php:11
msgid "Question group:"
msgstr ""
#: application/libraries/PluginManager/Question/QuestionBase.php:123
-#: application/views/admin/survey/Question/editQuestion_view.php:299
+#: application/views/admin/survey/Question/editQuestion_view.php:302
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:110
#: application/views/admin/survey/Question/question_view.php:167
#: application/views/admin/survey/QuestionGroups/addGroup_view.php:77
@@ -11873,7 +11865,7 @@ msgid "Question preview"
msgstr ""
#: application/models/Question.php:815
-#: application/views/admin/survey/Question/editQuestion_view.php:42
+#: application/views/admin/survey/Question/editQuestion_view.php:43
msgid "Edit question"
msgstr ""
@@ -12069,7 +12061,7 @@ msgid "Delete this response"
msgstr ""
#: application/models/Surveymenu.php:108
-#: application/models/SurveysGroups.php:261
+#: application/models/SurveysGroups.php:265
msgid "No parent menu"
msgstr ""
@@ -12115,7 +12107,6 @@ msgstr ""
#: application/models/Surveymenu.php:190
#: application/views/admin/homepagesettings/index.php:102
#: application/views/admin/labels/_labelviewtabcontent_view.php:16
-#: application/views/admin/survey/Question/answerOptions_view.php:100
msgid "Position"
msgstr ""
@@ -12257,7 +12248,6 @@ msgstr ""
#: application/models/SurveysGroups.php:155
#: application/views/admin/responses/browseallheader_view.php:77
#: application/views/admin/saved/savedlist_view.php:18
-#: application/views/admin/survey/Question/answerOptions_view.php:139
msgid "Actions"
msgstr ""
@@ -12288,7 +12278,7 @@ msgid "User theme"
msgstr ""
#: application/models/TemplateConfiguration.php:519
-#: application/models/TemplateManifest.php:270
+#: application/models/TemplateManifest.php:274
msgid "Theme editor"
msgstr ""
@@ -12338,11 +12328,11 @@ msgstr ""
msgid "Theme '%s' has been uninstalled because it's not compatible with this LimeSurvey version."
msgstr ""
-#: application/models/TemplateManifest.php:282
+#: application/models/TemplateManifest.php:286
msgid "Install"
msgstr ""
-#: application/models/TemplateManifest.php:310
+#: application/models/TemplateManifest.php:314
msgid "You can't import the theme '%s' because '%s' is not installed."
msgstr ""
@@ -12808,7 +12798,7 @@ msgstr ""
#: application/views/admin/emailtemplates/emailtemplates_view.php:63
#: application/views/admin/pluginmanager/configure.php:28
#: application/views/admin/super/fullpagebar_view.php:29
-#: application/views/admin/survey/Question/editQuestion_view.php:357
+#: application/views/admin/survey/Question/editQuestion_view.php:360
#: application/views/admin/survey/Question/question_subviews/_tabs.php:126
#: application/views/admin/survey/Question/questionbar_view.php:233
#: application/views/admin/survey/Question/questionbar_view.php:273
@@ -13320,8 +13310,7 @@ msgid "Choose file"
msgstr ""
#: application/views/admin/emailtemplates/emailtemplates_view.php:93
-#: application/views/admin/survey/Question/answerOptions_view.php:114
-#: application/views/admin/survey/Question/editQuestion_view.php:299
+#: application/views/admin/survey/Question/editQuestion_view.php:302
msgid "Relevance equation"
msgstr ""
@@ -14447,8 +14436,6 @@ msgid "Enter one label per line. You can provide a code by separating code and l
msgstr ""
#: application/views/admin/labels/_labelviewquickadd_view.php:12
-#: application/views/admin/survey/Question/question_subviews/_modals.php:23
-#: application/views/admin/survey/Question/question_subviews/_modals.php:61
msgid "Replace"
msgstr ""
@@ -14494,7 +14481,6 @@ msgstr ""
#: application/views/admin/labels/_labelviewtabcontent_view.php:18
#: application/views/admin/survey/Question/_subQuestionsAndAnwsersJsVariables.php:26
-#: application/views/admin/survey/Question/answerOptions_view.php:105
#: application/views/admin/survey/Question/listquestions.php:81
msgid "Code"
msgstr ""
@@ -14504,7 +14490,6 @@ msgid "Label:"
msgstr ""
#: application/views/admin/labels/_labelviewtabcontent_view.php:83
-#: application/views/admin/survey/Question/answerOptions_view.php:210
msgid "Quick add..."
msgstr ""
@@ -16114,7 +16099,7 @@ msgid "Add question group"
msgstr ""
#: application/views/admin/super/sidemenu.php:46
-#: application/views/admin/survey/Question/editQuestion_view.php:348
+#: application/views/admin/survey/Question/editQuestion_view.php:351
#: application/views/admin/survey/subview/_survey_quickaction.php:119
#: application/views/admin/survey/subview/_survey_quickaction.php:167
#: application/views/admin/survey/subview/_survey_quickaction.php:193
@@ -16176,7 +16161,6 @@ msgid "Label set browser"
msgstr ""
#: application/views/admin/survey/Question/_subQuestionsAndAnwsersJsVariables.php:22
-#: application/views/admin/survey/Question/answerOptions_view.php:216
msgid "Save as label set"
msgstr ""
@@ -16208,7 +16192,6 @@ msgid "Error: You are trying to use duplicate subquestion codes."
msgstr ""
#: application/views/admin/survey/Question/_subQuestionsAndAnwsersJsVariables.php:37
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php:119
msgid "Click to expand"
msgstr ""
@@ -16217,8 +16200,8 @@ msgid "Error: You are trying to use duplicate answer codes."
msgstr ""
#: application/views/admin/survey/Question/advanced_settings_view.php:23
-#: application/views/admin/survey/Question/editQuestion_view.php:98
-#: application/views/admin/survey/Question/editQuestion_view.php:155
+#: application/views/admin/survey/Question/editQuestion_view.php:99
+#: application/views/admin/survey/Question/editQuestion_view.php:156
#: application/views/admin/survey/subview/accordion/_plugin_panel.php:27
msgid "Expand/Collapse"
msgstr ""
@@ -16231,105 +16214,81 @@ msgstr ""
msgid "Sorry, the name you entered for the label set is already in the database. Please select a different name."
msgstr ""
-#: application/views/admin/survey/Question/answerOptions_view.php:73
-msgid "Y-Scale"
-msgstr ""
-
-#: application/views/admin/survey/Question/answerOptions_view.php:77
-msgid "X-Scale"
-msgstr ""
-
-#: application/views/admin/survey/Question/answerOptions_view.php:87
-msgid "Answer scale %s"
-msgstr ""
-
-#: application/views/admin/survey/Question/answerOptions_view.php:110
-msgid "Subquestion"
-msgstr ""
-
-#: application/views/admin/survey/Question/answerOptions_view.php:134
-msgid "Answer option"
-msgstr ""
-
-#: application/views/admin/survey/Question/answerOptions_view.php:206
-msgid "Predefined label sets..."
-msgstr ""
-
-#: application/views/admin/survey/Question/editQuestion_view.php:101
+#: application/views/admin/survey/Question/editQuestion_view.php:102
msgid "Copy options"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:108
+#: application/views/admin/survey/Question/editQuestion_view.php:109
msgid "Copy subquestions?"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:120
+#: application/views/admin/survey/Question/editQuestion_view.php:121
msgid "Copy answer options?"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:132
+#: application/views/admin/survey/Question/editQuestion_view.php:133
msgid "Copy advanced settings?"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:158
+#: application/views/admin/survey/Question/editQuestion_view.php:159
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:10
#: application/views/admin/survey/subview/accordion/_accordion_container.php:29
msgid "General options"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:169
-#: application/views/admin/survey/Question/editQuestion_view.php:189
-#: application/views/admin/survey/Question/editQuestion_view.php:213
+#: application/views/admin/survey/Question/editQuestion_view.php:170
+#: application/views/admin/survey/Question/editQuestion_view.php:190
+#: application/views/admin/survey/Question/editQuestion_view.php:214
#: application/views/admin/survey/Question/listquestions.php:93
msgid "Question type"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:237
+#: application/views/admin/survey/Question/editQuestion_view.php:238
msgid "Question theme:"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:260
+#: application/views/admin/survey/Question/editQuestion_view.php:263
msgid "Question theme preview"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:260
+#: application/views/admin/survey/Question/editQuestion_view.php:263
msgid "Question theme preview:"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:267
+#: application/views/admin/survey/Question/editQuestion_view.php:270
#: application/views/admin/survey/Question/massive_actions/_selector.php:65
msgid "Set question group"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:279
+#: application/views/admin/survey/Question/editQuestion_view.php:282
#: application/views/admin/survey/Question/massive_actions/_set_questions_other.php:8
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:100
#: application/views/admin/survey/Question/question_view.php:133
msgid "Option 'Other':"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:285
+#: application/views/admin/survey/Question/editQuestion_view.php:288
msgid "Cannot be changed (survey is active)"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:291
+#: application/views/admin/survey/Question/editQuestion_view.php:294
#: application/views/admin/survey/Question/massive_actions/_selector.php:78
#: application/views/admin/survey/Question/massive_actions/_selector.php:87
msgid "Set \"Mandatory\" state"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:291
+#: application/views/admin/survey/Question/editQuestion_view.php:294
#: application/views/admin/survey/Question/massive_actions/_set_questions_mandatory.php:8
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:105
#: application/views/admin/survey/Question/question_view.php:151
msgid "Mandatory:"
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:307
+#: application/views/admin/survey/Question/editQuestion_view.php:310
msgid "Note: You can't edit the relevance equation because there are currently conditions set for this question."
msgstr ""
-#: application/views/admin/survey/Question/editQuestion_view.php:313
+#: application/views/admin/survey/Question/editQuestion_view.php:316
#: application/views/admin/survey/Question/question_subviews/_accordion_container.php:115
#: application/views/admin/survey/Question/question_view.php:74
msgid "Validation:"
@@ -16506,38 +16465,6 @@ msgstr ""
msgid "Hide advanced settings"
msgstr ""
-#: application/views/admin/survey/Question/question_subviews/_modals.php:13
-msgid "Enter your answers:"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:18
-msgid "Enter one answer per line. You can provide a code by separating code and answer text with a semikolon or tab. For multilingual surveys you add the translation(s) on the same line separated with a semikolon or tab."
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:37
-msgid "Available label sets:"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:44
-msgid "Please select a label set"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:48
-msgid "Select label set"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:76
-msgid "Save as label set:"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:88
-msgid "Replace existing label set"
-msgstr ""
-
-#: application/views/admin/survey/Question/question_subviews/_modals.php:107
-msgid "Replace label set?"
-msgstr ""
-
#: application/views/admin/survey/Question/question_subviews/_question_type_select.php:3
msgid "Select question type"
msgstr ""
@@ -16667,35 +16594,6 @@ msgstr ""
msgid "Add and edit conditions"
msgstr ""
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php:117
-msgid "Some example answer option"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php:122
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php:111
-msgid "Subquestion:"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php:133
-msgid "Insert a new answer option after this one"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_answer_option.php:134
-msgid "Delete this answer option"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php:106
-msgid "Some example subquestion"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php:137
-msgid "Insert a new subquestion after this one"
-msgstr ""
-
-#: application/views/admin/survey/Question/subquestionsAndAnswers/_subquestion.php:138
-msgid "Delete this subquestion"
-msgstr ""
-
#: application/views/admin/survey/Question/yesNo_defaultvalue_widget.php:64
msgid "EM value"
msgstr ""
diff --git a/locale/ca/ca.mo b/locale/ca/ca.mo
index edf54aacde4..ca9fee45808 100644
Binary files a/locale/ca/ca.mo and b/locale/ca/ca.mo differ
diff --git a/locale/es-AR/es-AR.mo b/locale/es-AR/es-AR.mo
index 0caac299a7f..8fc408030fb 100644
Binary files a/locale/es-AR/es-AR.mo and b/locale/es-AR/es-AR.mo differ
diff --git a/locale/fr/fr.mo b/locale/fr/fr.mo
index 031bfbea7fe..584a45a912e 100644
Binary files a/locale/fr/fr.mo and b/locale/fr/fr.mo differ
diff --git a/locale/hr/hr.mo b/locale/hr/hr.mo
index 3a83756632b..5f7ac5b686b 100644
Binary files a/locale/hr/hr.mo and b/locale/hr/hr.mo differ
diff --git a/locale/hu/hu.mo b/locale/hu/hu.mo
index a2f7d42f517..e1b53594790 100644
Binary files a/locale/hu/hu.mo and b/locale/hu/hu.mo differ
diff --git a/locale/it-informal/it-informal.mo b/locale/it-informal/it-informal.mo
index 4b187b112ba..1f97a88fa63 100644
Binary files a/locale/it-informal/it-informal.mo and b/locale/it-informal/it-informal.mo differ
diff --git a/locale/it/it.mo b/locale/it/it.mo
index 3e47a5e5911..ad494b2e58e 100644
Binary files a/locale/it/it.mo and b/locale/it/it.mo differ
diff --git a/locale/nb/nb.mo b/locale/nb/nb.mo
index 32e057c2bb5..88a9a691a5d 100644
Binary files a/locale/nb/nb.mo and b/locale/nb/nb.mo differ
diff --git a/locale/nl-informal/nl-informal.mo b/locale/nl-informal/nl-informal.mo
index 6cecda91ac2..c0040e58b62 100644
Binary files a/locale/nl-informal/nl-informal.mo and b/locale/nl-informal/nl-informal.mo differ
diff --git a/locale/nl/nl.mo b/locale/nl/nl.mo
index ed9e231ebfe..b036013924c 100644
Binary files a/locale/nl/nl.mo and b/locale/nl/nl.mo differ
diff --git a/locale/pl/pl.mo b/locale/pl/pl.mo
index fbb19e9c7fa..14174c6283c 100644
Binary files a/locale/pl/pl.mo and b/locale/pl/pl.mo differ
diff --git a/locale/ru/ru.mo b/locale/ru/ru.mo
index 1afd4c420d7..48d67105467 100644
Binary files a/locale/ru/ru.mo and b/locale/ru/ru.mo differ