From 7b20616559bf0dceccd374ff5f9b4c9aa58978f8 Mon Sep 17 00:00:00 2001 From: oxteam Date: Thu, 12 Jul 2018 12:33:38 +0200 Subject: [PATCH 1/2] French translation for GPDR labels. --- .../language/french/translations_lang.php | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/application/language/french/translations_lang.php b/src/application/language/french/translations_lang.php index 355ae447..2cfac7ac 100755 --- a/src/application/language/french/translations_lang.php +++ b/src/application/language/french/translations_lang.php @@ -280,19 +280,19 @@ $lang['flexible'] = 'Flexible'; $lang['fixed'] = 'Fixe'; $lang['attendants_number'] = 'Nombre de participants'; $lang['reset_working_plan'] = 'Restaurer les valeurs d\'origine du planning de travail.'; -$lang['legal_contents'] = 'Legal Contents'; -$lang['cookie_notice'] = 'Cookie Notice'; -$lang['display_cookie_notice'] = 'Display Cookie Notice'; -$lang['cookie_notice_content'] = 'Cookie Notice Content'; -$lang['terms_and_conditions'] = 'Terms & Conditions'; -$lang['display_terms_and_conditions'] = 'Display Terms & Conditions'; -$lang['terms_and_conditions_content'] = 'Terms & Conditions Content'; -$lang['privacy_policy'] = 'Privacy Policy'; -$lang['display_privacy_policy'] = 'Display Privacy Policy'; -$lang['privacy_policy_content'] = 'Privacy Policy Content'; -$lang['website_using_cookies_to_ensure_best_experience'] = 'This website uses cookies to ensure you get the best experience on our website.'; -$lang['read_and_agree_to_terms_and_conditions'] = 'I have read and agree to the {$link}Terms & Conditions{/$link}.'; -$lang['read_and_agree_to_privacy_policy'] = 'I have read and agree to the {$link}Privacy Policy{/$link}.'; -$lang['delete_personal_information_hint'] = 'Delete all personal information from the system.'; -$lang['delete_personal_information'] = 'Delete Personal Information'; -$lang['delete_personal_information_prompt'] = 'Are you sure that you want to delete your personal information? This action cannot be undone.'; +$lang['legal_contents'] = 'Contenu juridique'; +$lang['cookie_notice'] = 'Informations sur les Cookies'; +$lang['display_cookie_notice'] = 'Afficher les informations sur les cookies'; +$lang['cookie_notice_content'] = 'Description de la politique d\'utilisation des cookies'; +$lang['terms_and_conditions'] = 'Conditions générales'; +$lang['display_terms_and_conditions'] = 'Afficher les conditions générales'; +$lang['terms_and_conditions_content'] = 'Description des conditions générales'; +$lang['privacy_policy'] = 'Politique de confidentialité'; +$lang['display_privacy_policy'] = 'Afficher la politique de confidentialité'; +$lang['privacy_policy_content'] = 'Description de la politique de confidentialité'; +$lang['website_using_cookies_to_ensure_best_experience'] = 'Ce site web utilise des cookies pour vous assurer la meilleure expérience utilisateur.'; +$lang['read_and_agree_to_terms_and_conditions'] = 'J\'ai lu, compris et accepte les {$link}Conditions Générales{/$link}.'; +$lang['read_and_agree_to_privacy_policy'] = 'J\'ai lu, compris et accepte la {$link}politique de confidentialité{/$link}.'; +$lang['delete_personal_information_hint'] = 'Effacer toutes vos données personnelles du système.'; +$lang['delete_personal_information'] = 'Effacer toutes mes données personnelles'; +$lang['delete_personal_information_prompt'] = 'Etes-vous sûr(e) de vouloir effacer toutes vos données personnelles ? Cette action est irréversible.'; From 064b0580fb359f8c89c7214ab3db5306c716bfe1 Mon Sep 17 00:00:00 2001 From: oxteam Date: Thu, 12 Jul 2018 12:47:35 +0200 Subject: [PATCH 2/2] Use translation for the personal information 'delete' button. --- src/assets/js/frontend_book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/frontend_book.js b/src/assets/js/frontend_book.js index 892f8a86..c3426e16 100644 --- a/src/assets/js/frontend_book.js +++ b/src/assets/js/frontend_book.js @@ -384,7 +384,7 @@ window.FrontendBook = window.FrontendBook || {}; $('#delete-personal-information').on('click', function () { var buttons = [ { - text: 'Delete', + text: EALang.delete, click: function () { FrontendBookApi.deletePersonalInformation(GlobalVariables.customerToken); }