From 8d7fa8622ed940661c30bccd44aae281d5e4cee2 Mon Sep 17 00:00:00 2001 From: ainaraRT Date: Wed, 14 Aug 2024 11:14:01 +0000 Subject: [PATCH 1/5] first commit --- modules/Surveys/Entry/Thanks.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/Surveys/Entry/Thanks.php b/modules/Surveys/Entry/Thanks.php index 3b5fcd03334..88ff1fa3f79 100644 --- a/modules/Surveys/Entry/Thanks.php +++ b/modules/Surveys/Entry/Thanks.php @@ -2,6 +2,10 @@ $surveyName = !empty($_REQUEST['name']) ? $_REQUEST['name'] : 'Survey'; +// STIC - ART - Thank you message in surveys +// https://github.com/SinergiaTIC/SinergiaCRM/pull/ +$surveyThanks = translate('LBL_SURVEY_THANKS', 'Surveys'); +// END STIC ?> @@ -23,7 +27,11 @@

-

Thanks for completing this survey.

+ + + +

+
From 044e643a14e6dac121cf7ff0088d24f562cedcb5 Mon Sep 17 00:00:00 2001 From: ainaraRT Date: Wed, 14 Aug 2024 11:14:16 +0000 Subject: [PATCH 2/5] language message --- .../Surveys/Ext/Language/ca_ES.SticLang.php | 23 +++++++++++++++++++ .../Surveys/Ext/Language/en_us.SticLang.php | 23 +++++++++++++++++++ .../Surveys/Ext/Language/es_ES.SticLang.php | 23 +++++++++++++++++++ .../Surveys/Ext/Language/gl_ES.SticLang.php | 23 +++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php create mode 100644 custom/Extension/modules/Surveys/Ext/Language/en_us.SticLang.php create mode 100644 custom/Extension/modules/Surveys/Ext/Language/es_ES.SticLang.php create mode 100644 custom/Extension/modules/Surveys/Ext/Language/gl_ES.SticLang.php diff --git a/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php b/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php new file mode 100644 index 00000000000..195d4fb6d8f --- /dev/null +++ b/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php @@ -0,0 +1,23 @@ + Date: Wed, 14 Aug 2024 16:24:26 +0200 Subject: [PATCH 3/5] url --- modules/Surveys/Entry/Thanks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/Surveys/Entry/Thanks.php b/modules/Surveys/Entry/Thanks.php index 88ff1fa3f79..39f2727952d 100644 --- a/modules/Surveys/Entry/Thanks.php +++ b/modules/Surveys/Entry/Thanks.php @@ -3,7 +3,7 @@ $surveyName = !empty($_REQUEST['name']) ? $_REQUEST['name'] : 'Survey'; // STIC - ART - Thank you message in surveys -// https://github.com/SinergiaTIC/SinergiaCRM/pull/ +// https://github.com/SinergiaTIC/SinergiaCRM/pull/339 $surveyThanks = translate('LBL_SURVEY_THANKS', 'Surveys'); // END STIC ?> @@ -28,7 +28,7 @@

- +

