Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update translations for plug-ins selector in drawer menu #1496

Merged
merged 7 commits into from
Apr 16, 2024
10 changes: 5 additions & 5 deletions packages/open-scd/src/translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const de: Translations = {
'DataTypeTemplates können nicht validiert werden. Das Projekt muss die Version 2007B3 oder höher haben.',
},
plugins: {
heading: 'Erweiterungen',
heading: 'Plug-ins',
editor: 'Editor',
menu: 'Menüeintrag',
requireDoc: 'Benötigt Dokument',
Expand All @@ -190,13 +190,13 @@ export const de: Translations = {
bottom: 'unten',
validator: 'Validator',
add: {
heading: 'Benutzerdefinierte Erweiterung',
warning: `Hier können Sie benutzerdefinierte Erweiterungen hinzufügen.
heading: 'Benutzerdefinierte plug-in',
warning: `Hier können Sie benutzerdefinierte plug-ins hinzufügen.
OpenSCD übernimmt hierfür keine Gewähr.`,
name: 'Name',
nameHelper: 'Lokaler Name der Erweiterung (frei wählbar)',
nameHelper: 'Lokaler Name der plug-in (frei wählbar)',
src: 'URL',
srcHelper: 'Die Erweiterungs-URL des Herstellers',
srcHelper: 'Die plug-in-URL des Herstellers',
},
},
substation: {
Expand Down
10 changes: 5 additions & 5 deletions packages/open-scd/src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const en = {
'Cannot validate DataTypeTemplates. The version of the project must be higher than or equal to 2007B3',
},
plugins: {
heading: 'Extensions',
heading: 'Plug-ins',
editor: 'Editor tab',
menu: 'Menu entry',
requireDoc: 'Requires loaded document',
Expand All @@ -167,13 +167,13 @@ export const en = {
bottom: 'bottom',
validator: 'Validator',
add: {
heading: 'Add custom extension',
warning: `Here you may add remote extensions directly from a custom URL.
heading: 'Add custom plug-in',
warning: `Here you may add remote plug-ins directly from a custom URL.
You do this at your own risk.`,
name: 'Name',
nameHelper: 'Your preferred extension name',
nameHelper: 'Your preferred plug-in name',
src: 'URL',
srcHelper: 'The vendor supplied extension URL',
srcHelper: 'The vendor supplied plug-in URL',
},
},
validator: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ snapshots["open-scd looks like its snapshot"] =
extension
</mwc-icon>
<span>
Extensions
Plug-ins
</span>
</mwc-list-item>
</mwc-list>
Expand Down Expand Up @@ -356,7 +356,7 @@ snapshots["open-scd looks like its snapshot"] =
</mwc-icon-button>
</div>
<mwc-dialog
heading="Extensions"
heading="Plug-ins"
id="pluginManager"
stacked=""
>
Expand Down Expand Up @@ -911,24 +911,24 @@ snapshots["open-scd looks like its snapshot"] =
</mwc-button>
<mwc-button
icon="library_add"
label="Add custom extension…"
label="Add custom plug-in…"
outlined=""
slot="primaryAction"
trailingicon=""
>
</mwc-button>
</mwc-dialog>
<mwc-dialog
heading="Add custom extension"
heading="Add custom plug-in"
id="pluginAdd"
>
<div style="display: flex; flex-direction: column; row-gap: 8px;">
<p style="color:var(--mdc-theme-error);">
Here you may add remote extensions directly from a custom URL.
Here you may add remote plug-ins directly from a custom URL.
You do this at your own risk.
</p>
<mwc-textfield
helper="Your preferred extension name"
helper="Your preferred plug-in name"
id="pluginNameInput"
label="Name"
required=""
Expand Down Expand Up @@ -1031,7 +1031,7 @@ snapshots["open-scd looks like its snapshot"] =
</mwc-radio-list-item>
</mwc-list>
<mwc-textfield
helper="The vendor supplied extension URL"
helper="The vendor supplied plug-in URL"
id="pluginSrcInput"
label="URL"
placeholder="http://example.com/plugin.js"
Expand Down
Loading