Skip to content

Commit

Permalink
Enhancement - Encuestas - Mensaje agradecimiento en el idioma selecci…
Browse files Browse the repository at this point in the history
…onado (#339)
  • Loading branch information
ainaraRT authored Sep 23, 2024
1 parent c522b66 commit 79331e0
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
12 changes: 10 additions & 2 deletions modules/Surveys/Entry/Thanks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

// STIC-Custom 20240814 ART - Thank you message in surveys
// https://github.com/SinergiaTIC/SinergiaCRM/pull/339
$surveyThanks = translate('LBL_SURVEY_THANKS', 'Surveys');
// END STIC-Custom
?>

<!DOCTYPE html>
Expand All @@ -23,11 +27,15 @@
<div class="row well">
<div class="col-md-offset-2 col-md-8">
<h1><?= $surveyName; ?></h1>
<p>Thanks for completing this survey.</p>
<!-- STIC-Custom 20240814 ART - Thank you message in surveys -->
<!-- https://github.com/SinergiaTIC/SinergiaCRM/pull/339 -->
<!-- <p>Thanks for completing this survey.</p> -->
<p><?= $surveyThanks; ?></p>
<!-- END STIC-Custom -->
</div>
</div>
</div>
<script src="include/javascript/jquery/jquery-min.js"></script>
<script src="include/javascript/jquery/jquery-ui-min.js"></script>
</body>
</html>
</html>
7 changes: 6 additions & 1 deletion modules/Surveys/language/ca_ES.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,10 @@
'LBL_SURVEYS_SENT' => 'Enquestes enviades:',
'LBL_SURVEY_DISTINCT' => 'Enquestes diferents enviades:',
'LBL_SUBMIT' => 'Envia',
'LBL_STARS' => 'Estrelles'
'LBL_STARS' => 'Estrelles',

// STIC-Custom 20240814 ART - Thank you message in surveys
// https://github.com/SinergiaTIC/SinergiaCRM/pull/339
'LBL_SURVEY_THANKS' => 'Gràcies per completar aquesta enquesta.',
// END STIC-Custom
);
7 changes: 6 additions & 1 deletion modules/Surveys/language/en_us.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,10 @@
// END STIC-Custom
'LBL_PUBLIC' => 'Public',
'LBL_SUBMIT' => 'Submit',
'LBL_STARS' => 'Stars'
'LBL_STARS' => 'Stars',

// STIC-Custom 20240814 ART - Thank you message in surveys
// https://github.com/SinergiaTIC/SinergiaCRM/pull/339
'LBL_SURVEY_THANKS' => 'Thanks for completing this survey.',
// END STIC-Custom
);
7 changes: 6 additions & 1 deletion modules/Surveys/language/es_ES.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,10 @@
'LBL_SURVEYS_SENT' => 'Encuentas enviadas:',
'LBL_SURVEY_DISTINCT' => 'Distintas encuestas enviadas:',
'LBL_SUBMIT' => 'Enviar',
'LBL_STARS' => 'Estrellas'
'LBL_STARS' => 'Estrellas',

// STIC-Custom 20240814 ART - Thank you message in surveys
// https://github.com/SinergiaTIC/SinergiaCRM/pull/339
'LBL_SURVEY_THANKS' => 'Gracias por completar esta encuesta.',
// END STIC-Custom
);
7 changes: 6 additions & 1 deletion modules/Surveys/language/gl_ES.lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,10 @@
'LBL_SURVEYS_SENT' => 'Enquisas enviadas:',
'LBL_SURVEY_DISTINCT' => 'Enquisas distintas enviadas:',
'LBL_SUBMIT' => 'Enviar',
'LBL_STARS' => 'Estrelas'
'LBL_STARS' => 'Estrelas',

// STIC-Custom 20240814 ART - Thank you message in surveys
// https://github.com/SinergiaTIC/SinergiaCRM/pull/339
'LBL_SURVEY_THANKS' => 'Grazas por completar esta enquisa.',
// END STIC-Custom
);

0 comments on commit 79331e0

Please sign in to comment.