Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@
searchType === SearchTypes.DATASET || searchType === SearchTypes.LIST
) {
<div class="mr-10 scene-count">
{{ numberOfScenes$ | async }} {{ 'SCENE' | translate
}}{{ (numberOfScenes$ | async) === 1 ? '' : 's' }}
@let numberOfProducts = numberOfProducts$ | async;
@let virtualCount = totalVirtualProducts$ | async;
@let sceneCountDisplay = numberOfProducts - virtualCount;
{{ sceneCountDisplay }} {{ 'SCENE' | translate
}}{{ sceneCountDisplay === 1 ? '' : 's' }}
@if (numberOfProducts > 0) {
({{ numberOfProducts }} {{ numberOfProducts == 1 ? 'FILE' : 'FILES' | translate }})
}
@if (breakpoint > breakpoints.MOBILE) {
<span style="font-size: small">
<br />
@let virtualCount = totalVirtualProducts$ | async;
{{ (numberOfProducts$ | async) - virtualCount }}
@if (virtualCount > 0) {
({{ virtualCount }} {{ 'ADDITIONAL' | translate }})
}
{{ 'OF' | translate }}
{{ formatNumber(totalResultCount$ | async) }}
{{ 'FILE' | translate
}}{{ (numberOfProducts$ | async) === 1 ? '' : 's' }}
{{ sceneCountDisplay }}
{{ 'OF' | translate }}
{{ formatNumber(totalResultCount$ | async) }}
{{'TOTAL' | translate }} {{ numberOfProducts == 1 ? 'SCENE' : 'SCENES' | translate }}
</span>
}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@
"TIMELINE": "timeline",
"TITLE_HOW_CAN_WE_HELP_YOU": "title : \"How can we help you?\",",
"TO": "to",
"TOTAL": "Total",
"TO_A": "to a",
"TO_A ": " to a",
"TO_A_CSV_KML_OR_GEO_JSON_FILE_THE_KML_AND_GEO_JSON": "to a CSV, KML, or GeoJSON file. The KML and GeoJSON",
Expand Down