mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary * reworks DE translation of JSONata /editor-client/locales/de/jsonata.json * rework DE translation of editor-client * moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de * Update README.md * Update README.md * Create README.md * Create README.md * fixed #2: "Sie müssen ..., um ... zu können" * fixed #3 * fixed #4 and removed unnecessary spaces * fixed #5 * fixed #6, added missing dots, removed unnecessary spaces * fixed #7, #8, #9 * fixed #10, #11, #12, #13, #14, #15 * fixed #17, #18, 19 * fixed #19 * moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv * reworked DE translation of runtime * fine-tuned DE translation of editor-client * reworked DE translation of common nodes, fine-tuned editor-client * reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime * small i18n fixes
This commit is contained in:
@@ -15,30 +15,32 @@
|
||||
-->
|
||||
|
||||
<script type="text/html" data-help-name="xml">
|
||||
<p>Konvertiert zwischen einem XML-String und seiner JavaScript-Objektdarstellung - in beiden Richtungen.</p>
|
||||
<h3>Eingaben</h3>
|
||||
<p>Konvertierung zwischen XML-Zeichenfolge (string) und JavaScript-Objekt in beiden Richtungen.</p>
|
||||
<h3>Eingangsdaten</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload<span class="property-type">Objekt | String</span></dt>
|
||||
<dd>Ein JavaScript Objekt oder ein XML String.</dd>
|
||||
<dt class="optional">options <span class="property-type">Objekt</span></dt>
|
||||
<dd>This optional property can be used to pass in any of the options supported by the underlying
|
||||
library used to convert to and from XML. See <a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank">the xml2js docs</a>
|
||||
for more information.</dd>
|
||||
<dt>payload<span class="property-type">object | string</span></dt>
|
||||
<dd>JavaScript-Objekt oder XML-Zeichenfolge (string)</dd>
|
||||
<dt class="optional">options<span class="property-type">object</span></dt>
|
||||
<dd>Optionale Eigenschaft zur Übergabe von Optionen an die Konvertier-Bibliothek von und zu XML.
|
||||
Siehe <a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank">xml2js Dokumente</a>
|
||||
für weitere Informationen.</dd>
|
||||
</dl>
|
||||
<h3>Ausgaben</h3>
|
||||
<h3>Ausgangsdaten</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload<span class="property-type">Objekt | String</span></dt>
|
||||
<dt>payload<span class="property-type">object | string</span></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li>Wenn die Eingabe ein String ist, wird versucht sie als XML zu analysieren und daraus ein JavaScript-Objekt zu erstellen.</li>
|
||||
<li>Wenn die Eingabe ein JavaScript-Objekt ist, wird versucht ein XML-String zu erstellen.</li>
|
||||
<li>Wenn die Eingangsdaten eine Zeichenfolge (string) sind,
|
||||
wird versucht sie als XML zu analysieren (parse) und daraus ein JavaScript-Objekt zu erstellen.</li>
|
||||
<li>Wenn die Eingangsdaten ein JavaScript-Objekt darstellen,
|
||||
wird versucht daraus ein XML-Zeichenfolge (string) zu erstellen.</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>Bei der Konvertierung zwischen XML und einem Objekt werden standardmäßig alle XML-Attribute als Eigenschaft namens <code>$</code> hinzugefügt.
|
||||
Jeder Textinhalt wird als Eigenschaft namens <code>_</code> hinzugefügt.
|
||||
Diese Eigenschaftsnamen können in der Node-Konfiguration angegeben werden.</p>
|
||||
<p>Bei der Konvertierung zwischen XML und einem Objekt werden standardmäßig alle XML-Attribute als Eigenschaft mit Namen <code>$</code> hinzugefügt.
|
||||
Jeder Textinhalt wird als Eigenschaft mit Namen <code>_</code> hinzugefügt.
|
||||
Diese Eigenschaftsnamen können in der Node-Konfiguration angegeben werden.</p>
|
||||
<p>Zum Beispiel wird das folgende XML wie dargestellt konvertiert:</p>
|
||||
<pre><p class="tag">Hello World</p></pre>
|
||||
<pre>{
|
||||
|
Reference in New Issue
Block a user