Stirling-PDF/frontend/public
James Brunton 45389340ed
Remove ambiguous translations and fix invalid translations (#4841)
# Description of Changes
`i18next` allows this pattern for translations, which we use quite a few
times in our current translation files:

```json
{
  "a": {
     "b": "hello"
   },
   "a.b": "world"
}
```

This makes it ambiguous when selecting `a.b` which string will be
retrieved. We have seen issues in other languages in the current release
like this:

<img width="325" height="249" alt="image"
src="https://github.com/user-attachments/assets/f24a29f0-550f-49b8-b355-c5e5eb436558"
/>

because we are expecting this:

<img width="1022" height="210" alt="image"
src="https://github.com/user-attachments/assets/b6d5cdd4-96cd-4b2b-8f1a-465da8bf70c8"
/>

but the Spanish file has:

<img width="312" height="136" alt="image"
src="https://github.com/user-attachments/assets/1e13392c-8484-47d1-b0c4-19d52b3ea5eb"
/>

and no `removeDigitalSignature` key on its own. 

This PR resolves all of these ambiguities in the source by restructuring
all of the keys to uniquely target either an object or a string, not
both. It also adds a test which will fail on any keys with a `.` in
their name, therefore making it impossible to add anything ambiguous.
2025-11-10 11:03:18 +00:00
..
branding V2 styling requests (#4288) 2025-08-26 16:31:20 +01:00
css Basic footer structure and Cookie Consent (#4320) 2025-08-29 13:01:46 +00:00
js/thirdParty Basic footer structure and Cookie Consent (#4320) 2025-08-29 13:01:46 +00:00
locales Remove ambiguous translations and fix invalid translations (#4841) 2025-11-10 11:03:18 +00:00
Login V2: Login Feature (#4701) 2025-10-24 10:49:52 +01:00
og_images Seo v2 add home (#4211) 2025-08-14 16:36:24 +01:00
samples Add onboarding flow using Reactour (#4635) 2025-10-20 15:07:40 +01:00
favicon.ico change logos, favicon and browser tab title (#4032) 2025-07-25 12:14:37 +01:00
logo192.png change logos, favicon and browser tab title (#4032) 2025-07-25 12:14:37 +01:00
logo512.png change logos, favicon and browser tab title (#4032) 2025-07-25 12:14:37 +01:00
logo-tooltip.svg Feature/v2/tooltips (#4112) 2025-08-08 12:09:41 +01:00
manifest.json Update manifest.json (#4203) 2025-08-13 18:29:25 +01:00
robots.txt Initial react set up 2025-05-09 20:01:09 +01:00