From 52906174dc7824fe7cbf2e1cd6abbf5c06e5ab22 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 22 Sep 2022 10:55:52 +0200 Subject: [PATCH] SONAR-17311 Fix projects label --- .../src/main/js/apps/projects/components/PageHeader.tsx | 2 +- .../__tests__/__snapshots__/PageHeader-test.tsx.snap | 4 ++-- sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx index 985c9cae082..95ba5a19496 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx @@ -65,7 +65,7 @@ export default function PageHeader(props: Props) { })}> {total != null && ( - {total} {translate('projects._projects')} + {total} {translate('projects_')} )} diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap index d4ebab4d137..63df87937ae 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap @@ -49,7 +49,7 @@ exports[`should render correctly 1`] = ` 12 - projects._projects + projects_
- projects._projects + projects_