File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import StacLink from './StacLink.vue';
24
24
import STAC from ' ../models/stac' ;
25
25
import { formatMediaType , formatTemporalExtent } from ' @radiantearth/stac-fields/formatters' ;
26
26
import Utils from ' ../utils' ;
27
+ import { translateFields } from ' ../i18n' ;
27
28
28
29
export default {
29
30
name: ' Catalog' ,
@@ -85,14 +86,13 @@ export default {
85
86
return [];
86
87
}
87
88
let domains = {
88
- ' eo' : ' EO' ,
89
- ' forecast' : ' Forecast' ,
89
+ // todo: move translations to texts.json and add InSAR / ML
90
+ ' eo' : translateFields (' Electro-Optical' ),
91
+ ' forecast' : translateFields (' Forecast' ),
90
92
' insar' : ' InSAR' ,
91
93
' ml-model' : ' ML' ,
92
- ' pc' : ' Point Cloud' ,
93
- ' sar' : ' SAR' ,
94
- ' table' : ' Tabular' ,
95
- ' video' : ' Video'
94
+ ' pc' : translateFields (' Point Cloud' ),
95
+ ' sar' : translateFields (' SAR' )
96
96
};
97
97
return Object .keys (domains)
98
98
.filter (key => Utils .supportsExtension (this .data , ` https://stac-extensions.github.io/${ key} /v*/schema.json` ))
You can’t perform that action at this time.
0 commit comments