diff --git a/components/content/Search/SearchFilters/index.tsx b/components/content/Search/SearchFilters/index.tsx index e354bc0b..df6e6fc3 100644 --- a/components/content/Search/SearchFilters/index.tsx +++ b/components/content/Search/SearchFilters/index.tsx @@ -262,7 +262,7 @@ export const SearchFilters: React.FC = ({ ) { filters.push({ id: "api_only", - label: "API", + label: t(`resources|api`), // Special handling for API filter since it uses esRdfTypes isApiFilter: true, }); @@ -433,7 +433,7 @@ export const SearchFilters: React.FC = ({ filter.id === "hvd_only", )} @@ -496,7 +496,7 @@ export const SearchFilters: React.FC = ({ .then(() => search.doSearch()); } }} - label="API" + label={t(`resources|api`)} iconSize={iconSize} /> )} diff --git a/locales/en/filters.json b/locales/en/filters.json index a959952a..530674bd 100644 --- a/locales/en/filters.json +++ b/locales/en/filters.json @@ -4,8 +4,8 @@ }, "theme-input-label": "Search within filters", "group": { - "access": "Access", - "type": "Data type", + "access": "Availability", + "type": "Type of data", "actor": "Actors", "distribution": "Distribution" } diff --git a/locales/en/resources.json b/locales/en/resources.json index 1174b7cf..61b589bf 100644 --- a/locales/en/resources.json +++ b/locales/en/resources.json @@ -93,5 +93,6 @@ "http://publications.europa.eu/resource/authority/frequency/BIENNIAL": "Biennial", "http://publications.europa.eu/resource/authority/frequency/WEEKLY": "Weekly", "http://publications.europa.eu/resource/authority/frequency/ANNUAL": "Annual", - "http://purl.org/cld/freq/Annual": "Annual" + "http://purl.org/cld/freq/Annual": "Annual", + "api": "API/Data service" } diff --git a/locales/sv/filters.json b/locales/sv/filters.json index 67f3912e..2879b20b 100644 --- a/locales/sv/filters.json +++ b/locales/sv/filters.json @@ -4,7 +4,7 @@ }, "theme-input-label": "Sök inom filter", "group": { - "access": "Åtkomst", + "access": "Tillgänglighet", "type": "Typ av data", "actor": "Aktörer", "distribution": "Distribution" diff --git a/locales/sv/resources.json b/locales/sv/resources.json index 791970a6..a2aaf1df 100644 --- a/locales/sv/resources.json +++ b/locales/sv/resources.json @@ -91,5 +91,6 @@ "http://publications.europa.eu/resource/authority/frequency/BIENNIAL": "Vartannat år", "http://publications.europa.eu/resource/authority/frequency/WEEKLY": "Veckovis", "http://publications.europa.eu/resource/authority/frequency/ANNUAL": "Årlig", - "http://purl.org/cld/freq/Annual": "Årlig" + "http://purl.org/cld/freq/Annual": "Årlig", + "api": "API/Datatjänst" }