mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	fix file-in port labels for all 4 options
This commit is contained in:
		| @@ -41,7 +41,7 @@ | ||||
|     </div> | ||||
|     <div class="form-row"> | ||||
|         <label for="node-input-format"><i class="fa fa-sign-out"></i> <span data-i18n="file.label.outputas"></span></label> | ||||
|         <select id="node-input-format"> | ||||
|         <select id="node-input-format" style="width: 250px;"> | ||||
|             <option value="utf8" data-i18n="file.output.utf8"></option> | ||||
|             <option value="lines" data-i18n="file.output.lines"></option> | ||||
|             <option value="" data-i18n="file.output.buffer"></option> | ||||
| @@ -266,7 +266,8 @@ | ||||
|         inputs:1, | ||||
|         outputs:1, | ||||
|         outputLabels: function(i) { | ||||
|             return (this._((this.format === "utf8") ? "file.label.utf8String" : "file.label.binaryBuffer")); | ||||
|             var l = this._(((this.format === "utf8")||(this.format === "lines")) ? "file.label.utf8String" : "file.label.binaryBuffer"); | ||||
|             return ( l + (((this.format === "lines")||(this.format === "stream")) ? "s" : "") ); | ||||
|         }, | ||||
|         icon: "file-in.svg", | ||||
|         label: function() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user