From d9006f7d40cad78d89585bc85f1cfe2e6b540eef Mon Sep 17 00:00:00 2001 From: Carlos Felix <63804190+carlosfelix2@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:00:21 -0500 Subject: [PATCH] Various requested content changes --- client/src/data/copy/about.tsx | 17 ++++------- client/src/data/copy/explore.tsx | 5 +++- client/src/intl/en.json | 8 +++--- client/src/intl/es.json | 8 +++--- .../tests/__snapshots__/about.test.tsx.snap | 28 +++++-------------- 5 files changed, 25 insertions(+), 41 deletions(-) diff --git a/client/src/data/copy/about.tsx b/client/src/data/copy/about.tsx index b72bd1b8..ee628bff 100644 --- a/client/src/data/copy/about.tsx +++ b/client/src/data/copy/about.tsx @@ -36,10 +36,7 @@ export const CONTENT = { PARA1: Executive Order 14008. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are overburdened and underserved. - - `} + defaultMessage={`In January of 2021, President Biden issued Executive Order 14008. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are marginalized by underinvestment and overburdened by pollution.`} description={'Navigate to the About page. This is the paragraph 1'} values={{ link1: linkFn(EXEC_ORDER_LINK, false, true), @@ -49,9 +46,7 @@ export const CONTENT = { PARA2: Justice40 Initiative. The Justice40 Initiative seeks to deliver 40% of the overall benefits of investments in climate, clean energy, and related areas to disadvantaged communities. - `} + defaultMessage={`Federal agencies will use the tool to help identify disadvantaged communities that will benefit from programs included in the Justice40 Initiative. The Justice40 Initiative seeks to deliver 40% of the overall benefits of investments in climate, clean energy, and related areas to disadvantaged communities.`} description={'Navigate to the About page. This is the paragraph 2'} values={{ link1: linkFn(EXEC_ORDER_LINK, false, true), @@ -93,12 +88,13 @@ export const CONTENT = { Sign-up for updates from CEQ. + CEQ will continue to update the tool, after reviewing public feedback, + research, and the availability of new data. The current version of the + tool is version {version}. `} description={'Navigate to the About page. This is the paragraph 4'} values={{ version: VERSION_NUMBER, - link1: linkFn('https://lp.constantcontactpages.com/su/Vm8pCFj/spring', false, true), }} />, PARA5: @@ -124,8 +120,7 @@ export const CONTENT = { statistical areas are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages. - `} + The tool shows information about the burdens that communities experience. It uses datasets to identify indicators of burdens. The tool shows these burdens in census tracts. Census tracts are small units of geography. Census tract boundaries for statistical areas are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2020. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages and landless Tribes in the lower 48 states.`} description={'Navigate to the About page. This is the paragraph 4'} values={{ link1: linkFn('https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html', false, true), diff --git a/client/src/data/copy/explore.tsx b/client/src/data/copy/explore.tsx index 5ec6c40b..d6367fc9 100644 --- a/client/src/data/copy/explore.tsx +++ b/client/src/data/copy/explore.tsx @@ -33,7 +33,10 @@ export const PAGE_INTRO = defineMessages({ export const PAGE_DESCRIPTION1 = ; diff --git a/client/src/intl/en.json b/client/src/intl/en.json index 10b6c4cc..b7cc2e3e 100644 --- a/client/src/intl/en.json +++ b/client/src/intl/en.json @@ -8,7 +8,7 @@ "description": "Navigate to the About page. This is the paragraph 4" }, "about.page.how.to.use.tool.para1": { - "defaultMessage": "The tool shows information about the burdens that communities experience. It uses datasets to identify indicators of burdens. The tool shows these burdens in census tracts. Census tracts are small units of geography. Census tract boundaries for statistical areas are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages.", + "defaultMessage": "The tool shows information about the burdens that communities experience. It uses datasets to identify indicators of burdens. The tool shows these burdens in census tracts. Census tracts are small units of geography. Census tract boundaries for statistical areas are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2020. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages and landless Tribes in the lower 48 states.", "description": "Navigate to the About page. This is the paragraph 4" }, "about.page.how.to.use.tool.para2": { @@ -64,7 +64,7 @@ "description": "Navigate to the About page. This is the list item 2" }, "about.page.paragraph.1": { - "defaultMessage": "In January of 2021, President Biden issued Executive Order 14008. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are overburdened and underserved.", + "defaultMessage": "In January of 2021, President Biden issued Executive Order 14008. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are marginalized by underinvestment and overburdened by pollution.", "description": "Navigate to the About page. This is the paragraph 1" }, "about.page.paragraph.2": { @@ -76,7 +76,7 @@ "description": "Navigate to the About page. This is the paragraph 3" }, "about.page.paragraph.4": { - "defaultMessage": "CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. Sign-up for updates from CEQ.", + "defaultMessage": "CEQ will continue to update the tool, after reviewing public feedback, research, and the availability of new data. The current version of the tool is version {version}.", "description": "Navigate to the About page. This is the paragraph 4" }, "about.page.paragraph.5": { @@ -639,7 +639,7 @@ "description": "Navigate to the Downloads page, this will be the view of change log" }, "explore.map.page.description.1": { - "defaultMessage": "Census tracts that are overburdened and underserved are highlighted as being disadvantaged on the map. Federally Recognized Tribes, including Alaska Native Villages, are also considered disadvantaged communities.", + "defaultMessage": "Census tracts that are marginalized by underinvestment and overburdened by pollution are highlighted as being disadvantaged on the map. Federally Recognized Tribes, including Alaska Native Villages, are considered disadvantaged communities, whether or not they have land.", "description": "On the explore the map page, the first description of the page" }, "explore.map.page.description.2": { diff --git a/client/src/intl/es.json b/client/src/intl/es.json index 6d07cec8..b36e9f5a 100644 --- a/client/src/intl/es.json +++ b/client/src/intl/es.json @@ -1,7 +1,7 @@ { "about.page.getInvolved.title": "Participe", "about.page.how.to.use.para3": "Se considera que una comunidad está desfavorecida si se encuentra dentro de un distrito censal que cumple con la metodología de la herramienta o está en tierras dentro de los límites de las tribus reconocidas a nivel federal.", - "about.page.how.to.use.tool.para1": "La herramienta muestra información sobre las cargas que sufren las comunidades. Utiliza conjuntos de datos para identificar indicadores de cargas. La herramienta muestra estas cargas en distritos censales. Estos distritos censales son pequeñas unidades geográficas. Los límites de los distritos censales para áreas con fines estadísticos se determinan por medio de la Oficina del Censo de los Estados Unidos cada diez años. La herramienta utiliza los límites de los distritos censales de 2010. Se eligió esta opción porque muchas de las fuentes de datos de la herramienta actualmente usan los límites de dicho censo. La herramienta también muestra las tierras dentro de los límites de las tribus reconocidas a nivel federal y las ubicaciones puntuales de los pueblos nativos de Alaska.", + "about.page.how.to.use.tool.para1": "La herramienta muestra información sobre las cargas que sufren las comunidades. Utiliza conjuntos de datos para identificar indicadores de cargas. La herramienta muestra estas cargas en distritos censales. Estos distritos censales son pequeñas unidades geográficas. Los límites de los distritos censales para áreas con fines estadísticos se determinan por medio de la Oficina del Censo de los Estados Unidos cada diez años. La herramienta utiliza los límites de los distritos censales de 2020. Se eligió esta opción porque muchas de las fuentes de datos de la herramienta actualmente usan los límites de dicho censo. La herramienta también muestra las tierras dentro de los límites de las tribus reconocidas a nivel federal y las ubicaciones puntuales de los pueblos nativos de Alaska y tribus sin tierras en los 48 estados contiguos.", "about.page.how.to.use.tool.para2": "La herramienta clasifica la mayoría de las cargas mediante el uso de percentiles. Los percentiles muestran la carga que experimenta cada distrito censal en comparación con otros distritos. Ciertas cargas utilizan porcentajes o un simple sí o no.", "about.page.how.to.use.tool.title": "Cómo usar la herramienta:", "about.page.how.you.can.help.heading": "Cómo contribuir para mejorar el mapa.", @@ -15,10 +15,10 @@ "about.page.join.opensource.heading": "Súmese a la comunidad de código abierto.", "about.page.list.item.1": "Memorándum sobre el uso del CEJST para la iniciativa Justice40.", "about.page.list.item.2": "Instrucciones para los organismos federales sobre el uso de la CEJST.", - "about.page.paragraph.1": "En enero de 2021, el presidente Biden emitió la Orden ejecutiva 14008. Dicha orden disponía que el Consejo sobre la Calidad del Medio Ambiente (CEQ) elaborase una nueva herramienta. Esta herramienta se denomina Herramienta de evaluación de la justicia climática y económica. La herramienta tiene un mapa interactivo y utiliza conjuntos de datos que son indicadores de cargas en ocho categorías: cambio climático, energía, salud, vivienda, contaminación heredada, transporte, agua y aguas residuales, y formación de la fuerza laboral. La herramienta utiliza esta información para identificar a las comunidades que experimentan estas cargas. Éstas son las comunidades desfavorecidas porque están sobrecargadas y desatendidas.", + "about.page.paragraph.1": "En enero de 2021, el presidente Biden emitió la Orden ejecutiva 14008. Dicha orden disponía que el Consejo sobre la Calidad del Medio Ambiente (CEQ) elaborase una nueva herramienta. Esta herramienta se denomina Herramienta de evaluación de la justicia climática y económica. La herramienta tiene un mapa interactivo y utiliza conjuntos de datos que son indicadores de cargas en ocho categorías: cambio climático, energía, salud, vivienda, contaminación heredada, transporte, agua y aguas residuales, y formación de la fuerza laboral. La herramienta utiliza esta información para identificar a las comunidades que experimentan estas cargas. Éstas son las comunidades desfavorecidas porque están marginadas por la falta de inversión y sobrecargadas por la contaminación.", "about.page.paragraph.2": "Los organismos federales utilizarán la herramienta para ayudar a identificar a las comunidades desfavorecidas que se beneficiarán de los programas incluidos en la Iniciativa Justice40. La Iniciativa Justice40 pretende hacer llegar el 40% de los beneficios globales de las inversiones en clima, energía no contaminante y áreas relacionadas a las comunidades desfavorecidas.", "about.page.paragraph.3": "Los organismos federales también deberán usar lo siguiente:", - "about.page.paragraph.4": "El CEQ actualizará la herramienta cada año basándose en los comentarios del público, la investigación y la disponibilidad de nuevos datos. La versión actual de la herramienta es la versión {version}. Suscríbase para recibir actualizaciones del CEQ.", + "about.page.paragraph.4": "El CEQ continuará actualizando la herramienta, después de revisar los comentarios del público, las investigaciones y la disponibilidad de nuevos datos. La versión actual de la herramienta es la versión {version}.", "about.page.paragraph.5": "Próximamente estará disponible una versión en español del sitio.", "about.page.send.feedback.email.link": "Contacto", "about.page.send.feedback.heading": "Enviar comentarios", @@ -158,7 +158,7 @@ "downloads.page.heading1.text": "Descargas", "downloads.page.title.text": "Descargas", "downloads.page.view.text": "Visualización", - "explore.map.page.description.1": "Los distritos censales que están sobrecargados y desatendidos se resaltan como desfavorecidos en el mapa. Las tribus reconocidas a nivel federal, incluidos los pueblos nativos de Alaska, también se consideran comunidades desfavorecidas.", + "explore.map.page.description.1": "Los distritos censales que están marginadas por la falta de inversión y sobrecargadas por la contaminación se resaltan como desfavorecidos en el mapa. Las tribus reconocidas a nivel federal, incluidos los pueblos nativos de Alaska, también se consideran comunidades desfavorecidas.", "explore.map.page.description.2": "Al ampliarla y seleccionarla se muestra información acerca de cada uno de los distritos censales.", "explore.map.page.explore.data.box.body": "Descargue los datos con documentación y archivo de forma de la página Descargas.", "explore.map.page.explore.data.box.title": "Obtención de datos", diff --git a/client/src/pages/tests/__snapshots__/about.test.tsx.snap b/client/src/pages/tests/__snapshots__/about.test.tsx.snap index 471e043e..5867810e 100644 --- a/client/src/pages/tests/__snapshots__/about.test.tsx.snap +++ b/client/src/pages/tests/__snapshots__/about.test.tsx.snap @@ -427,8 +427,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis >

- - In January of 2021, President Biden issued + In January of 2021, President Biden issued Executive Order 14008 - . The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are overburdened and underserved. - - + . The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are marginalized by underinvestment and overburdened by pollution.

- - Federal agencies will use the tool to help identify disadvantaged communities that will benefit from programs included in the + Federal agencies will use the tool to help identify disadvantaged communities that will benefit from programs included in the . The Justice40 Initiative seeks to deliver 40% of the overall benefits of investments in climate, clean energy, and related areas to disadvantaged communities. -

- CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version 2.0. - - Sign-up - - for updates from CEQ. + CEQ will continue to update the tool, after reviewing public feedback, + research, and the availability of new data. The current version of the + tool is version 2.0.

@@ -545,8 +532,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis > statistical areas - are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages. - + are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2020. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages and landless Tribes in the lower 48 states.

The tool ranks most of the burdens using percentiles. Percentiles show how much burden each tract experiences compared to other tracts. Certain burdens use percentages or a simple yes/no.