Skip to content

Commit

Permalink
feat: support functional naming confldname (#1403)
Browse files Browse the repository at this point in the history
Signed-off-by: Stef3st <steffen.van.den.driest@alliander.com>
  • Loading branch information
Stef3st authored Jan 11, 2024
1 parent c8e0ad5 commit 7215e8b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/open-scd/src/translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export const de: Translations = {
ldevice: {
wizard: {
nameHelper: 'Name des Logisches Gerät',
noNameSupportHelper: 'IED unterstützt keine funktionale Benennung',
descHelper: 'Beschreibung des Logisches Gerät',
title: {
edit: 'Logisches Gerät bearbeiten',
Expand Down
1 change: 1 addition & 0 deletions packages/open-scd/src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export const en = {
ldevice: {
wizard: {
nameHelper: 'Logical device name',
noNameSupportHelper: "IED doesn't support Functional Naming",
descHelper: 'Logical device description',
title: {
edit: 'Edit logical device',
Expand Down
2 changes: 2 additions & 0 deletions packages/open-scd/src/wizards/ldevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export function renderLdeviceWizard(
? html`<wizard-textfield
label="ldName"
.maybeValue=${ldName}
helper="${translate('ldevice.wizard.noNameSupportHelper')}"
helperPersistent
readOnly
disabled
></wizard-textfield>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ snapshots["Wizards for SCL element LDevice Allowing ldName editing looks like th
<div id="wizard-content">
<wizard-textfield
disabled=""
helper="[ldevice.wizard.noNameSupportHelper]"
helperpersistent=""
label="ldName"
readonly=""
>
Expand Down

0 comments on commit 7215e8b

Please sign in to comment.