diff --git a/.gitignore b/.gitignore index b8cc2dff..a165f8f2 100644 --- a/.gitignore +++ b/.gitignore @@ -24,10 +24,6 @@ chrome-profiler-events*.json # IDE - VSCode .vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json .history/* # misc diff --git a/CHANGELOG.md b/CHANGELOG.md index daf82589..2703c3f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,8 +16,6 @@ the detailed section referring to by linking pull requests or issues. #### Major -- Internationalize the UI and add a German localization - #### Minor #### Patch @@ -34,6 +32,9 @@ the detailed section referring to by linking pull requests or issues. - Fixed config not being applied properly after a version upgrade - Fixed Date to DateTime conversion issues when using operators `LT` and `GT` ([#846](https://github.com/sovity/edc-ui/issues/846)) +- Added initial support for UI internationalization + ([#680](https://github.com/sovity/edc-ui/issues/680)) +- Implemented Data Offer wizard wording change request by MDS ### Deployment Migration Notes 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..fbd3ec86 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 @@ -7,29 +7,36 @@

{{ - 'asset_list_page.information' | translate + 'create_data_offer_page.general_information' | translate }}
- Title + {{ 'general.title' | translate }} - {{ 'asset_list_page.version' | translate }} + {{ + 'create_data_offer_page.version' | translate + }} 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_data_offer_page.version_tooltip' | translate + "> info_outline @@ -49,7 +58,9 @@

- {{ 'asset_list_page.asset_id' | translate }} + {{ + 'create_data_offer_page.asset_id' | translate + }} 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_data_offer_page.asset_id_tooltip' | translate + "> info_outline @@ -76,7 +89,9 @@

- {{ 'asset_list_page.file_des' | translate }} + {{ + 'create_data_offer_page.description' | translate + }} - {{ 'asset_list_page.descrip' | translate }} + {{ 'create_data_offer_page.description_supports' | translate }} @@ -111,13 +126,15 @@

- {{ 'general.content_type' | translate }} + {{ + 'create_data_offer_page.content_type' | translate + }} - Describes the content type of the data as a MIME type, see + {{ 'create_asset.content_type_hint' | translate }} - {{ 'general.endpoint_doc' | translate }} + {{ + 'create_data_offer_page.endpoint_documentation' | translate + }} @@ -151,13 +173,17 @@

- {{ 'general.publisher' | translate }} + {{ + 'create_data_offer_page.publisher' | translate + }} @@ -170,14 +196,16 @@

*ngIf="form.metadata.controls.standardLicense; let ctrl" class="grow"> {{ - 'general.standard_license' | translate + 'create_data_offer_page.standard_license_label' | translate }} @@ -216,7 +244,9 @@

- Data Model + {{ + 'create_data_offer_page.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_data_offer_page.data_model_tooltip' | translate + "> info_outline -
+
- - Geo reference method + + {{ + 'create_data_offer_page.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]=" + 'create_data_offer_page.geo_reference_tooltip' | translate + "> info_outline @@ -258,16 +294,22 @@

- Sovereign + {{ + 'create_data_offer_page.sovereign_label' | translate + }} @@ -275,23 +317,33 @@

- Data update frequency + {{ + 'create_data_offer_page.data_update_frequency_label' | translate + }} - Geo location + {{ + 'create_data_offer_page.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_page.geo_location_tooltip' | translate + "> info_outline @@ -308,13 +362,17 @@

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

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

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

@@ -343,19 +403,23 @@

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

-
Data samples
+
+ {{ 'create_data_offer_page.data_samples' | translate }} +
@@ -378,7 +442,7 @@

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

@@ -387,20 +451,24 @@

mat-button color="accent" (click)="form.onDataSampleUrlsAddClick()"> - Add data sample + {{ 'create_data_offer_page.add_data_sample' | translate }}

-
Reference files
+
+ {{ 'create_data_offer_page.reference_files' | translate }} +
@@ -423,7 +491,7 @@

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

@@ -432,14 +500,17 @@

mat-button color="accent" (click)="form.onReferenceFileUrlsAddClick()"> - Add reference file + {{ 'create_data_offer_page.add_reference_file' | translate }}

- Reference files description + {{ + 'create_data_offer_page.reference_files_description_label' + | translate + }} Additional information regarding the reference files. - Supports - Markdown syntax - + >{{ + 'create_data_offer_page.reference_files_description' | translate + }} + + Markdown syntax @@ -466,20 +537,25 @@

*ngIf="form.advanced.controls.temporalCoverage; let ctrl" class="mt-[20px]" color="accent"> - Temporal coverage + {{ + 'create_data_offer_page.temporal_coverage' | translate + }} + [placeholder]=" + 'create_data_offer_page.start_date' | translate + " /> + [placeholder]=" + 'create_data_offer_page.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_page.temporal_coverage_hint' | translate }} - Conditions for use + {{ + 'create_data_offer_page.conditions_for_use_label' | translate + }} Additional not legally relevant usage instructions (e.g. how to - cite the dataset).
- Supports - Markdown syntax - + >{{ + 'create_data_offer_page.conditions_for_use_description_hint' + | translate + }} + Markdown syntax
@@ -521,10 +601,10 @@

{{ - 'asset_list_page.datasource_info' | translate + 'create_data_offer_page.datasource_information' | translate }}
- {{ 'asset_list_page.datasource' | translate }} + {{ 'create_data_offer_page.datasource' | translate }}
@@ -543,7 +623,8 @@

let ctrl "> {{ - 'asset_list_page.datasource_config' | translate + 'create_data_offer_page.custom_datasource_config_json_label' + | translate }}