Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Encuestas - Mensaje agradecimiento en el idioma seleccionado #339

Merged
merged 5 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
);
Loading