Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 17, 2022
2 parents 9d9264c + f5ea1fd commit c3c2afb
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion application/config/version.php
Expand Up @@ -16,5 +16,5 @@
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['templateapiversion'] = 3;
$config['assetsversionnumber'] = '30293';
$config['assetsversionnumber'] = '30294';
return $config;
4 changes: 2 additions & 2 deletions application/core/LsDefaultDataSets.php
Expand Up @@ -829,9 +829,9 @@ public static function getTemplateDefaultTexts($mode, $language = 'en')
'admin_notification_subject' => gT("Response submission for survey {SURVEYNAME}", $mode),
'admin_notification' => gT("Hello,\n\nA new response was submitted for your survey '{SURVEYNAME}'.\n\nClick the following link to see the individual response:\n{VIEWRESPONSEURL}\n\nClick the following link to edit the individual response:\n{EDITRESPONSEURL}\n\nView statistics by clicking here:\n{STATISTICSURL}", $mode),
'confirmation_subject' => gT("Confirmation of your participation in our survey"),
'confirmation' => gT("Dear {FIRSTNAME},\n\nthis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}", $mode),
'confirmation' => gT("Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}", $mode),
'invitation_subject' => gT("Invitation to participate in a survey", $mode),
'invitation' => gT("Dear {FIRSTNAME},\n\nyou have been invited to participate in a survey.\n\nThe survey is titled:\n\"{SURVEYNAME}\"\n\n\"{SURVEYDESCRIPTION}\"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}", $mode) . "\n\n" . gT("If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:\n{OPTOUTURL}", $mode) . "\n\n" . gT("If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:\n{OPTINURL}", $mode),
'invitation' => gT("Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n\"{SURVEYNAME}\"\n\n\"{SURVEYDESCRIPTION}\"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}", $mode) . "\n\n" . gT("If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:\n{OPTOUTURL}", $mode) . "\n\n" . gT("If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:\n{OPTINURL}", $mode),
'reminder_subject' => gT("Reminder to participate in a survey", $mode),
'reminder' => gT("Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n\"{SURVEYNAME}\"\n\n\"{SURVEYDESCRIPTION}\"\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}", $mode) . "\n\n" . gT("If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:\n{OPTOUTURL}", $mode),
'registration_subject' => gT("Survey registration confirmation", $mode),
Expand Down
4 changes: 2 additions & 2 deletions application/models/SurveyDynamic.php
Expand Up @@ -88,11 +88,11 @@ public function relations()
return array(
'survey' => array(self::HAS_ONE, 'Survey', array(), 'condition' => ('sid = ' . self::$sid)),
'tokens' => array(self::HAS_ONE, 'TokenDynamic', array('token' => 'token')),
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'))
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'), 'condition' => ('sid = ' . self::$sid))
);
} else {
return array(
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'))
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'), 'condition' => ('sid = ' . self::$sid))
);
}
}
Expand Down
Expand Up @@ -72,9 +72,9 @@
$('#".$entryData['name']."').on('submit.editLocalsettings', function(e){
e.preventDefault();
if (!validateSettingsForm($(this))) {
return false;
}
//if (!validateSettingsForm($(this))) {
//return false;
//}
var data = $(this).serializeArray();
var uri = $(this).attr('action');
$.ajax({
Expand Down
11 changes: 11 additions & 0 deletions docs/release_notes.txt
Expand Up @@ -34,6 +34,17 @@ Thank you to everyone who helped with this new release!

CHANGE LOG
------------------------------------------------------
Changes from 5.3.31 (build 220815) to 5.3.32 (build 220817) August 17, 2022
-Fixed issue: Cannot load previously saved response to resume, instead the message "There is no matching saved response" is shown after entering identifier and password (Carsten Schmitz)
-Fixed issue #18314: Save-button under Survey settings does not work (Olle Haerstedt)
-Fixed issue #16795: Typo in default text for confirmation email (in English) (#2573) (Gabriel Jenik)
#Updated translation: Slovak by jelen1
#Updated translation: Japanese by nomoto
#Updated translation: Finnish by Jmantysalo
#Updated translation: Czech by jelen1
#Updated translation: Czech (Informal) by jelen1


Changes from 5.3.30 (build 220808) to 5.3.31 (build 220815) August 15, 2022
-Fixed issue #15195: Expiration date can be set before start date (#2558) (Gabriel Jenik)
#Updated translation: Turkish by kayazeren
Expand Down
6 changes: 3 additions & 3 deletions locale/_template/limesurvey.pot
Expand Up @@ -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: 2022-08-15 08:18:45+00:00\n"
"POT-Creation-Date: 2022-08-17 08:32:18+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -7887,7 +7887,7 @@ msgstr ""
msgid ""
"Dear {FIRSTNAME},\n"
"\n"
"this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n"
"This email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n"
"\n"
"If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.\n"
"\n"
Expand All @@ -7904,7 +7904,7 @@ msgstr ""
msgid ""
"Dear {FIRSTNAME},\n"
"\n"
"you have been invited to participate in a survey.\n"
"You have been invited to participate in a survey.\n"
"\n"
"The survey is titled:\n"
"\"{SURVEYNAME}\"\n"
Expand Down
Binary file modified locale/cs-informal/cs-informal.mo
Binary file not shown.
Binary file modified locale/cs/cs.mo
Binary file not shown.
Binary file modified locale/fi/fi.mo
Binary file not shown.
Binary file modified locale/ja/ja.mo
Binary file not shown.
Binary file modified locale/sk/sk.mo
Binary file not shown.

0 comments on commit c3c2afb

Please sign in to comment.