@@ -38,4 +38,4 @@ - \ No newline at end of file + From a6c10a6fa857d95fc2c0d73fa1d6772fb7318107 Mon Sep 17 00:00:00 2001 From: ainaraRT Date: Tue, 3 Sep 2024 08:24:28 +0000 Subject: [PATCH 4/5] change to core language --- .../Surveys/Ext/Language/ca_ES.SticLang.php | 23 ------------------- .../Surveys/Ext/Language/en_us.SticLang.php | 23 ------------------- .../Surveys/Ext/Language/es_ES.SticLang.php | 23 ------------------- .../Surveys/Ext/Language/gl_ES.SticLang.php | 23 ------------------- modules/Surveys/language/ca_ES.lang.php | 7 +++++- modules/Surveys/language/en_us.lang.php | 7 +++++- modules/Surveys/language/es_ES.lang.php | 7 +++++- modules/Surveys/language/gl_ES.lang.php | 7 +++++- 8 files changed, 24 insertions(+), 96 deletions(-) delete mode 100644 custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php delete mode 100644 custom/Extension/modules/Surveys/Ext/Language/en_us.SticLang.php delete mode 100644 custom/Extension/modules/Surveys/Ext/Language/es_ES.SticLang.php delete mode 100644 custom/Extension/modules/Surveys/Ext/Language/gl_ES.SticLang.php diff --git a/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php b/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php deleted file mode 100644 index 195d4fb6d8f..00000000000 --- a/custom/Extension/modules/Surveys/Ext/Language/ca_ES.SticLang.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Enquestes enviades:', 'LBL_SURVEY_DISTINCT' => 'Enquestes diferents enviades:', 'LBL_SUBMIT' => 'Envia', - 'LBL_STARS' => 'Estrelles' + 'LBL_STARS' => 'Estrelles', + + // STIC - ART - Thank you message in surveys + // https://github.com/SinergiaTIC/SinergiaCRM/pull/339 + 'LBL_SURVEY_THANKS' => 'Gràcies per completar aquesta enquesta.', + // END STIC ); diff --git a/modules/Surveys/language/en_us.lang.php b/modules/Surveys/language/en_us.lang.php index 98cd1f1f028..1390386ea2e 100644 --- a/modules/Surveys/language/en_us.lang.php +++ b/modules/Surveys/language/en_us.lang.php @@ -105,5 +105,10 @@ // END STIC-Custom 'LBL_PUBLIC' => 'Public', 'LBL_SUBMIT' => 'Submit', - 'LBL_STARS' => 'Stars' + 'LBL_STARS' => 'Stars', + + // STIC - ART - Thank you message in surveys + // https://github.com/SinergiaTIC/SinergiaCRM/pull/339 + 'LBL_SURVEY_THANKS' => 'Thanks for completing this survey.', + // END STIC ); diff --git a/modules/Surveys/language/es_ES.lang.php b/modules/Surveys/language/es_ES.lang.php index f6cd32afe53..84bfaa5e2f3 100644 --- a/modules/Surveys/language/es_ES.lang.php +++ b/modules/Surveys/language/es_ES.lang.php @@ -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 - ART - Thank you message in surveys + // https://github.com/SinergiaTIC/SinergiaCRM/pull/339 + 'LBL_SURVEY_THANKS' => 'Gracias por completar esta encuesta.', + // END STIC ); diff --git a/modules/Surveys/language/gl_ES.lang.php b/modules/Surveys/language/gl_ES.lang.php index 36af8c8e6b2..f970b7262d3 100644 --- a/modules/Surveys/language/gl_ES.lang.php +++ b/modules/Surveys/language/gl_ES.lang.php @@ -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 - ART - Thank you message in surveys + // https://github.com/SinergiaTIC/SinergiaCRM/pull/339 + 'LBL_SURVEY_THANKS' => 'Grazas por completar esta enquisa.', + // END STIC ); From 982f241103c5b747b3f79d0f1f6dbdfd41424314 Mon Sep 17 00:00:00 2001 From: ainaraRT Date: Fri, 20 Sep 2024 12:09:19 +0000 Subject: [PATCH 5/5] stic-custom and date comment --- modules/Surveys/Entry/Thanks.php | 8 ++++---- modules/Surveys/language/ca_ES.lang.php | 4 ++-- modules/Surveys/language/en_us.lang.php | 4 ++-- modules/Surveys/language/es_ES.lang.php | 4 ++-- modules/Surveys/language/gl_ES.lang.php | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/Surveys/Entry/Thanks.php b/modules/Surveys/Entry/Thanks.php index 39f2727952d..a3562f1ca3a 100644 --- a/modules/Surveys/Entry/Thanks.php +++ b/modules/Surveys/Entry/Thanks.php @@ -2,10 +2,10 @@ $surveyName = !empty($_REQUEST['name']) ? $_REQUEST['name'] : 'Survey'; -// STIC - ART - Thank you message in surveys +// STIC-Custom 20240814 ART - Thank you message in surveys // https://github.com/SinergiaTIC/SinergiaCRM/pull/339 $surveyThanks = translate('LBL_SURVEY_THANKS', 'Surveys'); -// END STIC +// END STIC-Custom ?> @@ -27,11 +27,11 @@

- +

- +
diff --git a/modules/Surveys/language/ca_ES.lang.php b/modules/Surveys/language/ca_ES.lang.php index ef033271cc9..141bf4e2c3a 100644 --- a/modules/Surveys/language/ca_ES.lang.php +++ b/modules/Surveys/language/ca_ES.lang.php @@ -102,8 +102,8 @@ 'LBL_SUBMIT' => 'Envia', 'LBL_STARS' => 'Estrelles', - // STIC - ART - Thank you message in surveys + // 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 + // END STIC-Custom ); diff --git a/modules/Surveys/language/en_us.lang.php b/modules/Surveys/language/en_us.lang.php index 1390386ea2e..b6783cc6f93 100644 --- a/modules/Surveys/language/en_us.lang.php +++ b/modules/Surveys/language/en_us.lang.php @@ -107,8 +107,8 @@ 'LBL_SUBMIT' => 'Submit', 'LBL_STARS' => 'Stars', - // STIC - ART - Thank you message in surveys + // 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 + // END STIC-Custom ); diff --git a/modules/Surveys/language/es_ES.lang.php b/modules/Surveys/language/es_ES.lang.php index 84bfaa5e2f3..b588397c7d1 100644 --- a/modules/Surveys/language/es_ES.lang.php +++ b/modules/Surveys/language/es_ES.lang.php @@ -102,8 +102,8 @@ 'LBL_SUBMIT' => 'Enviar', 'LBL_STARS' => 'Estrellas', - // STIC - ART - Thank you message in surveys + // 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 + // END STIC-Custom ); diff --git a/modules/Surveys/language/gl_ES.lang.php b/modules/Surveys/language/gl_ES.lang.php index f970b7262d3..5a7e3b4fd61 100644 --- a/modules/Surveys/language/gl_ES.lang.php +++ b/modules/Surveys/language/gl_ES.lang.php @@ -102,8 +102,8 @@ 'LBL_SUBMIT' => 'Enviar', 'LBL_STARS' => 'Estrelas', - // STIC - ART - Thank you message in surveys + // 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 + // END STIC-Custom );