mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Expose i18n in editor
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="inject">
|
||||
<div class="form-row node-input-payload">
|
||||
<label for="node-input-payloadType"><i class="fa fa-envelope"></i> Payload</label>
|
||||
<label for="node-input-payloadType"><i class="fa fa-envelope"></i> <span data-i18n="inject.payload"></span></label>
|
||||
<select id="node-input-payloadType" style="width:73%">
|
||||
<option value="date">timestamp</option>
|
||||
<option value="string">string</option>
|
||||
|
@@ -3,6 +3,8 @@
|
||||
"repeat": "repeat = __repeat__",
|
||||
"crontab": "crontab = __crontab__",
|
||||
"stopped": "stopped",
|
||||
"failed": "Inject failed: __error__"
|
||||
"failed": "Inject failed: __error__",
|
||||
|
||||
"payload": "Payload"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user