From e331aa095c9e2242df83cdc98bc7a08bd15a4af1 Mon Sep 17 00:00:00 2001 From: Tilumca Date: Thu, 26 Nov 2026 02:19:46 +0100 Subject: [PATCH] App+Admin: Zgloszenie #8 - partia core nazywa sie Brzuch w polskim UI (etykieta muscles.core 'Core' -> 'Brzuch' w app i admin: chipy filtrow, badge cwiczen i legendy statystyk czytelne dla nowych odwiedzajacych silownie, 'core' to slang branzy; EN zostaje Core jako naturalny dla anglojezycznych; same wartosci locale - klucze, API, DB i kolory badge bez zmian; unit test asercji badge'a zaktualizowany) --- admin/src/i18n/locales/pl/common.json | 2 +- app/src/i18n/locales/pl/common.json | 2 +- app/test/ExerciseEditor.test.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/src/i18n/locales/pl/common.json b/admin/src/i18n/locales/pl/common.json index c6b3012..5ccfafd 100644 --- a/admin/src/i18n/locales/pl/common.json +++ b/admin/src/i18n/locales/pl/common.json @@ -154,7 +154,7 @@ "shoulders": "Barki", "biceps": "Biceps", "triceps": "Triceps", - "core": "Core", + "core": "Brzuch", "glutes": "Pośladki", "forearms": "Przedramię", "calves": "Łydki" diff --git a/app/src/i18n/locales/pl/common.json b/app/src/i18n/locales/pl/common.json index f51f8af..cce32b1 100644 --- a/app/src/i18n/locales/pl/common.json +++ b/app/src/i18n/locales/pl/common.json @@ -136,7 +136,7 @@ "shoulders": "Barki", "biceps": "Biceps", "triceps": "Triceps", - "core": "Core", + "core": "Brzuch", "glutes": "Pośladki", "forearms": "Przedramię", "calves": "Łydki" diff --git a/app/test/ExerciseEditor.test.tsx b/app/test/ExerciseEditor.test.tsx index 55720ff..301ff1a 100644 --- a/app/test/ExerciseEditor.test.tsx +++ b/app/test/ExerciseEditor.test.tsx @@ -55,7 +55,7 @@ describe('ExerciseEditor — długa nazwa ćwiczenia', () => { renderEditor(META); const name = screen.getByText(LONG_NAME); - const badge = screen.getByText('Core'); + const badge = screen.getByText('Brzuch'); const summary = screen.getByText('1×10 @ 50 kg · RIR 2'); expect(badge.parentElement).toBe(summary.parentElement); expect(name.parentElement).not.toBe(summary.parentElement);