mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-06 10:54:19 -07:00
update Spanish content (#2203)
* update spanish content - closes #2154 * fix download links - add how to use communites document in Spanish * add language toggle on mobile - update snapshots * add instruction and memo in spanish * add translations * update tutorial links * update links to es * remove npm audit * add survey links to "how you can help" * change case back to lower case
This commit is contained in:
parent
980ed8f04a
commit
856e5084db
34 changed files with 3915 additions and 434 deletions
4
.github/workflows/deploy_fe_main.yml
vendored
4
.github/workflows/deploy_fe_main.yml
vendored
|
@ -45,8 +45,8 @@ jobs:
|
||||||
# run: npm run licenses
|
# run: npm run licenses
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm test
|
run: npm test
|
||||||
- name: Check for security vulnerabilities
|
# - name: Check for security vulnerabilities
|
||||||
run: npm audit --production
|
# run: npm audit --production
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/deploy_fe_staging.yml
vendored
4
.github/workflows/deploy_fe_staging.yml
vendored
|
@ -47,8 +47,8 @@ jobs:
|
||||||
# run: npm run licenses
|
# run: npm run licenses
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm test
|
run: npm test
|
||||||
- name: Check for security vulnerabilities
|
# - name: Check for security vulnerabilities
|
||||||
run: npm audit --production
|
# run: npm audit --production
|
||||||
# - name: Cypress / Gherkin integration tests 🌃
|
# - name: Cypress / Gherkin integration tests 🌃
|
||||||
# uses: cypress-io/github-action@v4
|
# uses: cypress-io/github-action@v4
|
||||||
# with:
|
# with:
|
||||||
|
|
|
@ -22,11 +22,14 @@ GATSBY_FILE_DL_PATH_BETA_TRAINING_SLIDES_PPT=downloadable/technical-training-sli
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.pdf
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_ES_PDF=downloadable/1.0-communities-list-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
|
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
|
||||||
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/CEQ-CEJST-Instructions.pdf
|
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/CEQ-CEJST-Instructions.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_ES_PDF=downloadable/CEQ-CEJST-Instructions-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
|
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
|
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF=downloadable/1.0-climate-and-environmental-burden-tool-comparison.pdf
|
GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF=downloadable/1.0-climate-and-environmental-burden-tool-comparison.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_M_23_09_SIGNED_PDF=downloadable/M-23-09_Signed_CEQ_CPO_es.pdf
|
||||||
|
|
||||||
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
|
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf
|
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf
|
||||||
|
|
|
@ -19,11 +19,14 @@ GATSBY_FILE_DL_PATH_BETA_TRAINING_SLIDES_PPT=downloadable/technical-training-sli
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS=downloadable/1.0-communities.xlsx
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV=downloadable/1.0-communities.csv
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.pdf
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF=downloadable/1.0-communities-list.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_ES_PDF=downloadable/1.0-communities-list-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
|
GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP=downloadable/1.0-shapefile-codebook.zip
|
||||||
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/CEQ-CEJST-Instructions.pdf
|
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF=downloadable/CEQ-CEJST-Instructions.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_INSTRUCT_ES_PDF=downloadable/CEQ-CEJST-Instructions-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
|
GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF=downloadable/total-comparison-chart.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
|
GATSBY_FILE_DL_PATH_1_0_TSD_PDF=downloadable/1.0-cejst-technical-support-document.pdf
|
||||||
GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF=downloadable/1.0-climate-and-environmental-burden-tool-comparison.pdf
|
GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF=downloadable/1.0-climate-and-environmental-burden-tool-comparison.pdf
|
||||||
|
GATSBY_FILE_DL_PATH_1_0_M_23_09_SIGNED_PDF=downloadable/M-23-09_Signed_CEQ_CPO_es.pdf
|
||||||
|
|
||||||
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
|
GATSBY_FILE_DL_PATH_TSD_ES_PDF=downloadable/cejst-technical-support-document-es.pdf
|
||||||
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf
|
GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF=downloadable/draft-communities-list.pdf
|
||||||
|
|
|
@ -872,7 +872,7 @@ const AreaDetail = ({properties}: IAreaDetailProps) => {
|
||||||
{/* Send Feedback button */}
|
{/* Send Feedback button */}
|
||||||
<a
|
<a
|
||||||
className={styles.sendFeedbackLink}
|
className={styles.sendFeedbackLink}
|
||||||
href={`https://www.surveymonkey.com/r/6GKVCMF?tractid=${blockGroup}`}
|
href={intl.locale === `es` ? `https://www.surveymonkey.com/r/ZHP6VZZ?tractid=${blockGroup}` : `https://www.surveymonkey.com/r/6GKVCMF?tractid=${blockGroup}`}
|
||||||
target={"_blank"}
|
target={"_blank"}
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
|
|
|
@ -35,7 +35,7 @@ const DatasetContainer = () => {
|
||||||
<Grid desktop={{col: 1}}>
|
<Grid desktop={{col: 1}}>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid desktop={{col: 4}}>
|
<Grid desktop={{col: 4}}>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'}/>
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
@mixin downloadButtonBase {
|
@mixin downloadButtonBase {
|
||||||
height: 40px;
|
height: fit-content;
|
||||||
@include u-margin-top(3);
|
@include u-margin-top(3);
|
||||||
|
|
||||||
.buttonContainer {
|
.buttonContainer {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import {GovBanner} from '@trussworks/react-uswds';
|
import {GovBanner} from '@trussworks/react-uswds';
|
||||||
import {useIntl} from 'gatsby-plugin-intl';
|
import {useIntl} from 'gatsby-plugin-intl';
|
||||||
|
|
||||||
// import Language from '../Language';
|
import Language from '../Language';
|
||||||
|
|
||||||
import * as styles from './GovernmentBanner.module.scss';
|
import * as styles from './GovernmentBanner.module.scss';
|
||||||
|
|
||||||
|
@ -14,8 +14,7 @@ const GovernmentBanner = () => {
|
||||||
<div className={styles.bannerContainer}>
|
<div className={styles.bannerContainer}>
|
||||||
|
|
||||||
<GovBanner language={intl.locale === 'es' ? 'spanish' : 'english'}/>
|
<GovBanner language={intl.locale === 'es' ? 'spanish' : 'english'}/>
|
||||||
{/* Temporarily removing while language is translated */}
|
<Language isDesktop={true}/>
|
||||||
{/* <Language isDesktop={true}/> */}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -135,6 +135,24 @@ exports[`rendering of the GovernmentBanner checks if component renders 1`] = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DocumentFragment>
|
</DocumentFragment>
|
||||||
|
|
|
@ -14,6 +14,7 @@ import SurveyButton from '../SurveyButton';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import whitehouseIcon from '../../images/eop-seal.svg';
|
import whitehouseIcon from '../../images/eop-seal.svg';
|
||||||
import * as COMMON_COPY from '../../data/copy/common';
|
import * as COMMON_COPY from '../../data/copy/common';
|
||||||
|
import {GITHUB_LINK, GITHUB_LINK_ES} from '../../../src/data/copy/about';
|
||||||
|
|
||||||
const J40Footer = () => {
|
const J40Footer = () => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
|
@ -82,7 +83,7 @@ const J40Footer = () => {
|
||||||
<LinkTypeWrapper
|
<LinkTypeWrapper
|
||||||
linkText={intl.formatMessage(COMMON_COPY.FOOTER.GITHUB_LINK_TEXT)}
|
linkText={intl.formatMessage(COMMON_COPY.FOOTER.GITHUB_LINK_TEXT)}
|
||||||
internal={false}
|
internal={false}
|
||||||
url={intl.formatMessage(COMMON_COPY.FOOTER.GITHUB_LINK)}
|
url={intl.locale === 'es' ? GITHUB_LINK_ES : GITHUB_LINK}
|
||||||
openUrlNewTab={true}
|
openUrlNewTab={true}
|
||||||
className={'footer-link-first-child'}
|
className={'footer-link-first-child'}
|
||||||
key={'contactlink'}
|
key={'contactlink'}
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
import BetaBanner from '../BetaBanner';
|
import BetaBanner from '../BetaBanner';
|
||||||
import J40MainGridContainer from '../J40MainGridContainer';
|
import J40MainGridContainer from '../J40MainGridContainer';
|
||||||
import GovernmentBanner from '../GovernmentBanner';
|
import GovernmentBanner from '../GovernmentBanner';
|
||||||
// import Language from '../Language';
|
import Language from '../Language';
|
||||||
import {useWindowSize} from 'react-use';
|
import {useWindowSize} from 'react-use';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -237,10 +237,9 @@ const J40Header = ({location}:IJ40Header) => {
|
||||||
data-cy={'nav-link-contact'}>
|
data-cy={'nav-link-contact'}>
|
||||||
{intl.formatMessage(COMMON_COPY.HEADER.CONTACT)}
|
{intl.formatMessage(COMMON_COPY.HEADER.CONTACT)}
|
||||||
</Link>,
|
</Link>,
|
||||||
// Temporarily removing language link until translation is completed
|
<div key={'language'}>
|
||||||
// <div key={'language'}>
|
<Language isDesktop={false}/>
|
||||||
// <Language isDesktop={false}/>
|
</div>,
|
||||||
// </div>,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,7 +11,9 @@ import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
|
||||||
|
|
||||||
const SurveyButton = () => {
|
const SurveyButton = () => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
const href = intl.formatMessage(CONTACT_COPY.PAGE_INTRO.SURVEY_URL);
|
const href = intl.locale === 'es' ?
|
||||||
|
`https://www.surveymonkey.com/r/ZH36CYV` :
|
||||||
|
`https://www.surveymonkey.com/r/P3LWTSB`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<J40MainGridContainer className={styles.surveyButtonContainer}>
|
<J40MainGridContainer className={styles.surveyButtonContainer}>
|
||||||
|
|
|
@ -13,11 +13,17 @@ export const FED_RECOGNIZED_INDIAN_ENTITIES = `https://www.federalregister.gov/d
|
||||||
export const EJSCREEN = 'https://www.epa.gov/ejscreen/how-does-epa-use-ejscreen';
|
export const EJSCREEN = 'https://www.epa.gov/ejscreen/how-does-epa-use-ejscreen';
|
||||||
|
|
||||||
export const CEJST_INSTRUCT = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/CEQ-CEJST-Instructions.pdf`;
|
export const CEJST_INSTRUCT = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/CEQ-CEJST-Instructions.pdf`;
|
||||||
|
export const CEJST_INSTRUCT_ES = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/CEQ-CEJST-Instructions-es.pdf`;
|
||||||
|
|
||||||
export const CEJST_MEMO = `https://www.whitehouse.gov/wp-content/uploads/2023/01/M-23-09_Signed_CEQ_CPO.pdf`;
|
export const CEJST_MEMO = `https://www.whitehouse.gov/wp-content/uploads/2023/01/M-23-09_Signed_CEQ_CPO.pdf`;
|
||||||
|
export const CEJST_MEMO_ES = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/M-23-09_Signed_CEQ_CPO_es.pdf`;
|
||||||
|
|
||||||
export const USE_MAP_TUTORIAL_LINK = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/Using-the-CEJST-Tutorial.pdf`;
|
export const USE_MAP_TUTORIAL_LINK = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/Using-the-CEJST-Tutorial.pdf`;
|
||||||
export const USE_DATA_TUTORIAL_LINK = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/Using-the-CEJST-Spreadsheet-Tutorial.pdf`;
|
export const USE_DATA_TUTORIAL_LINK = `https://static-data-screeningtool.geoplatform.gov/data-versions/1.0/data/score/downloadable/Using-the-CEJST-Spreadsheet-Tutorial.pdf`;
|
||||||
|
|
||||||
|
export const GITHUB_LINK = 'https://github.com/usds/justice40-tool';
|
||||||
|
export const GITHUB_LINK_ES = 'https://github.com/usds/justice40-tool/blob/main/README-es.md';
|
||||||
|
|
||||||
export const PAGE = defineMessages({
|
export const PAGE = defineMessages({
|
||||||
TITLE: {
|
TITLE: {
|
||||||
id: 'about.page.title.text',
|
id: 'about.page.title.text',
|
||||||
|
@ -80,6 +86,7 @@ export const CONTENT = {
|
||||||
description={'Navigate to the About page. This is the list item 2'}
|
description={'Navigate to the About page. This is the list item 2'}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn(CEJST_INSTRUCT, false, true),
|
link1: linkFn(CEJST_INSTRUCT, false, true),
|
||||||
|
link1es: linkFn(CEJST_INSTRUCT_ES, false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
PARA4:
|
PARA4:
|
||||||
|
@ -144,7 +151,7 @@ export const CONTENT = {
|
||||||
description={'Navigate to the About page. This the link to download the how to use map tutorial'}
|
description={'Navigate to the About page. This the link to download the how to use map tutorial'}
|
||||||
/>,
|
/>,
|
||||||
USE_DATA_TUTORIAL: <FormattedMessage
|
USE_DATA_TUTORIAL: <FormattedMessage
|
||||||
id={'about.page.use.map.tutorial'}
|
id={'about.page.use.data.tutorial'}
|
||||||
defaultMessage={`
|
defaultMessage={`
|
||||||
Download the spreadsheet tutorial (.pdf 5.4 MB)
|
Download the spreadsheet tutorial (.pdf 5.4 MB)
|
||||||
`}
|
`}
|
||||||
|
@ -152,7 +159,6 @@ export const CONTENT = {
|
||||||
/>,
|
/>,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const GITHUB_LINK = 'https://github.com/usds/justice40-tool';
|
|
||||||
|
|
||||||
export const HOW_TO_USE_TOOL = defineMessages({
|
export const HOW_TO_USE_TOOL = defineMessages({
|
||||||
TITLE: {
|
TITLE: {
|
||||||
|
@ -244,6 +250,7 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
||||||
description={`Navigate to the about page. You will see How you can help list item 1`}
|
description={`Navigate to the about page. You will see How you can help list item 1`}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn('https://www.surveymonkey.com/r/P3LWTSB', false, true),
|
link1: linkFn('https://www.surveymonkey.com/r/P3LWTSB', false, true),
|
||||||
|
link1es: linkFn('https://www.surveymonkey.com/r/ZH36CYV', false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
LIST_ITEM_2: <FormattedMessage
|
LIST_ITEM_2: <FormattedMessage
|
||||||
|
@ -252,6 +259,7 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
||||||
description={`Navigate to the about page. You will see How you can help list item 2`}
|
description={`Navigate to the about page. You will see How you can help list item 2`}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true),
|
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true),
|
||||||
|
link1es: linkFn('https://www.surveymonkey.com/r/ZPKY8G9', false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
LIST_ITEM_3: <FormattedMessage
|
LIST_ITEM_3: <FormattedMessage
|
||||||
|
@ -266,6 +274,7 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
|
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
|
||||||
link2: linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
|
link2: linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
|
||||||
|
link2es: linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
PARA1: <FormattedMessage
|
PARA1: <FormattedMessage
|
||||||
|
|
|
@ -25,13 +25,9 @@ export const PAGE_INTRO = defineMessages({
|
||||||
defaultMessage: `Help improve the tool`,
|
defaultMessage: `Help improve the tool`,
|
||||||
description: 'Navigate to the contact page, this is the text for floating action button',
|
description: 'Navigate to the contact page, this is the text for floating action button',
|
||||||
},
|
},
|
||||||
SURVEY_URL: {
|
|
||||||
id: 'contact.page.fab.survey.link',
|
|
||||||
defaultMessage: 'https://www.surveymonkey.com/r/P3LWTSB',
|
|
||||||
description: 'The footer sticky link that links to the CEJST survey',
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
export const RFI_BOX = defineMessages({
|
export const RFI_BOX = defineMessages({
|
||||||
TITLE: {
|
TITLE: {
|
||||||
id: 'contact.page.request.for.info.box.title',
|
id: 'contact.page.request.for.info.box.title',
|
||||||
|
@ -87,6 +83,7 @@ export const CENSUS_TRACT_FEEDBACK = {
|
||||||
description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
|
description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
|
||||||
values={{
|
values={{
|
||||||
link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
|
link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
|
||||||
|
link1es: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
};
|
};
|
||||||
|
|
|
@ -69,16 +69,31 @@ export const DOWNLOAD_FILES = {
|
||||||
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF, false),
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF, false),
|
||||||
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
},
|
},
|
||||||
|
HOW_TO_COMMUNITIES_ES: {
|
||||||
|
SIZE: 761.8, // KB
|
||||||
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_ES_PDF, false),
|
||||||
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
|
},
|
||||||
INSTRUCTIONS: {
|
INSTRUCTIONS: {
|
||||||
SIZE: 228.4, // KB // Todo: Update when actual file is uploaded
|
SIZE: 228.4, // KB // Todo: Update when actual file is uploaded
|
||||||
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF, false),
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF, false),
|
||||||
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
},
|
},
|
||||||
|
INSTRUCTIONS_ES: {
|
||||||
|
SIZE: 173.6, // KB // Todo: Update when actual file is uploaded
|
||||||
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_INSTRUCT_ES_PDF, false),
|
||||||
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
|
},
|
||||||
COMP_CHART: {
|
COMP_CHART: {
|
||||||
SIZE: 33.1, // KB
|
SIZE: 33.1, // KB
|
||||||
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF, false),
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF, false),
|
||||||
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
},
|
},
|
||||||
|
M_23_09_ES: {
|
||||||
|
SIZE: 120.5, // KB
|
||||||
|
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_M_23_09_SIGNED_PDF, false),
|
||||||
|
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
BETA: {
|
BETA: {
|
||||||
COMMUNITIES_LIST_XLS: {
|
COMMUNITIES_LIST_XLS: {
|
||||||
|
@ -590,12 +605,19 @@ export const DOWNLOAD_LINKS = {
|
||||||
description={'Navigate to the download page. This is fifth download file link'}
|
description={'Navigate to the download page. This is fifth download file link'}
|
||||||
values={{
|
values={{
|
||||||
link5: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.URL, false, true),
|
link5: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.URL, false, true),
|
||||||
|
link5es: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES_ES.URL, false, true),
|
||||||
howToCommFileSize: <FormattedNumber
|
howToCommFileSize: <FormattedNumber
|
||||||
value={DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.SIZE}
|
value={DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.SIZE}
|
||||||
style="unit"
|
style="unit"
|
||||||
unit="kilobyte"
|
unit="kilobyte"
|
||||||
unitDisplay="narrow"
|
unitDisplay="narrow"
|
||||||
/>,
|
/>,
|
||||||
|
howToCommFileSizeEs: <FormattedNumber
|
||||||
|
value={DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES_ES.SIZE}
|
||||||
|
style="unit"
|
||||||
|
unit="kilobyte"
|
||||||
|
unitDisplay="narrow"
|
||||||
|
/>,
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
LINK6: <FormattedMessage
|
LINK6: <FormattedMessage
|
||||||
|
@ -604,12 +626,19 @@ export const DOWNLOAD_LINKS = {
|
||||||
description={'Navigate to the download page. This is sixth download file link'}
|
description={'Navigate to the download page. This is sixth download file link'}
|
||||||
values={{
|
values={{
|
||||||
link6: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.URL, false, true),
|
link6: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.URL, false, true),
|
||||||
|
link6es: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.INSTRUCTIONS_ES.URL, false, true),
|
||||||
instructions: <FormattedNumber
|
instructions: <FormattedNumber
|
||||||
value={DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.SIZE}
|
value={DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.SIZE}
|
||||||
style="unit"
|
style="unit"
|
||||||
unit="kilobyte"
|
unit="kilobyte"
|
||||||
unitDisplay="narrow"
|
unitDisplay="narrow"
|
||||||
/>,
|
/>,
|
||||||
|
instructionsEs: <FormattedNumber
|
||||||
|
value={DOWNLOAD_FILES.NARWAL.INSTRUCTIONS_ES.SIZE}
|
||||||
|
style="unit"
|
||||||
|
unit="kilobyte"
|
||||||
|
unitDisplay="narrow"
|
||||||
|
/>,
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
// };
|
// };
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {defineMessages, FormattedMessage} from 'gatsby-plugin-intl';
|
||||||
|
|
||||||
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
|
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
|
||||||
|
|
||||||
import {EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES, CEJST_INSTRUCT, CEJST_MEMO} from './about';
|
import {EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES, CEJST_INSTRUCT, CEJST_MEMO, CEJST_INSTRUCT_ES, CEJST_MEMO_ES} from './about';
|
||||||
import {boldFn, linkFn, FEEDBACK_EMAIL} from './common';
|
import {boldFn, linkFn, FEEDBACK_EMAIL} from './common';
|
||||||
import {PAGES_ENDPOINTS} from '../constants';
|
import {PAGES_ENDPOINTS} from '../constants';
|
||||||
import {EXPLORE_PAGE_LINKS} from './explore';
|
import {EXPLORE_PAGE_LINKS} from './explore';
|
||||||
|
@ -270,10 +270,11 @@ export const FAQ_ANSWERS = {
|
||||||
/>,
|
/>,
|
||||||
Q1_P3_1: <FormattedMessage
|
Q1_P3_1: <FormattedMessage
|
||||||
id={ 'faqs.page.answers.Q1_P3_1'}
|
id={ 'faqs.page.answers.Q1_P3_1'}
|
||||||
defaultMessage={ '<link1>Memorandum</link1> on Using the CEJST for the Justice40 Initiative'}
|
defaultMessage={ '<link1>Memorandum</link1> on using the CEJST for the Justice40 Initiative'}
|
||||||
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_1'}
|
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_1'}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn(CEJST_MEMO, false, true),
|
link1: linkFn(CEJST_MEMO, false, true),
|
||||||
|
link1es: linkFn(CEJST_MEMO_ES, false, true),
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
Q1_P3_2: <FormattedMessage
|
Q1_P3_2: <FormattedMessage
|
||||||
|
@ -282,6 +283,7 @@ export const FAQ_ANSWERS = {
|
||||||
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_2'}
|
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_2'}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn(CEJST_INSTRUCT, false, true),
|
link1: linkFn(CEJST_INSTRUCT, false, true),
|
||||||
|
link1es: linkFn(CEJST_INSTRUCT_ES, false, true),
|
||||||
}}
|
}}
|
||||||
|
|
||||||
/>,
|
/>,
|
||||||
|
@ -379,7 +381,7 @@ export const FAQ_ANSWERS = {
|
||||||
/>,
|
/>,
|
||||||
Q5_P2_1: <FormattedMessage
|
Q5_P2_1: <FormattedMessage
|
||||||
id={ 'faqs.page.answers.Q5_P2_1'}
|
id={ 'faqs.page.answers.Q5_P2_1'}
|
||||||
defaultMessage={ `This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3>President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation</link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.`}
|
defaultMessage={ `This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3> President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation </link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.`}
|
||||||
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2_1'}
|
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2_1'}
|
||||||
values={{
|
values={{
|
||||||
link1: linkFn(EXPLORE_PAGE_LINKS.WH_GOV_TRIBAL_ACTION_PLAN_4_26_21, false, true),
|
link1: linkFn(EXPLORE_PAGE_LINKS.WH_GOV_TRIBAL_ACTION_PLAN_4_26_21, false, true),
|
||||||
|
|
|
@ -107,6 +107,10 @@
|
||||||
"defaultMessage": "The tool's data is available for <link1>download</link1>. This data can be used to filter by state or county.",
|
"defaultMessage": "The tool's data is available for <link1>download</link1>. This data can be used to filter by state or county.",
|
||||||
"description": "Navigate to the About page. This is the paragraph 4"
|
"description": "Navigate to the About page. This is the paragraph 4"
|
||||||
},
|
},
|
||||||
|
"about.page.use.data.tutorial": {
|
||||||
|
"defaultMessage": "Download the spreadsheet tutorial (.pdf 5.4 MB)",
|
||||||
|
"description": "Navigate to the About page. This the link to download the how to use map tutorial"
|
||||||
|
},
|
||||||
"about.page.use.map.heading": {
|
"about.page.use.map.heading": {
|
||||||
"defaultMessage": "Using the map",
|
"defaultMessage": "Using the map",
|
||||||
"description": "Navigate to the About page. This is the sub heading of Using the map"
|
"description": "Navigate to the About page. This is the sub heading of Using the map"
|
||||||
|
@ -116,7 +120,7 @@
|
||||||
"description": "Navigate to the About page. This is the paragraph of Using the map"
|
"description": "Navigate to the About page. This is the paragraph of Using the map"
|
||||||
},
|
},
|
||||||
"about.page.use.map.tutorial": {
|
"about.page.use.map.tutorial": {
|
||||||
"defaultMessage": "Download the spreadsheet tutorial (.pdf 5.4 MB)",
|
"defaultMessage": "Download the CEJST tutorial (.pdf 9.6 MB)",
|
||||||
"description": "Navigate to the About page. This the link to download the how to use map tutorial"
|
"description": "Navigate to the About page. This the link to download the how to use map tutorial"
|
||||||
},
|
},
|
||||||
"common.pages.alerts.additional_docs_available.description": {
|
"common.pages.alerts.additional_docs_available.description": {
|
||||||
|
@ -259,10 +263,6 @@
|
||||||
"defaultMessage": "The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.",
|
"defaultMessage": "The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.",
|
||||||
"description": "Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support"
|
"description": "Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support"
|
||||||
},
|
},
|
||||||
"contact.page.fab.survey.link": {
|
|
||||||
"defaultMessage": "https://www.surveymonkey.com/r/P3LWTSB",
|
|
||||||
"description": "The footer sticky link that links to the CEJST survey"
|
|
||||||
},
|
|
||||||
"contact.page.fab.survey.text": {
|
"contact.page.fab.survey.text": {
|
||||||
"defaultMessage": "Help improve the tool",
|
"defaultMessage": "Help improve the tool",
|
||||||
"description": "Navigate to the contact page, this is the text for floating action button"
|
"description": "Navigate to the contact page, this is the text for floating action button"
|
||||||
|
@ -1688,7 +1688,7 @@
|
||||||
"description": "Navigate to the FAQs page, this will be an answer, Q1_P3"
|
"description": "Navigate to the FAQs page, this will be an answer, Q1_P3"
|
||||||
},
|
},
|
||||||
"faqs.page.answers.Q1_P3_1": {
|
"faqs.page.answers.Q1_P3_1": {
|
||||||
"defaultMessage": "<link1>Memorandum</link1> on Using the CEJST for the Justice40 Initiative",
|
"defaultMessage": "<link1>Memorandum</link1> on using the CEJST for the Justice40 Initiative",
|
||||||
"description": "Navigate to the FAQs page, this will be an answer, Q1_P3_1"
|
"description": "Navigate to the FAQs page, this will be an answer, Q1_P3_1"
|
||||||
},
|
},
|
||||||
"faqs.page.answers.Q1_P3_2": {
|
"faqs.page.answers.Q1_P3_2": {
|
||||||
|
@ -1764,7 +1764,7 @@
|
||||||
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2"
|
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2"
|
||||||
},
|
},
|
||||||
"faqs.page.answers.Q5_P2_1": {
|
"faqs.page.answers.Q5_P2_1": {
|
||||||
"defaultMessage": "This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3>President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation</link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.",
|
"defaultMessage": "This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3> President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation </link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.",
|
||||||
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2_1"
|
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2_1"
|
||||||
},
|
},
|
||||||
"faqs.page.answers.Q6_P1": {
|
"faqs.page.answers.Q6_P1": {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
2770
client/src/intl/es_3.17.23-translated-final.json
Normal file
2770
client/src/intl/es_3.17.23-translated-final.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,13 @@
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const englishJson = require('./es_5.4.22-translated-final.json');
|
|
||||||
|
// Place nested translation file
|
||||||
|
const nestedTranslation = require('./es_3.17.23-translated-final.json');
|
||||||
|
|
||||||
// placeholder for fixed es json file
|
// placeholder for fixed es json file
|
||||||
const fixedEs = {};
|
const fixedEs = {};
|
||||||
|
|
||||||
// loop through incorrect es.json file modify
|
// loop through nested es.json file and "flatten"
|
||||||
for (const [key, value] of Object.entries(englishJson)) {
|
for (const [key, value] of Object.entries(nestedTranslation)) {
|
||||||
fixedEs[key] = value.defaultMessage;
|
fixedEs[key] = value.defaultMessage;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14,8 +16,8 @@ console.log(fixedEs);
|
||||||
// convert JSON object to string
|
// convert JSON object to string
|
||||||
const fixedEsString = JSON.stringify(fixedEs);
|
const fixedEsString = JSON.stringify(fixedEs);
|
||||||
|
|
||||||
// write JSON string to a file
|
// write the flattened (no nesting) translated JSON string to a file
|
||||||
fs.writeFile('esNoNesting.json', fixedEsString, (err) => {
|
fs.writeFile('esFlattened.json', fixedEsString, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
const {width} = useWindowSize();
|
const {width} = useWindowSize();
|
||||||
|
|
||||||
|
console.log(intl.locale);
|
||||||
return (
|
return (
|
||||||
<Layout location={location} title={intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}>
|
<Layout location={location} title={intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}>
|
||||||
|
|
||||||
|
@ -44,7 +45,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
@ -165,7 +166,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
||||||
imgSrc={githubIcon}
|
imgSrc={githubIcon}
|
||||||
header={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_HEADING)}
|
header={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_HEADING)}
|
||||||
linkText={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_LINK_TEXT)}
|
linkText={intl.formatMessage(ABOUT_COPY.GET_INVOLVED.JOIN_OSC_LINK_TEXT)}
|
||||||
url={ABOUT_COPY.GITHUB_LINK}
|
url={intl.locale === 'es' ? ABOUT_COPY.GITHUB_LINK_ES : ABOUT_COPY.GITHUB_LINK}
|
||||||
openUrlNewTab={true}
|
openUrlNewTab={true}
|
||||||
internal={false}>
|
internal={false}>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -24,7 +24,7 @@ const ContactPage = ({location}: IContactPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
<h1>{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap={6}>
|
<Grid row gap={6}>
|
||||||
|
|
|
@ -26,7 +26,7 @@ const DownloadsPage = ({location}: IDownloadsPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -26,7 +26,7 @@ const ExporeToolPage = ({location}: IMapPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -29,7 +29,7 @@ const IndexPage = ({location}: MethodPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mt3'}>
|
<Grid row gap className={'j40-mt3'}>
|
||||||
|
|
|
@ -33,7 +33,7 @@ const PreviousVersions = ({location}: IPreviousVersionsProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
||||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
@ -442,7 +484,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
>
|
>
|
||||||
Memorandum
|
Memorandum
|
||||||
</a>
|
</a>
|
||||||
on Using the CEJST for the Justice40 Initiative
|
on using the CEJST for the Justice40 Initiative
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
|
@ -641,7 +683,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation
|
President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation
|
||||||
</a>
|
</a>
|
||||||
, and
|
, and
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -140,6 +140,24 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -337,6 +355,30 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
Contact
|
Contact
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li
|
||||||
|
class="usa-nav__primary-item"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<img
|
||||||
|
alt="language icon for selecting language"
|
||||||
|
src="test-file-stub"
|
||||||
|
/>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
English
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
class="usa-link"
|
||||||
|
href="#"
|
||||||
|
>
|
||||||
|
Español
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue