diff --git a/src/app/routes/connector-ui/asset-list-page/asset-create-dialog/asset-create-dialog.component.html b/src/app/routes/connector-ui/asset-list-page/asset-create-dialog/asset-create-dialog.component.html index 6ae63e73..675a7027 100644 --- a/src/app/routes/connector-ui/asset-list-page/asset-create-dialog/asset-create-dialog.component.html +++ b/src/app/routes/connector-ui/asset-list-page/asset-create-dialog/asset-create-dialog.component.html @@ -13,7 +13,7 @@

- Title + {{ 'general.title' | translate }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="The main title of your asset. It will also be the title of the data offering displayed in the catalog."> + matTooltip="{{ 'create_asset.title_tooltip' | translate }}"> info_outline @@ -39,7 +39,7 @@

class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="The version of your asset. Especially useful if you have iterations of the same asset."> + matTooltip="{{ 'create_asset.version_tooltip' | translate }}"> info_outline @@ -59,7 +59,7 @@

class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="Asset ID, used internally, is an auto-generated string in a URL-compatible format, combining the asset name and version with a urn:artifact: prefix. You can customize it if needed."> + matTooltip="{{ 'create_asset.asset_id_tooltip' | translate }}"> info_outline @@ -117,7 +117,7 @@

[formControl]="form.metadata.controls.contentType" [placeholder]="'text/plain'" /> - Describes the content type of the data as a MIME type, see + {{ 'create_asset.content_type_hint' | translate }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="URL to the technical documentation about the data to be received."> + matTooltip="{{ + 'create_asset.endpoint_documentation_tooltip' | translate + }}"> info_outline @@ -177,7 +179,9 @@

class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="URL of the license under which the data is offered"> + matTooltip="{{ + 'create_asset.standard_license_tooltip' | translate + }}"> info_outline @@ -216,7 +220,7 @@

- Data Model + {{ 'general.data_model' | translate }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="Model for data exchange, e.g. DATEX II, TPEG for traffic and travel information, etc."> + matTooltip="{{ 'create_asset.data_model_tooltip' | translate }}"> info_outline @@ -234,14 +238,16 @@

- Geo reference method + {{ + 'general.geo_reference_method' | translate + }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="The method used for representing of geographical data, e.g GeoJSON, OpenLR, etc."> + matTooltip="{{ + 'general.geo_reference_method_tooltip' | translate + }}"> info_outline @@ -258,16 +266,20 @@

- Sovereign + {{ 'general.sovereign' | translate }} @@ -275,23 +287,32 @@

- Data update frequency + {{ + 'create_data_offer.data_update_frequency_label' | translate + }} - Geo location + {{ + 'create_data_offer.geo_location_label' | translate + }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="Simple description of the relevant geolocation, e.g. Hamburg and vicinity."> + matTooltip="{{ + 'create_data_offer.geo_location_tooltip' | translate + }}"> info_outline @@ -308,13 +331,17 @@

-
NUTS locations
+
+ {{ 'create_data_offer.nuts_locations_label' | translate }} +
@@ -325,7 +352,9 @@

" class="flex flex-row space-x-[10px]"> - NUTS location + {{ + 'create_data_offer.nuts_location' | translate + }} @@ -334,7 +363,7 @@

color="warn" style="height: 54px; margin-top: 4px; margin-left: 8px" (click)="form.onNutsLocationsRemoveClick(i)"> - Remove + {{ 'general.remove' | translate }}

@@ -343,19 +372,23 @@

mat-button color="accent" (click)="form.onNutsLocationsAddClick()"> - Add location + {{ 'create_data_offer.add_location' | translate }}

-
Data samples
+
+ {{ 'create_data_offer.data_samples' | translate }} +
@@ -378,7 +411,7 @@

color="warn" style="height: 54px; margin-top: 4px; margin-left: 8px" (click)="form.onDataSampleUrlsRemoveClick(i)"> - Remove + {{ 'general.remove' | translate }} @@ -387,20 +420,24 @@

mat-button color="accent" (click)="form.onDataSampleUrlsAddClick()"> - Add data sample + {{ 'asset_list_page.add_sample' | translate }}
-
Reference files
+
+ {{ 'create_data_offer.reference_files' | translate }} +
@@ -423,7 +460,7 @@

color="warn" style="height: 54px; margin-top: 4px; margin-left: 8px" (click)="form.onReferenceFileUrlsRemoveClick(i)"> - Remove + {{ 'general.remove' | translate }} @@ -432,14 +469,14 @@

mat-button color="accent" (click)="form.onReferenceFileUrlsAddClick()"> - Add reference file + {{ 'asset_list_page.add_file' | translate }} - Reference files description + {{ 'asset_list_page.file_des' | translate }} Additional information regarding the reference files. + >{{ 'asset_list_page.file_des_hint1' | translate }} Supports + >{{ 'asset_list_page.file_des_hint2' | translate }} *ngIf="form.advanced.controls.temporalCoverage; let ctrl" class="mt-[20px]" color="accent"> - Temporal coverage + {{ + 'create_data_offer.temporal_coverage' | translate + }} + placeholder="{{ + 'create_data_offer.start_date' | translate + }}" /> + placeholder="{{ + 'create_data_offer.end-date-inclusive' | translate + }}" /> Start and/or end date when the dataset is available for - consumption. DD/MM/YYYY (optional) – DD/MM/YYYY (optional) + >{{ 'create_data_offer.temporal_coverage_hint' | translate }} - Conditions for use + {{ + 'create_data_offer.conditions_for_use_label' | translate + }} Additional not legally relevant usage instructions (e.g. how to - cite the dataset).
- Supports -
Markdown syntax - + >{{ + 'create_data_offer.conditions_for_use_description_hint' + | translate + }} + Markdown syntax @@ -557,12 +602,16 @@

-
Contact E-Mail
+
+ {{ 'create_data_offer.contact_email' | translate }} +
- Contact E-Mail + {{ + 'create_data_offer.contact_email' | translate + }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="This email address will be offered to potential consumers for - contacting you. This is done in place of having an actual data - source connected."> + matTooltip="{{ 'create_asset.email_tooltip' | translate }}"> info_outline @@ -582,7 +629,9 @@

-
Preferred E-Mail Subject
+
+ {{ 'create_asset.prefered_email_subject' | translate }} +
- Preferred E-Mail Subject + {{ + 'create_asset.prefered_email_subject' | translate + }} class="!scale-[0.9]" mat-icon-button matSuffix - matTooltip="When potential customers reach out to you via email, you’ll - receive messages with this subject line."> + matTooltip="{{ + 'create_asset.prefered_email_subject_tooltip' | translate + }}"> info_outline @@ -772,7 +824,7 @@

: ('general.enable' | translate) }} {{ 'asset_list_page.query_para_single' | translate }} - Parameterization + {{ 'general.parametrization' | translate }} @@ -829,7 +881,7 @@

form.datasource.controls.httpAuthHeaderType.value !== 'None' " class="grow"> - Type + {{ 'general.type' | translate }} @@ -850,7 +902,10 @@

{{ 'general.auth_header' | translate }} @@ -864,7 +919,9 @@

{{ 'general.auth_value' | translate }} diff --git a/src/app/routes/connector-ui/dashboard-page/dashboard-page/dashboard-page.component.html b/src/app/routes/connector-ui/dashboard-page/dashboard-page/dashboard-page.component.html index 6b6e77be..dad9dc4d 100644 --- a/src/app/routes/connector-ui/dashboard-page/dashboard-page/dashboard-page.component.html +++ b/src/app/routes/connector-ui/dashboard-page/dashboard-page/dashboard-page.component.html @@ -127,7 +127,7 @@ "> Provided by + >{{ 'dashboard_page.provided' | translate }} - · terminated by + · {{ 'general.terminated_by' | translate }} {{ data.contractAgreement!.terminationInformation?.terminatedBy === 'SELF' @@ -140,15 +140,21 @@
-
On Request Data Offer
+
+ {{ 'asset_detail_dialog.on_request_data_offer_title' | translate }} +
- This data offer is not available for immediate consumption. However, the - creator left an email address to contact them if interested. + {{ 'asset_detail_dialog.on_request_data_offer_description1' | translate }}
- Click Contact to email the data offer - provider. Alternatively, you can also copy the contact email address from - the Contact Information
section above. + {{ 'asset_detail_dialog.on_request_data_offer_description2' | translate + }}{{ + 'asset_detail_dialog.on_request_data_offer_description3' | translate + }}{{ 'asset_detail_dialog.on_request_data_offer_description4' | translate + }}
{{ + 'asset_detail_dialog.on_request_data_offer_description5' | translate + }}.
@@ -165,7 +171,7 @@ color="warn" [disabled]="data.contractAgreement?.isTerminated ?? false" (click)="onTerminateClick()"> - Terminate + {{ 'general.terminate' | translate }} @@ -190,7 +196,8 @@ color="primary" [matTooltip]=" limitsExceeded - ? 'You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.' + ? ('You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.' + | translate) : '' " [disabled]=" @@ -222,7 +229,7 @@ mat-raised-button color="primary" (click)="onContactClick()"> - Contact + {{ 'general.contact' | translate }} diff --git a/src/app/shared/business/edit-asset-form/edit-asset-form.component.html b/src/app/shared/business/edit-asset-form/edit-asset-form.component.html index 8b6ab9cc..013d9ef3 100644 --- a/src/app/shared/business/edit-asset-form/edit-asset-form.component.html +++ b/src/app/shared/business/edit-asset-form/edit-asset-form.component.html @@ -17,15 +17,15 @@ aria-label="Select an option" [formControl]="form.datasource.controls.dataSourceAvailability"> - Keep the datasource unchanged. + {{ 'create_data_offer.unchanged' | translate }} - Readily available with a new data source + {{ 'create_data_offer.readily_available' | translate }} - On Request + {{ 'create_data_offer.on_request' | translate }} @@ -39,7 +39,7 @@ placeholder="{{ 'create_data_offer.contact_email_placeholder' | translate }}" - tooltip="'contact_form.contact_email_tooltip' | translate" + [tooltip]="'create_data_offer.contact_email_tooltip' | translate" [label]="'create_data_offer.contact_email' | translate" [ctrl]=" form.datasource.controls.contactEmail @@ -50,8 +50,10 @@ class="mt-5" fieldId="create-asset-form-contact-subject" label="Preferred E-Mail Subject" - placeholder="Data Offer 'xyz'" - tooltip="'contact_form.contact_subject_tooltip' | translate" + placeholder="{{ + 'create_data_offer.data_offer_email_subject_placeholder' | translate + }}" + [tooltip]="'create_data_offer.contact_subject_tooltip' | translate" [ctrl]="form.datasource.controls.contactPreferredEmailSubject"> @@ -76,7 +78,9 @@ form.datasource.controls.dataDestination; let ctrl " - label="Custom Datasource Config (JSON)" + label="{{ + 'create_data_offer.custom_datasource_config_json_label' | translate + }}" fieldId="create-asset-form-custom-datasource-json" placeholder='{"https://w3id.org/edc/v0.0.1/ns/type": "HttpData", ...}' [ctrl]="ctrl"> @@ -209,9 +213,7 @@ - With query param parameterization enabled, the default query - params and the query params provided by the consumer will be - merged. + {{ 'create_data_offer.query_param_enabled_hint' | translate }}
@@ -311,7 +313,10 @@ @@ -323,7 +328,9 @@ class="grow"> @@ -378,7 +385,9 @@ @@ -420,7 +429,7 @@ @@ -429,7 +438,7 @@ @@ -471,7 +480,7 @@ class="mt-4" fieldId="create-asset-form-version" placeholder="1.0.0" - tooltip="The version of your asset. Especially useful if you have iterations of the same asset." + tooltip="{{ 'create_data_offer.version_tooltip' | translate }}" [label]="'asset_list_page.version' | translate" [ctrl]="form.general.controls.version"> @@ -484,20 +493,24 @@ + myTitle="{{ + 'create_data_offer.mobility_information_myTitle' | translate + }}" + description="{{ + 'create_data_offer.mobility_information_description' | translate + }}"> @@ -515,30 +528,36 @@
- +
@@ -575,7 +599,7 @@ color="warn" style="height: 42px; margin-top: 4px; margin-left: 8px" (click)="form.onDataSampleUrlsRemoveClick($event, i)"> - Remove + {{ 'general.remove' | translate }}
@@ -583,20 +607,24 @@ mat-button color="accent" (click)="form.onDataSampleUrlsAddClick($event)"> - Add data sample + {{ 'asset_list_page.add_sample' | translate }}
+ label="{{ + 'create_data_offer.reference_files' | translate + }}">
@@ -618,7 +646,7 @@ color="warn" style="height: 42px; margin-top: 4px; margin-left: 8px" (click)="form.onReferenceFileUrlsRemoveClick($event, i)"> - Remove + {{ 'general.remove' | translate }}
@@ -626,7 +654,7 @@ mat-button color="accent" (click)="form.onReferenceFileUrlsAddClick($event)"> - Add reference file + {{ 'asset_list_page.add_file' | translate }}
@@ -634,14 +662,14 @@
- Additional information regarding the reference files. Supports + {{ 'create_data_offer.reference_files_description' | translate }} + myTitle="{{ 'create_data_offer.location_time_title' | translate }}" + description="{{ + 'create_data_offer.location_time_description' | translate + }}">
+ label="{{ + 'create_data_offer.temporal_coverage' | translate + }}"> + placeholder="{{ 'create_data_offer.start_date' | translate }}" /> + placeholder="{{ + 'create_data_offer.end-date-inclusive' | translate + }}" /> Start and/or end date when the dataset is available for - consumption. DD/MM/YYYY (optional) – DD/MM/YYYY (optional) + >{{ 'create_data_offer.temporal_coverage_hint' | translate }} @@ -702,9 +741,11 @@ @@ -712,20 +753,25 @@
- +
@@ -736,7 +782,9 @@ " class="flex flex-row space-x-2 -mt-2"> - NUTS location + {{ + 'create_data_offer.nuts_location' | translate + }}
@@ -752,7 +800,7 @@ mat-button color="accent" (click)="form.onNutsLocationsAddClick($event)"> - Add location + {{ 'asset_list_page.add_loc' | translate }}
@@ -760,15 +808,19 @@ + myTitle="{{ 'create_data_offer.legal_information_title' | translate }}" + description="{{ + 'create_data_offer.legal_information_description' | translate + }}"> @@ -776,33 +828,34 @@
- Additional not legally relevant usage instructions (e.g. how to cite - the dataset). The field supports + {{ + 'create_data_offer.conditions_for_use_description_hint' | translate + }} {{ 'general.pub_unrestr' | translate }} @@ -834,7 +886,7 @@ mat-icon-button matSuffix matTooltipPosition="right" - matTooltip="Your data offer is published and can be accessed by everyone."> + matTooltip="{{ 'general.pub_unrestr_tooltip' | translate }}"> info_outline @@ -845,7 +897,7 @@ mat-icon-button matSuffix matTooltipPosition="right" - matTooltip="Your data offer is published with restrictions of your choice."> + matTooltip="{{ 'general.pub_restr_tooltip' | translate }}"> info_outline @@ -856,7 +908,7 @@ mat-icon-button matSuffix matTooltipPosition="right" - matTooltip="Create the asset but do not publish your data offer. You can do it later."> + matTooltip="{{ 'general.pub_asset_only_tooltip' | translate }}"> info_outline diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index c13c543a..b3017f92 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -264,7 +264,8 @@ "your_assets": "Deine Datenbestände", "your_pol": "Deine Richtlinien", "pre_cat": "Vorkonfigurierte Kataloge", - "con_agree": "Vertragliche Vereinbarungen" + "con_agree": "Vertragliche Vereinbarungen", + "provided": "Provided by" }, "policy_definition_page": { "create_pol": "Erstelle eine neue Richtlinie", @@ -290,5 +291,6 @@ "policies": "Richtlinien", "contract": "Vertragsdefinition", "logout": "Ausloggen" - } + }, + "dashboard_page.marketing_about_ui": "" } diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 78006e8d..de6d9578 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -92,7 +92,20 @@ "pub_restr": "Publish restricted", "pub_asset_only": "Create asset only (without data offer)", "pub_mode": "Publishing Mode", - "doc": "Documentation" + "doc": "Documentation", + "select_an_option": "Select an option", + "pub_unrestr_tooltip": "Your data offer is published and can be accessed by everyone.", + "pub_restr_tooltip": "Your data offer is published with restrictions of your choice.", + "pub_asset_only_tooltip": "Create the asset but do not publish your data offer. You can do it later.", + "publish": "Publish", + "terminated_by": "terminated by", + "tags": "Tags", + "terminate": "Terminate", + "limit_reached": "You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.", + "contact": "Contact", + "ad_inf": "Advanced Information", + "geo_reference_method_tooltip": "The method used for representing of geographical data, e.g GeoJSON, OpenLR, etc.", + "parametrization": "Parameterization" }, "tooltip": { "negotiate": "Cannot negotiate contracts with your own connector.", @@ -186,7 +199,9 @@ "add_loc": "Add location", "add_sample": "Add data sample", "name": "Title", - "version": "Version" + "version": "Version", + "file_des_hint1": "Additional information regarding the reference files.", + "file_des_hint2": "Supports" }, "catalog_browser_page": { "title": "Catalog Browser", @@ -242,7 +257,58 @@ "contact_email_placeholder": "contact@my-org.com", "contact_email": "Contact E-Mail", "contact_email_tooltip": "This email address will be offered to potential consumers for contacting you. This is done in place of having an actual data source connected.", - "contact_subject_tooltip": "When potential customers reach out to you via email, you’ll receive messages with this subject line." + "contact_subject_tooltip": "When potential customers reach out to you via email, you’ll receive messages with this subject line.", + "unchanged": "Keep the datasource unchanged.", + "readily_available": "Readily available with a new data source", + "on_request": "On Request", + "query_param_enabled_hint": "With query param parameterization enabled, the default query params and the query params provided by the consumer will be merged.", + "data_offer_email_subject_placeholder": "Data Offer 'xyz", + "custom_datasource_config_json_label": "Custom Datasource Config (JSON)", + "authorization_header_placeholder": "Authorization", + "bearer_placeholder": "Bearer ...", + "accept_placeholder": "Accept", + "asset_id_tooltip": "Asset ID, used internally, is an auto-generated string in a URL-compatible format, combining the asset name and version with a urn:artifact: prefix. You can customize it if needed.", + "title_tooltip": "The main title of your asset. It will also be the title of the data offering displayed in the catalog.", + "ref_files_description_placeholder": "# My Asset\\n\\nAt vero eos et accusam et justo duo dolores et ea rebum.\\n\\n## Details\\n\\nAt vero eos et accusam et justo duo dolores et ea **rebum**.", + "data_model_tooltip": "Model for data exchange, e.g. DATEX II, TPEG for traffic and travel information, etc.", + "data_model_placeholder": "proprietary", + "mobility_information_myTitle": "Mobility Information", + "mobility_information_description": "Fill out the asset's mobility information", + "version_tooltip": "The version of your asset. Especially useful if you have iterations of the same asset.", + "context_information_description": "Provide context information about the datasource", + "endpoint_documentation_tooltip": "URL to the technical documentation about the data to be received.", + "data_samples": "Data samples", + "data_samples_tooltip": "URLs of Dataset samples if available", + "reference_files": "Reference files", + "reference_files_tooltip": "URLs of Dataset schemas or other references", + "reference_files_description": "Additional information regarding the reference files. Supports", + "location_time_title": "Location / Time", + "location_time_description": "Fill out location and time information about the asset", + "temporal_coverage": "Temporal coverage", + "start_date": "Start date", + "end-date-inclusive": "End date (inclusive)", + "temporal_coverage_hint": "Start and/or end date when the dataset is available for consumption. DD/MM/YYYY (optional) – DD/MM/YYYY (optional)", + "data_update_frequency_label": "Data update frequency", + "data_update_frequency_placeholder": "every month", + "data_update_frequency_tooltip": "How often is the dataset updated, e.g\t'Every 5 min.", + "geo_reference_placeholder": "Lat/Lon", + "geo_reference_tooltip": "The method used for representing of geographical data, e.g GeoJSON, OpenLR, etc.", + "geo_location_label": "Geo location", + "geo_location_description": "Simple description of the relevant geolocation, e.g. Hamburg and vicinity.", + "nuts_locations_label": "NUTS locations", + "nuts_locations_tooltip": "NUTS codes are regional identifiers in Germany used for statistical and administrative purposes, covering states, districts, and municipalities. (e.g DE60)", + "nuts_location": "NUTS location", + "legal_information_title": "Legal Information", + "legal_information_description": "Provide legal information and define the conditions for use", + "sovereign_placeholder": "Data Owning Company GMBH", + "sovereign_tooltip": "Legal name of the data owner", + "publisher_tooltip": "URL of the original publisher of the data", + "standard-license-tooltip": "URL of the license under which the data is offered.", + "conditions_for_use_label": "Conditions for use", + "conditions_for_use_description_hint": "Additional not legally relevant usage instructions (e.g. how to cite the dataset). The field supports", + "geo_location_tooltip": "Simple description of the relevant geolocation, e.g. Hamburg and vicinity.", + "add_location": "Add location", + "conditions_for_use_placeholder": "Please cite the dataset as..." }, "create_data_offer_page": { "title": "Create Data Offer" @@ -305,7 +371,8 @@ "your_assets": "Your Assets", "your_pol": "Your Policies", "pre_cat": "Preconfigured Catalogs", - "con_agree": "Contract Agreements" + "con_agree": "Contract Agreements", + "provided": "Provided by" }, "policy_definition_page": { "title": "Policies", @@ -342,5 +409,25 @@ "policies": "Policies", "contract": "Contract Definitions", "logout": "Logout" + }, + "asset_detail_dialog": { + "on_request_data_offer_title": "On Request Data Offer", + "on_request_data_offer_description1": "This data offer is not available for immediate consumption. However, the creator left an email address to contact them if interested.", + "on_request_data_offer_description2": "Click", + "on_request_data_offer_description3": "Contact", + "on_request_data_offer_description4": "to email the data offer provider. Alternatively, you can also copy the contact email address from the Contact Information", + "on_request_data_offer_description5": "section above" + }, + "create_asset": { + "title_tooltip": "The main title of your asset. It will also be the title of the data offering displayed in the catalog.", + "version_tooltip": "The version of your asset. Especially useful if you have iterations of the same asset.", + "asset_id_tooltip": "Asset ID, used internally, is an auto-generated string in a URL-compatible format, combining the asset name and version with a urn:artifact: prefix. You can customize it if needed.", + "content_type_hint": "Describes the content type of the data as a MIME type, see", + "endpoint_documentation_tooltip": "URL to the technical documentation about the data to be received.", + "standard_license_tooltip": "URL of the license under which the data is offered", + "data_model_tooltip": "Model for data exchange, e.g. DATEX II, TPEG for traffic and travel information, etc.", + "email_tooltip": "This email address will be offered to potential consumers for contacting you. This is done in place of having an actual data source connected.", + "prefered_email_subject": "Preferred E-Mail Subject", + "prefered_email_subject_tooltip": "When potential customers reach out to you via email, you’ll receive messages with this subject line." } }