cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
28 stars 12 forks source link

Missing translation keys for objects in tree view and logic view #3843

Closed anikbrazeau closed 1 week ago

anikbrazeau commented 1 week ago

Description

Missing translation keys: some objects only show up in English even though French translation exists. This happens for sections "Start" and "End" in tree view and for "Privacy Policy" "Review" in the logic view dropdown for sections and branching visualization.

Steps to reproduce

  1. Go to staging / conditional logic PR
  2. Click on Edit
  3. Toggle to French
  4. See "Start" and "End" in FR
  5. Go to "Logique"
  6. See sections and blocks in English only even when editing in French

Details

Proposed content

Tree view (Default sections)

EN: Beginning FR: Début

EN: End FR: Fin

Logic view (Default sections)

EN: Introduction FR: Introduction

EN: Privacy FR: Confidentialité

EN: Review FR: Révision

EN: Confirmation message FR: Message de confirmation

Screenshots or videos

Tree view

Screenshot 2024-06-17 at 9 08 10 AM

Screenshot 2024-06-17 at 9 35 49 AM

Logic view

Screenshot 2024-06-17 at 9 08 33 AM

Screenshot 2024-06-17 at 9 49 08 AM