Commit 3d035d16 authored by Chenu Denis's avatar Chenu Denis
Browse files

[fix] Language string

parent d6f3bd9e
......@@ -349,7 +349,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
'type'=>'string',
'label'=>sprintf($this->gT("Sentence added before old proposal history (%s)"),$sLang),
'htmlOptions' => array(
'placeholder' => $this->gT('Previous proposal and result','html',$sLang)
'placeholder' => $this->gT('Previous proposal and results','html',$sLang)
),
'current' => $this->get("historytext_{$sLang}", 'Survey', $oEvent->get('survey'),""),
);
......@@ -372,7 +372,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
'type'=>'string',
'label'=>"Sentence added before comment list ({$sLang})",
'htmlOptions' => array(
'placeholder' => $this->gT('Previous comments.','html',$sLang)
'placeholder' => $this->gT('Previous comment(s).','html',$sLang)
),
'current' => $this->get("commenthist_{$sLang}", 'Survey', $oEvent->get('survey'),""),
);
......@@ -1318,7 +1318,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
$baseQuestionText = $this->getOldAnswerText($sColumnName->name);
foreach($aLangs as $sLang) {
$newQuestionText = "<div class='aciq-accordion'>";
$newQuestionText .= "<p class='aciq-title comment-title'>".$this->get("commenthist_{$sLang}", 'Survey', $this->iSurveyId,$this->gT('Previous comments.','html',$sLang)).$sLang."</p>";
$newQuestionText .= "<p class='aciq-title comment-title'>".$this->get("commenthist_{$sLang}", 'Survey', $this->iSurveyId,$this->gT('Previous comment(s).','html',$sLang)).$sLang."</p>";
$newQuestionText .= "<div class='aciq-content'>".$baseQuestionText."</div>";
$newQuestionText .= "</div>";
QuestionL10n::model()->updateAll(
......@@ -1546,7 +1546,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
case 'hist':
$newQuestionText = $this->get("historytext_{$sLang}", 'Survey', $this->iSurveyId,"");
if(trim($newQuestionText) == "") {
$newQuestionText = $this->gT('Previous proposal and result','html',$sLang);
$newQuestionText = $this->gT('Previous proposal and results','html',$sLang);
}
$newQuestionText = "<p class='aciq-default'>".$newQuestionText."</p>";
break;
......@@ -1559,7 +1559,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
case 'commh':
$newQuestionText = $this->get("commenthist_{$sLang}", 'Survey', $this->iSurveyId,"");
if(trim($newQuestionText) == "") {
$newQuestionText = $this->gT('Previous comments.','html',$sLang);
$newQuestionText = $this->gT('Previous comment(s).','html',$sLang);
}
$newQuestionText = "<p class='aciq-default'>".$newQuestionText."</p>";
//~ if($oQuestionComment) {
......@@ -1574,7 +1574,7 @@ class autoCommentIterativeQuestionnaire extends PluginBase {
case 'h':
$newQuestionText = $this->get("commenthist_{$sLang}", 'Survey', $this->iSurveyId,"");
if(trim($newQuestionText) == "") {
$newQuestionText = $this->gT('Previous comments.','html',$sLang);
$newQuestionText = $this->gT('Previous comment(s).','html',$sLang);
}
$newQuestionText = "<p class='aciq-default'>".$newQuestionText."</p>";
//~ if($oQuestionComment) {
......
......@@ -4,11 +4,11 @@
<name>autoCommentIterativeQuestionnaire</name>
<type>plugin</type>
<creationDate>2018-04-18</creationDate>
<lastUpdate>2022-09-12</lastUpdate>
<lastUpdate>2022-10-03</lastUpdate>
<author>Denis Chenu for Belgian Health Care Knowledge Centre (KCE)</author>
<authorUrl>https://www.kce.fgov.be/</authorUrl>
<supportUrl>https://sondages.pro/</supportUrl>
<version>4.2.0</version>
<version>4.2.1</version>
<license>GNU Affero General Public License v3.0</license>
<description><![CDATA[Creates automatic comment questions, and for iterative quesitonnaires, create a new questionnaire from a previous round questionnaire.]]></description>
</metadata>
......
No preview for this file type
This diff is collapsed.
......@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: autoCommentIterativeQuestionnaire\n"
"POT-Creation-Date: 2020-09-24 08:27+0200\n"
"POT-Creation-Date: 2022-10-03 11:09+0200\n"
"PO-Revision-Date: 2018-05-03 18:09+0200\n"
"Last-Translator: Denis Chenu <contact@sondages.pro>\n"
"Language-Team: \n"
......@@ -10,7 +10,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.1\n"
"X-Generator: Poedit 2.4.2\n"
"X-Poedit-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-KeywordsList: gT\n"
......@@ -18,454 +18,503 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: locale\n"
#: autoCommentIterativeQuestionnaire.php:124
#: autoCommentIterativeQuestionnaire.php:135
msgid "Unknow error."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:128
#: autoCommentIterativeQuestionnaire.php:139
msgid "Display the question (text) from the previous round"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:130
#: autoCommentIterativeQuestionnaire.php:131
#: autoCommentIterativeQuestionnaire.php:1724
#: autoCommentIterativeQuestionnaire.php:1725
#: autoCommentIterativeQuestionnaire.php:141
#: autoCommentIterativeQuestionnaire.php:142
#: autoCommentIterativeQuestionnaire.php:2025
msgid "No, do not display it"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:132
#: autoCommentIterativeQuestionnaire.php:133
#: autoCommentIterativeQuestionnaire.php:1726
#: autoCommentIterativeQuestionnaire.php:1727
#: autoCommentIterativeQuestionnaire.php:143
#: autoCommentIterativeQuestionnaire.php:144
#: autoCommentIterativeQuestionnaire.php:2027
msgid "Yes, display it"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:134
#: autoCommentIterativeQuestionnaire.php:145
msgid "Yes, display it, but don’t update"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:140
#: autoCommentIterativeQuestionnaire.php:151
msgid "Comment question (automatic)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:142
#: autoCommentIterativeQuestionnaire.php:153
msgid "No creation of this question"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:143
#: autoCommentIterativeQuestionnaire.php:154
msgid "Create question with default text (and Show it)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:150
#: autoCommentIterativeQuestionnaire.php:161
msgid "Show the history question"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:151
#: autoCommentIterativeQuestionnaire.php:162
msgid "Create an history question with actual question text"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:152
#: autoCommentIterativeQuestionnaire.php:163
msgid "Update history with current question text"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:155
#: autoCommentIterativeQuestionnaire.php:166
msgid "Have a question for comment (Disagree)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:156
#: autoCommentIterativeQuestionnaire.php:167
msgid ""
"Create a question to enter comment (automatic :assesment of question is "
"under 0)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:157
#: autoCommentIterativeQuestionnaire.php:168
msgid ""
"Create a question to enter comment (when disagree : with condition : "
"assesment of question is under 0 (score))"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:161
#: autoCommentIterativeQuestionnaire.php:172
msgid "Shown the comment for reason of disagree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:162
#: autoCommentIterativeQuestionnaire.php:173
msgid "Create an empty question for reason of disagree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:163
#: autoCommentIterativeQuestionnaire.php:174
msgid ""
"Create and update a question for reason of disagree list (only if question "
"have comment)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:164
#: autoCommentIterativeQuestionnaire.php:175
msgid "Update the reason of disagree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:167
#: autoCommentIterativeQuestionnaire.php:178
msgid "Have a question for alternative comment (Agree)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:168
#: autoCommentIterativeQuestionnaire.php:169
#: autoCommentIterativeQuestionnaire.php:179
#: autoCommentIterativeQuestionnaire.php:180
msgid ""
"Create a question to enter alternative comment (agree : with condition : "
"assesment of question is upper 0 (score))"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:173
#: autoCommentIterativeQuestionnaire.php:184
msgid "Shown the comment for reason of agree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:174
#: autoCommentIterativeQuestionnaire.php:185
msgid "Create an empty question for reason of agree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:175
#: autoCommentIterativeQuestionnaire.php:186
msgid ""
"Create and update a question for reason of agree list (only if question have "
"comment)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:176
#: autoCommentIterativeQuestionnaire.php:187
msgid "Update the reason of agree list"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:185
#: autoCommentIterativeQuestionnaire.php:199
msgid "Display"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:189
#: autoCommentIterativeQuestionnaire.php:203
msgid "No"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:190
#: autoCommentIterativeQuestionnaire.php:204
msgid "Yes"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:193
#: autoCommentIterativeQuestionnaire.php:207
msgid "Show help as history"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:194
#: autoCommentIterativeQuestionnaire.php:208
msgid ""
"If you use iterative questionaire, this question help are shown as history. "
"Automatically set by iterative questionaire."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:252
#: autoCommentIterativeQuestionnaire.php:283
msgid "Iteration"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:273
#: autoCommentIterativeQuestionnaire.php:304
msgid "Check survey for iteration"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:316
#: autoCommentIterativeQuestionnaire.php:350
#, php-format
msgid "Sentence added before old proposal history (%s)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:318
#: autoCommentIterativeQuestionnaire.php:1242
#: autoCommentIterativeQuestionnaire.php:1298
#: autoCommentIterativeQuestionnaire.php:1305
msgid "Previous proposal and result"
#: autoCommentIterativeQuestionnaire.php:352
#: autoCommentIterativeQuestionnaire.php:1549
msgid "Previous proposal and results"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:327
#: autoCommentIterativeQuestionnaire.php:361
#, php-format
msgid ""
"Sentence for the comments question show if user choose a answer with value "
"less than 0 (%s)"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:329
#: autoCommentIterativeQuestionnaire.php:1249
#: autoCommentIterativeQuestionnaire.php:363
#: autoCommentIterativeQuestionnaire.php:1556
msgid "Can you explain why you disagree with this proposal."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:341
#: autoCommentIterativeQuestionnaire.php:1086
#: autoCommentIterativeQuestionnaire.php:1256
#: autoCommentIterativeQuestionnaire.php:1267
#: autoCommentIterativeQuestionnaire.php:1312
#: autoCommentIterativeQuestionnaire.php:1322
msgid "Previous comments."
#: autoCommentIterativeQuestionnaire.php:375
#: autoCommentIterativeQuestionnaire.php:1321
#: autoCommentIterativeQuestionnaire.php:1562
#: autoCommentIterativeQuestionnaire.php:1577
msgid "Previous comment(s)."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:385
#: autoCommentIterativeQuestionnaire.php:419
msgid "Assessments mode not activated"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:385
#: autoCommentIterativeQuestionnaire.php:419
#, php-format
msgid ""
"Assessment mode for this survey is not activated. You can activate it in the "
"%s survey settings %s (tab 'Notification & data management')."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:433
#: autoCommentIterativeQuestionnaire.php:457
#: autoCommentIterativeQuestionnaire.php:534
#: autoCommentIterativeQuestionnaire.php:600
msgid "Unable to manage"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:458
#: autoCommentIterativeQuestionnaire.php:535
#: autoCommentIterativeQuestionnaire.php:601
msgid ""
"This plugin can be used for public part but you can not manage settings."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:487
msgid "Survey updated"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:461
#: autoCommentIterativeQuestionnaire.php:515
msgid "Check survey"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:464
#: autoCommentIterativeQuestionnaire.php:518
msgid "Confirm"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:465
#: autoCommentIterativeQuestionnaire.php:510
#: autoCommentIterativeQuestionnaire.php:519
#: autoCommentIterativeQuestionnaire.php:589
#: autoCommentIterativeQuestionnaire.php:574
#: autoCommentIterativeQuestionnaire.php:583
#: autoCommentIterativeQuestionnaire.php:663
msgid "Cancel"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:496
#: autoCommentIterativeQuestionnaire.php:573
#: autoCommentIterativeQuestionnaire.php:560
#: autoCommentIterativeQuestionnaire.php:647
msgid "Source table"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:500
#: autoCommentIterativeQuestionnaire.php:564
msgid "Please choose …"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:505
#: autoCommentIterativeQuestionnaire.php:582
#: autoCommentIterativeQuestionnaire.php:569
#: autoCommentIterativeQuestionnaire.php:656
msgid "Not completed"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:509
#: autoCommentIterativeQuestionnaire.php:573
msgid "Validate question before import"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:522
#: autoCommentIterativeQuestionnaire.php:586
msgid "Survey selection"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:540
#: autoCommentIterativeQuestionnaire.php:614
msgid "Bad table name."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:572
#: autoCommentIterativeQuestionnaire.php:581
#: autoCommentIterativeQuestionnaire.php:646
#: autoCommentIterativeQuestionnaire.php:655
msgid "Previous responses"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:588
#: autoCommentIterativeQuestionnaire.php:662
msgid "Confirm update of survey"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:701
msgid "This survey is activated. You can not create question"
#: autoCommentIterativeQuestionnaire.php:778
msgid "This survey is activated. You can not create question."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:703
#: autoCommentIterativeQuestionnaire.php:780
#, php-format
msgid ""
"No Delphi questions found. Are you sure to activate %s and set some value "
"different of 0 for some question."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:704
#: autoCommentIterativeQuestionnaire.php:781
msgid "assessment"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:706
#: autoCommentIterativeQuestionnaire.php:783
msgid "Success on :"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:707
#: autoCommentIterativeQuestionnaire.php:784
msgid "Information :"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:708
#: autoCommentIterativeQuestionnaire.php:785
msgid "Warning on :"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:709
#: autoCommentIterativeQuestionnaire.php:786
msgid "Error on :"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:710
#: autoCommentIterativeQuestionnaire.php:787
msgid "Success"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:711
#: autoCommentIterativeQuestionnaire.php:788
msgid "Warning"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:712
#: autoCommentIterativeQuestionnaire.php:789
msgid "Error"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:716
#: autoCommentIterativeQuestionnaire.php:793
msgid "Iterative questionnaire"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:812
#: autoCommentIterativeQuestionnaire.php:952
msgid "Count"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:827
#: autoCommentIterativeQuestionnaire.php:966
msgid "Total"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:964
#: autoCommentIterativeQuestionnaire.php:1154
#: autoCommentIterativeQuestionnaire.php:1107
#: autoCommentIterativeQuestionnaire.php:1381
#, php-format
msgid "%s exist in survey."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1113
#, php-format
msgid "%s was hide to respondant."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1115
#, php-format
msgid "%s unable to hide to respondant."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1125
#: autoCommentIterativeQuestionnaire.php:1135
#, php-format
msgid "%s was shown to respondant."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1127
#: autoCommentIterativeQuestionnaire.php:1137
#, php-format
msgid "%s unable to shown to respondant."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1142
#, php-format
msgid "Unknow action %s %s %s %s in survey"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1160
#: autoCommentIterativeQuestionnaire.php:1396
#, php-format
msgid ""
"A question with code %s already exist in your survey, can not create a new "
"one"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:973
#: autoCommentIterativeQuestionnaire.php:1170
#, php-format
msgid "Question %s need a %s"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:996
#: autoCommentIterativeQuestionnaire.php:1188
#, php-format
msgid "Question with code %s don't exist in your survey"
msgid "Question with %s can not be created"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1007
#: autoCommentIterativeQuestionnaire.php:1199
#, php-format
msgid "%s updated with %s"
msgid "Question with code %s don't exist in your survey"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1010
#: autoCommentIterativeQuestionnaire.php:1213
#, php-format
msgid "%s not updated with score : unable to find score"
msgid "%s updated with %s"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1028
#: autoCommentIterativeQuestionnaire.php:1058
#: autoCommentIterativeQuestionnaire.php:1094
#: autoCommentIterativeQuestionnaire.php:1199
#: autoCommentIterativeQuestionnaire.php:1220
#, php-format
msgid "%s (%s) - question help updated with list of answers."
msgid "%s not updated with score : unable to find score"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1030
#: autoCommentIterativeQuestionnaire.php:1060
#: autoCommentIterativeQuestionnaire.php:1096
#: autoCommentIterativeQuestionnaire.php:1201
#: autoCommentIterativeQuestionnaire.php:1250
#, php-format
msgid "%s question help was not updated: unable to find question."
msgid "Unable to find %s to update history for language %s."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1033
#: autoCommentIterativeQuestionnaire.php:1254
#: autoCommentIterativeQuestionnaire.php:1287
#: autoCommentIterativeQuestionnaire.php:1336
#: autoCommentIterativeQuestionnaire.php:1455
#, php-format
msgid "Unable to find %s to update history for language %s."
msgid "%s (%s) - question help updated with list of answers."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1037
#: autoCommentIterativeQuestionnaire.php:1259
#, php-format
msgid "%s (%s) - question help updated ."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1067
#: autoCommentIterativeQuestionnaire.php:1103
#: autoCommentIterativeQuestionnaire.php:1208
#: autoCommentIterativeQuestionnaire.php:1298
#: autoCommentIterativeQuestionnaire.php:1461
#, php-format
msgid "%s question help cleared: question was not found in old survey."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1126
#: autoCommentIterativeQuestionnaire.php:1338
#, php-format
msgid "No question %s in survey"
msgid "%s question help was not updated: unable to find question."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1139
#: autoCommentIterativeQuestionnaire.php:1363
#, php-format
msgid "%s exist in survey."
msgid "No question %s in survey"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1145
#: autoCommentIterativeQuestionnaire.php:1387
#, php-format
msgid "%s was hide to respondant"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1147
#: autoCommentIterativeQuestionnaire.php:1389
#, php-format
msgid "%s unable to hide to respondant"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1178
#: autoCommentIterativeQuestionnaire.php:1217
#: autoCommentIterativeQuestionnaire.php:1416
#, php-format
msgid "Unable to create %s question in survey."
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1423
#: autoCommentIterativeQuestionnaire.php:1469
#, php-format
msgid "%s was shown to respondant"
msgstr ""
#: autoCommentIterativeQuestionnaire.php:1180
#: autoCommentIterativeQuestionnaire.php:1219
#: autoCommentIterativeQuestionnaire.php:1425
#: autoCommentIterativeQuestionnaire.php:1471
#, php-format
msgid "%s unable to shown to respondant"
msgstr ""