Translate user-facing docs and node help to English
README, NODES.md, install scripts, palette help text, and example flows — node .js logic unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+17
-17
@@ -18,7 +18,7 @@
|
||||
|
||||
<script type="text/html" data-template-name="collabora-bridge">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Namn</label>
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
@@ -41,27 +41,27 @@
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-help-name="collabora-bridge">
|
||||
<p><strong>Färdiga pipelines.</strong> Kedjar WebDAV + CODE + (ibland) OCS och skriver oftast tillbaka till Nextcloud. Det här är noden du når efter oftast.</p>
|
||||
<p>Defaultmål: <code>/Dokument/OfficeOut/</code> om du inte sätter <code>destNcPath</code> / <code>destFolder</code> / <code>destName</code>.</p>
|
||||
<p><strong>Ready-made pipelines.</strong> Chains WebDAV + CODE + (sometimes) OCS and usually writes back to Nextcloud. This is the node you'll reach for most often.</p>
|
||||
<p>Default destination: <code>/Dokument/OfficeOut/</code> unless you set <code>destNcPath</code> / <code>destFolder</code> / <code>destName</code>.</p>
|
||||
|
||||
<table style="width:100%; font-size:11px;">
|
||||
<tr><th>Operation</th><th>Resultat</th></tr>
|
||||
<tr><td><code>ncFileToPdf</code></td><td>PDF i NC</td></tr>
|
||||
<tr><td><code>ncFileToPng</code></td><td>Förhandsvisning PNG</td></tr>
|
||||
<tr><td><code>ncFileToHtml</code></td><td>HTML i NC</td></tr>
|
||||
<tr><td><code>htmlToOffice</code></td><td>HTML/text → docx/pdf …</td></tr>
|
||||
<tr><td><code>fillTemplateSave</code></td><td>Fyll mall via OCS, spara i NC</td></tr>
|
||||
<tr><td><code>compareVersionsPdf</code></td><td>Diff-PDF (ny + <code>compareNcPath</code>)</td></tr>
|
||||
<tr><td><code>extractToPayload</code></td><td>JSON i <code>msg.fields</code> / <code>msg.structure</code></td></tr>
|
||||
<tr><td><code>createAssetLink</code></td><td><code>msg.assetUrl</code> för infogning</td></tr>
|
||||
<tr><th>Operation</th><th>Result</th></tr>
|
||||
<tr><td><code>ncFileToPdf</code></td><td>PDF saved in NC</td></tr>
|
||||
<tr><td><code>ncFileToPng</code></td><td>Preview PNG</td></tr>
|
||||
<tr><td><code>ncFileToHtml</code></td><td>HTML in NC</td></tr>
|
||||
<tr><td><code>htmlToOffice</code></td><td>HTML → docx/pdf …</td></tr>
|
||||
<tr><td><code>fillTemplateSave</code></td><td>Fill template via OCS, save in NC</td></tr>
|
||||
<tr><td><code>compareVersionsPdf</code></td><td>Diff PDF (new + <code>compareNcPath</code>)</td></tr>
|
||||
<tr><td><code>extractToPayload</code></td><td>Field JSON in msg</td></tr>
|
||||
<tr><td><code>createAssetLink</code></td><td><code>msg.assetUrl</code> for insert</td></tr>
|
||||
</table>
|
||||
|
||||
<p>Överstyr via <code>msg.operation</code>. Skriver inte över original utan <code>msg.allowOverwrite=true</code>.</p>
|
||||
<p>De andra noderna i paletten är byggstenar när bridge inte räcker.</p>
|
||||
<p>Override via <code>msg.operation</code>. Does not overwrite originals unless <code>msg.allowOverwrite=true</code>.</p>
|
||||
<p>The other palette nodes are building blocks when bridge isn't enough.</p>
|
||||
|
||||
<pre>inject { ncPath: "/Dokument/avtal.docx" }
|
||||
<pre>inject { ncPath: "/Documents/contract.docx" }
|
||||
→ collabora-bridge (ncFileToPdf)
|
||||
→ debug { destNcPath: "/Dokument/OfficeOut/avtal.pdf" }</pre>
|
||||
→ debug { destNcPath: "/Dokument/OfficeOut/contract.pdf" }</pre>
|
||||
|
||||
<p><strong>Tumregel:</strong> PDF i Nextcloud → <code>ncFileToPdf</code>. Mall + spara → <code>fillTemplateSave</code>. Öppna i webbläsare → <code>nc-office document:direct</code>.</p>
|
||||
<p><strong>Rule of thumb:</strong> PDF in Nextcloud → <code>ncFileToPdf</code>. Fill template → <code>fillTemplateSave</code>. Open in browser → <code>nc-office document:direct</code>.</p>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user