feat(i18n): localize cookies policy page

Replace all hardcoded English strings in cookies.html with _() i18n
helper calls and add 35 new cookie_policy.* translation keys to
frontend/translations/en.json. Also improve table accessibility with
aria-label and scope attributes."

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-15 13:52:03 +00:00
parent 13d451dc36
commit 182868c0d7
2 changed files with 65 additions and 29 deletions
+35
View File
@@ -252,6 +252,41 @@
"cookie.notice_label": "Cookie notice",
"cookie.policy_link": "Cookie Policy",
"cookie.privacy_link": "Privacy Notice",
"cookie_policy.heading": "Cookie Policy",
"cookie_policy.last_updated": "Last Updated:",
"cookie_policy.page_title": "Cookie Policy - DocuElevate",
"cookie_policy.s1_heading": "What Are Cookies",
"cookie_policy.s1_p1": "Cookies are small text files that are stored on your computer or mobile device when you visit a website. They are widely used to make websites work more efficiently and provide information to the website owners.",
"cookie_policy.s2_heading": "How We Use Cookies",
"cookie_policy.s2_li1_body": "To identify you when you sign in and maintain your session while you use the application.",
"cookie_policy.s2_li1_label": "Authentication & Session Management:",
"cookie_policy.s2_p1_post": "for the following purpose:",
"cookie_policy.s2_p1_pre": "DocuElevate uses",
"cookie_policy.s2_p1_strong": "only strictly necessary session cookies",
"cookie_policy.s2_p2": "These cookies are mandatory for the proper functioning of our service. Without these cookies, you would be required to log in repeatedly during your browsing session.",
"cookie_policy.s2_p3": "Because these cookies are strictly necessary for the service to function, they are exempt from prior-consent requirements under the EU ePrivacy Directive (Art. 5(3)) and equivalent national implementations. We do not set any optional, analytics, advertising, or tracking cookies.",
"cookie_policy.s3_col_duration": "Duration",
"cookie_policy.s3_col_name": "Name",
"cookie_policy.s3_col_purpose": "Purpose",
"cookie_policy.s3_col_type": "Type",
"cookie_policy.s3_heading": "Cookie Details",
"cookie_policy.s3_row1_duration": "Session (deleted on browser close or logout)",
"cookie_policy.s3_row1_purpose": "Maintains your authenticated session; required for login to function.",
"cookie_policy.s3_row1_type": "Strictly Necessary",
"cookie_policy.s3_row2_duration": "Persistent (browser localStorage)",
"cookie_policy.s3_row2_purpose": "Stores your acknowledgement of the cookie notice so it is not shown repeatedly (stored in localStorage, not a cookie).",
"cookie_policy.s3_row2_type": "Strictly Necessary",
"cookie_policy.s4_heading": "No Third-Party Cookies",
"cookie_policy.s4_p1": "DocuElevate does not use any third-party cookies, tracking cookies, advertising cookies, or analytics cookies. We respect your privacy and only implement the minimum cookies required for our service to function.",
"cookie_policy.s4_p2_pre": "For more information about how we handle your data, please see our",
"cookie_policy.s4_privacy_link": "Privacy Notice",
"cookie_policy.s5_heading": "Managing Cookies",
"cookie_policy.s5_p1": "Most web browsers allow you to control cookies through their settings. However, blocking or deleting our session cookies will prevent DocuElevate from functioning, as user authentication relies on these cookies.",
"cookie_policy.s5_p2": "You may also clear the cookie notice acknowledgement stored in your browser's localStorage at any time via your browser's developer tools (Application \u2192 Local Storage).",
"cookie_policy.s5_p3_and": "and",
"cookie_policy.s5_p3_pre": "This Cookie Policy is part of and incorporated into our",
"cookie_policy.s5_privacy_link": "Privacy Notice",
"cookie_policy.s5_terms_link": "Terms of Service",
"credentials.col_action": "Action",
"credentials.col_credential": "Credential",
"credentials.col_source": "Source",