Spanish survey support (#1589)

* Spanish site improvements

* surveybutton localization

* Basic ES support. Localization done, too.

* Update test snapshots.

Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
This commit is contained in:
TomNUSDS 2022-04-27 07:38:59 -07:00 committed by GitHub
commit 5b5d6051a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 167 additions and 123 deletions

View file

@ -1040,17 +1040,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -454,7 +454,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<h3
class="usa-summary-box__heading"
>
Request for Infomation
Request for Information
</h3>
<div
class="usa-summary-box__text"
@ -710,17 +710,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -610,17 +610,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -572,17 +572,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -2647,17 +2647,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -1040,17 +1040,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>

View file

@ -572,17 +572,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="grid-container-desktop-lg"
data-testid="gridContainer"
>
<button
class="usa-button"
data-testid="button"
type="button"
<a
href="https://www.surveymonkey.com/r/cejst-survey"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
<button
class="usa-button"
data-testid="button"
type="button"
>
Help improve the site & data
<img
alt="launch icon"
src="test-file-stub"
/>
</button>
</a>
</div>
</footer>
</DocumentFragment>