Skip to content

Commit

Permalink
Rebase leftovers and error in translations
Browse files Browse the repository at this point in the history
  • Loading branch information
danyill committed Mar 15, 2022
1 parent cec83dd commit 44be264
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ export const de: Translations = {
},
report: {
wizard: { location: 'Ablageort der Reports wählen' },
},
cleanup: {
unreferencedDataSets: {
title: 'Nicht referenzierte Datensätze',
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ export const en = {
},
report: {
wizard: { location: 'Select Report Control Location' },
},
cleanup: {
unreferencedDataSets: {
title: 'Unreferenced Datasets',
Expand Down
20 changes: 20 additions & 0 deletions test/unit/editors/ied/__snapshots__/da-container.test.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,23 @@ snapshots["with a DA element and child elements are toggled looks like the lates
`;
/* end snapshot with a DA element and child elements are toggled looks like the latest snapshot */

snapshots["with a DA element looks like the latest snapshot"] =
`<action-pane
icon=""
tabindex="0"
>
<abbr slot="action">
<mwc-icon-button
icon="info"
title="ctlModel"
>
</mwc-icon-button>
</abbr>
<h6>
</h6>
</action-pane>
`;
/* end snapshot with a DA element looks like the latest snapshot */

he latest snapshot with a DA element containing and a DAI */

87 changes: 87 additions & 0 deletions test/unit/editors/ied/__snapshots__/do-container.test.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,90 @@ snapshots["looks like the latest snapshot with a SDO element and child elements
`;
/* end snapshot looks like the latest snapshot with a SDO element and child elements are toggled. */

snapshots["looks like the latest snapshot with a DO element."] =
`<action-pane
icon=""
tabindex="0"
>
<abbr slot="action">
<mwc-icon-button
icon="info"
title="Mod"
>
</mwc-icon-button>
</abbr>
<abbr
slot="action"
title="[iededitor.toggleChildElements]"
>
<mwc-icon-button-toggle
id="toggleButton"
officon="keyboard_arrow_down"
onicon="keyboard_arrow_up"
>
</mwc-icon-button-toggle>
</abbr>
</action-pane>
`;
/* end snapshot looks like the latest snapshot with a DO element. */

snapshots["looks like the latest snapshot with a DO element and child elements are toggled."] =
`<action-pane
icon=""
tabindex="0"
>
<abbr slot="action">
<mwc-icon-button
icon="info"
title="Mod"
>
</mwc-icon-button>
</abbr>
<abbr
slot="action"
title="[iededitor.toggleChildElements]"
>
<mwc-icon-button-toggle
id="toggleButton"
officon="keyboard_arrow_down"
on=""
onicon="keyboard_arrow_up"
>
</mwc-icon-button-toggle>
</abbr>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<da-container>
</da-container>
<do-container>
</do-container>
<do-container>
</do-container>
</action-pane>
`;
/* end snapshot looks like the latest snapshot with a DO element and child elements are toggled. */

0 comments on commit 44be264

Please sign in to comment.