From 96e850658db881917b20f3e1b5b04a9aaf34da2b Mon Sep 17 00:00:00 2001 From: illfixit <66363651+illfixit@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:40:51 +0200 Subject: [PATCH] chore: limits exceeded tooltip --- .../asset-detail-dialog.component.html | 3 +- src/assets/i18n/en.json | 402 +++++++++--------- 2 files changed, 193 insertions(+), 212 deletions(-) diff --git a/src/app/shared/business/asset-detail-dialog/asset-detail-dialog.component.html b/src/app/shared/business/asset-detail-dialog/asset-detail-dialog.component.html index 74ae9b67..c4b84e3e 100644 --- a/src/app/shared/business/asset-detail-dialog/asset-detail-dialog.component.html +++ b/src/app/shared/business/asset-detail-dialog/asset-detail-dialog.component.html @@ -187,8 +187,7 @@ 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.' - | translate) + ? ('asset_detail_dialog.limit_exceeded_tooltip' | translate) : '' " [disabled]=" diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 92424b9d..f22ea9d3 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -1,170 +1,7 @@ { - "general.accept": "Accept", - "general.access_pol": "Access Policy", - "general.ad_inf": "Advanced Information", - "general.ad_info": "Advanced Information", - "general.add_add_header": "Add Additional Header", - "general.add_auth": "Add Authentication", - "general.add_header": "Additional Headers", - "general.add": "Add", - "general.additional_properties": "Additional Properties", - "general.asset": "Asset", - "general.assets": "Assets", - "general.auth_header": "Auth Header Name", - "general.auth_value": "Auth Header Value", - "general.auth": "Authentication", - "general.body": "Body", - "general.cancel": "Cancel", - "general.close": "Close", - "general.combine": "Combine", - "general.con_def": "Data Offer", - "general.conditions": "Conditions For Use", - "general.confirm": "Confirm", - "general.cons": "Constraints", - "general.consuming": "Consuming", - "general.contact": "Contact", - "general.content_type": "Content Type", - "general.contract_offer": "Contract Offer", - "general.contract_policy": "Contract Policy", - "general.contract": "Contract Agreement", - "general.copy_to_clipboard_tooltip": "Copy to clipboard", - "general.coverage": "Temporal Coverage", - "general.create": "Create", - "general.data_category": "Data Category", - "general.data_model": "Data Model", - "general.data_subcategory": "Data Subcategory", - "general.data": "Data Samples", - "general.date": "Date", - "general.delete": "Delete", - "general.description": "Description", - "general.details": "Show Details", - "general.direction": "Direction", - "general.disable": "Disable", - "general.doc": "Documentation", - "general.edit": "Edit", - "general.enable": "Enable", - "general.end_date": "End date", - "general.endpoint_doc": "Endpoint Documentation", - "general.endpoint": "Connector Endpoint", - "general.error": "Error", - "general.files": "Reference Files", - "general.frequency": "Data Update Frequency", - "general.geo_location": "Geo Location", - "general.geo_reference_method_tooltip": "The method used for representing of geographical data, e.g GeoJSON, OpenLR, etc.", - "general.geo_reference_method": "Geo reference method", - "general.header_name": "Header Name", - "general.header_sec": "Header with Vault Secret", - "general.header_val": "Header with Value", - "general.header_value": "Header Value", - "general.hide": "Hide", - "general.id": "Contract Offer ID", - "general.irr_pol": "Irregular Policy", - "general.language": "Language", - "general.limit_reached": "You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.", - "general.loading": "Loading...", - "general.loading1": "Loading", - "general.method_para": "Method Parameterization", - "general.method": "Method", - "general.name": "Name", - "general.nuts": "NUTS Locations", - "general.operator": "Operator", - "general.oth_connector": "Other Connector", - "general.page": "Page", - "general.parametrization": "Parameterization", - "general.params": "Query Params", - "general.path": "Path", - "general.policies": "Policies", - "general.policy": "Policy", - "general.providing": "Providing", - "general.pub_asset_only_tooltip": "Create the asset but do not publish your data offer. You can do it later.", - "general.pub_asset_only": "Create asset only (without data offer)", - "general.pub_desc": "Publish data offer to other data space participants", - "general.pub_mode": "Publishing Mode", - "general.pub_restr_tooltip": "Your data offer is published with restrictions of your choice.", - "general.pub_restr": "Publish restricted", - "general.pub_unrestr_tooltip": "Your data offer is published and can be accessed by everyone.", - "general.pub_unrestr": "Publish unrestricted", - "general.publish": "Publish", - "general.publisher": "Publisher", - "general.publishing": "Publishing", - "general.refresh": "Refresh", - "general.rem_auth": "Remove Authentication", - "general.remove": "Remove", - "general.select_an_option": "Select an option", - "general.show_adv_fields": "Show Advanced Fields", - "general.show_data": "Show Data Samples", - "general.show_files": "Show Reference Files", - "general.show": "Show", - "general.signed": "Signed", - "general.sovereign": "Sovereign", - "general.standard_license": "Standard License", - "general.start_date": "Start date", - "general.state": "State", - "general.still_loading": "Still Loading...", - "general.tags": "Tags", - "general.terminate": "Terminate", - "general.terminated_by": "terminated by", - "general.title": "Title", - "general.total": "Total", - "general.transport_mode": "Transport Mode", - "general.type": "Type", - "general.update": "Update", - "general.updated": "Last updated", - "general.value": "Value", - "general.vault_secret": "Vault Secret Name", - "general.warn": "Warn", - - "tooltip.clipboard": "Copy to clipboard", - "tooltip.details": "Click for details", - "tooltip.failed_details": "Click for failed catalog details", - "tooltip.negotiate": "Cannot negotiate contracts with your own connector.", - - "notification.asset": "Successfully saved asset.", - "notification.compl_negotiation": "Contract Negotiation complete!", - "notification.failed_asset": "Failed saving asset!", - "notification.failed_create_policy": "Failed creating Policy!", - "notification.failed_refresh": "Failed refreshing asset list!", - "notification.failed_transfer_detail_fetch": "Failed to fetch asset details!", - "notification.negotiation": "Failed negotiating contract.", - "notification.starting_neg": "Failure starting negotiation.", - "notification.succ_pol": "Successfully created policy.", - - "component_library.accept_licence": "Hereby I agree that by pressing the 'Confirm' button, I accept the license\n terms, policies, and additional conditions for use, including any copyright\n notices, associated with the provider's offer.", - "component_library.agree": "I agree to the Data Offer Terms & Conditions", - "component_library.at": "Created At", - "component_library.connector_id_plural": "Connector IDs", - "component_library.connector_id": "Connector ID", - "component_library.content_type": "Content Type", - "component_library.data_offer": "Data Offer Terms & Conditions", - "component_library.delete_one": "Please confirm you want to delete", - "component_library.delete_title": "Deletion confirmation", - "component_library.delete_two": "This action cannot be undone.", - "component_library.http_param": "HTTP Data Source Parameterization", - "component_library.json_ld": "Show JSON-LD", - "component_library.json": "Cleaned JSON", - "component_library.negotiate": "Negotiate", - "component_library.negotiating": "Negotiating...", - "component_library.no_description": "No Description", - "component_library.no_transfer": "No transfer processes started yet.", - "component_library.organization": "Organization", - "component_library.oth_connector": "Other Connector", - "component_library.participant_id_plural": "Participant IDs", - "component_library.participant_id": "Participant ID", - "component_library.policy_details": "Show Policy Details", - "component_library.show_less": "Show less", - "component_library.show_more": "Show more", - "component_library.succ_negotiating": "Successfully Negotiated", - "component_library.t_history": "Transfer History", - "component_library.transfer": "Transfer", - "component_library.up_at": "Updated At", - - "services.curator_org": "Curator Organization Name", - "services.curator_url": "Curator URL", - "services.env_version": "Environment Version", - "services.failed_loading": "Failed loading connector information", - "services.main_url": "Maintainer URL", - "services.maintainer": "Maintainer Organization Name", - + "asset_detail_dialog.limit_exceeded_tooltip": "You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.", + "asset_detail_dialog.on_request_data_offer_description_html": "This data offer is not available for immediate consumption. However, the creator left an email address to contact them if interested.
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_title": "On Request Data Offer", "asset_list_page.add_file": "Add reference file", "asset_list_page.add_keyword": "Add keyword...", "asset_list_page.add_loc": "Add location", @@ -204,7 +41,6 @@ "asset_list_page.search_assets": "Search assets", "asset_list_page.title": "Assets", "asset_list_page.version": "Version", - "catalog_browser_page.con_endpoints": "Connector Endpoints", "catalog_browser_page.contract": "Contract Offer", "catalog_browser_page.endpoint_catalogs": "Other Connector Endpoint Catalogs", @@ -215,7 +51,42 @@ "catalog_browser_page.search": "Search catalog", "catalog_browser_page.title": "Catalog Browser", "catalog_browser_page.usage": "Already using", - + "component_library.accept_licence": "Hereby I agree that by pressing the 'Confirm' button, I accept the license\n terms, policies, and additional conditions for use, including any copyright\n notices, associated with the provider's offer.", + "component_library.agree": "I agree to the Data Offer Terms & Conditions", + "component_library.at": "Created At", + "component_library.connector_id_plural": "Connector IDs", + "component_library.connector_id": "Connector ID", + "component_library.content_type": "Content Type", + "component_library.data_offer": "Data Offer Terms & Conditions", + "component_library.delete_one": "Please confirm you want to delete", + "component_library.delete_title": "Deletion confirmation", + "component_library.delete_two": "This action cannot be undone.", + "component_library.http_param": "HTTP Data Source Parameterization", + "component_library.json_ld": "Show JSON-LD", + "component_library.json": "Cleaned JSON", + "component_library.negotiate": "Negotiate", + "component_library.negotiating": "Negotiating...", + "component_library.no_description": "No Description", + "component_library.no_transfer": "No transfer processes started yet.", + "component_library.organization": "Organization", + "component_library.oth_connector": "Other Connector", + "component_library.participant_id_plural": "Participant IDs", + "component_library.participant_id": "Participant ID", + "component_library.policy_details": "Show Policy Details", + "component_library.show_less": "Show less", + "component_library.show_more": "Show more", + "component_library.succ_negotiating": "Successfully Negotiated", + "component_library.t_history": "Transfer History", + "component_library.transfer": "Transfer", + "component_library.up_at": "Updated At", + "connector_ui.assets": "Assets", + "connector_ui.catalog": "Catalog Browser", + "connector_ui.contract": "Contract Definitions", + "connector_ui.contracts": "Contracts", + "connector_ui.dashboard": "Dashboard", + "connector_ui.logout": "Logout", + "connector_ui.policies": "Policies", + "connector_ui.transfer": "Transfer History", "contract_agreement_page.active_contracts": "Active Contracts", "contract_agreement_page.add_cus_query": "Add Custom Query Param", "contract_agreement_page.all_contracts": "All Contracts", @@ -249,10 +120,18 @@ "contract_agreement_page.search_def": "Search data offer", "contract_agreement_page.terminated_contracts": "Terminated Contracts", "contract_agreement_page.title": "Contracts", - "contract_definition_page.page": "Data Offer Page", "contract_definition_page.title": "Data Offers", - + "create_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.", + "create_asset.content_type_hint": "Describes the content type of the data as a MIME type, see", + "create_asset.data_model_tooltip": "Model for data exchange, e.g. DATEX II, TPEG for traffic and travel information, etc.", + "create_asset.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.", + "create_asset.endpoint_documentation_tooltip": "URL to the technical documentation about the data to be received.", + "create_asset.prefered_email_subject_tooltip": "When potential customers reach out to you via email, you’ll receive messages with this subject line.", + "create_asset.prefered_email_subject": "Preferred E-Mail Subject", + "create_asset.standard_license_tooltip": "URL of the license under which the data is offered", + "create_asset.title_tooltip": "The main title of your asset. It will also be the title of the data offering displayed in the catalog.", + "create_asset.version_tooltip": "The version of your asset. Especially useful if you have iterations of the same asset.", "create_data_offer_page.accept_placeholder": "Accept", "create_data_offer_page.add_data_sample": "Add data sample", "create_data_offer_page.add_location": "Add location", @@ -376,9 +255,7 @@ "create_data_offer_page.vault_secret_name": "Vault Secret Name", "create_data_offer_page.version_tooltip": "The version of your asset. Especially useful if you have iterations of the same asset.", "create_data_offer_page.version": "Version", - - "edit_asset_page.title": "Edit Asset", - + "create_policy_page.title": "Create Policy", "dashboard_page.about_ui": "About EDC UI", "dashboard_page.about": "About EDC", "dashboard_page.add_prop": "Additional Properties", @@ -437,7 +314,131 @@ "dashboard_page.your_assets": "Your Assets", "dashboard_page.your_def": "Your Contract Definitions", "dashboard_page.your_pol": "Your Policies", - + "edit_asset_page.title": "Edit Asset", + "general.accept": "Accept", + "general.access_pol": "Access Policy", + "general.ad_inf": "Advanced Information", + "general.ad_info": "Advanced Information", + "general.add_add_header": "Add Additional Header", + "general.add_auth": "Add Authentication", + "general.add_header": "Additional Headers", + "general.add": "Add", + "general.additional_properties": "Additional Properties", + "general.asset": "Asset", + "general.assets": "Assets", + "general.auth_header": "Auth Header Name", + "general.auth_value": "Auth Header Value", + "general.auth": "Authentication", + "general.body": "Body", + "general.cancel": "Cancel", + "general.close": "Close", + "general.combine": "Combine", + "general.con_def": "Data Offer", + "general.conditions": "Conditions For Use", + "general.confirm": "Confirm", + "general.cons": "Constraints", + "general.consuming": "Consuming", + "general.contact": "Contact", + "general.content_type": "Content Type", + "general.contract_offer": "Contract Offer", + "general.contract_policy": "Contract Policy", + "general.contract": "Contract Agreement", + "general.copy_to_clipboard_tooltip": "Copy to clipboard", + "general.coverage": "Temporal Coverage", + "general.create": "Create", + "general.data_category": "Data Category", + "general.data_model": "Data Model", + "general.data_subcategory": "Data Subcategory", + "general.data": "Data Samples", + "general.date": "Date", + "general.delete": "Delete", + "general.description": "Description", + "general.details": "Show Details", + "general.direction": "Direction", + "general.disable": "Disable", + "general.doc": "Documentation", + "general.edit": "Edit", + "general.enable": "Enable", + "general.end_date": "End date", + "general.endpoint_doc": "Endpoint Documentation", + "general.endpoint": "Connector Endpoint", + "general.error": "Error", + "general.files": "Reference Files", + "general.frequency": "Data Update Frequency", + "general.geo_location": "Geo Location", + "general.geo_reference_method_tooltip": "The method used for representing of geographical data, e.g GeoJSON, OpenLR, etc.", + "general.geo_reference_method": "Geo reference method", + "general.header_name": "Header Name", + "general.header_sec": "Header with Vault Secret", + "general.header_val": "Header with Value", + "general.header_value": "Header Value", + "general.hide": "Hide", + "general.id": "Contract Offer ID", + "general.irr_pol": "Irregular Policy", + "general.language": "Language", + "general.limit_reached": "You have reached the maximum number of consuming contracts. Please terminate one of the existing contracts to negotiate a new one.", + "general.loading": "Loading...", + "general.loading1": "Loading", + "general.method_para": "Method Parameterization", + "general.method": "Method", + "general.name": "Name", + "general.nuts": "NUTS Locations", + "general.operator": "Operator", + "general.oth_connector": "Other Connector", + "general.page": "Page", + "general.parametrization": "Parameterization", + "general.params": "Query Params", + "general.path": "Path", + "general.policies": "Policies", + "general.policy": "Policy", + "general.providing": "Providing", + "general.pub_asset_only_tooltip": "Create the asset but do not publish your data offer. You can do it later.", + "general.pub_asset_only": "Create asset only (without data offer)", + "general.pub_desc": "Publish data offer to other data space participants", + "general.pub_mode": "Publishing Mode", + "general.pub_restr_tooltip": "Your data offer is published with restrictions of your choice.", + "general.pub_restr": "Publish restricted", + "general.pub_unrestr_tooltip": "Your data offer is published and can be accessed by everyone.", + "general.pub_unrestr": "Publish unrestricted", + "general.publish": "Publish", + "general.publisher": "Publisher", + "general.publishing": "Publishing", + "general.refresh": "Refresh", + "general.rem_auth": "Remove Authentication", + "general.remove": "Remove", + "general.select_an_option": "Select an option", + "general.show_adv_fields": "Show Advanced Fields", + "general.show_data": "Show Data Samples", + "general.show_files": "Show Reference Files", + "general.show": "Show", + "general.signed": "Signed", + "general.sovereign": "Sovereign", + "general.standard_license": "Standard License", + "general.start_date": "Start date", + "general.state": "State", + "general.still_loading": "Still Loading...", + "general.tags": "Tags", + "general.terminate": "Terminate", + "general.terminated_by": "terminated by", + "general.title": "Title", + "general.total": "Total", + "general.transport_mode": "Transport Mode", + "general.type": "Type", + "general.update": "Update", + "general.updated": "Last updated", + "general.value": "Value", + "general.vault_secret": "Vault Secret Name", + "general.warn": "Warn", + "logout_page.title": "Logout", + "notification.asset": "Successfully saved asset.", + "notification.compl_negotiation": "Contract Negotiation complete!", + "notification.failed_asset": "Failed saving asset!", + "notification.failed_create_policy": "Failed creating Policy!", + "notification.failed_refresh": "Failed refreshing asset list!", + "notification.failed_transfer_detail_fetch": "Failed to fetch asset details!", + "notification.negotiation": "Failed negotiating contract.", + "notification.starting_neg": "Failure starting negotiation.", + "notification.succ_pol": "Successfully created policy.", "policy_definition_page.conn_res": "Connector-Restricted-Usage", "policy_definition_page.create_pol": "Create New Policy", "policy_definition_page.create_policy": "Create Policy", @@ -449,41 +450,6 @@ "policy_definition_page.search_pol": "Search policies", "policy_definition_page.time_res": "Time-Period-Restricted", "policy_definition_page.title": "Policies", - - "create_policy_page.title": "Create Policy", - - "transfer_history_page.counter_endpoint": "Counterparty Connector Endpoint", - "transfer_history_page.counter_id": "Counterparty Participant ID", - "transfer_history_page.no_trans": "No transfer history found.", - "transfer_history_page.page": "Transfer History Page", - "transfer_history_page.subtitle": "Transfer History Details", - "transfer_history_page.title": "Transfer History", - - "logout_page.title": "Logout", - - "connector_ui.assets": "Assets", - "connector_ui.catalog": "Catalog Browser", - "connector_ui.contract": "Contract Definitions", - "connector_ui.contracts": "Contracts", - "connector_ui.dashboard": "Dashboard", - "connector_ui.logout": "Logout", - "connector_ui.policies": "Policies", - "connector_ui.transfer": "Transfer History", - - "asset_detail_dialog.on_request_data_offer_description_html": "This data offer is not available for immediate consumption. However, the creator left an email address to contact them if interested.
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_title": "On Request Data Offer", - - "create_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.", - "create_asset.content_type_hint": "Describes the content type of the data as a MIME type, see", - "create_asset.data_model_tooltip": "Model for data exchange, e.g. DATEX II, TPEG for traffic and travel information, etc.", - "create_asset.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.", - "create_asset.endpoint_documentation_tooltip": "URL to the technical documentation about the data to be received.", - "create_asset.prefered_email_subject_tooltip": "When potential customers reach out to you via email, you’ll receive messages with this subject line.", - "create_asset.prefered_email_subject": "Preferred E-Mail Subject", - "create_asset.standard_license_tooltip": "URL of the license under which the data is offered", - "create_asset.title_tooltip": "The main title of your asset. It will also be the title of the data offering displayed in the catalog.", - "create_asset.version_tooltip": "The version of your asset. Especially useful if you have iterations of the same asset.", - "policy_expression.add_tooltip": "Conjunction of several expressions. Evaluates to true if and only if all child expressions are true", "policy_expression.or_tooltip": "Disjunction of several expressions. Evaluates to true if and only if at least one child expression is true", "policy_expression.participant_id_description": "Consumer's Participant ID, also called Connector ID, of the counter-party connector.", @@ -493,5 +459,21 @@ "policy_expression.time_restriction_title": "Time Restriction", "policy_expression.timespan_restriction_title": "Timespan Restriction", "policy_expression.timespan_restriction_tooltip": "Timespan at which the policy is evaluated. This can be used to restrict the data offer to certain time periods", - "policy_expression.xone_tooltip": "XONE operation. Evaluates to true if and only if exactly one child expression is true" + "policy_expression.xone_tooltip": "XONE operation. Evaluates to true if and only if exactly one child expression is true", + "services.curator_org": "Curator Organization Name", + "services.curator_url": "Curator URL", + "services.env_version": "Environment Version", + "services.failed_loading": "Failed loading connector information", + "services.main_url": "Maintainer URL", + "services.maintainer": "Maintainer Organization Name", + "tooltip.clipboard": "Copy to clipboard", + "tooltip.details": "Click for details", + "tooltip.failed_details": "Click for failed catalog details", + "tooltip.negotiate": "Cannot negotiate contracts with your own connector.", + "transfer_history_page.counter_endpoint": "Counterparty Connector Endpoint", + "transfer_history_page.counter_id": "Counterparty Participant ID", + "transfer_history_page.no_trans": "No transfer history found.", + "transfer_history_page.page": "Transfer History Page", + "transfer_history_page.subtitle": "Transfer History Details", + "transfer_history_page.title": "Transfer History" }