Skip to content

Commit

Permalink
Adjust the catalog description
Browse files Browse the repository at this point in the history
Most of the datasets are still from ArcGIS, but some will be from Meta,
Microsoft, Overture, etc too.
  • Loading branch information
bhousel committed Dec 10, 2024
1 parent 2d53d0f commit 2344772
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
6 changes: 2 additions & 4 deletions data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1119,14 +1119,15 @@ en:
rapid_feature_toggle:
license: License
toggle_all: Toggle all {rapidicon} data
view_manage_datasets: "Add/Manage Datasets"
add_manage_datasets: "Add/Manage Datasets"
center_map: Center map here
worldwide: Worldwide
no_datasets: No datasets available.
remove: Remove
add_dataset: Add Dataset
dataset_added: Dataset added
more_info: More Info
about_the_catalog: "These datasets have been provided as open data by various organizations and the Esri user community for the purpose of improving OpenStreetMap.<br/>You can learn more by clicking the links below, or visiting [the Rapid Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets)." # This string may contain markdown
clear_filters: Clear Filters
filter_datasets: filter datasets # placeholder text for the filter text
any_type: any type # placeholder text for the filter type dropdown
Expand Down Expand Up @@ -1159,9 +1160,6 @@ en:
omdFootways:
label: Open Data Footways
description: Open footways data collected from various local government entities.
esri:
title: ArcGIS Datasets
about: "These datasets have been provided as open data by the ArcGIS user community for the purpose of improving OpenStreetMap.<br/>You can learn more by visiting [the Rapid Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets)." # This string may contain markdown

rapid_poweruser_features:
beta: Beta Feature
Expand Down
7 changes: 2 additions & 5 deletions data/l10n/core.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1400,14 +1400,15 @@
"rapid_feature_toggle": {
"license": "License",
"toggle_all": "Toggle all {rapidicon} data",
"view_manage_datasets": "Add/Manage Datasets",
"add_manage_datasets": "Add/Manage Datasets",
"center_map": "Center map here",
"worldwide": "Worldwide",
"no_datasets": "No datasets available.",
"remove": "Remove",
"add_dataset": "Add Dataset",
"dataset_added": "Dataset added",
"more_info": "More Info",
"about_the_catalog": "These datasets have been provided as open data by various organizations and the Esri user community for the purpose of improving OpenStreetMap.<br/>You can learn more by clicking the links below, or visiting [the Rapid Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets).",
"clear_filters": "Clear Filters",
"filter_datasets": "filter datasets",
"any_type": "any type",
Expand Down Expand Up @@ -1446,10 +1447,6 @@
"omdFootways": {
"label": "Open Data Footways",
"description": "Open footways data collected from various local government entities."
},
"esri": {
"title": "ArcGIS Datasets",
"about": "These datasets have been provided as open data by the ArcGIS user community for the purpose of improving OpenStreetMap.<br/>You can learn more by visiting [the Rapid Guide](https://github.com/facebookmicrosites/Open-Mapping-At-Facebook/wiki/Esri-ArcGIS-FAQ) or [Esri/ArcGIS dataset page on the OSM Wiki](https://wiki.openstreetmap.org/wiki/Esri/ArcGIS_Datasets)."
}
},
"rapid_poweruser_features": {
Expand Down
4 changes: 2 additions & 2 deletions modules/ui/UiRapidCatalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ export class UiRapidCatalog extends EventEmitter {
$header = $header.merge($$header);

$header.selectAll('.rapid-catalog-header-text')
.text(l10n.t('rapid_feature_toggle.esri.title'));
.text(l10n.t('rapid_feature_toggle.add_manage_datasets'));

$header.selectAll('.rapid-catalog-header-about')
.html(marked.parse(l10n.t('rapid_feature_toggle.esri.about')));
.html(marked.parse(l10n.t('rapid_feature_toggle.about_the_catalog')));

$header.selectAll('.rapid-catalog-header-about a')
.attr('target', '_blank'); // make sure the markdown links go to a new page
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/UiRapidDatasetToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class UiRapidDatasetToggle {
$manageDatasets = $manageDatasets.merge($$manageDatasets);

$manageDatasets.selectAll('.rapid-feature-label')
.text(l10n.t('rapid_feature_toggle.view_manage_datasets'));
.text(l10n.t('rapid_feature_toggle.add_manage_datasets'));

$manageDatasets.selectAll('.rapid-checkbox-label use')
.attr('xlink:href', l10n.isRTL() ? '#rapid-icon-backward' : '#rapid-icon-forward');
Expand Down

0 comments on commit 2344772

Please sign in to comment.