Skip to content

Commit 6f899b7

Browse files
Merge pull request #2536 from asfadmin/Yoreley-translations-updates
Update Spanish translations TOOL-4327
2 parents a6e8116 + fd25c68 commit 6f899b7

7 files changed

Lines changed: 88 additions & 83 deletions

File tree

src/app/app.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,10 +520,12 @@ export class AppComponent implements OnInit, OnDestroy, AfterViewInit {
520520
tapToDismiss: false,
521521
};
522522

523+
const cookieBannerMessage = this.translate.instant(
524+
'COOKIE_BANNER_MESSAGE',
525+
);
526+
const learnMore = this.translate.instant('LEARN_MORE');
523527
const toast = this.notificationService.info(
524-
'This website uses cookies to ensure you get the best \
525-
experience on our website. \
526-
<a href="https://cookiesandyou.com/" target="_blank">Learn More</a>',
528+
`${cookieBannerMessage} <a href="https://cookiesandyou.com/" target="_blank">${learnMore}</a>`,
527529
'',
528530
options,
529531
);

src/app/components/help/help-pages/help-login/help-login.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h1>{{ 'GETTING_AN_EARTH_DATA_ID_AND_LOGGING_IN' | translate }}</h1>
6969
<mat-icon>looks_two</mat-icon>
7070
</div>
7171
<div class="help-text-block">
72-
<div class="help-step">{{ 'sign in' | translate }}</div>
72+
<div class="help-step">{{ 'SIGN_IN' | translate }}</div>
7373
<p>
7474
{{
7575
'SIGN_IN_BY_CLICKING_THE_SIGN_IN_ICON_IN_THE_TOP_RIGHT_OF_THE_WINDOW_USE_YOUR_EARTHDATA_LOGIN_USERNAME_AND_PASSWORD'

src/app/components/map/attributions/attributions.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
>
2222
<span class="text-spacing">|</span>
2323
<a href="https://www.mapbox.com/map-feedback/" target="_blank"
24-
><strong>Improve this map</strong></a
24+
><strong>{{ 'IMPROVE_THIS_MAP' | translate }}</strong></a
2525
>
2626
</div>
2727
<div class="position-right--filler attribute-box">&nbsp;</div>

src/app/components/results-menu/scene-detail/image-dialog/image-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ <h3 class="mp0">
164164
<div class="on-demand-scene-names">
165165
<ul>
166166
<li>
167-
<b>{{ 'Secondary:' | translate }} </b>
167+
<b>{{ 'SECONDARY' | translate }} </b>
168168
{{ (scene$ | async).metadata?.job?.scenes[1].name }}
169169
</li>
170170
</ul>

src/app/components/shared/selectors/search-selector/search-selector.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2>{{ 'SAR_FILE_SEARCHES' | translate }}</h2>
88
(click)="onSetSearchType(searchTypes.DATASET)"
99
[class.active-btn]="selectedSearchType === searchTypes.DATASET"
1010
>
11-
<h3 matLine>{{ 'GEOGRAPHIC' | translate }}c</h3>
11+
<h3 matLine>{{ 'GEOGRAPHIC' | translate }}</h3>
1212
<p matLine>
1313
{{ 'SEARCH_BY_DATASET_TIME_GEOGRAPHY_AND_MORE' | translate }}
1414
</p>

src/assets/i18n/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204
"COPY_UR_LS": "Copy URLs",
205205
"COPY_URLS": "Copy URLs",
206206
"COPYRIGHT": "Copyright",
207+
"COOKIE_BANNER_MESSAGE": "This website uses cookies to ensure you get the best experience on our website.",
207208
"COREGISTERS_SAR_DATA_TO_THE_DEM_RATHER_THAN_USING_DEAD_RECKONING_BASED_ON_ORBIT_FILES": "Coregisters SAR data to the DEM, rather than using dead reckoning based on orbit files.",
208209
"CORPORATE_FARE_ASF": "corporate_fareASF",
209210
"COUNTRY": "Country",
@@ -491,6 +492,7 @@
491492
"IF_YOU_NEED_MORE_INFORMATION_ABOUT_A_PARTICULAR_DATASET_CLICK_ON_THE_HELP_ICON_IN_THE_DATASET_SELECTOR": "If you need more information about a particular dataset, click on the help icon in the Dataset selector.",
492493
"IF_YOU_WISH_TO": "If you wish to",
493494
"IMAGE_SEARCH": "image_search",
495+
"IMPROVE_THIS_MAP": "Improve this map",
494496
"IMPORT_AREA_OF_INTEREST": "Import Area of Interest",
495497
"IMPORT_FILE": "Import File",
496498
"IMPORTING": "Importing",

src/assets/i18n/es.json

Lines changed: 77 additions & 76 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)