Skip to content

Commit

Permalink
chore: update translations for plug-ins selector in drawer menu (#1496)
Browse files Browse the repository at this point in the history
* chore: update translations for plug-ins selector in drawer menu
help wanted with german translations for "plug-in" and "plug-ins"

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* test: updating open-scd snapshot with new translation text

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

* chore: including plug-in(s) in the german translation

Signed-off-by: Juan Munoz <juancho0202@gmail.com>

---------

Signed-off-by: Juan Munoz <juancho0202@gmail.com>
Co-authored-by: Steffen van den Driest <35229971+Stef3st@users.noreply.github.com>
  • Loading branch information
juancho0202 and Stef3st committed Apr 16, 2024
1 parent fea6372 commit c4371dd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
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

0 comments on commit c4371dd

Please sign in to comment.