diff --git a/app/src/app/[lng]/[inventory]/data/[step]/[subsector]/page.tsx b/app/src/app/[lng]/[inventory]/data/[step]/[subsector]/page.tsx index 2f80dbb6d..317cca7bb 100644 --- a/app/src/app/[lng]/[inventory]/data/[step]/[subsector]/page.tsx +++ b/app/src/app/[lng]/[inventory]/data/[step]/[subsector]/page.tsx @@ -36,6 +36,7 @@ import { import Link from "next/link"; import type { InventoryValueAttributes } from "@/models/InventoryValue"; import { getScopesForInventoryAndSector, SECTORS } from "@/util/constants"; +import { toKebabCase } from "@/util/helpers"; const MotionBox = motion( // the display name is added below, but the linter isn't picking it up @@ -123,7 +124,6 @@ function SubSectorPage({ const sectorData = inventoryProgress?.sectorProgress.find( (sector) => sector.sector.referenceNumber === getSectorRefNo(step), ); - const subSectorData: SubSectorAttributes | undefined = sectorData?.subSectors.find( (subSectorItem) => subSectorItem.subsectorId === subsector, @@ -384,7 +384,10 @@ function SubSectorPage({ fontWeight="normal" color="interactive.control" > - {t("commercial-and-institutional-building-description")} + {t( + toKebabCase(subSectorData?.subsectorName) + + "-description", + )} )} diff --git a/app/src/i18n/locales/de/data.json b/app/src/i18n/locales/de/data.json index 21fde0894..ea7cb2480 100644 --- a/app/src/i18n/locales/de/data.json +++ b/app/src/i18n/locales/de/data.json @@ -1090,5 +1090,23 @@ "activity-name-direct-N2O-from-managed-soils": "Direktes N2O aus bewirtschafteten Böden", "activity-name-indirect-N2O-from-managed-soils": "Indirektes N2O aus bewirtschafteten Böden", "activity-name-rice-cultivations": "Reisanbau", - "activity-name-harvested-wood-products": "Geerntete Holzprodukte" + "activity-name-harvested-wood-products": "Geerntete Holzprodukte", + "residential-buildings-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten", + "commercial-buildings-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten in Gewerbegebäuden", + "manufacturing-industries-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten in der verarbeitenden Industrie", + "energy-industries-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten in der Energieindustrie", + "agriculture-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten in der Landwirtschaft, Forstwirtschaft und Fischerei", + "non-specified-sources-distribution-losses-direct-measure-methodology-description": "Direkte Messung oder Überwachung von Emissionen bei Verteilungsverlusten für nicht spezifizierte Quellen", + "water-transportation-outside-direct-measure-methodology-description": "Direkte Messung von Emissionen aus dem Wassertransport, der außerhalb der Stadt beginnt oder endet", + "aviation-outside-direct-measure-methodology-description": "Direkte Messung von Emissionen aus der Luftfahrt, die außerhalb der Stadt beginnt oder endet", + "railway-outside-direct-measure-methodology-description": "Direkte Messung von Emissionen aus dem Schienenverkehr, der außerhalb der Stadt beginnt oder endet", + "on-road-transportation-outside-direct-measure-methodology-description": "Direkte Messung von Emissionen aus dem Straßenverkehr, der außerhalb der Stadt beginnt oder endet", + "emissions-from-industrial-processes-occurring-within-the-city-boundary-description": "Umfasst alle Emissionen aus industriellen Prozessen wie chemischen, metallurgischen und mineralischen Umwandlungen, die innerhalb der Stadtgrenzen stattfinden.", + "emissions-from-product-use-occurring-within-the-city-boundary-description": "Umfasst alle Emissionen, die durch die Verwendung von Produkten wie Farben, Lösungsmitteln und Klebstoffen innerhalb der Stadtgrenzen entstehen.", + "emissions-from-livestock-within-the-city-boundary-description": "Umfasst alle Emissionen, die mit Vieh innerhalb der Stadtgrenzen verbunden sind, einschließlich Quellen wie enterische Fermentation und Güllemanagement.", + "emissions-from-land-within-the-city-boundary-description": "Umfasst alle Emissionen aus Böden und anderen landbezogenen Quellen innerhalb der Stadtgrenzen, wie Boden-Kohlenstoff-Veränderungen und Biomasseverbrennung.", + "emissions-from-aggregate-sources-and-non-co-2-emission-sources-on-land-within-the-city-boundary-description": "Umfasst alle Emissionen aus aggregierten Quellen wie Kalkung und Harnstoffanwendung sowie nicht-CO2-Gase, die durch Landnutzungsaktivitäten innerhalb der Stadtgrenzen emittiert werden.", + "livestock-direct-measure-methodology-description": "Direkte Messung der Emissionen von Vieh", + "land-direct-measure-methodology-description": "Direkte Messung der Emissionen vom Land", + "aggregate-sources-and-non-co2-emission-sources-direct-measure-methodology-description": "Direkte Messung der Emissionen aus aggregierten Quellen und Nicht-CO2-Emissionen" } diff --git a/app/src/i18n/locales/en/data.json b/app/src/i18n/locales/en/data.json index a0162fdec..f255b218d 100644 --- a/app/src/i18n/locales/en/data.json +++ b/app/src/i18n/locales/en/data.json @@ -1092,5 +1092,23 @@ "aggregate-sources-and-non-co2-emission-sources-direct-measure-methodology": "Direct Measure", "gpc_basic": "GPC Basic", "gpc_basic_plus": "GPC Basic+", - "explanation-institutional-missing": "Institutional emissions are included in commercial emissions record" + "explanation-institutional-missing": "Institutional emissions are included in commercial emissions record", + "residential-buildings-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses ", + "commercial-buildings-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses for commercial buildings ", + "manufacturing-industries-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses for manufacturing industries ", + "energy-industries-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses for energy industries ", + "agriculture-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses for agriculture, forestry and fishing activities ", + "non-specified-sources-distribution-losses-direct-measure-methodology-description": "Direct metering or monitoring of emissions in distribution losses for non specified sources ", + "water-transportation-outside-direct-measure-methodology-description": "Direct measurement of emissions from water transportation that begins or finishes outside the city", + "aviation-outside-direct-measure-methodology-description": "Direct measurement of emissions from aviation that begins or finishes outside the city", + "railway-outside-direct-measure-methodology-description": "Direct measurement of emissions from railway that begins or finishes outside the city", + "on-road-transportation-outside-direct-measure-methodology-description": "Direct measurement of emissions from on road transportation that begins or finishes outside the city", + "emissions-from-industrial-processes-occurring-within-the-city-boundary-description": "Includes all emissions arising from industrial processes such as chemical, metallurgical, and mineral transformation that occur within the city's boundaries.", + "emissions-from-product-use-occurring-within-the-city-boundary-description": "Includes all emissions resulting from the use of products such as paints, solvents, and adhesives that occur within the city's boundaries.", + "emissions-from-livestock-within-the-city-boundary-description": "Includes all emissions associated with livestock located within the city's boundaries, encompassing sources such as enteric fermentation and manure management.", + "emissions-from-land-within-the-city-boundary-description": "Includes all emissions from soil and other land-related sources within the city's boundaries, such as soil carbon changes and biomass burning.", + "emissions-from-aggregate-sources-and-non-co-2-emission-sources-on-land-within-the-city-boundary-description": "Includes all emissions from aggregate sources such as liming and urea application, as well as non-CO2 gases emitted from land use activities within the city's boundaries.", + "livestock-direct-measure-methodology-description": "Direct measurement of emissions from livestock ", + "land-direct-measure-methodology-description": "Direct measurement of emissions from land ", + "aggregate-sources-and-non-co2-emission-sources-direct-measure-methodology-description": "Direct measurement of emissions from aggregate sources and non co2 emissions" } diff --git a/app/src/i18n/locales/es/data.json b/app/src/i18n/locales/es/data.json index a93cd52bb..c4b703ad0 100644 --- a/app/src/i18n/locales/es/data.json +++ b/app/src/i18n/locales/es/data.json @@ -1077,5 +1077,23 @@ "custom-emission-factor-name": "Factor de emisión personalizado", "gpc_basic": "GPC Básico", "gpc_basic_plus": "GPC Básico +", - "explanation-institutional-missing": "Las emisiones institucionales están incluidas en el registro de emisiones comerciales." + "explanation-institutional-missing": "Las emisiones institucionales están incluidas en el registro de emisiones comerciales.", + "residential-buildings-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución", + "commercial-buildings-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución para edificios comerciales", + "manufacturing-industries-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución para industrias manufactureras", + "energy-industries-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución para industrias energéticas", + "agriculture-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución para actividades agrícolas, forestales y pesqueras", + "non-specified-sources-distribution-losses-direct-measure-methodology-description": "Medición o monitoreo directo de emisiones en pérdidas de distribución para fuentes no especificadas", + "water-transportation-outside-direct-measure-methodology-description": "Medición directa de emisiones del transporte acuático que comienza o termina fuera de la ciudad", + "aviation-outside-direct-measure-methodology-description": "Medición directa de emisiones de la aviación que comienza o termina fuera de la ciudad", + "railway-outside-direct-measure-methodology-description": "Medición directa de emisiones del ferrocarril que comienza o termina fuera de la ciudad", + "on-road-transportation-outside-direct-measure-methodology-description": "Medición directa de emisiones del transporte por carretera que comienza o termina fuera de la ciudad", + "emissions-from-industrial-processes-occurring-within-the-city-boundary-description": "Incluye todas las emisiones derivadas de procesos industriales como la transformación química, metalúrgica y mineral que ocurren dentro de los límites de la ciudad.", + "emissions-from-product-use-occurring-within-the-city-boundary-description": "Incluye todas las emisiones resultantes del uso de productos como pinturas, solventes y adhesivos que ocurren dentro de los límites de la ciudad.", + "emissions-from-livestock-within-the-city-boundary-description": "Incluye todas las emisiones asociadas con el ganado ubicado dentro de los límites de la ciudad, abarcando fuentes como la fermentación entérica y la gestión del estiércol.", + "emissions-from-land-within-the-city-boundary-description": "Incluye todas las emisiones del suelo y otras fuentes relacionadas con la tierra dentro de los límites de la ciudad, como cambios en el carbono del suelo y quema de biomasa.", + "emissions-from-aggregate-sources-and-non-co-2-emission-sources-on-land-within-the-city-boundary-description": "Incluye todas las emisiones de fuentes agregadas como encalado y aplicación de urea, as�� como gases no CO2 emitidos por actividades de uso de la tierra dentro de los límites de la ciudad.", + "livestock-direct-measure-methodology-description": "Medición directa de emisiones del ganado", + "land-direct-measure-methodology-description": "Medición directa de emisiones de la tierra", + "aggregate-sources-and-non-co2-emission-sources-direct-measure-methodology-description": "Medición directa de emisiones de fuentes agregadas y emisiones no CO2" } diff --git a/app/src/i18n/locales/pt/data.json b/app/src/i18n/locales/pt/data.json index 37923025b..a7f029902 100644 --- a/app/src/i18n/locales/pt/data.json +++ b/app/src/i18n/locales/pt/data.json @@ -1069,5 +1069,23 @@ "custom-emission-factor-name": "Fator de emissão personalizado", "gpc_basic": "GPC Básico", "gpc_basic_plus": "GPC Básico +", - "explanation-institutional-missing": "As emissões institucionais estão incluídas no registro de emissões comerciais." + "explanation-institutional-missing": "As emissões institucionais estão incluídas no registro de emissões comerciais.", + "residential-buildings-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição", + "commercial-buildings-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição para edif��cios comerciais", + "manufacturing-industries-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição para indústrias de manufatura", + "energy-industries-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição para indústrias de energia", + "agriculture-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição para atividades agrícolas, florestais e pesqueiras", + "non-specified-sources-distribution-losses-direct-measure-methodology-description": "Medição ou monitoramento direto de emissões em perdas de distribuição para fontes não especificadas", + "water-transportation-outside-direct-measure-methodology-description": "Medição direta de emissões do transporte aquático que começa ou termina fora da cidade", + "aviation-outside-direct-measure-methodology-description": "Medição direta de emissões da aviação que começa ou termina fora da cidade", + "railway-outside-direct-measure-methodology-description": "Medição direta de emissões do transporte ferroviário que começa ou termina fora da cidade", + "on-road-transportation-outside-direct-measure-methodology-description": "Medição direta de emissões do transporte rodoviário que começa ou termina fora da cidade", + "emissions-from-industrial-processes-occurring-within-the-city-boundary-description": "Inclui todas as emissões decorrentes de processos industriais como transformação química, metalúrgica e mineral que ocorrem dentro dos limites da cidade.", + "emissions-from-product-use-occurring-within-the-city-boundary-description": "Inclui todas as emissões resultantes do uso de produtos como tintas, solventes e adesivos que ocorrem dentro dos limites da cidade.", + "emissions-from-livestock-within-the-city-boundary-description": "Inclui todas as emissões associadas ao gado localizado dentro dos limites da cidade, abrangendo fontes como fermentação entérica e manejo de esterco.", + "emissions-from-land-within-the-city-boundary-description": "Inclui todas as emissões do solo e outras fontes relacionadas à terra dentro dos limites da cidade, como mudanças no carbono do solo e queima de biomassa.", + "emissions-from-aggregate-sources-and-non-co-2-emission-sources-on-land-within-the-city-boundary-description": "Inclui todas as emissões de fontes agregadas como calagem e aplicação de ureia, bem como gases não CO2 emitidos por atividades de uso da terra dentro dos limites da cidade.", + "livestock-direct-measure-methodology-description": "Medição direta de emissões do gado", + "land-direct-measure-methodology-description": "Medição direta de emissões da terra", + "aggregate-sources-and-non-co2-emission-sources-direct-measure-methodology-description": "Medição direta de emissões de fontes agregadas e emissões não CO2" }