From af9570a6efbcf0c0813b13062b2341b9f2075972 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Tue, 30 Jul 2024 18:52:37 +0200 Subject: [PATCH] Fix footer to work with existing translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Example of existing translation that was broken: `"version": "Različica () zgrajena {{buildTime}}"` Reverts part of #1941 and #1961. --- .changelog/2026.bugfix.md | 1 + .../__snapshots__/index.test.tsx.snap | 2 +- src/app/components/Footer/index.tsx | 28 +++++++------------ src/locales/en/translation.json | 3 +- src/locales/fr/translation.json | 2 +- 5 files changed, 14 insertions(+), 22 deletions(-) create mode 100644 .changelog/2026.bugfix.md diff --git a/.changelog/2026.bugfix.md b/.changelog/2026.bugfix.md new file mode 100644 index 0000000000..44e4e09779 --- /dev/null +++ b/.changelog/2026.bugfix.md @@ -0,0 +1 @@ +Fix footer to work with existing translations diff --git a/src/app/components/Footer/__tests__/__snapshots__/index.test.tsx.snap b/src/app/components/Footer/__tests__/__snapshots__/index.test.tsx.snap index b043ba6049..45550ed012 100644 --- a/src/app/components/Footer/__tests__/__snapshots__/index.test.tsx.snap +++ b/src/app/components/Footer/__tests__/__snapshots__/index.test.tsx.snap @@ -221,7 +221,7 @@ exports[`