[ja] Support i18n 70-base64 node. (#591)

* [ja] Translate 70-base64 node.

* Fix PR review #591 "Buffer" -> "バッファ".

We have used Japanese katakana words of "buffer" in http-request and file-out nodes.

* Fix PR review #591 "Base64" -> "base64"

* Fix PR review #591 "Base64から文字列へデコード" -> "Base64から文字列へ変換"
This commit is contained in:
Ryoichi Obara
2019-10-29 02:40:41 +09:00
committed by Dave Conway-Jones
parent 0f46364a55
commit 739b3e595c
7 changed files with 73 additions and 19 deletions

View File

@@ -1,11 +1,11 @@
<script type="text/x-red" data-template-name="base64">
<div class="form-row">
<label for="node-input-action"><i class="fa fa-dot-circle-o"></i> Action</label>
<label for="node-input-action"><i class="fa fa-dot-circle-o"></i> <span data-i18n="base64.label.action"></span></label>
<select style="width:70%" id="node-input-action">
<option value="">Convert Buffer <-> Base64</option>
<option value="str">Encode as Base64</option>
<option value="b64">Convert Base64 to String</option>
<option value="" data-i18n="base64.convert.buffer"></option>
<option value="str" data-i18n="base64.convert.encode"></option>
<option value="b64" data-i18n="base64.convert.decode"></option>
</select>
</div>
<div class="form-row">
@@ -18,14 +18,6 @@
</div>
</script>
<script type="text/x-red" data-help-name="base64">
<p>A function that converts the chosen property (default <code>msg.payload</code>) to and from base64 format.</p>
<p>If the input is a buffer it converts it to a Base64 encoded string.</p>
<p>If the input is a Base64 string it converts it back to a binary buffer.</p>
<p>You can also fix coding into base64, and base64 to buffer if required.</p>
<p>Note: Using "Encode to Base64" will encode an already encoded string.</p>
</script>
<script type="text/javascript">
RED.nodes.registerType('base64',{
category: 'function',