mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix encoding menu in file node
This commit is contained in:
parent
63829b6382
commit
0f57d1a433
11
packages/node_modules/@node-red/nodes/core/storage/50-file.html
vendored
Normal file → Executable file
11
packages/node_modules/@node-red/nodes/core/storage/50-file.html
vendored
Normal file → Executable file
@ -22,7 +22,7 @@
|
|||||||
<input type="checkbox" id="node-input-createDir" style="display: inline-block; width: auto; vertical-align: top;">
|
<input type="checkbox" id="node-input-createDir" style="display: inline-block; width: auto; vertical-align: top;">
|
||||||
<label for="node-input-createDir" style="width: 70%;"><span data-i18n="file.label.createdir"></span></label>
|
<label for="node-input-createDir" style="width: 70%;"><span data-i18n="file.label.createdir"></span></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row form-row-file-encoding">
|
||||||
<label for="node-input-encoding"><i class="fa fa-flag"></i> <span data-i18n="file.label.encoding"></span></label>
|
<label for="node-input-encoding"><i class="fa fa-flag"></i> <span data-i18n="file.label.encoding"></span></label>
|
||||||
<select type="text" id="node-input-encoding" style="width: 250px;">
|
<select type="text" id="node-input-encoding" style="width: 250px;">
|
||||||
</select>
|
</select>
|
||||||
@ -246,8 +246,13 @@
|
|||||||
});
|
});
|
||||||
encSel.val(node.encoding);
|
encSel.val(node.encoding);
|
||||||
$("#node-input-overwriteFile").on("change",function() {
|
$("#node-input-overwriteFile").on("change",function() {
|
||||||
if (this.value === "delete") { $(".form-row-file-write-options").hide(); }
|
if (this.value === "delete") {
|
||||||
else { $(".form-row-file-write-options").show(); }
|
$(".form-row-file-write-options").hide();
|
||||||
|
$(".form-row-file-encoding").hide();
|
||||||
|
} else {
|
||||||
|
$(".form-row-file-write-options").show();
|
||||||
|
$(".form-row-file-encoding").show();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -859,6 +859,7 @@
|
|||||||
"breaklines": "Break into lines",
|
"breaklines": "Break into lines",
|
||||||
"filelabel": "file",
|
"filelabel": "file",
|
||||||
"sendError": "Send message on error (legacy mode)",
|
"sendError": "Send message on error (legacy mode)",
|
||||||
|
"encoding": "Encoding",
|
||||||
"deletelabel": "delete __file__",
|
"deletelabel": "delete __file__",
|
||||||
"utf8String": "UTF8 string",
|
"utf8String": "UTF8 string",
|
||||||
"binaryBuffer": "binary buffer"
|
"binaryBuffer": "binary buffer"
|
||||||
|
@ -398,7 +398,7 @@
|
|||||||
"status": "状態コード",
|
"status": "状態コード",
|
||||||
"headers": "ヘッダ",
|
"headers": "ヘッダ",
|
||||||
"other": "その他",
|
"other": "その他",
|
||||||
"paytoqs" : "msg.payloadをクエリパラメータに追加",
|
"paytoqs": "msg.payloadをクエリパラメータに追加",
|
||||||
"utf8String": "UTF8文字列",
|
"utf8String": "UTF8文字列",
|
||||||
"binaryBuffer": "バイナリバッファ",
|
"binaryBuffer": "バイナリバッファ",
|
||||||
"jsonObject": "JSONオブジェクト",
|
"jsonObject": "JSONオブジェクト",
|
||||||
@ -857,6 +857,7 @@
|
|||||||
"breaklines": "行へ分割",
|
"breaklines": "行へ分割",
|
||||||
"filelabel": "file",
|
"filelabel": "file",
|
||||||
"sendError": "エラーメッセージを送信(互換モード)",
|
"sendError": "エラーメッセージを送信(互換モード)",
|
||||||
|
"encoding": "文字コード",
|
||||||
"deletelabel": "delete __file__",
|
"deletelabel": "delete __file__",
|
||||||
"utf8String": "UTF8文字列",
|
"utf8String": "UTF8文字列",
|
||||||
"binaryBuffer": "バイナリバッファ"
|
"binaryBuffer": "バイナリバッファ"
|
||||||
|
Loading…
Reference in New Issue
Block a user