Skip to content

Commit

Permalink
chore: add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Sep 20, 2024
1 parent b354b1a commit 3e9db32
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
IdResponseDto,
UiCriterionLiteralType,
} from '@sovity.de/edc-client';
import {ALWAYS_TRUE_POLICY_ID} from 'src/app/component-library/edit-asset-form/edit-asset-form/form/model/always-true-policy-id';
import {ALWAYS_TRUE_POLICY_ID} from '../../../../../shared/business/edit-asset-form/form/model/always-true-policy-id';
import {assetIdAvailable, createAsset} from './asset-fake-service';
import {
contractDefinitionIdAvailable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import {Component, OnInit} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {EMPTY, Observable, catchError, finalize, tap} from 'rxjs';
import {IdResponseDto, UiAssetEditRequest} from '@sovity.de/edc-client';
import {
DataOfferCreationRequestPolicyEnum,
IdResponseDto,
UiAssetEditRequest,
} from '@sovity.de/edc-client';
import {EdcApiService} from 'src/app/core/services/api/edc-api.service';
import {AssetRequestBuilder} from 'src/app/core/services/asset-request-builder';
import {AssetService} from 'src/app/core/services/asset.service';
Expand Down
19 changes: 17 additions & 2 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,15 @@
"header_name": "Header Name",
"header_value": "Header Value",
"add_add_header": "Add Additional Header",
"page": "Page"
"page": "Page",
"show_adv_fields": "Show Advanced Fields",
"publishing": "Publishing",
"pub_desc": "Publish data offer to other data space participants",
"pub_unrestr": "Publish unrestricted",
"pub_restr": "Publish restricted",
"pub_asset_only": "Create asset only (without data offer)",
"pub_mode": "Publishing Mode",
"doc": "Documentation"
},
"tooltip": {
"negotiate": "Cannot negotiate contracts with your own connector.",
Expand Down Expand Up @@ -228,6 +236,12 @@
"title": "Data Offers",
"page": "Data Offer Page"
},
"create_data_offer": {
"def_datasrc": "Define the datasource of the asset",
"data_type": "Datasource Type",
"contact_email_placeholder": "[email protected]",
"contact_email": "Contact E-Mail"
},
"create_data_offer_page": {
"title": "Create Data Offer"
},
Expand Down Expand Up @@ -300,7 +314,8 @@
"date_range": "Date Range",
"search_pol": "Search policies",
"create_policy": "Create Policy",
"no_pol": "No policy found with given filter."
"no_pol": "No policy found with given filter.",
"expression": "Policy Expression"
},
"create_policy_page": {
"title": "Create Policy"
Expand Down

0 comments on commit 3e9db32

Please sign in to comment.