Skip to content

Commit

Permalink
check dashboard, create data offer, assets pages
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Sep 26, 2024
1 parent 2f00fd0 commit 4867d23
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"i18n-ally.localesPaths": ["src/assets/i18n"]
"i18n-ally.localesPaths": ["src/assets/i18n"],
"i18n-ally.keystyle": "nested"
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ the detailed section referring to by linking pull requests or issues.

#### Major

- Internationalize the UI and add a German localization
- Add Support for the UI internationalization

#### Minor

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h1 mat-dialog-title>
</button>
</mat-form-field>

<div class="flex flex-row space-x-[10px]">
<div class="flex flex-row items-end space-x-[10px]">
<!-- Transport Mode -->
<transport-mode-select
class="grow"
Expand All @@ -270,7 +270,7 @@ <h1 mat-dialog-title>
"></transport-mode-select>

<!-- Geo reference method -->
<mat-form-field class="grow">
<mat-form-field class="grow align-middle">
<mat-label>{{
'create_data_offer_page.geo_reference_method' | translate
}}</mat-label>
Expand Down Expand Up @@ -506,7 +506,8 @@ <h1 mat-dialog-title>
<mat-form-field
*ngIf="form.advanced.controls.referenceFileUrls.length > 0">
<mat-label>{{
'create_data_offer_page.reference_files_description' | translate
'create_data_offer_page.reference_files_description_label'
| translate
}}</mat-label>
<textarea
class="h-28"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@
<div>
<p class="text-justify">
{{ 'dashboard_page.marketing_ce_intro' | translate }}
<a class="link" href="https://sovity.de" target="_blank">sovity</a>
<a class="link" href="https://sovity.de" target="_blank">sovity</a
><br />
{{ 'dashboard_page.marketing_ce_intro2' | translate }}
</p>
<div class="flex flex-row !space-x-[10px]">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<form class="flex flex-col gap-y-12 mt-4" [formGroup]="form.all">
<edit-asset-form-group
*ngIf="form.datasource"
[myTitle]="'create_data_offer_page.datasource' | translate"
[description]="
'create_data_offer_page.data_source_description' | translate
">
<!-- Datasource Type -->
[myTitle]="'create_data_offer_page.data_offer_type' | translate"
[description]="'create_data_offer_page.define_data_offer' | translate">
<!-- Data offer Type -->
<div *ngIf="multipleDataSourceOptionsAvailable()">
<edit-asset-form-label
htmlFor="create-asset-form-datasource-type"
[label]="'create_data_offer_page.data_type' | translate"
[label]="'create_data_offer_page.offer_type' | translate"
[ctrl]="
form.datasource.controls.dataSourceAvailability
"></edit-asset-form-label>
Expand Down
12 changes: 7 additions & 5 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,10 @@
"data_model": "Data Model",
"data_samples_tooltip": "URLs of Dataset samples if available",
"data_samples": "Data samples",
"data_source_description": "Define the datasource of the asset",
"define_data_offer": "Define the type of your offer",
"data_subcategory": "Data Subcategory",
"data_type": "Datasource Type",
"data_offer_type": "Data offer type",
"offer_type": "Offer Type",
"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.",
Expand Down Expand Up @@ -328,7 +329,7 @@
"nuts_location": "NUTS location",
"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)",
"on_request": "On Request",
"on_request": "On Request (without data source)",
"parameterization": "Parameterization",
"path_parameterization": "Path Parameterization",
"publish_asset_only_tooltip": "Create the asset but do not publish your data offer. You can do it later.",
Expand All @@ -348,7 +349,7 @@
"query_param_parametrization": "Query Param Parameterization",
"query_param": "Query Param",
"query_params": "Query Params",
"readily_available": "Readily available with a new data source",
"readily_available": "Available (with data source)",
"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**.",
"reference_files_description_label": "Reference files description",
"reference_files_description_title": "Reference files description",
Expand Down Expand Up @@ -394,7 +395,8 @@
"conn_end": "Connector Endpoint",
"conn_prop": "Connector Properties",
"conn_service": "Connector-as-a-Service",
"contact": "Contact us",
"contact": "Contact",
"contact_us": "Contact Us",
"contracts": "Contracts",
"data_dashboard": "Data Dashboard",
"descrip": "Share the following Connector Endpoint to let others access your EDC Connector's catalog. This is especially useful when using connector-restricted data offers which won't show up in brokers.",
Expand Down

0 comments on commit 4867d23

Please sign in to comment.