Skip to content

Commit

Permalink
Fix salesagility#10564 - Thank you message in Surveys only in English
Browse files Browse the repository at this point in the history
  • Loading branch information
SinergiaCRM committed Oct 29, 2024
1 parent 80ee82d commit 5df9f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/Surveys/Entry/Thanks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

$surveyName = !empty($_REQUEST['name']) ? $_REQUEST['name'] : 'Survey';

$surveyThanks = translate('LBL_SURVEY_THANKS', 'Surveys');
?>

<!DOCTYPE html>
Expand All @@ -23,7 +24,7 @@
<div class="row well">
<div class="col-md-offset-2 col-md-8">
<h1><?= $surveyName; ?></h1>
<p>Thanks for completing this survey.</p>
<p><?= $surveyThanks; ?></p>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions modules/Surveys/language/en_us.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@
'LBL_SUBMIT' => 'Submit',
'LBL_STARS' => 'Stars',
'LBL_SURVEY_CLOSE_RESPONSE' => 'Thanks for your interest but this survey is now closed.',
'LBL_SURVEY_THANKS' => 'Thanks for completing this survey.',
);

0 comments on commit 5df9f91

Please sign in to comment.