Skip to content

Commit

Permalink
feat(wizards): Changed label of rptID (openscd#697)
Browse files Browse the repository at this point in the history
* Changed label of rptID.

Signed-off-by: Dennis Labordus <dennis.labordus@alliander.com>

* Set DE label correctly.

Signed-off-by: Dennis Labordus <dennis.labordus@alliander.com>
  • Loading branch information
Dennis Labordus authored Apr 24, 2022
1 parent 887f46f commit 10f3f0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export const de: Translations = {
},
report: {
wizard: { location: 'Ablageort der Reports wählen' },
rptID: 'Report-Kontrolblock Kennung',
},
cleanup: {
unreferencedDataSets: {
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export const en = {
},
report: {
wizard: { location: 'Select Report Control Location' },
rptID: 'Report control block identifier',
},
cleanup: {
unreferencedDataSets: {
Expand Down
2 changes: 1 addition & 1 deletion src/wizards/reportcontrol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function contentReportControlWizard(options: ContentOptions): TemplateResult[] {
.maybeValue=${options.rptID}
nullable
required
helper="${translate('scl.id')}"
helper="${translate('report.rptID')}"
></wizard-textfield>`,
html`<wizard-checkbox
label="indexed"
Expand Down
6 changes: 3 additions & 3 deletions test/unit/wizards/__snapshots__/reportcontrol.test.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ snapshots["Wizards for SCL ReportControl element define an edit wizard that for
>
</wizard-checkbox>
<wizard-textfield
helper="[scl.id]"
helper="[report.rptID]"
label="rptID"
nullable=""
required=""
Expand Down Expand Up @@ -239,7 +239,7 @@ snapshots["Wizards for SCL ReportControl element define an edit wizard that for
</wizard-checkbox>
<wizard-textfield
disabled=""
helper="[scl.id]"
helper="[report.rptID]"
label="rptID"
nullable=""
required=""
Expand Down Expand Up @@ -467,7 +467,7 @@ snapshots["Wizards for SCL ReportControl element define an create wizard that th
</wizard-checkbox>
<wizard-textfield
disabled=""
helper="[scl.id]"
helper="[report.rptID]"
label="rptID"
nullable=""
required=""
Expand Down

0 comments on commit 10f3f0b

Please sign in to comment.