From 6889f736692eae283acd3bc3bd42bb9cd9ab6d75 Mon Sep 17 00:00:00 2001 From: barshathakuri Date: Tue, 10 Oct 2023 15:10:21 +0545 Subject: [PATCH] Add map title --- src/App/routes/index.tsx | 2 +- src/components/GlobalFooter/i18n.json | 2 +- src/views/CountryThreeWProjects/Map/i18n.json | 3 ++- src/views/CountryThreeWProjects/Map/index.tsx | 5 +++++ src/views/CountryThreeWProjects/i18n.json | 1 - .../FieldReportDetails/EarlyWarningNumericDetails/i18n.json | 2 +- src/views/GlobalThreeW/Map/i18n.json | 3 ++- src/views/GlobalThreeW/Map/index.tsx | 1 + src/views/Resources/i18n.json | 6 +++--- src/views/SurgeOverview/SurgeMap/i18n.json | 2 +- 10 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/App/routes/index.tsx b/src/App/routes/index.tsx index 3c99f461c..720270c0f 100644 --- a/src/App/routes/index.tsx +++ b/src/App/routes/index.tsx @@ -53,7 +53,7 @@ const rootLayout = customWrapRoute({ }, wrapperComponent: Auth, context: { - title: 'IFRC Go', + title: 'IFRC GO', visibility: 'anything', }, }); diff --git a/src/components/GlobalFooter/i18n.json b/src/components/GlobalFooter/i18n.json index d0a61c13c..68e8be95a 100644 --- a/src/components/GlobalFooter/i18n.json +++ b/src/components/GlobalFooter/i18n.json @@ -1,7 +1,7 @@ { "namespace": "common", "strings": { - "footerAboutGo":"About Go", + "footerAboutGo":"About GO", "footerAboutGoDesc":"IFRC GO is a Red Cross Red Crescent platform to connect information on emergency needs with the right response.", "footerFindOutMore":"Find out more", "footerHelpfulLinks":"Helpful links", diff --git a/src/views/CountryThreeWProjects/Map/i18n.json b/src/views/CountryThreeWProjects/Map/i18n.json index 723d5b5ea..21b6482d6 100644 --- a/src/views/CountryThreeWProjects/Map/i18n.json +++ b/src/views/CountryThreeWProjects/Map/i18n.json @@ -4,6 +4,7 @@ "threeWMapLastUpdate": "Last Update", "threeWMapStatus": "Status", "threeWMapProgrammeType": "Programme Type", - "threeWMapBudget": "Budget" + "threeWMapBudget": "Budget", + "threeWMapTitle": "Projects in {countryName}" } } diff --git a/src/views/CountryThreeWProjects/Map/index.tsx b/src/views/CountryThreeWProjects/Map/index.tsx index b30e9eb7f..6b9717048 100644 --- a/src/views/CountryThreeWProjects/Map/index.tsx +++ b/src/views/CountryThreeWProjects/Map/index.tsx @@ -30,6 +30,7 @@ import { type GoApiResponse } from '#utils/restRequest'; import { type CountryOutletContext } from '#utils/outletContext'; import useGlobalEnums from '#hooks/domain/useGlobalEnums'; import useTranslation from '#hooks/useTranslation'; +import { resolveToString } from '#utils/translation'; import { getPointCirclePaint, @@ -338,6 +339,10 @@ function CountryThreeWMap(props: Props) { > 0 && (
{operationTypeOptions.map((d) => ( diff --git a/src/views/CountryThreeWProjects/i18n.json b/src/views/CountryThreeWProjects/i18n.json index 75dc73b64..09bf5265e 100644 --- a/src/views/CountryThreeWProjects/i18n.json +++ b/src/views/CountryThreeWProjects/i18n.json @@ -7,7 +7,6 @@ "totalProjectsTitle": "Total Projects", "ongoingProjectBudgetTitle": "Total Budget (CHF) for Ongoing Projects", "threeWOngoingProjectsTitle": "Ongoing Projects", - "exportProjects": "Export", "viewAllProjects": "View All Projects", "threeWInCountryMapSidebarTitle": "Projects by Province", "provinceProjects": "{provinceName} ({numProjects} Projects)", diff --git a/src/views/FieldReportDetails/EarlyWarningNumericDetails/i18n.json b/src/views/FieldReportDetails/EarlyWarningNumericDetails/i18n.json index 42dd4ec56..07649a3b8 100644 --- a/src/views/FieldReportDetails/EarlyWarningNumericDetails/i18n.json +++ b/src/views/FieldReportDetails/EarlyWarningNumericDetails/i18n.json @@ -1,7 +1,7 @@ { "namespace": "fieldReportDetails", "strings": { - "earlyPotentiallyAffectedRCLabel": "Potentiall Affected (RC)", + "earlyPotentiallyAffectedRCLabel": "Potentially Affected (RC)", "earlyPotentiallyAffectedGovernmentLabel": "Potentially Affected (Government)", "earlyPotentiallyAffectedOtherLabel": "Potentially Affected (Other)", "earlyPeopleAtHighestRiskRcLabel": "People at Highest Risk (RC)", diff --git a/src/views/GlobalThreeW/Map/i18n.json b/src/views/GlobalThreeW/Map/i18n.json index 4a3b75002..ada7f9aef 100644 --- a/src/views/GlobalThreeW/Map/i18n.json +++ b/src/views/GlobalThreeW/Map/i18n.json @@ -4,6 +4,7 @@ "multipleTypesLegend": "Multiple types", "ongoingProjectsMap": "Ongoing Projects", "mapTargetedPopulation": "Targeted Population", - "mapTopProjectSectors": "Top Project Sectors" + "mapTopProjectSectors": "Top Project Sectors", + "mapNSOngoingProjects": "NS Ongoing Projects" } } diff --git a/src/views/GlobalThreeW/Map/index.tsx b/src/views/GlobalThreeW/Map/index.tsx index 0818f11fd..ed924adf8 100644 --- a/src/views/GlobalThreeW/Map/index.tsx +++ b/src/views/GlobalThreeW/Map/index.tsx @@ -282,6 +282,7 @@ function GlobalThreeWMap(props: Props) { > {operationTypeOptions.map((d) => ( diff --git a/src/views/Resources/i18n.json b/src/views/Resources/i18n.json index 6abd9f524..d502a55f7 100644 --- a/src/views/Resources/i18n.json +++ b/src/views/Resources/i18n.json @@ -4,9 +4,9 @@ "aboutResourcesTitle": "IFRC GO - About", "aboutResources": "Resources", "resourcesDescription": "GO is a Red Cross Red Crescent platform to connect information on emergency needs with the right response.", - "goUserGuidance": "Go user guidance", - "goReferenceMaterial": "Go Reference Material", - "goUserAdminGuide": "Go User and Administrative Guide", + "goUserGuidance": "GO user guidance", + "goReferenceMaterial": "GO Reference Material", + "goUserAdminGuide": "GO User and Administrative Guide", "goUserAdministrativeGuide": "User guides help to explain the different functions and features of GO. Administrator guides include also back-end functions aimed at people who are helping to manage the site.", "goUserReferenceMaterial": "These materials provide more information on how and why GO does what it does.", "aboutGoUserLibrary": "GO User Library", diff --git a/src/views/SurgeOverview/SurgeMap/i18n.json b/src/views/SurgeOverview/SurgeMap/i18n.json index c25ed77c5..8361913e8 100644 --- a/src/views/SurgeOverview/SurgeMap/i18n.json +++ b/src/views/SurgeOverview/SurgeMap/i18n.json @@ -6,7 +6,7 @@ "deployedPersonnel": "Deployed Personnel", "surgeEruOnly": "ERU Only", "surgePersonnelOnly": "Rapid Response Only", - "surgeDownloadMapTitle": "Emergencies", + "surgeDownloadMapTitle": "Rapid Response deployments", "eruAndPersonnel": "ERUs & Rapid Response", "eruLabel": "ERU", "personnelLabel": "Rapid Response Personnel",