diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 92a0abb8a..d673df676 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -30,5 +30,5 @@ the [forum](https://discourse.nodered.org) or - [ ] I have read the [contribution guidelines](https://github.com/node-red/node-red/blob/master/CONTRIBUTING.md) - [ ] For non-bugfix PRs, I have discussed this change on the forum/slack team. -- [ ] I have run `grunt` to verify the unit tests pass +- [ ] I have run `npm run test` to verify the unit tests pass - [ ] I have added suitable unit tests to cover the new/changed functionality diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..ad3a4ca7a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f3c8a6ce..84140e311 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,31 +5,34 @@ on: release: types: [published] +permissions: + contents: read + jobs: generate: name: 'Update node-red-docker image' runs-on: ubuntu-latest steps: - name: Check out node-red repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: 'node-red' - name: Check out node-red-docker repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: 'node-red/node-red-docker' path: 'node-red-docker' - name: Check out node-red.github.io repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: 'node-red/node-red.github.io' path: 'node-red.github.io' - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: node-version: '16' - run: node ./node-red/.github/scripts/update-node-red-docker.js - name: Create Docker Pull Request - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.NR_REPO_TOKEN }} committer: GitHub @@ -45,7 +48,7 @@ jobs: This PR was auto-generated by a GitHub Action. Any questions, speak to @knolleary - run: node ./node-red/.github/scripts/update-node-red-website.js - name: Create Website Pull Request - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.NR_REPO_TOKEN }} committer: GitHub diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0db909da6..8e010c63e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,16 +6,21 @@ on: pull_request: branches: [ master, dev ] +permissions: + contents: read + jobs: build: + permissions: + contents: read # for actions/checkout to fetch code runs-on: ubuntu-latest strategy: matrix: - node-version: [14, 16] + node-version: [18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install Dependencies @@ -23,8 +28,3 @@ jobs: - name: Run tests run: | npm run test - - name: Publish to coveralls.io - if: ${{ matrix.node-version == 14 }} - uses: coverallsapp/github-action@v1.1.2 - with: - github-token: ${{ github.token }} diff --git a/.gitignore b/.gitignore index d4c991688..6a2ebfaa1 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ docs .vscode .nyc_output sync.ffs_db +package-lock.json diff --git a/.jshintrc b/.jshintrc index 719eecb49..0886c1dc0 100644 --- a/.jshintrc +++ b/.jshintrc @@ -15,5 +15,5 @@ "shadow": true, // allow variable shadowing (re-use of names...) "sub": true, // don't warn that foo['bar'] should be written as foo.bar "proto": true, // allow setting of __proto__ in node < v0.12, - "esversion": 6 // allow es6 + "esversion": 11 // allow es11(ES2020) } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c6f52aeb..78663e0a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,450 @@ +#### 4.0.0-beta.1: Beta Release + +Editor + + - Click on id in debug panel highlights node or flow (#4439) @ralphwetzel + - Support config selection in a subflow env var (#4587) @Steve-Mcl + - Add timestamp formatting options to TypedInput (#4468) @knolleary + - Allow RED.view.select to select links (#4553) @lgrkvst + - Add auto-complete to flow/global/env typedInput types (#4480) @knolleary + - Improve the appearance of the Node-RED primary header (#4598) @joepavitt + +Runtime + + - let settings.httpNodeAuth accept single middleware or array of middlewares (#4572) @kevinGodell + - Upgrade to JSONata 2.x (#4590) @knolleary + - Bump minimum version to node 18 (#4571) @knolleary + - npm: Remove production flag on npm invocation (#4347) @ZJvandeWeg + - Timer testing fix (#4367) @hlovdal + - Bump to 4.0.0-dev (#4322) @knolleary + +Nodes + + - TCP node - when resetting, if no payload, stay disconnected @dceejay + - HTML node: add option for collecting attributes and content (#4513) @gorenje + - let split node specify property to split on, and join auto join correctly (#4386) @dceejay + - Add RFC4180 compliant mode to CSV node (#4540) @Steve-Mcl + - Fix change node to return boolean if asked (#4525) @dceejay + - Let msg.reset reset Tcp request node connection when in stay connected mode (#4406) @dceejay + - Let debug node status msg length be settable via settings (#4402) @dceejay + - Feat: Add ability to set headers for WebSocket client (#4436) @marcus-j-davies + +#### 3.1.7: Maintenance Release + + - Add Japanese translation for v3.1.6 (#4603) @kazuhitoyokoi + - Update jsonata version (#4593) @hardillb + +#### 3.1.6: Maintenance Release + +Editor + + - Do not flag env var in num typedInput as error (#4582) @knolleary + - Fix example flow name in import dialog (#4578) @kazuhitoyokoi + - Fix missing node icons in workspace (#4570) @knolleary + +Runtime + + - Handle undefined env vars (#4581) @knolleary + - fix: Removed offending MD5 crypto hash and replaced with SHA1 and SHA256 … (#4568) @JaysonHurst + - chore: remove never use import code (#4580) @giscafer + +Nodes + + - fix: template node zh-CN translation (#4575) @giscafer + +#### 3.1.5: Maintenance Release + +Runtime + + - Fix require of dns module (#4562) @knolleary + - Ensure global creds object is initialised when adding first cred (#4561) @knolleary + +#### 3.1.4: Maintenance Release + +Editor + + - Highlight errors in config node sidebar (#4529) @knolleary + - Improve feedback in import dialog to show conflicted nodes (#4550) @knolleary + - Modify node users info in config editor footer (#4528) @knolleary + - Handle modified-nodes deploy after replacing unknown config node (#4556) @knolleary + - Handle undefined default export when importing module (#4539) @knolleary + - Fix icon scaling for non .svg icons (#4491) @ralphwetzel + - (convertNode) Do not create the credentials object if there is nothing to export (#4544) @GogoVega + - Ensure subflow instance node has g property set (#4538) @knolleary + - Handle importing flow with existing subflow and instance node (#4546) @knolleary + - Update index.mst (#4483) @gorenje + - Include top level property name when copying path from context (#4527) @knolleary + - Add handling to disable items on context menu (#4500) @kazuhitoyokoi + - Focus Quick Add dialog from context menu (#4516) @kazuhitoyokoi + - Fix subflow ports in Quick Add dialog (#4518) @kazuhitoyokoi + - Fix location of subflow ports in palette (#4502) @kazuhitoyokoi + - Client/Editor Events: fix off-in-on pattern emulating once (#4484) @gorenje + - Restore caching busting functionality without using explict version number (#4512) @knolleary + - Do not translate the list of available languages (#4531) @GogoVega + - Add French translation of v3.1.3 changes (#4477) @GogoVega + - i18n(es-ES) Spanish Spain translation (#4495) @joebordes + - Add missing validation messages (#4487) @GogoVega + - Add Japanese translations for v3.1.3 (#4498) @kazuhitoyokoi + - Replace `rename` by `edit` for the menu flow label (#4506) @GogoVega + - Update editor.json fix typo in German translation (#4552) @guidoffm + +Runtime + + - Bump the github-actions group with 1 update (#4554) @app/dependabot + - Clone objects types when getting env values (#4519) @knolleary + - Ensure global-config credential env vars are merged on deploy (#4526) @knolleary + +Nodes + + - 21-httprequest.js remove unused code, because of broken use of toLowercase (#4522) @gorenje + +#### 3.1.3: Maintenance Release + +Editor + + - Add missing en-us messages (#4475) @knolleary + +#### 3.1.2: Maintenance Release + +Editor + + - Relax some node validators to allow undefined value (#4471) @knolleary + - Fix switch validation of typeof field (#4465) @knolleary + - Use move cursor when hovering on group border (#4467) @knolleary + - Added action list Chinese (Simplified and Traditional) translation + v3.1.1 changes (#4470) @wangyiyi2056 + - Add French translation of `action-list` + v3.1.1 changes (#4466) @GogoVega + + Runtime + + - Ensure nested groups inside subflows have their g props remapped (#4472) @knolleary + +#### 3.1.1: Maintenance Release + +Editor + + - Fix debug filter (#4461) @knolleary + - Fix various issues with debug pop-out window (#4459) @knolleary + - Ensure subflow instances keep track of their groups (#4457) @knolleary + - Fix `validateNodeProperty` without validator provided (#4455) @GogoVega + - Debounce node-removed notifications (#4453) @knolleary + - Don't try to load the parents of the first commit (#4448) @bonanitech + - Allow a theme to specifiy which theme mermaid should use (#4441) @knolleary + - Update browser title with flow name if set (#4427) @knolleary + - Ensure typeSearch handles undefined node definitions (#4423) @knolleary + - Ensure group w/h are imported if present (#4426) @knolleary + - Hide node status background when there is no status to show (#4425) @knolleary + - Add a close button to the restart-required notification (#4407) @knolleary + - Extend typedInput "num" type validity check to NaN, binary, octal & hex (#4371) @ralphwetzel + - Fix unintended new line in node name (#4399) @kazuhitoyokoi + - Ctrl-Enter does not close tray (Monaco) #4377 (#4382) @hazymat + - fix buffer viewer to handle 0b style binary (#4393) @dceejay + - Rework mermaid integration to support off-DOM rendering (#4364) @knolleary + - Add missing nls labels to context menu (#4365) @knolleary + +Runtime + + - Bump the github-actions group with 2 updates (#4404) @app/dependabot + - Handle unknown node reference inside subflow module (#4460) @knolleary + - Add modules.install audit event when external module installed (#4452) @knolleary + - Allow import of modules with subpath in specifier (#4451) @knolleary + - Update node-red-admin version (#4438) @knolleary + - Handle false-like env vars properly (#4411) @knolleary + - Only save settings once during node load process (#4409) @knolleary + - Ensure global-config nodes lookup cred values properly (#4405) @knolleary + - Handle credential env var evaluation when no value set (#4362) @knolleary + - Don't commit package-lock.json (#4354) @bonanitech + - Fix env evaluation when one env references another in the same object (#4361) @knolleary + - Add dependabot for Github Actions (#4312) @Rotzbua + - Update outdated Github Actions (#4311) @Rotzbua + - github: Request `npm run test` in PR template (#4348) @ZJvandeWeg + - Add French translation of v3.1.0-beta.4 changes + slight improvements (#4329) @GogoVega + - Handle nodes with multiple input handlers properly (#4332) @knolleary + - Soften the language around unrequited PRs (#4351) @knolleary + +Nodes + + - CSV: make CSV export way faster by not re-allocating and handling huge string (#4349) @Fadoli + - Delay: Fix regression in delay node to not pass on msg.reset (#4350) @dceejay + - Link Call: Handle undefined linkType value for existing link-call nodes (#4331) @knolleary + - MQTT: Guard against node.broker being undefined (#4454) @knolleary + - MQTT: check topic length > 0 before publish (#4416) @dceejay + - Switch/Change: Improve validation of switch/change node rules (#4368) @knolleary + - Template: Fix height of description editor in template node (#4346) @kazuhitoyokoi + - Various: Add validators to any fields using msg-typed Input (#4440) @knolleary + +#### 3.1.0: Milestone Release + +Editor + + - Default filter to All Catalogues and show nodes for small lists (#4318) @knolleary + - Better distinguish between ctrl and meta keys on mac (#4310) @knolleary + - Ensure junction appears when filtering quick-add list (#4297) @knolleary + - Update message catalogs for JSONata Expression editor (#4287) @kazuhitoyokoi + - Add tooltip to relevance sort button in user settings UI (#4288) @kazuhitoyokoi + - Capture workspace dirty state when quick-adding junction (#4283) @knolleary + - Add docs for $clone function (#4284) @knolleary + +Runtime + + - Dependency updates (#4317) @knolleary + - Ensure storage/util.writeFile handles concurrent write attempts (#4316) @knolleary + - Migrate http -> https for nodered.org (#4313) @Rotzbua + - Add Node 20 to GH Action test matrix (#4305) @Rotzbua + - Handle group-scoped nodes inside subflow (#4301) @knolleary + - Handle non-url-safe chars in context api (#4298) @knolleary + - Fix git pull operation in project feature (#4290) @kazuhitoyokoi + - Change linefeed codes in Korean message catalogs (#4286) @kazuhitoyokoi + - Fix file permissions of message catalogs (#4285) @kazuhitoyokoi + - Update tour (#4278) @knolleary + +Nodes + + - File: Fix handling in file nodes when number is specified as file name (#4267) @kazuhitoyokoi + - Function: Adding function timeout to settings file (#4265) (#4309) @knolleary + - Function: Fix function setup tab layout (#4299) @knolleary + - HTTP Request: Handle 204 in httprequest JSON (#4262) @sammachin + - JSON: Fix test cases of JSON node (#4275) @kazuhitoyokoi + - MQTT: Remove unnecessary check for clientid if autoUnsub set (#4302) @knolleary + +##### 3.1.0-beta.4: Beta Release + + Editor + + - Add Japanese translation for 3.1.0 (#4252) @kazuhitoyokoi + - Improve Catalogue visibility (#4248) @Steve-Mcl + - Add support for wiring and moving junctions on touch device (#4244) @Steve-Mcl + - Show errors and statuses of config nodes in the sidebar when no catch node is available (#4231) @bvmensvoort + - Improve wiring for horizontally aligned nodes (#4232) @knolleary + - French translation of Welcome Tours (#4200) @GogoVega + - French translation of v3.1.0-beta.3 changes (#4199) @GogoVega + - add Japanese message for 3.1.0 beta 3 (#4209) @HiroyasuNishiyama + - Dont clone the group nodes `node` array when saving edits (#4208) @Steve-Mcl + + Runtime + + - Add NR_SUBFLOW_NAME/ID/PATH env vars (#4250) @knolleary + - Evaluate all env vars as part of async flow start (#4230) @knolleary + - Add support for httpStatic middleware (#4229) @knolleary + + Nodes + + - Fix JSONata in file nodes (#4246) @kazuhitoyokoi + - Fix timeout icon in function and link call nodes (#4253) @kazuhitoyokoi + - Fix connection keep-alive in http request node (#4228) @knolleary + - adding timeout attribute to function node (#4177) @k1ln + - Fix manual mode join when multiple sequences being handled (#4143) @BitCaesar + - Fix delay node flush issue (#4203) @dceejay + - Update status and catch node labels in group mode (#4207) @Steve-Mcl + +##### 3.1.0-beta.3: Beta Release + +Editor + + - Select the item that is specified in a deep link URL (#4113) @Steve-Mcl + - Update to Monaco 0.38.0 (#4189) @Steve-Mcl + - Place subflow outputs/inputs relative to current view (#4183) @knolleary + - Enable RED.view.select to select group by id (#4184) @knolleary + - Combine existing env vars when merging groups (#4182) @knolleary + - Avoid creating empty global-config node if not needed (#4153) @knolleary + - Fix group selection when using lasso (#4108) @knolleary + - Use editor path in generating localStorage keys (#4151) @mw75 + - Ensure no node credentials are included when exporting to clipboard (#4112) @knolleary + - Fix jsonata expression test ui (#4097) @knolleary + - Fix search button in palette popover (#4096) @knolleary + +Runtime + + - Allow options object on each httpStatic configuration (#4109) @kevinGodell + - Ensure non-zero exit codes for errors (#4181) @knolleary + - Ensure external modules are installed synchronously (#4180) @knolleary + - Update dependecies include got (#4155) @knolleary + - Add Japanese translations for v3.1 beta.2 (#4158) @kazuhitoyokoi + - Ensure express server options are applied consistently (#4178) @knolleary + - Remove version info from theme endpoint (#4179) @knolleary + - Add Japanese translations for welcome tour of 3.1.0 beta.2 (#4145) @kazuhitoyokoi + - Added SHA-256 and SHA-512-256 digest authentication (#4100) @sroebert + - Add "timers" types to known types (#4103) @Steve-Mcl + +Nodes + + - Allow Catch/Status nodes to be scoped to their group (#4185) @NetHans + - MQTT: Option to disable MQTT topic unsubscribe on disconnect (#4078) @flying7eleven + + +##### 3.1.0-beta.2: Beta Release + +Editor + + - NEW: Add change icon to tabs (#4068) @knolleary + - NEW: Complete overhaul of Group UX (#4079) @knolleary + - NEW: Add link to node help in node edit dialog footer (#4065) @knolleary + - NEW: Added editor feature for connecting multiple nodes to single node (#4051) @sonntam + - NEW: Increase workspace size to 8000x8000 (#4094) @knolleary + - Ensure node buttons are redrawn when flow lock state is changed (#4091) @knolleary + - Prevent loops being created with junction nodes (#4087) @knolleary + - Prevent opening locked node's edit dialog (#4069) @knolleary + - Reverse direction of tab scroll to expected direction (#4064) @knolleary + - Add cancel operation to editableList (#4077) @HiroyasuNishiyama + - Apply Mermaid diagram for project settings UI (#4054) @kazuhitoyokoi + - Add tooltip for show/hide button on info sidebar (#4050) @kazuhitoyokoi + - Fix align nodes on locked tab (#4072) @HiroyasuNishiyama + - Fix importing connected link nodes into a subflow (#4082) @knolleary + - Fix to add empty marker to empty group (#4060) @HiroyasuNishiyama + - Fix image URLs for v3.0 tour (#4053) @kazuhitoyokoi + - Show scrollbar in notification dialog only when needed (#4048) @kazuhitoyokoi + - Update-monaco-and-typings (#4089) @Steve-Mcl + - Update jquery UI (#4088) @knolleary + - Support i18n of lock/unlock buttons in flow property UI (#4049) @kazuhitoyokoi + - Translation kr (#3895) @hae-iotplatform + - Translation zhcn (!!请懂中文的帮忙review) (#3952) @cliyr + - Add French translation of nodes (#3964) @GogoVega + - Add French translation (#3962) @GogoVega + - Portuguese Brazilian (pt-BR) translation (#3804) @FabsMuller + + +Runtime + + - NEW: Generate stable ids for subflow instance internal nodes (#4093) @knolleary + - NEW: Change default file name to flows.json in project feature (#4073) @kazuhitoyokoi + - NEW: Deprecate synchronous access to jsonata (#4090) @knolleary + - Add Node 18 to test matrix (#4084) @knolleary + - Bump minimum nodejs version supported to match documented value (#4086) @knolleary + - Update monaco docs link in settings.js (#4075) @Steve-Mcl + - Remove duplicated messages in the message catalog (#4066) @kazuhitoyokoi + - Ensure errors in preDeliver callback are handled (#3911) @knolleary + - Fix "EADDRINUSE" error (#4046) @bggbr + +Nodes + + - Link Call: Clear link-call timeouts when node is closed (#4085) @knolleary + - Join: ensure inflight status is cleared when in auto mode (#4083) @knolleary + - File Out: Fix extra newline append for multipart file write (#3915) @dceejay + - Add validators for complete and link call nodes (#4056) @kazuhitoyokoi + +##### 3.1.0-beta.1: Beta Release + +Editor + + - NEW: Locking Flows (#3938) @knolleary + - NEW: Improve UX around hiding flows via context menu (#3930) @knolleary + - NEW: Add support for inline image in markdown editor by drag and drop of an image file (#4006) @HiroyasuNishiyama + - NEW: Add support for mermaid diagram to markdown editor (#4007) @HiroyasuNishiyama + - NEW: Support uri fragments for nodes and groups including edit support (#3870) @knolleary + - NEW: Add global environment variable feature (#3941) @HiroyasuNishiyama + + - Remember compact/pretty flow export user choice (#3974) @Steve-Mcl + - fix .red-ui-notification class (#4035) @xiaobinqt + - Fix border radius on Modules list header (#4038) @bonanitech + - fix workspace reference error in case of empty tabs (#4029) @HiroyasuNishiyama + - Disable delete tab menu when single tab exists (#4030) @HiroyasuNishiyama + - Disable hide all menu if all tabs hidden (#4031) @HiroyasuNishiyama + - fix hide subflow tooltip (#4033) @HiroyasuNishiyama + - Fix disabled menu items in project feature (#4027) @kazuhitoyokoi + - Let themes change radialMenu text colors (#3995) @bonanitech + - Add Japanese translations for v3.0.3 (#4012) @kazuhitoyokoi + - Add Japanese translation for v3.1.0-beta.0 (#3997) @kazuhitoyokoi + - Add Japanese translation for v3.1.0-beta.0 (#3916) @kazuhitoyokoi + - Hide subflow category after deleting subflow (#3980) @kazuhitoyokoi + - Prevent dbl-click opening node edit dialog with text selected (#3970) @knolleary + - Handle replacing unknown node inside group or subflow (#3921) @knolleary + - Fix #3939, red border red-ui-typedInput-container (#3949) @Steveorevo + - i18n item URL copy notification & add Japanese message (#3946) @HiroyasuNishiyama + - add Japanese message for item url copy actions (#3947) @HiroyasuNishiyama + - Fix autocomplete entry for responseUrl (#3884) @knolleary + - Fix Japanese translation for JSONata editor (#3872) @HiroyasuNishiyama + - Fix search type with spaces (#3841) @Steve-Mcl + - Fix error hanndling of JSONata expression editor for extended functions (#3871) @HiroyasuNishiyama + - Add button type to the adding SSH key button (#3866) @kazuhitoyokoi + - Check radio button as default in project dialog (#3879) @kazuhitoyokoi + - Add $clone as supported function (#3874) @HiroyasuNishiyama + - Env var jsonata (#3807) @HiroyasuNishiyama + - Add Japanese translation for v3.0.2 (#3852) @kazuhitoyokoi + +Runtime + + - Force IPv4 name resolution to have priority (#4019) @dceejay + - Fix async loading of modules containing both nodes and plugins (#3999) @knolleary + - Use main branch as default in project feature (#4036) @kazuhitoyokoi + - Rename package var to avoid strict mode error (#4020) @knolleary + - Fix typos in settings.js (#4013) @ypid + - Ensure credentials object is removed before returning node in getFlow request (#3971) @knolleary + - Ignore commit error in project feature (#3987) @kazuhitoyokoi + - Update dependencies (#3969) @knolleary + - Add check that node sends object rather than primitive type (#3909) @knolleary + - Ensure key_path is quoted in GIT_SSH_COMMAND in case of spaces in pathname (#3912) @knolleary + - Fix nodesDir scan when node package has js/html in sub dir to package.json (#3867) @Steve-Mcl + - Fix file permissions (#3917) @kazuhitoyokoi + - ci: add minimum GitHub token permissions for workflows (#3907) @boahc077 + +Nodes + + - Catch: fix typo in catch.html (#3965) @we11adam + - Change: Fix change node overwriting msg with itself (#3899) @dceejay + - Comment node: Clarify where the text will appear (#4004) @dirkjanfaber + - CSV: change replace to replaceAll (#3990) @dceejay + - CSV node: check header properties for ' and " (#3920) @dceejay + - CSV: Fix for CSV undefined property (#3906) @dceejay + - Delay: let delay node handle both flush then reset (#3898) @dceejay + - Function: Limit number of ports in function node (#3886) @kazuhitoyokoi + - Function: Remove dot from variable name for external module in function node (#3880) @kazuhitoyokoi + - Function: add function node monaco types util and promisify (#3868) @Steve-Mcl + - HTTP In: Ensure msg.req.headers is enumerable (#3908) @knolleary + - HTTP Request: Support form-data arrays (#3991) @hardillb + - HTTP Request: Fix httprequest tests to be more lenient on error message (#3922) @knolleary + - HTTP Request: Add missing property to node object HTTPRequest (#3842) @hardillb + - HTTP Request/Response: Support sortable list on property UI of http request and http response nodes (#3857) @kazuhitoyokoi + - HTTP Response: Ensure statusCode is a number (#3894) @hardillb + - Inject: Allow Inject node to work with async context stores (#4021) @knolleary + - Join/Batch: Add count to join and batch node labels (#4028) @dceejay + - MQTT: Fix birth topic handling in MQTT node (#3905) @Steve-Mcl + - MQTT: Fix pull-down menus of MQTT configuration node (#3890) @kazuhitoyokoi + - MQTT: Prevent invalid mqtt birth topic crashing node-red (#3869) @Steve-Mcl + - MQTT: ensure sessionExpiry(Interval) is applied (#3840) @Steve-Mcl + - MQTT: Fix mqtt nodes not reconnecting on modified-flows deploy (#3992) @knolleary + - MQTT: fix single subscription mqtt node status (#3966) @Steve-Mcl + - Range: Add drop mode to range node (#3935) @dceejay + - Remove done from describe (#3873) @HiroyasuNishiyama + - Split node: avoid duplicate done call for buffer split (#4000) @knolleary + - Status: Fix typo in 25-status.html (#3981) @kazuhitoyokoi + - TCP Node: ensure newline substitution applies to whole message (#4009) @dceejay + - Template: Add information about environment variable to template node (#3882) @kazuhitoyokoi + - Trigger: Hide trigger node repeat send option if sending nothing (#4023) @dceejay + - Watch: fix watch node test on MacOS/ARM (#3942) @HiroyasuNishiyama + +#### 3.0.2: Maintenance Release + +Editor + + - Fix workspace chart bottom property (#3812) @bonanitech + - Update german translation (#3802) @Dennis14e + - Support color reset to the default in subflow and group (#3801) @kazuhitoyokoi + - Allow generateNodeNames to handle names containing regex control chars (#3817) @knolleary + - Hide scrollbars until they're needed (#3808) @bonanitech + - Include junctions/groups when exporting subflows plus related fixes (#3816) @knolleary + - remove console.log (#3820) @Steve-Mcl + +Runtime + + - Register subflow module instance node with parent flow (#3818) @knolleary + +Nodes + + - HTTP Request: Allow HTTP Headers not in spec (#3776) @hardillb + +#### 3.0.1: Maintenance Release + +Editor + + - Allow codeEditor theme to be set even if `codeEditor` is not set in settings.js (#3794) @Steve-Mcl + - Sys info (diagnostics report) amendments (#3793) @Steve-Mcl + - Allow `mode` and `title` to be omitted in `options` argument for `createEditor` (#3791) @Steve-Mcl + - Fix focus issues (#3789) @Steve-Mcl + - Ensure all typedInput buttons have button type set (#3788) @knolleary + - Do not flag hasUsers=false nodes as unused in search (#3787) @knolleary + - Properly position quick-add dialog in all cases (#3786) @knolleary + - Ensure quick-add dialog does not obscure ghost node when shifted (#3785) @knolleary + - Remove use of Object.hasOwn (#3784) @knolleary + #### 3.0.0: Milestone Release Editor diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 95287d81f..f8fb04304 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,6 +16,9 @@ behavior to the project's core team at team@nodered.org. Please raise any bug reports on the relevant project's issue tracker. Be sure to search the list to see if your issue has already been raised. +If your issue is more of a question on how to do something with Node-RED, please +consider using the [community forum](https://discourse.nodered.org/). + A good bug report is one that make it easy for us to understand what you were trying to do and what went wrong. @@ -35,14 +38,18 @@ For feature requests, please raise them on the [forum](https://discourse.nodered ## Pull-Requests If you want to raise a pull-request with a new feature, or a refactoring -of existing code, it may well get rejected if you haven't discussed it on -the [forum](https://discourse.nodered.org) first. +of existing code, please come and discuss it with us first. We prefer to +do it that way to make sure your time and effort is well spent on something +that fits with our goals. + +If you've got a bug-fix or similar for us, then you are most welcome to +get it raised - just make sure you link back to the issue it's fixing and +try to include some tests! All contributors need to sign the OpenJS Foundation's Contributor License Agreement. It is an online process and quick to do. If you raise a pull-request without having signed the CLA, you will be prompted to do so automatically. - ### Code Branches When raising a PR for a fix or a new feature, it is important to target the right branch. diff --git a/Gruntfile.js b/Gruntfile.js index 2f81da923..09b057837 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -169,6 +169,7 @@ module.exports = function(grunt) { "packages/node_modules/@node-red/editor-client/src/js/ui/diagnostics.js", "packages/node_modules/@node-red/editor-client/src/js/ui/diff.js", "packages/node_modules/@node-red/editor-client/src/js/ui/keyboard.js", + "packages/node_modules/@node-red/editor-client/src/js/ui/env-var.js", "packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js", "packages/node_modules/@node-red/editor-client/src/js/ui/statusBar.js", "packages/node_modules/@node-red/editor-client/src/js/ui/view.js", @@ -224,7 +225,7 @@ module.exports = function(grunt) { "node_modules/jsonata/jsonata-es5.min.js", "packages/node_modules/@node-red/editor-client/src/vendor/jsonata/formatter.js", "packages/node_modules/@node-red/editor-client/src/vendor/ace/ace.js", - "packages/node_modules/@node-red/editor-client/src/vendor/ace/ext-language_tools.js", + "packages/node_modules/@node-red/editor-client/src/vendor/ace/ext-language_tools.js" ], // "packages/node_modules/@node-red/editor-client/public/vendor/vendor.css": [ // // TODO: resolve relative resource paths in @@ -233,6 +234,9 @@ module.exports = function(grunt) { "packages/node_modules/@node-red/editor-client/public/vendor/ace/worker-jsonata.js": [ "node_modules/jsonata/jsonata-es5.min.js", "packages/node_modules/@node-red/editor-client/src/vendor/jsonata/worker-jsonata.js" + ], + "packages/node_modules/@node-red/editor-client/public/vendor/mermaid/mermaid.min.js": [ + "node_modules/mermaid/dist/mermaid.min.js" ] } } @@ -403,7 +407,7 @@ module.exports = function(grunt) { { cwd: 'packages/node_modules/@node-red/editor-client/src', src: [ - 'types/node/*.ts', + 'types/node/**/*.ts', 'types/node-red/*.ts', ], expand: true, diff --git a/README.md b/README.md index b1e9766f0..3401c3726 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,16 @@ # Node-RED -http://nodered.org +https://nodered.org -[![Build Status](https://travis-ci.org/node-red/node-red.svg?branch=master)](https://travis-ci.org/node-red/node-red) -[![Coverage Status](https://coveralls.io/repos/node-red/node-red/badge.svg?branch=master)](https://coveralls.io/r/node-red/node-red?branch=master) +[![Build Status](https://github.com/node-red/node-red/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/node-red/node-red/actions?query=branch%3Amaster) Low-code programming for event-driven applications. -![Node-RED: Low-code programming for event-driven applications](http://nodered.org/images/node-red-screenshot.png) +![Node-RED: Low-code programming for event-driven applications](https://nodered.org/images/node-red-screenshot.png) ## Quick Start -Check out http://nodered.org/docs/getting-started/ for full instructions on getting +Check out https://nodered.org/docs/getting-started/ for full instructions on getting started. 1. `sudo npm install -g --unsafe-perm node-red` @@ -20,7 +19,7 @@ started. ## Getting Help -More documentation can be found [here](http://nodered.org/docs). +More documentation can be found [here](https://nodered.org/docs). For further help, or general discussion, please use the [Node-RED Forum](https://discourse.nodered.org) or [slack team](https://nodered.org/slack). diff --git a/package.json b/package.json index b596e10b6..561609dcf 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "node-red", - "version": "3.1.0-beta.0", + "version": "4.0.0-beta.1", "description": "Low-code programming for event-driven applications", - "homepage": "http://nodered.org", + "homepage": "https://nodered.org", "license": "Apache-2.0", "repository": { "type": "git", @@ -26,67 +26,67 @@ } ], "dependencies": { - "acorn": "8.7.1", + "acorn": "8.8.2", "acorn-walk": "8.2.0", - "ajv": "8.11.0", - "async-mutex": "0.3.2", + "ajv": "8.12.0", + "async-mutex": "0.4.0", "basic-auth": "2.0.1", "bcryptjs": "2.4.3", - "body-parser": "1.20.0", + "body-parser": "1.20.2", "cheerio": "1.0.0-rc.10", "clone": "2.1.2", - "content-type": "1.0.4", + "content-type": "1.0.5", "cookie": "0.5.0", "cookie-parser": "1.4.6", "cors": "2.8.5", "cronosjs": "1.7.1", - "denque": "2.0.1", - "express": "4.18.1", + "denque": "2.1.0", + "express": "4.18.2", "express-session": "1.17.3", "form-data": "4.0.0", - "fs-extra": "10.1.0", - "got": "11.8.5", + "fs-extra": "11.1.1", + "got": "12.6.0", "hash-sum": "2.0.0", - "hpagent": "1.0.0", + "hpagent": "1.2.0", "https-proxy-agent": "5.0.1", - "i18next": "21.8.14", + "i18next": "21.10.0", "iconv-lite": "0.6.3", "is-utf8": "0.2.1", "js-yaml": "4.1.0", "json-stringify-safe": "5.0.1", - "jsonata": "1.8.6", + "jsonata": "2.0.4", "lodash.clonedeep": "^4.5.0", "media-typer": "1.1.0", "memorystore": "1.6.7", "mime": "3.0.0", "moment": "2.29.4", - "moment-timezone": "0.5.34", + "moment-timezone": "0.5.43", "mqtt": "4.3.7", "multer": "1.4.5-lts.1", "mustache": "4.2.0", - "node-red-admin": "^3.0.0", - "node-watch": "0.7.3", + "node-red-admin": "^3.1.2", + "node-watch": "0.7.4", "nopt": "5.0.0", "oauth2orize": "1.11.1", "on-headers": "1.0.2", "passport": "0.6.0", "passport-http-bearer": "1.0.1", "passport-oauth2-client-password": "0.1.2", - "raw-body": "2.5.1", - "semver": "7.3.7", - "tar": "6.1.11", - "tough-cookie": "4.0.0", - "uglify-js": "3.16.2", - "uuid": "8.3.2", + "raw-body": "2.5.2", + "semver": "7.5.4", + "tar": "6.1.13", + "tough-cookie": "4.1.3", + "uglify-js": "3.17.4", + "uuid": "9.0.0", "ws": "7.5.6", - "xml2js": "0.4.23" + "xml2js": "0.6.2" }, "optionalDependencies": { - "bcrypt": "5.0.1" + "bcrypt": "5.1.1" }, "devDependencies": { - "dompurify": "2.3.9", - "grunt": "1.5.3", + "dompurify": "2.4.1", + "grunt": "1.6.1", "grunt-chmod": "~1.1.1", "grunt-cli": "~1.4.3", "grunt-concurrent": "3.0.0", @@ -108,19 +108,20 @@ "i18next-http-backend": "1.4.1", "jquery-i18next": "1.2.1", "jsdoc-nr-template": "github:node-red/jsdoc-nr-template", - "marked": "4.0.18", + "marked": "4.3.0", + "mermaid": "^10.4.0", "minami": "1.2.3", "mocha": "9.2.2", - "node-red-node-test-helper": "^0.3.0", - "nodemon": "2.0.19", + "node-red-node-test-helper": "^0.3.2", + "nodemon": "2.0.20", "proxy": "^1.0.2", - "sass": "1.53.0", + "sass": "1.62.1", "should": "13.2.3", "sinon": "11.1.2", "stoppable": "^1.1.0", - "supertest": "6.2.4" + "supertest": "6.3.3" }, "engines": { - "node": ">=14" + "node": ">=18" } } diff --git a/packages/node_modules/@node-red/editor-api/lib/admin/context.js b/packages/node_modules/@node-red/editor-api/lib/admin/context.js index 54bfd9f85..4124b812d 100644 --- a/packages/node_modules/@node-red/editor-api/lib/admin/context.js +++ b/packages/node_modules/@node-red/editor-api/lib/admin/context.js @@ -33,6 +33,9 @@ module.exports = { store: req.query['store'], req: apiUtils.getRequestLogObject(req) } + if (req.query['keysOnly'] !== undefined) { + opts.keysOnly = true + } runtimeAPI.context.getValue(opts).then(function(result) { res.json(result); }).catch(function(err) { diff --git a/packages/node_modules/@node-red/editor-api/lib/admin/index.js b/packages/node_modules/@node-red/editor-api/lib/admin/index.js index 8406fa8e9..26eabe65b 100644 --- a/packages/node_modules/@node-red/editor-api/lib/admin/index.js +++ b/packages/node_modules/@node-red/editor-api/lib/admin/index.js @@ -14,8 +14,6 @@ * limitations under the License. **/ -var express = require("express"); - var nodes = require("./nodes"); var flows = require("./flows"); var flow = require("./flow"); @@ -37,18 +35,9 @@ module.exports = { plugins.init(runtimeAPI); diagnostics.init(settings, runtimeAPI); - var needsPermission = auth.needsPermission; - - var adminApp = express(); - - var defaultServerSettings = { - "x-powered-by": false - } - var serverSettings = Object.assign({},defaultServerSettings,settings.httpServerOptions||{}); - for (var eOption in serverSettings) { - adminApp.set(eOption, serverSettings[eOption]); - } + const needsPermission = auth.needsPermission; + const adminApp = apiUtil.createExpressApp(settings) // Flows adminApp.get("/flows",needsPermission("flows.read"),flows.get,apiUtil.errorHandler); diff --git a/packages/node_modules/@node-red/editor-api/lib/admin/settings.js b/packages/node_modules/@node-red/editor-api/lib/admin/settings.js index d72f9e094..425d42415 100644 --- a/packages/node_modules/@node-red/editor-api/lib/admin/settings.js +++ b/packages/node_modules/@node-red/editor-api/lib/admin/settings.js @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. **/ -var apiUtils = require("../util"); var runtimeAPI; var settings; var theme = require("../editor/theme"); diff --git a/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js b/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js index e18925c19..b071a9caf 100644 --- a/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js +++ b/packages/node_modules/@node-red/editor-api/lib/auth/strategies.js @@ -18,7 +18,6 @@ var BearerStrategy = require('passport-http-bearer').Strategy; var ClientPasswordStrategy = require('passport-oauth2-client-password').Strategy; var passport = require("passport"); -var crypto = require("crypto"); var util = require("util"); var Tokens = require("./tokens"); diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/index.js b/packages/node_modules/@node-red/editor-api/lib/editor/index.js index f210d90fe..54cf17f12 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/index.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/index.js @@ -14,11 +14,9 @@ * limitations under the License. **/ -var express = require("express"); var path = require('path'); var comms = require("./comms"); -var library = require("./library"); var info = require("./settings"); var auth = require("../auth"); @@ -46,14 +44,15 @@ module.exports = { runtimeAPI = _runtimeAPI; needsPermission = auth.needsPermission; if (!settings.disableEditor) { - info.init(runtimeAPI); + info.init(settings, runtimeAPI); comms.init(server,settings,runtimeAPI); var ui = require("./ui"); - ui.init(runtimeAPI); + ui.init(settings, runtimeAPI); + + const editorApp = apiUtil.createExpressApp(settings) - var editorApp = express(); if (settings.requireHttps === true) { editorApp.enable('trust proxy'); editorApp.use(function (req, res, next) { @@ -86,7 +85,7 @@ module.exports = { //Projects var projects = require("./projects"); - projects.init(runtimeAPI); + projects.init(settings, runtimeAPI); editorApp.use("/projects",projects.app()); // Locales diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/library.js b/packages/node_modules/@node-red/editor-api/lib/editor/library.js index cd564b3f8..7853227ea 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/library.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/library.js @@ -15,8 +15,6 @@ **/ var apiUtils = require("../util"); -var fs = require('fs'); -var fspath = require('path'); var runtimeAPI; diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/locales.js b/packages/node_modules/@node-red/editor-api/lib/editor/locales.js index 568f5837b..6109d8741 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/locales.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/locales.js @@ -13,9 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. **/ -var fs = require('fs'); -var path = require('path'); -// var apiUtil = require('../util'); var i18n = require("@node-red/util").i18n; // TODO: separate module diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/projects.js b/packages/node_modules/@node-red/editor-api/lib/editor/projects.js index ad505a46e..5d1b2ff26 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/projects.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/projects.js @@ -14,9 +14,9 @@ * limitations under the License. **/ -var express = require("express"); var apiUtils = require("../util"); +var settings; var runtimeAPI; var needsPermission = require("../auth").needsPermission; @@ -77,11 +77,12 @@ function getProjectRemotes(req,res) { }) } module.exports = { - init: function(_runtimeAPI) { + init: function(_settings, _runtimeAPI) { + settings = _settings; runtimeAPI = _runtimeAPI; }, app: function() { - var app = express(); + var app = apiUtils.createExpressApp(settings) app.use(function(req,res,next) { runtimeAPI.projects.available().then(function(available) { diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/settings.js b/packages/node_modules/@node-red/editor-api/lib/editor/settings.js index 5fa2476e1..200ddf2c2 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/settings.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/settings.js @@ -18,9 +18,9 @@ var runtimeAPI; var sshkeys = require("./sshkeys"); module.exports = { - init: function(_runtimeAPI) { + init: function(settings, _runtimeAPI) { runtimeAPI = _runtimeAPI; - sshkeys.init(runtimeAPI); + sshkeys.init(settings, runtimeAPI); }, userSettings: function(req, res) { var opts = { diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/sshkeys.js b/packages/node_modules/@node-red/editor-api/lib/editor/sshkeys.js index 6d1c62e11..885967b91 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/sshkeys.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/sshkeys.js @@ -15,15 +15,16 @@ **/ var apiUtils = require("../util"); -var express = require("express"); var runtimeAPI; +var settings; module.exports = { - init: function(_runtimeAPI) { + init: function(_settings, _runtimeAPI) { runtimeAPI = _runtimeAPI; + settings = _settings; }, app: function() { - var app = express(); + const app = apiUtils.createExpressApp(settings); // List all SSH keys app.get("/", function(req,res) { diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js index 7be8868d3..c3808a751 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js @@ -14,11 +14,11 @@ * limitations under the License. **/ -var express = require("express"); var util = require("util"); var path = require("path"); var fs = require("fs"); var clone = require("clone"); +const apiUtil = require("../util") var defaultContext = { page: { @@ -27,8 +27,7 @@ var defaultContext = { tabicon: { icon: "red/images/node-red-icon-black.svg", colour: "#8f0000" - }, - version: require(path.join(__dirname,"../../package.json")).version + } }, header: { title: "Node-RED", @@ -40,6 +39,7 @@ var defaultContext = { vendorMonaco: "" } }; +var settings; var theme = null; var themeContext = clone(defaultContext); @@ -92,7 +92,8 @@ function serveFilesFromTheme(themeValue, themeApp, directory, baseDirectory) { } module.exports = { - init: function(settings, _runtimeAPI) { + init: function(_settings, _runtimeAPI) { + settings = _settings; runtimeAPI = _runtimeAPI; themeContext = clone(defaultContext); if (process.env.NODE_ENV == "development") { @@ -113,7 +114,15 @@ module.exports = { var url; themeSettings = {}; - themeApp = express(); + themeApp = apiUtil.createExpressApp(settings); + + const defaultServerSettings = { + "x-powered-by": false + } + const serverSettings = Object.assign({},defaultServerSettings,settings.httpServerOptions||{}); + for (const eOption in serverSettings) { + themeApp.set(eOption, serverSettings[eOption]); + } if (theme.page) { @@ -327,9 +336,10 @@ module.exports = { themeContext.header.url = themePlugin.header.url || themeContext.header.url } } - if(theme.codeEditor) { - theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options); - } + theme.codeEditor = theme.codeEditor || {} + theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options); + + theme.mermaid = Object.assign({}, themePlugin.mermaid, theme.mermaid) } activeThemeInitialised = true; } diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/ui.js b/packages/node_modules/@node-red/editor-api/lib/editor/ui.js index 998816f5e..37c79d415 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/ui.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/ui.js @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. **/ +const crypto = require('crypto') var express = require('express'); var fs = require("fs"); var path = require("path"); @@ -24,13 +25,16 @@ var apiUtils = require("../util"); var theme = require("./theme"); var runtimeAPI; +let settings; var editorClientDir = path.dirname(require.resolve("@node-red/editor-client")); var defaultNodeIcon = path.join(editorClientDir,"public","red","images","icons","arrow-in.svg"); var editorTemplatePath = path.join(editorClientDir,"templates","index.mst"); var editorTemplate; +let cacheBuster module.exports = { - init: function(_runtimeAPI) { + init: function(_settings, _runtimeAPI) { + settings = _settings; runtimeAPI = _runtimeAPI; editorTemplate = fs.readFileSync(editorTemplatePath,"utf8"); Mustache.parse(editorTemplate); @@ -91,6 +95,12 @@ module.exports = { }, editor: async function(req,res) { + if (!cacheBuster) { + // settings.instanceId is set asynchronously to the editor-api + // being initiaised. So we defer calculating the cacheBuster hash + // until the first load of the editor + cacheBuster = crypto.createHash('sha1').update(`${settings.version || 'version'}-${settings.instanceId || 'instanceId'}`).digest("hex").substring(0,12) + } let sessionMessages; if (req.session && req.session.messages) { @@ -99,6 +109,7 @@ module.exports = { } res.send(Mustache.render(editorTemplate,{ sessionMessages, + cacheBuster, ...await theme.context() })); }, diff --git a/packages/node_modules/@node-red/editor-api/lib/index.js b/packages/node_modules/@node-red/editor-api/lib/index.js index 56f52a222..9264550b3 100644 --- a/packages/node_modules/@node-red/editor-api/lib/index.js +++ b/packages/node_modules/@node-red/editor-api/lib/index.js @@ -24,11 +24,8 @@ * @namespace @node-red/editor-api */ -var express = require("express"); var bodyParser = require("body-parser"); -var util = require('util'); var passport = require('passport'); -var cors = require('cors'); var auth = require("./auth"); var apiUtil = require("./util"); @@ -37,7 +34,6 @@ var adminApp; var server; var editor; - /** * Initialise the module. * @param {Object} settings The runtime settings @@ -49,7 +45,7 @@ var editor; function init(settings,_server,storage,runtimeAPI) { server = _server; if (settings.httpAdminRoot !== false) { - adminApp = express(); + adminApp = apiUtil.createExpressApp(settings); var cors = require('cors'); var corsHandler = cors({ @@ -64,14 +60,6 @@ function init(settings,_server,storage,runtimeAPI) { } } - var defaultServerSettings = { - "x-powered-by": false - } - var serverSettings = Object.assign({},defaultServerSettings,settings.httpServerOptions||{}); - for (var eOption in serverSettings) { - adminApp.set(eOption, serverSettings[eOption]); - } - auth.init(settings,storage); var maxApiRequestSize = settings.apiMaxLength || '5mb'; @@ -136,10 +124,11 @@ async function stop() { editor.stop(); } } + module.exports = { - init: init, - start: start, - stop: stop, + init, + start, + stop, /** * @memberof @node-red/editor-api diff --git a/packages/node_modules/@node-red/editor-api/lib/util.js b/packages/node_modules/@node-red/editor-api/lib/util.js index 621fd9e33..f1420235a 100644 --- a/packages/node_modules/@node-red/editor-api/lib/util.js +++ b/packages/node_modules/@node-red/editor-api/lib/util.js @@ -14,10 +14,9 @@ * limitations under the License. **/ +const express = require("express"); -var log = require("@node-red/util").log; // TODO: separate module -var i18n = require("@node-red/util").i18n; // TODO: separate module - +const { log, i18n } = require("@node-red/util"); module.exports = { errorHandler: function(err,req,res,next) { @@ -64,5 +63,17 @@ module.exports = { path: req.path, ip: (req.headers && req.headers['x-forwarded-for']) || (req.connection && req.connection.remoteAddress) || undefined } + }, + createExpressApp: function(settings) { + const app = express(); + + const defaultServerSettings = { + "x-powered-by": false + } + const serverSettings = Object.assign({},defaultServerSettings,settings.httpServerOptions||{}); + for (let eOption in serverSettings) { + app.set(eOption, serverSettings[eOption]); + } + return app } } diff --git a/packages/node_modules/@node-red/editor-api/package.json b/packages/node_modules/@node-red/editor-api/package.json index dd7020e75..fdb00cab9 100644 --- a/packages/node_modules/@node-red/editor-api/package.json +++ b/packages/node_modules/@node-red/editor-api/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/editor-api", - "version": "3.1.0-beta.0", + "version": "4.0.0-beta.1", "license": "Apache-2.0", "main": "./lib/index.js", "repository": { @@ -16,14 +16,14 @@ } ], "dependencies": { - "@node-red/util": "3.1.0-beta.0", - "@node-red/editor-client": "3.1.0-beta.0", + "@node-red/util": "4.0.0-beta.1", + "@node-red/editor-client": "4.0.0-beta.1", "bcryptjs": "2.4.3", - "body-parser": "1.20.0", + "body-parser": "1.20.2", "clone": "2.1.2", "cors": "2.8.5", "express-session": "1.17.3", - "express": "4.18.1", + "express": "4.18.2", "memorystore": "1.6.7", "mime": "3.0.0", "multer": "1.4.5-lts.1", @@ -35,6 +35,6 @@ "ws": "7.5.6" }, "optionalDependencies": { - "bcrypt": "5.0.1" + "bcrypt": "5.1.0" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/de/editor.json b/packages/node_modules/@node-red/editor-client/locales/de/editor.json old mode 100755 new mode 100644 index 41fe1459a..d47241617 --- a/packages/node_modules/@node-red/editor-client/locales/de/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/de/editor.json @@ -105,11 +105,10 @@ "search": "Flows durchsuchen", "searchInput": "Flows durchsuchen", "subflows": "Subflow", - "createSubflow": "Subflow", + "createSubflow": "Hinzufügen", "selectionToSubflow": "Auswahl in Subflow umwandeln", "flows": "Flow", "add": "Hinzufügen", - "rename": "Umbenennen", "delete": "Löschen", "keyboardShortcuts": "Tastenkürzel", "login": "Anmelden", @@ -152,7 +151,8 @@ "zoom-in": "Vergrößern", "search-flows": "Flows durchsuchen", "search-prev": "Vorherige", - "search-next": "Nächste" + "search-next": "Nächste", + "search-counter": "\"__term__\" __result__ von __count__" }, "user": { "loggedInAs": "Angemeldet als __name__", @@ -168,7 +168,11 @@ } }, "notification": { - "warning": "Warnung: __message__", + "state": { + "flowsStopped": "Flows gestoppt", + "flowsStarted": "Flows gestartet" + }, + "warning": "Warnung: __message__", "warnings": { "undeployedChanges": "Node hat nicht übernommene (deploy) Änderungen", "nodeActionDisabled": "Node-Aktionen deaktiviert", @@ -177,15 +181,15 @@ "missing-modules": "

Flows angehalten aufgrund fehlender Module

", "safe-mode": "

Flows sind im abgesicherten Modus gestoppt.

Flows können bearbeitet und übernommen (deploy) werden, um sie neu zu starten.

", "restartRequired": "Node-RED muss neu gestartet werden, damit die Module nach Upgrade aktiviert werden", - "credentials_load_failed": "

Flows gestoppt, da die Berechtigungen nicht entschlüsselt werden konnten.

Die Datei mit dem Flow-Berechtigungen ist verschlüsselt, aber der Schlüssel des Projekts fehlt oder ist ungültig.

", - "credentials_load_failed_reset": "

Die Berechtigungen konnten nicht entschlüsselt werden.

Die Datei mit den Flow-Berechtigungen ist verschlüsselt, aber der Schlüssel des Projekts fehlt oder ist ungültig.

Die Datei mit den Flow-Berechtigungen wird bei der nächsten Übernahme (deploy) zurückgesetzt. Alle vorhandenen Flow-Berechtigungen werden gelöscht.

", + "credentials_load_failed": "

Flows gestoppt, da die Credentials nicht entschlüsselt werden konnten.

Die Datei mit den Flow-Credentials ist verschlüsselt, aber der Schlüssel des Projekts fehlt oder ist ungültig.

", + "credentials_load_failed_reset": "

Die Credentials konnten nicht entschlüsselt werden.

Die Datei mit den Flow-Credentials ist verschlüsselt, aber der Schlüssel des Projekts fehlt oder ist ungültig.

Die Datei mit den Flow-Credentials wird bei der nächsten Übernahme (deploy) zurückgesetzt. Alle vorhandenen Flow-Credentials werden gelöscht.

", "missing_flow_file": "

Die Flow-Datei des Projekts wurde nicht gefunden.

Das Projekt ist nicht mit einer Flow-Datei konfiguriert.

", "missing_package_file": "

Die Paket-Datei des Projekts wurde nicht gefunden.

In dem Projekt fehlt die 'package.json'-Datei.

", "project_empty": "

Das Projekt ist leer.

Soll ein Standardsatz an Projektdateien erstellen werden?
Andernfalls müssen die Dateien manuell außerhalb des Editors dem Projekt hinzugefügt werden.

", "project_not_found": "

Das Projekt '__project__' wurde nicht gefunden.

", "git_merge_conflict": "

Der automatische Merge der Änderungen ist fehlgeschlagen.

Die Merge-Konflikte müssen behoben und die Ergebnisse ins Repository übertragen werden (commit).

" }, - "error": "Fehler: __message__", + "error": "Fehler: __message__", "errors": { "lostConnection": "Verbindung zum Server verloren. Verbindung wird erneut hergestellt ...", "lostConnectionReconnect": "Verbindung zum Server verloren. Wiederherstellung der Verbindung in __time__s.", @@ -203,7 +207,7 @@ "pull": "Projekt '__project__' erneut geladen", "revert": "Änderungen im Projekt '__project__' rückgängig gemacht", "merge-complete": "Git-Merge abgeschlossen", - "setupCredentials": "Berechtigungen einrichten", + "setupCredentials": "Credentials einrichten", "setupProjectFiles": "Projektdateien einrichten", "no": "Nein, Danke", "createDefault": "Standardprojektdateien erstellen", @@ -211,7 +215,7 @@ }, "label": { "manage-project-dep": "Projektabhängigkeiten verwalten", - "setup-cred": "Berechtigungen einrichten", + "setup-cred": "Credentials einrichten", "setup-project": "Projektdateien einrichten", "create-default-package": "Standardpaketdatei erstellen", "no-thanks": "Nein, Danke", @@ -295,6 +299,10 @@ "modifiedFlowsDesc": "Übernimmt nur Flows, die geänderte Nodes enthalten", "modifiedNodes": "Geänderte Nodes", "modifiedNodesDesc": "Übernimmt nur Nodes, die sich geändert haben", + "startFlows": "Start", + "startFlowsDesc": "Flows starten", + "stopFlows": "Stop", + "stopFlowsDesc": "Flows stoppen", "restartFlows": "Flows neustarten", "restartFlowsDesc": "Startet die aktuell übernommenen Flows (ohne vorheriges Deploy)", "successfulDeploy": "Erfolgreich übernommen (deploy)", @@ -376,7 +384,7 @@ "confirmDelete": "Sind Sie sicher mit dem Löschen dieses Subflows?", "info": "Beschreibung", "category": "Kategorie", - "module": "Module", + "module": "Modul", "license": "Lizenz", "licenseNone": "Keine", "licenseOther": "Andere", @@ -434,7 +442,7 @@ "icon": "Icon", "inputType": "Eingangstyp", "selectType": "Wähle Typen ...", - "loadCredentials": "Lade Node-Berechtigungen", + "loadCredentials": "Lade Node-Credentials", "inputs": { "input": "Eingang", "select": "Auswahl", @@ -450,7 +458,7 @@ "json": "JSON", "bin": "buffer", "env": "Umgebungsvariable", - "cred": "Berechtigung" + "cred": "Credentials" }, "menu": { "input": "Eingang", @@ -470,7 +478,7 @@ "errors": { "scopeChange": "Wenn Sie den Geltungsbereich (scope) ändern, wird er für Nodes in anderen Flows nicht verfügbar sein", "invalidProperties": "Ungültige Eigenschaften:", - "credentialLoadFailed": "Laden der Node-Berechtigungen fehlgeschlagen" + "credentialLoadFailed": "Laden der Node-Credentials fehlgeschlagen" } }, "keyboard": { @@ -683,7 +691,8 @@ "showHelp": "Hilfe zeigen", "showInOutline": "Zeige im Editor", "showTopics": "Zeige Hilfethemen", - "noHelp": "Kein Hilfethema ausgewählt" + "noHelp": "Kein Hilfethema ausgewählt", + "changeLog": "Änderungsprotokoll" }, "config": { "name": "Konfigurations-Node", @@ -737,7 +746,7 @@ "addToProject": "Zu Projekt hinzufügen", "files": "Dateien", "flow": "Flow", - "credentials": "Berechtigungen", + "credentials": "Credentials", "package": "Paket", "packageCreate": "Datei wird erstellt beim Speichern der Änderungen", "fileNotExist": "Datei existiert nicht", @@ -750,7 +759,7 @@ "changeTheEncryptionKey": "Schlüssel ändern", "currentKey": "Aktueller Schlüssel", "newKey": "Neuer Schlüssel", - "credentialsAlert": "Dadurch werden alle vorhandenen Berechtigungen gelöscht", + "credentialsAlert": "Dadurch werden alle vorhandenen Credentials gelöscht", "versionControl": "Versionsverwaltung (Git)", "branches": "Branches", "noBranches": "Keine Branches", @@ -886,7 +895,7 @@ "date": "timestamp", "jsonata": "JSONata", "env": "Umgebungsvariable", - "cred": "Berechtigung" + "cred": "Credentials" } }, "editableList": { @@ -1026,7 +1035,7 @@ "passphrase": "Passphrase", "ssh-key-desc": "Bevor Sie ein Repository über SSH lokal klonen können, müssen Sie einen SSH-Schlüssel hinzufügen, um auf diesen zugreifen zu können", "ssh-key-add": "SSH-Schlüssel hinzufügen", - "credential-key": "Schlüssel für Berechtigungen", + "credential-key": "Schlüssel für Credentials", "cant-get-ssh-key": "Fehler! Der ausgewählte SSH-Schlüsselpfad kann nicht abgerufen werden", "already-exists2": "bereits vorhanden", "git-error": "Git-Fehler", @@ -1038,27 +1047,27 @@ "create": "Erstellen Sie Ihre Projektdateien", "desc0": "Ein Projekt enthält Ihre Flow-Dateien, eine README-Datei und die 'package.json'-Datei.", "desc1": "Es kann alle anderen Dateien enthalten, die im Git-Repository verwaltet werden sollen.", - "desc2": "Ihre vorhandenen Flow- und Berechtigungs-Dateien werden in das Projekt kopiert.", + "desc2": "Ihre vorhandenen Flow- und Credential-Dateien werden in das Projekt kopiert.", "flow-file": "Flow-Datei", - "credentials-file": "Datei mit Berechtigungen" + "credentials-file": "Datei mit Credentials" }, "encryption-config": { - "setup": "Einrichtung der Verschlüsselung Ihrer Datei mit den Berechtigungen", - "desc0": "Die Datei mit den Flow-Berechtigungen kann verschlüsselt werden, um ihren Inhalt zu schützen.", - "desc1": "Wenn Sie diese Berechtigungen in einem öffentlichen Repository speichern möchten, müssen Sie sie mit einen geheimen Schlüsselausdruck verschlüsseln.", - "desc2": "Die Datei mit den Flow-Berechtigungen ist derzeit nicht verschlüsselt.", + "setup": "Einrichtung der Verschlüsselung Ihrer Datei mit den Credentials", + "desc0": "Die Datei mit den Flow-Credentials kann verschlüsselt werden, um ihren Inhalt zu schützen.", + "desc1": "Wenn Sie diese Credentials in einem öffentlichen Repository speichern möchten, müssen Sie sie mit einen geheimen Schlüsselausdruck verschlüsseln.", + "desc2": "Die Datei mit den Flow-Credentials ist derzeit nicht verschlüsselt.", "desc3": "D.h. ihr Inhalt (z.B. Passwörter und Zugriffs-Tokens) kann von jedem mit Zugriff auf die Datei gelesen werden.", - "desc4": "Wenn Sie diese Berechtigungen in einen öffentlichen Repository speichern möchten, müssen Sie diese verschlüsseln, indem Sie einen geheimen Schlüsselausdruck eingeben.", - "desc5": "Ihre Datei mit den Flow-Berechtigungen wird derzeit mit dem Eintrag 'credentialSecret' Ihrer Einstellungsdatei als Schlüssel verschlüsselt.", - "desc6": "Die Datei mit den Flow-Berechtigungen wird derzeit mit einem vom System generierten Schlüssel verschlüsselt. Sie sollten einen neuen geheimen Schlüssel für dieses Projekt vorgeben.", + "desc4": "Wenn Sie diese Credentials in einen öffentlichen Repository speichern möchten, müssen Sie diese verschlüsseln, indem Sie einen geheimen Schlüsselausdruck eingeben.", + "desc5": "Ihre Datei mit den Flow-Credentials wird derzeit mit dem Eintrag 'credentialSecret' Ihrer Einstellungsdatei als Schlüssel verschlüsselt.", + "desc6": "Die Datei mit den Flow-Credentials wird derzeit mit einem vom System generierten Schlüssel verschlüsselt. Sie sollten einen neuen geheimen Schlüssel für dieses Projekt vorgeben.", "desc7": "Der Schlüssel wird separat von den Projektdateien gespeichert. Sie müssen den Schlüssel angeben, damit dieses Projekt auch in einem anderen Node-RED-System verwendet werden kann.", - "credentials": "Berechtigung", + "credentials": "Credentials", "enable": "Verschlüsselung aktivieren", "disable": "Verschlüsselung deaktivieren", "disabled": "deaktiviert", "copy": "Vorhandenen Schlüssel ersetzen", "use-custom": "Eigenen Schlüssel verwenden", - "desc8": "Die Datei mit den Berechtigungen wird nicht verschlüsselt, und ihr Inhalt kann leicht gelesen werden", + "desc8": "Die Datei mit den Credentials wird nicht verschlüsselt und ihr Inhalt kann leicht gelesen werden", "create-project-files": "Projektdateien erstellen", "create-project": "Projekt erstellen", "already-exists": "bereits vorhanden", @@ -1066,7 +1075,7 @@ "git-auth-error": "Git-Authentifizierungsfehler" }, "create-success": { - "success": "Sie haben Ihr erstes Projekt erfolgreich erstduellt!", + "success": "Sie haben Ihr erstes Projekt erfolgreich erstellt!", "desc0": "Sie können jetzt Node-RED wie bisher verwenden.", "desc1": "Im Tab 'Info' in der Seitenleiste wird angezeigt, welches das aktuelle Projekt ist. Über die Schaltfläche rechts neben dem Projektnamen gelangt man zu 'Projekteinstellungen'.", "desc2": "Im Tab 'Commit-Historie' in der Seitenleiste werden alle Dateien angezeigt, die sich in Ihrem Projekt geändert haben, und um sie ins lokale Repository zu übertragen (commit). Es zeigt Ihnen eine vollständige Historie Ihrer Commits an und ermöglicht es Ihnen, Ihre Commits in ein (remote) Server-Repository zu schieben (push)." @@ -1083,12 +1092,12 @@ "desc": "Beschreibung", "opt": "Optional", "flow-file": "Flow-Datei", - "credentials": "Berechtigungen", + "credentials": "Credentials", "enable-encryption": "Verschlüsselung aktivieren", "disable-encryption": "Verschlüsselung deaktivieren", "encryption-key": "Schlüssel", - "desc0": "Eine Floskel, mit der Sie Ihre Berechtigungen schützen", - "desc1": "Die Datei mit den Berechtigungen wird nicht verschlüsselt, und ihr Inhalt kann leicht gelesen werden", + "desc0": "Eine Ausdruck, mit der Sie Ihre Credentials schützen", + "desc1": "Die Datei mit den Credentials wird nicht verschlüsselt und ihr Inhalt kann leicht gelesen werden", "git-url": "Git-Repository-URL", "protocols": "https://, ssh:// oder file://", "auth-failed": "Authentifizierung fehlgeschlagen", @@ -1098,7 +1107,7 @@ "passphrase": "Passphrase", "desc2": "Bevor Sie ein Repository über SSH klonen können, müssen Sie einen SSH-Schlüssel hinzufügen, um auf diesen zu zugreifen", "add-ssh-key": "Einen SSH-Schlüssel hinzufügen", - "credentials-encryption-key": "Schlüssel für Berechtigungen", + "credentials-encryption-key": "Schlüssel für Credentials", "already-exists-2": "bereits vorhanden", "git-error": "Git-Fehler", "con-failed": "Verbindung fehlgeschlagen", @@ -1156,20 +1165,12 @@ "tourGuide": { "takeATour": "Tour starten", "start": "Start", - "next": "Nächste" + "next": "Nächste", + "welcomeTours": "Welcome Tours" }, "diagnostics": { "title": "System-Informationen" }, - "languages": { - "de": "Deutsch", - "en-US": "Englisch", - "ja": "Japanisch", - "ko": "Koreanisch", - "ru": "Russisch", - "zh-CN": "Chinesisch (Vereinfacht)", - "zh-TW": "Chinesisch (Traditionell)" - }, "validator": { "errors": { "invalid-json": "Ungültige JSON-Daten: __error__", diff --git a/packages/node_modules/@node-red/editor-client/locales/de/infotips.json b/packages/node_modules/@node-red/editor-client/locales/de/infotips.json old mode 100755 new mode 100644 diff --git a/packages/node_modules/@node-red/editor-client/locales/de/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/de/jsonata.json old mode 100755 new mode 100644 index 9717f3715..77e32c09b --- a/packages/node_modules/@node-red/editor-client/locales/de/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/de/jsonata.json @@ -205,7 +205,7 @@ }, "$formatNumber": { "args": "number, picture [, options]", - "desc": "Wandelt `number` in eine Zeichenfolge um und formatiert sie in eine dezimale Darstellung, wie im `picture`-String-Parameter vorgegeben.\n\nDas Verhalten dieser Funktion ist mit der XPath/XQuery-Funktion fn:formatnummer konsistent, wie sie in der XPath F&O 3.1-Spezifikation definiert ist. Der `picture`-String-Parameter definiert, wie die Zahl formatiert ist und hat die gleiche Syntax wie fn:format-number.\n\nDer optionale dritte Parameter `options` wird verwendet, um die standardmäßigen länderspezifischen Formatierungszeichen, wie z.B. das Dezimaltrennzeichen, zu überschreiben. Wenn dieser Parameter vorgegeben wird, muss es sich um ein Objekt handeln, das Name/Wert-Paare enthält, die im Abschnitt mit dem Dezimalformat der XPath F&O 3.1-Spezifikation vorgegeben sind." + "desc": "Wandelt `number` in eine Zeichenfolge um und formatiert sie in eine dezimale Darstellung, wie im `picture`-String-Parameter vorgegeben.\n\nDas Verhalten dieser Funktion ist mit der XPath/XQuery-Funktion `fn:formatnummer` konsistent, wie sie in der XPath F&O 3.1-Spezifikation definiert ist. Der `picture`-String-Parameter definiert, wie die Zahl formatiert ist und hat die gleiche Syntax wie `fn:format-number`.\n\nDer optionale dritte Parameter `options` wird verwendet, um die standardmäßigen länderspezifischen Formatierungszeichen, wie z.B. das Dezimaltrennzeichen, zu überschreiben. Wenn dieser Parameter vorgegeben wird, muss es sich um ein Objekt handeln, das Name/Wert-Paare enthält, die im Abschnitt mit dem Dezimalformat der XPath F&O 3.1-Spezifikation vorgegeben sind." }, "$formatBase": { "args": "number [, radix]", diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json old mode 100755 new mode 100644 index b97b9815a..da9bf18a2 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json @@ -23,7 +23,11 @@ "position": "Position", "enable": "Enable", "disable": "Disable", - "upload": "Upload" + "upload": "Upload", + "lock": "Lock", + "unlock": "Unlock", + "locked": "Locked", + "unlocked": "Unlocked" }, "type": { "string": "string", @@ -53,22 +57,30 @@ "confirmDelete": "Confirm delete", "delete": "Are you sure you want to delete '__label__'?", "dropFlowHere": "Drop the flow here", + "dropImageHere": "Drop the image here", "addFlow": "Add flow", "addFlowToRight": "Add flow to the right", + "closeFlow": "Close flow", "hideFlow": "Hide flow", "hideOtherFlows": "Hide other flows", - "showAllFlows": "Show all flows", + "showAllFlows": "Show all flows (__count__ hidden)", "hideAllFlows": "Hide all flows", "hiddenFlows": "List __count__ hidden flow", "hiddenFlows_plural": "List __count__ hidden flows", - "showLastHiddenFlow": "Show last hidden flow", + "showLastHiddenFlow": "Reopen hidden flow", "listFlows": "List flows", "listSubflows": "List subflows", "status": "Status", "enabled": "Enabled", "disabled": "Disabled", "info": "Description", - "selectNodes": "Click nodes to select" + "selectNodes": "Click nodes to select", + "enableFlow": "Enable flow", + "disableFlow": "Disable flow", + "lockFlow": "Lock flow", + "unlockFlow": "Unlock flow", + "moveToStart": "Move flow to start", + "moveToEnd": "Move flow to end" }, "menu": { "label": { @@ -101,6 +113,7 @@ "displayStatus": "Show node status", "displayConfig": "Configuration nodes", "import": "Import", + "importExample": "Import example flow", "export": "Export", "search": "Search flows", "searchInput": "search your flows", @@ -109,7 +122,6 @@ "selectionToSubflow": "Selection to Subflow", "flows": "Flows", "add": "Add", - "rename": "Rename", "delete": "Delete", "keyboardShortcuts": "Keyboard shortcuts", "login": "Login", @@ -117,6 +129,11 @@ "editPalette": "Manage palette", "other": "Other", "showTips": "Show tips", + "showNodeHelp": "Show node help", + "enableSelectedNodes": "Enable selected nodes", + "disableSelectedNodes": "Disable selected nodes", + "showSelectedNodeLabels": "Show selected node labels", + "hideSelectedNodeLabels": "Hide selected node labels", "showWelcomeTours": "Show guided tours for new versions", "help": "Node-RED website", "projects": "Projects", @@ -286,7 +303,8 @@ "missingType": "Input not a valid flow - item __index__ missing 'type' property" }, "conflictNotification1": "Some of the nodes you are importing already exist in your workspace.", - "conflictNotification2": "Select which nodes to import and whether to replace the existing nodes, or to import a copy of them." + "conflictNotification2": "Select which nodes to import and whether to replace the existing nodes, or to import a copy of them.", + "alreadyExists": "This node already exists" }, "copyMessagePath": "Path copied", "copyMessageValue": "Value copied", @@ -403,6 +421,7 @@ }, "errors": { "noNodesSelected": "Cannot create subflow: no nodes selected", + "acrossMultipleGroups": "Cannot create subflow across multiple groups", "multipleInputsToSelection": "Cannot create subflow: multiple inputs to selection" } }, @@ -491,12 +510,14 @@ "unassigned": "Unassigned", "global": "global", "workspace": "workspace", + "editor": "edit dialog", "selectAll": "Select all", "selectNone": "Select none", "selectAllConnected": "Select connected", "addRemoveNode": "Add/remove node from selection", "editSelected": "Edit selected node", - "deleteSelected": "Delete selected nodes or link", + "deleteSelected": "Delete selection", + "deleteReconnect": "Delete and reconnect", "importNode": "Import nodes", "exportNode": "Export nodes", "nudgeNode": "Move selected nodes (1px)", @@ -571,6 +592,7 @@ "editor": { "title": "Manage palette", "palette": "Palette", + "allCatalogs": "All Catalogs", "times": { "seconds": "seconds ago", "minutes": "minutes ago", @@ -610,6 +632,7 @@ "tab-nodes": "Nodes", "tab-install": "Install", "sort": "sort:", + "sortRelevance": "relevance", "sortAZ": "a-z", "sortRecent": "recent", "more": "+ __count__ more", @@ -685,7 +708,9 @@ "triggerAction": "Trigger action", "find": "Find in workspace", "copyItemUrl": "Copy item url", - "copyURL2Clipboard": "Copied url to clipboard" + "copyURL2Clipboard": "Copied url to clipboard", + "showFlow": "Show", + "hideFlow": "Hide" }, "help": { "name": "Help", @@ -899,7 +924,14 @@ "date": "timestamp", "jsonata": "expression", "env": "env variable", - "cred": "credential" + "cred": "credential", + "conf-types": "config node" + }, + "date": { + "format": { + "timestamp": "milliseconds since epoch", + "object": "JavaScript Date Object" + } } }, "editableList": { @@ -938,6 +970,9 @@ "invalid-expr": "Invalid JSONata expression:\n __message__", "invalid-msg": "Invalid example JSON message:\n __message__", "context-unsupported": "Cannot test context functions\n $flowContext or $globalContext", + "env-unsupported": "Cannot test $env function", + "moment-unsupported": "Cannot test $moment function", + "clone-unsupported": "Cannot test $clone function", "eval": "Error evaluating expression:\n __message__" } }, @@ -983,7 +1018,10 @@ "quote": "Quote", "link": "Link", "horizontal-rule": "Horizontal rule", - "toggle-preview": "Toggle preview" + "toggle-preview": "Toggle preview", + "mermaid": { + "summary": "Mermaid Diagram" + } }, "bufferEditor": { "title": "Buffer editor", @@ -1176,20 +1214,22 @@ "title": "System Info" }, "languages": { - "de": "German", + "de": "Deutsch", "en-US": "English", - "ja": "Japanese", + "es-ES": "Español (España)", + "fr": "Français", + "ja": "日本語", "ko": "Korean", - "ru": "Russian", - "zh-CN": "Chinese(Simplified)", - "zh-TW": "Chinese(Traditional)" + "pt-BR": "Português (Brasil)", + "ru": "Русский", + "zh-CN": "简体中文", + "zh-TW": "繁體中文" }, "validator": { "errors": { "invalid-json": "Invalid JSON data: __error__", - "invalid-json-prop": "__prop__: invalid JSON data: __error__", + "invalid-expr": "Invalid JSONata expression: __error__", "invalid-prop": "Invalid property expression", - "invalid-prop-prop": "__prop__: invalid property expression", "invalid-num": "Invalid number", "invalid-num-prop": "__prop__: invalid number", "invalid-regexp": "Invalid input pattern", @@ -1201,9 +1241,15 @@ } }, "contextMenu": { + "showActionList": "Show action list", "insert": "Insert", "node": "Node", "junction": "Junction", "linkNodes": "Link Nodes" + }, + "env-var": { + "environment": "Environment", + "header": "Global Environment Variables", + "revert": "Revert" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json b/packages/node_modules/@node-red/editor-client/locales/en-US/infotips.json old mode 100755 new mode 100644 diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json old mode 100755 new mode 100644 index b24a898b7..6dad125f3 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/jsonata.json @@ -1,7 +1,7 @@ { "$string": { "args": "arg[, prettify]", - "desc": "Casts the `arg` parameter to a string using the following casting rules:\n\n - Strings are unchanged\n - Functions are converted to an empty string\n - Numeric infinity and NaN throw an error because they cannot be represented as a JSON number\n - All other values are converted to a JSON string using the `JSON.stringify` function. If `prettify` is true, then \"prettified\" JSON is produced. i.e One line per field and lines will be indented based on the field depth." + "desc": "Casts the `arg` parameter to a string using the following casting rules:\n\n - Strings are unchanged\n - Functions are converted to an empty string\n - Numeric infinity and NaN throw an error because they cannot be represented as a JSON number\n - All other values are converted to a JSON string using the `JSON.stringify` function. If `prettify` is true, then \"prettified\" JSON is produced. i.e One line per field and lines will be indented based on the field depth." }, "$length": { "args": "str", @@ -53,7 +53,7 @@ }, "$now": { "args": "$[picture [, timezone]]", - "desc": "Generates a timestamp in ISO 8601 compatible format and returns it as a string. If the optional picture and timezone parameters are supplied, then the current timestamp is formatted as described by the `$fromMillis()` function" + "desc": "Generates a timestamp in ISO 8601 compatible format and returns it as a string. If the optional `picture` and `timezone` parameters are supplied, then the current timestamp is formatted as described by the `$fromMillis()` function" }, "$base64encode": { "args": "string", @@ -137,7 +137,7 @@ }, "$sort": { "args": "array [, function]", - "desc": "Returns an array containing all the values in the `array` parameter, but sorted into order.\n\nIf a comparator `function` is supplied, then it must be a function that takes two parameters:\n\n`function(left, right)`\n\nThis function gets invoked by the sorting algorithm to compare two values left and right. If the value of left should be placed after the value of right in the desired sort order, then the function must return Boolean `true` to indicate a swap. Otherwise it must return `false`." + "desc": "Returns an array containing all the values in the `array` parameter, but sorted into order.\n\nIf a comparator `function` is supplied, then it must be a function that takes two parameters:\n\n`function(left, right)`\n\nThis function gets invoked by the sorting algorithm to compare two values `left` and `right`. If the value of `left` should be placed after the value of `right` in the desired sort order, then the function must return Boolean `true` to indicate a swap. Otherwise it must return `false`." }, "$reverse": { "args": "array", @@ -201,11 +201,11 @@ }, "$fromMillis": { "args": "number, [, picture [, timezone]]", - "desc": "Convert the `number` representing milliseconds since the Unix Epoch (1 January, 1970 UTC) to a formatted string representation of the timestamp as specified by the picture string.\n\nIf the optional `picture` parameter is omitted, then the timestamp is formatted in the ISO 8601 format.\n\nIf the optional `picture` string is supplied, then the timestamp is formatted occording to the representation specified in that string. The behaviour of this function is consistent with the two-argument version of the XPath/XQuery function `format-dateTime` as defined in the XPath F&O 3.1 specification. The picture string parameter defines how the timestamp is formatted and has the same syntax as `format-dateTime`.\n\nIf the optional `timezone` string is supplied, then the formatted timestamp will be in that timezone. The `timezone` string should be in the format '±HHMM', where ± is either the plus or minus sign and HHMM is the offset in hours and minutes from UTC. Positive offset for timezones east of UTC, negative offset for timezones west of UTC." + "desc": "Convert the `number` representing milliseconds since the Unix Epoch (1 January, 1970 UTC) to a formatted string representation of the timestamp as specified by the picture string.\n\nIf the optional `picture` parameter is omitted, then the timestamp is formatted in the ISO 8601 format.\n\nIf the optional `picture` string is supplied, then the timestamp is formatted according to the representation specified in that string. The behaviour of this function is consistent with the two-argument version of the XPath/XQuery function `format-dateTime` as defined in the XPath F&O 3.1 specification. The picture string parameter defines how the timestamp is formatted and has the same syntax as `format-dateTime`.\n\nIf the optional `timezone` string is supplied, then the formatted timestamp will be in that timezone. The `timezone` string should be in the format '±HHMM', where ± is either the plus or minus sign and HHMM is the offset in hours and minutes from UTC. Positive offset for timezones east of UTC, negative offset for timezones west of UTC." }, "$formatNumber": { "args": "number, picture [, options]", - "desc": "Casts the `number` to a string and formats it to a decimal representation as specified by the `picture` string.\n\n The behaviour of this function is consistent with the XPath/XQuery function fn:format-number as defined in the XPath F&O 3.1 specification. The picture string parameter defines how the number is formatted and has the same syntax as fn:format-number.\n\nThe optional third argument `options` is used to override the default locale specific formatting characters such as the decimal separator. If supplied, this argument must be an object containing name/value pairs specified in the decimal format section of the XPath F&O 3.1 specification." + "desc": "Casts the `number` to a string and formats it to a decimal representation as specified by the `picture` string.\n\n The behaviour of this function is consistent with the XPath/XQuery function `fn:format-number` as defined in the XPath F&O 3.1 specification. The `picture` string parameter defines how the number is formatted and has the same syntax as `fn:format-number`.\n\nThe optional third argument `options` is used to override the default locale specific formatting characters such as the decimal separator. If supplied, this argument must be an object containing name/value pairs specified in the decimal format section of the XPath F&O 3.1 specification." }, "$formatBase": { "args": "number [, radix]", @@ -233,15 +233,15 @@ }, "$error": { "args": "[str]", - "desc": "Throws an error with a message. The optional `str` will replace the default message of `$error() function evaluated`" + "desc": "Throws an error with a message. The optional `str` will replace the default message of `$error() function evaluated`" }, "$assert": { "args": "arg, str", - "desc": "If `arg` is true the function returns undefined. If `arg` is false an exception is thrown with `str` as the message of the exception." + "desc": "If `arg` is `true` the function returns `undefined`. If `arg` is `false` an exception is thrown with `str` as the message of the exception." }, "$single": { "args": "array, function", - "desc": "Returns the one and only value in the `array` parameter that satisfies the `function` predicate (i.e. the `function` returns Boolean `true` when passed the value). Throws an exception if the number of matching values is not exactly one.\n\nThe function should be supplied in the following signature: `function(value [, index [, array]])` where value is each input of the array, index is the position of that value and the whole array is passed as the third argument" + "desc": "Returns the one and only value in the `array` parameter that satisfies the `function` predicate (i.e. the `function` returns Boolean `true` when passed the value). Throws an exception if the number of matching values is not exactly one.\n\nThe function should be supplied in the following signature: `function(value [, index [, array]])` where value is each input of the array, index is the position of that value and the whole array is passed as the third argument" }, "$encodeUrlComponent": { "args": "str", @@ -249,15 +249,15 @@ }, "$encodeUrl": { "args": "str", - "desc": "Encodes a Uniform Resource Locator (URL) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character. \n\nExample: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" + "desc": "Encodes a Uniform Resource Locator (URL) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character.\n\nExample: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" }, "$decodeUrlComponent": { "args": "str", - "desc": "Decodes a Uniform Resource Locator (URL) component previously created by encodeUrlComponent. \n\nExample: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + "desc": "Decodes a Uniform Resource Locator (URL) component previously created by encodeUrlComponent.\n\nExample: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" }, "$decodeUrl": { "args": "str", - "desc": "Decodes a Uniform Resource Locator (URL) previously created by encodeUrl. \n\nExample: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + "desc": "Decodes a Uniform Resource Locator (URL) previously created by encodeUrl.\n\nExample: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" }, "$distinct": { "args": "array", @@ -270,5 +270,9 @@ "$moment": { "args": "[str]", "desc": "Gets a date object using the Moment library." + }, + "$clone": { + "args": "value", + "desc": "Safely clone an object." } } diff --git a/packages/node_modules/@node-red/editor-client/locales/es-ES/editor.json b/packages/node_modules/@node-red/editor-client/locales/es-ES/editor.json new file mode 100644 index 000000000..2655dfe27 --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/es-ES/editor.json @@ -0,0 +1,1235 @@ +{ + "common": { + "label": { + "name": "Nombre", + "ok": "Vale", + "done": "Hecho", + "cancel": "Cancelar", + "delete": "Eliminar", + "close": "Cerrar", + "load": "Cargar", + "save": "Guardar", + "import": "Importar", + "export": "Exportar", + "back": "Atrás", + "next": "Siguiente", + "clone": "Clonar proyecto", + "cont": "Continuar", + "style": "Estilo", + "line": "Contorno", + "fill": "Rellenar", + "label": "Etiqueta", + "color": "Color", + "position": "Posición", + "enable": "Habilitar", + "disable": "Deshabilitar", + "upload": "Subir", + "lock": "Bloquear", + "unlock": "Desbloquear", + "locked": "Bloqueado", + "unlocked": "Desbloqueado" + }, + "type": { + "string": "texto", + "number": "número", + "boolean": "booleano", + "array": "array", + "buffer": "buffer", + "object": "objeto", + "jsonString": "texto JSON", + "undefined": "indefinido", + "null": "nulo" + } + }, + "event": { + "loadPlugins": "Cargando Extensiones", + "loadPalette": "Cargando Paleta", + "loadNodeCatalogs": "Cargando catálogos de Nodos", + "loadNodes": "Cargando Nodos __count__", + "loadFlows": "Cargando Flujos", + "importFlows": "Añadiendo Flujos al espacio de trabajo", + "importError": "

Error añadiendo flujos

__message__

", + "loadingProject": "Cargando proyecto" + }, + "workspace": { + "defaultName": "Flujo __number__", + "editFlow": "Editar flujo: __name__", + "confirmDelete": "Confirmar eliminación", + "delete": "¿Estás seguro de que quieres eliminar '__label__'?", + "dropFlowHere": "Suelta el flujo aquí", + "dropImageHere": "Suelta la imagen aquí", + "addFlow": "Añadir flujo", + "addFlowToRight": "Añadir flujo a la derecha", + "closeFlow": "Cerrar flujo", + "hideFlow": "Esconder flujo", + "hideOtherFlows": "Esconder otros flujos", + "showAllFlows": "Mostrar todos los flujos (__count__ escondidos)", + "hideAllFlows": "Esconder todos los flujos", + "hiddenFlows": "Listar __count__ flujo escondido", + "hiddenFlows_plural": "Listar __count__ flujos escondidos", + "showLastHiddenFlow": "Abrir flujo escondido", + "listFlows": "Listar flujos", + "listSubflows": "Listar subflujos", + "status": "Estado", + "enabled": "Habilitado", + "disabled": "Deshabilitado", + "info": "Descripción", + "selectNodes": "Haz clic en los nodos para seleccionar", + "enableFlow": "Habilitar flujo", + "disableFlow": "Deshabilitar flujo", + "lockFlow": "Bloquear flujo", + "unlockFlow": "desbloquear flujo", + "moveToStart": "Mover flujo al inicio", + "moveToEnd": "Mover flujo al final" + }, + "menu": { + "label": { + "view": { + "view": "Vista", + "grid": "Rejilla", + "storeZoom": "Restaurar nivel de zoom al iniciar", + "storePosition": "Restaurar la posición de desplazamiento al iniciar", + "showGrid": "Mostrar rejilla", + "snapGrid": "Ajustar a rejilla", + "gridSize": "Tamaño rejilla", + "textDir": "Dirección Texto", + "defaultDir": "Predeterminado", + "ltr": "Izquierda-a-derecha", + "rtl": "Derecha-a-izquierda", + "auto": "Contextual", + "language": "Idioma", + "browserDefault": "El del Navegador" + }, + "sidebar": { + "show": "Mostrar barra lateral" + }, + "palette": { + "show": "Mostrar paleta" + }, + "edit": "Editar", + "settings": "Ajustes", + "userSettings": "Ajustes de usuario", + "nodes": "Nodos", + "displayStatus": "Mostrar estado del nodo", + "displayConfig": "Nodos de configuración", + "import": "Importar", + "importExample": "Importar flujo de ejemplo", + "export": "Exportar", + "search": "Buscar flujos", + "searchInput": "busca tus flujos", + "subflows": "Subflujos", + "createSubflow": "Crear subflujo", + "selectionToSubflow": "Convertir selección a Subflujo", + "flows": "Flujos", + "add": "Añadir", + "delete": "Eliminar", + "keyboardShortcuts": "Atajos de teclado", + "login": "Acceso", + "logout": "Salir", + "editPalette": "Administrar paleta", + "other": "Otro", + "showTips": "Mostrar ayudas", + "showNodeHelp": "Mostrar ayuda nodo", + "enableSelectedNodes": "Habilitar nodos seleccionados", + "disableSelectedNodes": "Deshabilitar nodos seleccionados", + "showSelectedNodeLabels": "Mostrar etiquetas de nodos seleccionados", + "hideSelectedNodeLabels": "Esconder etiquetas de nodos seleccionados", + "showWelcomeTours": "Mostrar visitas guiadas para nuevas versiones", + "help": "Sitio web de Node-RED", + "projects": "Proyectos", + "projects-new": "Nuevo", + "projects-open": "Abrir", + "projects-settings": "Ajustes del proyecto", + "showNodeLabelDefault": "Mostrar etiqueta de nodos añadidos recientemente", + "codeEditor": "Editor de código", + "groups": "Grupos", + "groupSelection": "Agrupar selección", + "ungroupSelection": "Desagrupar selección", + "groupMergeSelection": "Fusionar selección", + "groupRemoveSelection": "Sacar del grupo", + "arrange": "Organizar", + "alignLeft": "Alinear a la izquierda", + "alignCenter": "Alinear al centro", + "alignRight": "Alinear a la derecha", + "alignTop": "Alinear arriba", + "alignMiddle": "Alinear en medio", + "alignBottom": "Alinear abajo", + "distributeHorizontally": "Distribuir horizontalmente", + "distributeVertically": "Distribuir verticalmente", + "moveToBack": "Mover al fondo", + "moveToFront": "Mover al frente", + "moveBackwards": "Mover atrás", + "moveForwards": "Mover adelante" + } + }, + "actions": { + "toggle-navigator": "Alternar navegador", + "zoom-out": "Alejar", + "zoom-reset": "Restablecer zoom", + "zoom-in": "Acercar", + "search-flows": "Buscar flujos", + "search-prev": "Anterior", + "search-next": "Siguiente", + "search-counter": "\"__term__\" __result__ de __count__" + }, + "user": { + "loggedInAs": "Conectado como __name__", + "username": "Usuario", + "password": "Contraseña", + "login": "Acceso", + "loginFailed": "Acceso fallido", + "notAuthorized": "No autorizado", + "errors": { + "settings": "Debes iniciar sesión para acceder a los ajustes", + "deploy": "Debes iniciar sesión para instanciar cambios", + "notAuthorized": "Debes iniciar sesión para realizar esta acción" + } + }, + "notification": { + "state": { + "flowsStopped": "Flujos detenidos", + "flowsStarted": "Flujos iniciados" + }, + "warning": "Aviso: __message__", + "warnings": { + "undeployedChanges": "nodo tiene cambios no instanciados", + "nodeActionDisabled": "acciones del nodo deshabilitados", + "nodeActionDisabledSubflow": "acciones del nodo deshabilitados dentro del subflujo", + "missing-types": "

Flujos detenidos por falta de tipo de nodo.

", + "missing-modules": "

Flujos detenidos por módulos no encontrados.

", + "safe-mode": "

Flujos detenidos en modo seguro.

Puedes modificar los flujos e instanciar los cambios para reiniciar.

", + "restartRequired": "Node-RED debe reiniciarse para habilitar los módulos actualizados", + "credentials_load_failed": "

Los flujos se detuvieron porque las credenciales no se pudieron descifrar.

El archivo de credenciales de flujo está cifrado, pero la clave de cifrado del proyecto falta o no es válida.

", + "credentials_load_failed_reset": "

No se pudieron descifrar las credenciales

El archivo de credenciales de flujo está cifrado, y falta la clave de cifrado del proyecto o no es válida.

El archivo de credenciales de flujo se restablecerá en la siguiente instanciación. Se borrarán todas las credenciales de flujo existentes.

", + "missing_flow_file": "

No se encontró el archivo de flujo del proyecto.

El proyecto no está configurado con un archivo de flujo.

", + "missing_package_file": "

No se encontró el archivo del paquete del proyecto.

Al proyecto le falta un archivo package.json.

", + "project_empty": "

El proyecto está vacío.

¿Quieres crear un conjunto predeterminado de archivos de proyecto?
De lo contrario, tendrás que agregar archivos manualmente al proyecto fuera del editor.

", + "project_not_found": "

Proyecto '__project__' no encontrado.

", + "git_merge_conflict": "

Falló la fusión automática de cambios.

Soluciona los conflictos no combinados y luego confirma los resultados.

" + }, + "error": "Error: __message__", + "errors": { + "lostConnection": "Se perdió la conexión al servidor, reconectándo...", + "lostConnectionReconnect": "Se perdió la conexión al servidor, reconectándo en __time__s.", + "lostConnectionTry": "Intentar ahora", + "cannotAddSubflowToItself": "No se puede añadir subflujo a si mismo", + "cannotAddCircularReference": "No se puede añadir subflujo: se detectó una referencia circular", + "unsupportedVersion": "

Usando una versión no compatible de Node.js

Debes actualizar a la última versión LTS de Node.js

", + "failedToAppendNode": "

Fallo al cargar '__module__'

__error__

" + }, + "project": { + "change-branch": "Cambiar a rama local '__project__'", + "merge-abort": "Fusión Git abortado", + "loaded": "Proyecto '__project__' cargado", + "updated": "Proyecto '__project__' actualizado", + "pull": "Proyecto '__project__' actualizado", + "revert": "Proyecto '__project__' revertido", + "merge-complete": "Fusión Git completado", + "setupCredentials": "Configurar credenciales", + "setupProjectFiles": "Configurar archivos de proyecto", + "no": "No, gracias", + "createDefault": "Crear archivos de proyecto predeterminados", + "mergeConflict": "Mostrar conflictos fusión" + }, + "label": { + "manage-project-dep": "Gestionar las dependencias del proyecto", + "setup-cred": "Configurar credenciales", + "setup-project": "Configurar ficheros proyecto", + "create-default-package": "Crear archivo de paquete predeterminado", + "no-thanks": "No gracias", + "create-default-project": "Crear archivos de proyecto predeterminados", + "show-merge-conflicts": "Mostrar conflictos fusión", + "unknownNodesButton": "Buscar nodos desconocidos" + } + }, + "clipboard": { + "clipboard": "Portapapeles", + "nodes": "Nodos", + "node": "__count__ nodo", + "node_plural": "__count__ nodos", + "configNode": "__count__ nodo de configuración", + "configNode_plural": "__count__ nodos de configuración", + "group": "__count__ grupo", + "group_plural": "__count__ grupos", + "flow": "__count__ flujo", + "flow_plural": "__count__ flujos", + "subflow": "__count__ subflujo", + "subflow_plural": "__count__ subflujos", + "replacedNodes": "__count__ nodo reemplazado", + "replacedNodes_plural": "__count__ nodos reemplazados", + "pasteNodes": "Pegar flujo JSON o", + "selectFile": "seleccionar un archivo para importar", + "importNodes": "Importar nodos", + "exportNodes": "Exportar nodos", + "download": "Descargar", + "importUnrecognised": "Tipo importado no reconocido:", + "importUnrecognised_plural": "Tipos importados no reconocidos:", + "importDuplicate": "Nodo duplicado importado:", + "importDuplicate_plural": "Nodos duplicados importados:", + "nodesExported": "Nodos exportados al portapapeles", + "nodesImported": "Importado:", + "nodeCopied": "__count__ nodo copiado", + "nodeCopied_plural": "__count__ nodos copiados", + "groupCopied": "__count__ grupo copiado", + "groupCopied_plural": "__count__ grupos copiados", + "groupStyleCopied": "Estilo de grupo copiado", + "invalidFlow": "Flujo inválido: __message__", + "recoveredNodes": "Nodos recuperados", + "recoveredNodesInfo": "A los nodos de este flujo les faltaba una identificación de flujo válida cuando se importaron. Se han agregado a este flujo para que puedas restaurarlos o eliminarlos.", + "recoveredNodesNotification": "

Nodos importados sin una identificación de flujo válida

Se han agregado a un nuevo flujo llamado '__flowName__'.

", + "export": { + "selected": "nodos seleccionados", + "current": "flujo actual", + "all": "todos los flujos", + "compact": "compacto", + "formatted": "formateado", + "copy": "Copiar al portapapeles", + "export": "Exportar a librería", + "exportAs": "Exportar como", + "overwrite": "Reemplazar", + "exists": "

\"__file__\" ya existe.

¿Quieres reemplazarlo?

" + }, + "import": { + "import": "Importar a", + "importSelected": "Importar seleccionado", + "importCopy": "Importar copia", + "viewNodes": "Ver nodos...", + "newFlow": "nuevo flujo", + "replace": "reemplazar", + "errors": { + "notArray": "Entrada no es un Array JSON", + "itemNotObject": "La entrada no es un flujo válido - elemento __index__ no es un objeto de nodo", + "missingId": "La entrada no es un flujo válido - elemento __index__ falta la propiedad 'id'", + "missingType": "La entrada no es un flujo válido - elemento __index__ falta la propiedad 'type'" + }, + "conflictNotification1": "Algunos de los nodos que estás importando ya existen en tu espacio de trabajo.", + "conflictNotification2": "Selecciona qué nodos importar y si reemplazar los nodos existentes o importar una copia de los mismos." + }, + "copyMessagePath": "Ruta copiada", + "copyMessageValue": "Valor copiado", + "copyMessageValue_truncated": "Valor truncado copiado" + }, + "deploy": { + "deploy": "Instanciar", + "full": "Completo", + "fullDesc": "Instanciación todo en el espacio de trabajo.", + "modifiedFlows": "Flujos Modificados", + "modifiedFlowsDesc": "Solo instancia flujos que han cambiado", + "modifiedNodes": "Nodos Modificados", + "modifiedNodesDesc": "Solo instancia nodos que han cambiado", + "startFlows": "Iniciar", + "startFlowsDesc": "Iniciar Flujos", + "stopFlows": "Detener", + "stopFlowsDesc": "Detener Flujos", + "restartFlows": "Reiniciar Flujos", + "restartFlowsDesc": "Reinicia los flujos instanciados.", + "successfulDeploy": "Instanciación con éxito", + "successfulRestart": "Flujos reiniciados exitosamente", + "deployFailed": "Instanciación fallida: __message__", + "unusedConfigNodes": "Tienes algunos nodos de configuración no utilizados.", + "unusedConfigNodesButton": "Buscar nodos de configuración no utilizados", + "unknownNodesButton": "Buscar nodos desconocidos", + "invalidNodesButton": "Buscar nodos inválidos", + "errors": { + "noResponse": "no hay respuesta del servidor" + }, + "confirm": { + "button": { + "ignore": "Ignorar", + "confirm": "Confirmar instanciación", + "review": "Revisar cambios", + "cancel": "Cancelar", + "merge": "Fusionar", + "overwrite": "Ignorar e instanciar" + }, + "undeployedChanges": "Tienes cambios no instanciados.\n\nAl salir de esta página, se perderán estos cambios.", + "improperlyConfigured": "El espacio de trabajo contiene algunos nodos que no están configurados correctamente:", + "unknown": "El espacio de trabajo contiene algunos tipos de nodos desconocidos:", + "confirm": "¿Estás seguro de que quieres instanciar?", + "doNotWarn": "no advertir sobre esto", + "conflict": "El servidor está ejecutando un conjunto de flujos más reciente.", + "backgroundUpdate": "Los flujos en el servidor han sido actualizados..", + "conflictChecking": "Comprobando si los cambios se pueden fusionar automáticamente", + "conflictAutoMerge": "Los cambios no incluyen conflictos y se pueden fusionar automáticamente.", + "conflictManualMerge": "Los cambios incluyen conflictos que deben resolverse antes de poder instanciarse.", + "plusNMore": "+ __count__ más" + } + }, + "eventLog": { + "title": "Registro de eventos", + "view": "Ver registro" + }, + "diff": { + "unresolvedCount": "__count__ conflicto no resuelto", + "unresolvedCount_plural": "__count__ conflictos no resueltos", + "globalNodes": "Nodos globales", + "flowProperties": "Propiedades flujo", + "type": { + "added": "añadido", + "changed": "modificado", + "unchanged": "sin modificar", + "deleted": "eliminado", + "flowDeleted": "flujo eliminado", + "flowAdded": "flujo añadido", + "movedTo": "movido a __id__", + "movedFrom": "movido desde __id__" + }, + "nodeCount": "__count__ nodo", + "nodeCount_plural": "__count__ nodos", + "local": "Cambios locales", + "remote": "Cambios remotos", + "reviewChanges": "Revisar Cambios", + "noBinaryFileShowed": "No se puede mostrar el contenido del archivo binario", + "viewCommitDiff": "Ver cambios de commit", + "compareChanges": "Comparar Cambios", + "saveConflict": "Guardar resolución de conflictos", + "conflictHeader": "__resolved__ de __unresolved__ conflictos resueltos", + "commonVersionError": "La versión común no contiene JSON válido:", + "oldVersionError": "La versión anterior no contiene JSON válido:", + "newVersionError": "La versión nueva no contiene JSON válido:" + }, + "subflow": { + "editSubflowInstance": "Editar subflujo: __name__", + "editSubflow": "Editar plantilla subflujo: __name__", + "edit": "Editar plantilla subflujo", + "subflowInstances": "Hay __count__ instancia de esta plantilla de subflujo", + "subflowInstances_plural": "Hay __count__ instancias de esta plantilla de subflujo", + "editSubflowProperties": "editar propiedades", + "input": "entradas:", + "output": "salidas:", + "status": "nodo de estado", + "deleteSubflow": "eliminar subflujo", + "confirmDelete": "¿Estás seguro de que quieres eliminar este subflujo?", + "info": "Descripción", + "category": "Categoría", + "module": "Módulo", + "license": "Licencia", + "licenseNone": "ninguna", + "licenseOther": "Otra", + "type": "Tipo de nodo", + "version": "Versión", + "versionPlaceholder": "x.y.z", + "keys": "Palabras clave", + "keysPlaceholder": "Palabras clave separadas por comas", + "author": "Autor", + "authorPlaceholder": "Tu Nombre ", + "desc": "Descripción", + "env": { + "restore": "Restaurar al valor predeterminado del subflujo", + "remove": "Eliminar variable de entorno" + }, + "errors": { + "noNodesSelected": "Cannot create subflow: no nodes selected", + "acrossMultipleGroups": "Cannot create subflow across multiple groups", + "multipleInputsToSelection": "Cannot create subflow: multiple inputs to selection" + } + }, + "group": { + "editGroup": "Editar grupo: __name__", + "errors": { + "cannotCreateDiffGroups": "Cannot create group using nodes from different groups", + "cannotAddSubflowPorts": "Cannot add subflow ports to a group" + } + }, + "editor": { + "configEdit": "Editar", + "configAdd": "Añadir", + "configUpdate": "Actualizar", + "configDelete": "Eliminar", + "nodesUse": "__count__ nodo utiliza esta configuración", + "nodesUse_plural": "__count__ nodos utilizan esta configuración", + "addNewConfig": "Añadir nuevo nodo de configuración __type__", + "editNode": "Editar nodo __type__", + "editConfig": "Editar nodo de configuración __type__", + "addNewType": "Añadir nuevo __type__...", + "nodeProperties": "propiedades del nodo", + "label": "Etiqueta", + "color": "Color", + "portLabels": "Etiquetas de puerto", + "labelInputs": "Entradas", + "labelOutputs": "Salidas", + "settingIcon": "Icono", + "default": "predeterminado", + "noDefaultLabel": "ninguno", + "defaultLabel": "usar etiqueta predeterminada", + "searchIcons": "Buscar iconos", + "useDefault": "usar predeterminado", + "description": "Descripción", + "show": "Mostrar", + "hide": "Ocultar", + "locale": "Seleccionar idioma de la interfaz de usuario", + "icon": "Icono", + "inputType": "Tipo de entrada", + "selectType": "seleccionar tipos...", + "loadCredentials": "Cargando credenciales de nodo", + "inputs": { + "input": "entrada", + "select": "seleccionar", + "checkbox": "checkbox", + "spinner": "spinner", + "none": "ninguno", + "hidden": "ocultar propiedad" + }, + "types": { + "str": "texto", + "num": "número", + "bool": "booleano", + "json": "JSON", + "bin": "buffer", + "env": "variable entorno", + "cred": "credencial" + }, + "menu": { + "input": "entrada", + "select": "selección", + "checkbox": "checkbox", + "spinner": "spinner", + "hidden": "solo etiqueta" + }, + "select": { + "label": "Etiqueta", + "value": "Valor" + }, + "spinner": { + "min": "Mínimo", + "max": "Máximo" + }, + "errors": { + "scopeChange": "Cambiar el alcance hará que no esté disponible para nodos en otros flujos que lo utilicen", + "invalidProperties": "Propiedades inválidas:", + "credentialLoadFailed": "Falló al cargar credenciales del nodo" + } + }, + "keyboard": { + "title": "Atajos de teclado", + "keyboard": "Teclado", + "filterActions": "filtrar acciones", + "shortcut": "atajo", + "scope": "alcance", + "unassigned": "Sin asignar", + "global": "global", + "workspace": "espacio trabajo", + "editor": "diálogo edición", + "selectAll": "Seleccionar todos", + "selectNone": "Seleccionar ninguno", + "selectAllConnected": "Seleccionar conectados", + "addRemoveNode": "Añadir/eliminar nodo de la selección", + "editSelected": "Editar nodo seleccionado", + "deleteSelected": "Eliminar los nodos o el enlace seleccionados", + "deleteReconnect": "Eliminar y reconectar", + "importNode": "Importar nodos", + "exportNode": "Exportar nodos", + "nudgeNode": "Mover nodos seleccionados (1px)", + "moveNode": "Mover nodos seleccionados (20px)", + "toggleSidebar": "Alternar barra lateral", + "togglePalette": "Alternar paleta", + "copyNode": "Copiar nodos seleccionados", + "cutNode": "Cortar nodos seleccionados", + "pasteNode": "Pegar nodos", + "copyGroupStyle": "Copiar estilo de grupo", + "pasteGroupStyle": "Pegar estilo de grupo", + "undoChange": "Deshacer", + "redoChange": "Rehacer", + "searchBox": "Abrir cuadro de búsqueda", + "managePalette": "Gestionar paleta", + "actionList": "Lista de acciones", + "splitWireWithLinks": "Divide la selección con nodos de enlace" + }, + "library": { + "library": "Librería", + "openLibrary": "Abrir Librería...", + "saveToLibrary": "Guardar en Librería...", + "typeLibrary": "Librería __type__", + "unnamedType": "__type__ sin nombre", + "exportedToLibrary": "Nodos exportados a la librería", + "dialogSaveOverwrite": "Una __libraryType__ llamada __libraryName__ ya existe. ¿Sobrescribir?", + "invalidFilename": "Nombre de archivo inválido", + "savedNodes": "Nodos guardados", + "savedType": "__type__ guardado", + "saveFailed": "Falló al guardar: __message__", + "newFolder": "Nueva carpeta", + "types": { + "local": "Local", + "examples": "Ejemplos" + } + }, + "palette": { + "noInfo": "no hay información disponible", + "filter": "filtrar nodos", + "search": "buscar módulos", + "addCategory": "Añadir nueva...", + "label": { + "subflows": "subflujos", + "network": "red", + "common": "común", + "input": "entrada", + "output": "salida", + "function": "función", + "sequence": "secuencia", + "parser": "analizador", + "social": "social", + "storage": "almacenamiento", + "analysis": "análisis", + "advanced": "avanzado" + }, + "actions": { + "collapse-all": "Colapsar todas las categorías", + "expand-all": "Expandir todas las categorías" + }, + "event": { + "nodeAdded": "Nodo añadido a la paleta:", + "nodeAdded_plural": "Nodos añadidos a la paleta:", + "nodeRemoved": "Nodo eliminado de la paleta:", + "nodeRemoved_plural": "Nodos eliminados de la paleta:", + "nodeEnabled": "Nodo activado:", + "nodeEnabled_plural": "Nodos activados:", + "nodeDisabled": "Nodo desactivado:", + "nodeDisabled_plural": "Nodos desactivados:", + "nodeUpgraded": "Módulo de nodo __module__ actualizado a la versión __version__", + "unknownNodeRegistered": "Error cargando el nodo:
  • __type__
    __error__
" + }, + "editor": { + "title": "Gestionar paleta", + "palette": "Paleta", + "allCatalogs": "Todos los Catálogos", + "times": { + "seconds": "segundos hace", + "minutes": "minutos hace", + "minutesV": "hace __count__ minutos", + "hoursV": "hace __count__ hora", + "hoursV_plural": "hace __count__ horas", + "daysV": "hace __count__ día", + "daysV_plural": "hace __count__ días", + "weeksV": "hace __count__ semana", + "weeksV_plural": "hace __count__ semanas", + "monthsV": "hace __count__ mes", + "monthsV_plural": "hace __count__ meses", + "yearsV": "hace __count__ año", + "yearsV_plural": "hace __count__ años", + "yearMonthsV": "hace __y__ año y __count__ mes", + "yearMonthsV_plural": "hace __y__ año y __count__ meses", + "yearsMonthsV": "hace __y__ años y __count__ mes", + "yearsMonthsV_plural": "hace __y__ años y __count__ meses" + }, + "nodeCount": "__label__ nodo", + "nodeCount_plural": "__label__ nodos", + "moduleCount": "__count__ módulo disponible", + "moduleCount_plural": "__count__ módulos disponibles", + "inuse": "en uso", + "enableall": "habilitar todo", + "disableall": "deshabilitar todo", + "enable": "habilitar", + "disable": "deshabilitar", + "remove": "eliminar", + "update": "actualizar a __version__", + "updated": "actualizado", + "install": "instalar", + "installed": "instalado", + "conflict": "conflicto", + "conflictTip": "

Este módulo no puede ser instalado debido a que incluye un
tipo de nodo que ya ha sido instalado

Conflictos con __module__

", + "loading": "Cargando catálogos...", + "tab-nodes": "Nodos", + "tab-install": "Instalar", + "sort": "ordenar:", + "sortRelevance": "relevancia", + "sortAZ": "a-z", + "sortRecent": "reciente", + "more": "+ __count__ más", + "upload": "Cargar módulo en archivo tgz", + "refresh": "Actualizar lista de módulos", + "errors": { + "catalogLoadFailed": "

La carga del catálogo de nodos ha fallado

Revise la consola del navegador para mas información

", + "installFailed": "

Fallo al instalar: __module__

__message__

Revise el log para mas información

", + "removeFailed": "

Fallo al eliminar: __module__

__message__

Revise el log para mas información

", + "updateFailed": "

Fallo al actualizar: __module__

__message__

Revise el log para mas información

", + "enableFailed": "

Fallo al activar: __module__

__message__

Revise el log para mas información

", + "disableFailed": "

Fallo al desactivar: __module__

__message__

Revise el log para mas información

" + }, + "confirm": { + "install": { + "body":"

Instalando '__module__'

Lea la documentación del nodo antes de instalarlo. Algunos nodos poseen dependencias que no pueden ser resueltas automáticamente y pueden requerir que Node-RED sea reiniciado.

", + "title": "Instalar nodos" + }, + "remove": { + "body":"

Eliminando '__module__'

La eliminación del nodo lo desinstalará de Node-RED. Es posible que el nodo siga utilizando recursos hasta que Node-RED sea reiniciado.

", + "title": "Eliminar nodos" + }, + "update": { + "body":"

Actualizando '__module__'

La actualización del nodo requerirá un reinicio manual de Node-RED para completarse. Debe ser reiniciado manualmente.

", + "title": "Actualizar nodos" + }, + "cannotUpdate": { + "body":"Se encuentra disponible una actualización para este nodo, pero el mismo no se encuentra instalado en una ubicación accesible por el gestor de nodos.

Por favor revise la documentación para obtener mas información sobre como actualizar este nodo." + }, + "button": { + "review": "Abrir información del nodo", + "install": "Instalar", + "remove": "Eliminar", + "update": "Actualizar" + } + } + } + }, + "sidebar": { + "info": { + "name": "Información", + "tabName": "Nombre", + "label": "info", + "node": "Nodo", + "type": "Tipo", + "group": "Grupo", + "module": "Módulo", + "id": "ID", + "status": "Estado", + "enabled": "Habilitado", + "disabled": "Deshabilitado", + "subflow": "Subflujo", + "instances": "Instancias", + "properties": "Propiedades", + "info": "Información", + "desc": "Descripción", + "blank": "vacío", + "null": "nulo", + "showMore": "mostrar más", + "showLess": "mostrar menos", + "flow": "Flujo", + "selection": "Selección", + "nodes": "__count__ nodos", + "flowDesc": "Descripción del flujo", + "subflowDesc": "Descripción del subflujo", + "nodeHelp": "Ayuda del nodo", + "none": "Ninguno", + "arrayItems": "__count__ elementos", + "showTips": "Puedes abrir las sugerencias desde el panel de ajustes", + "outline": "Contorno", + "empty": "vacío", + "globalConfig": "Nodos de configuración global", + "triggerAction": "Acción de inicio", + "find": "Encontrar en espacio de trabajo", + "copyItemUrl": "Copiar URL elemento", + "copyURL2Clipboard": "URL copiada al portapapeles", + "showFlow": "Mostrar", + "hideFlow": "Esconder" + }, + "help": { + "name": "Ayuda", + "label": "ayuda", + "search": "Buscar en la ayuda", + "nodeHelp": "Ayuda de nodo", + "showHelp": "Mostrar ayuda", + "showInOutline": "Mostrar en controno", + "showTopics": "Mostrar temas", + "noHelp": "No hay ningun tema de ayuda seleccionado", + "changeLog": "Registro de Cambios" + }, + "config": { + "name": "Nodos de configuración", + "label": "config", + "global": "En todos los flujos", + "none": "ninguno", + "subflows": "subflujos", + "flows": "flujos", + "filterAll": "todos", + "showAllConfigNodes": "Mostrar todos los nodos de configuración", + "filterUnused": "no utilizado", + "showAllUnusedConfigNodes": "Mostrar todos los nodos de configuración no utilizados", + "filtered": "__count__ escondidos" + }, + "context": { + "name":"Información de contexto", + "label":"contexto", + "none": "ninguno seleccionado", + "refresh": "actualice para cargar", + "empty": "vacío", + "node": "Nodo", + "flow": "Flujo", + "global": "Global", + "deleteConfirm": "¿Estás seguro de que quieres eliminar este elemento?", + "autoRefresh": "Actualizar automáticamente al seleccionar", + "refrsh": "Actualizar", + "delete": "Eliminar" + }, + "palette": { + "name": "Gestión de Paleta", + "label": "paleta" + }, + "project": { + "label": "proyecto", + "name": "Proyecto", + "description": "Descripción", + "dependencies": "Dependencias", + "settings": "Ajustes", + "noSummaryAvailable": "No hay resumen disponible", + "editDescription": "Editar descripción proyecto", + "editDependencies": "Editar dependencias proyecto", + "noDescriptionAvailable": "Ninguna descripción disponible", + "editReadme": "Editar README.md", + "showProjectSettings": "Mostrar ajustes del proyecto", + "projectSettings": { + "title": "Ajustes del proyecto", + "edit": "editar", + "none": "Ninguno", + "install": "instalar", + "removeFromProject": "eliminar del proyecto", + "addToProject": "agregar al proyecto", + "files": "Archivos", + "flow": "Flujo", + "credentials": "Credenciales", + "package": "Paquete", + "packageCreate": "El archivo será creado cuando se guarden los cambios", + "fileNotExist": "El archivo no existe", + "selectFile": "Seleccionar archivo", + "invalidEncryptionKey": "Clave de encriptación inválida", + "encryptionEnabled": "Encriptación habilitada", + "encryptionDisabled": "Encryption disabled", + "setTheEncryptionKey": "Establecer la clave de encriptación", + "resetTheEncryptionKey": "Reestablecer la clave de encriptación", + "changeTheEncryptionKey": "Cambiar la clave de encriptación", + "currentKey": "Clave actual", + "newKey": "Nueva clave", + "credentialsAlert": "Esto eliminará todas las credenciales existentes", + "versionControl": "Control de versiones", + "branches": "Ramas", + "noBranches": "Sin ramas", + "deleteConfirm": "¿Estás seguro de que quieres eliminar la rama local '__name__'? Esta acción no puede deshacerse.", + "unmergedConfirm": "La rama local '__name__' tiene cambios no fusionados que se perderán. ¿Estás seguro de que quieres eliminarla?", + "deleteUnmergedBranch": "Eliminar rama no fusionada", + "gitRemotes": "Git remotes", + "addRemote": "añadir remoto", + "addRemote2": "Añadir remoto", + "remoteName": "Nombre del repositorio remoto", + "nameRule": "Solo se permiten los caracteres A-Z 0-9 _ -", + "url": "URL", + "urlRule": "https://, ssh:// ó file://", + "urlRule2": "No incluyas el usuario ni la contraseña en la URL", + "noRemotes": "No hay remotos", + "deleteRemoteConfrim": "¿Estás seguro de que quieres eliminar el repositorio remoto '__name__'?", + "deleteRemote": "Eliminar repositorio remoto" + }, + "userSettings": { + "committerDetail": "Detalles del commiter", + "committerTip": "Dejar este campo vacío para usar el valor por defecto del sistema", + "userName": "Usuario", + "email": "Email", + "workflow": "Flujo de Trabajo", + "workfowTip": "Elige tu flujo de trabajo GIT preferido", + "workflowManual": "Manual", + "workflowManualTip": "Todos los cambios deben confirmarse manualmente en la sección 'historia' de la barra lateral", + "workflowAuto": "Automático", + "workflowAutoTip": "Los cambios serán confirmadoos a git automáticamente con cada instanciación", + "sshKeys": "Claves SSH", + "sshKeysTip": "Permiten crear conexiones seguras a repositorios de git remotos.", + "add": "añadir clave", + "addSshKey": "Añadir Clave SSH", + "addSshKeyTip": "Generar un nuevo par de claves publica/privada", + "name": "Nombre", + "nameRule": "Debe contener exclusivamente los siguientes caracteres: A-Z 0-9 _ -", + "passphrase": "Contraseña", + "passphraseShort": "La contraseña es demasiado corta", + "optional": "Opcional", + "cancel": "Cancelar", + "generate": "Generar clave", + "noSshKeys": "No hay claves SSH", + "copyPublicKey": "Copiar la clave pública al portapapeles", + "delete": "Eliminar clave", + "gitConfig": "configuración Git", + "deleteConfirm": "¿Estás seguro de que quieres eliminar la clave SSH '__name__'? Esto no puede deshacerse." + }, + "versionControl": { + "unstagedChanges": "Cambios no preparados", + "stagedChanges": "Cambios preparados", + "unstageChange": "Des-preparar cambio", + "stageChange": "Preparar cambio", + "unstageAllChange": "Despreparar todos los cambios", + "stageAllChange": "Preparar todos los cambios", + "commitChanges": "Confirmar cambios", + "resolveConflicts": "Resolver conflictos", + "head": "HEAD", + "staged": "Preparado", + "unstaged": "No preparado", + "local": "Local", + "remote": "Remoto", + "revert": "¿Estás seguro de que quieres revertir los cambios en '__file__'? Esto no puede deshacerse.", + "revertChanges": "Revertir cambios", + "localChanges": "Cambios locales", + "none": "Ninguno", + "conflictResolve": "Todos los conflictos resueltos. Confirma los cambios para completar la fusión.", + "localFiles": "Archivos locales", + "all": "todo", + "unmergedChanges": "Cambios sin mergear", + "abortMerge": "cancelar merge", + "commit": "commit", + "changeToCommit": "Cambios al commit", + "commitPlaceholder": "Escriba su mensaje de commit", + "cancelCapital": "Cancelar", + "commitCapital": "Commit", + "commitHistory": "Historial de commits", + "branch": "Branch:", + "moreCommits": " commit(s) más", + "changeLocalBranch": "Cambiar rama local", + "createBranchPlaceholder": "Buscar o crear una rama", + "upstream": "fuente", + "localOverwrite": "Tienes cambios locales que podrían ser sobreescritos si cambias de rama. Debes confirmar o deshacer esos cambios primero.", + "manageRemoteBranch": "Gestionar rama remota", + "unableToAccess": "No es posible acceder al repositorio remoto", + "retry": "Reintentar", + "setUpstreamBranch": "Establecer rama como rama fuente", + "createRemoteBranchPlaceholder": "Encontrar o crear una rama remota", + "trackedUpstreamBranch": "La rama creada será establecida como la rama fuente.", + "selectUpstreamBranch": "La rama será creada. Elígela debajo para establecerla como la rama fuente.", + "pushFailed": "El envío falló ya que el remoto tiene commits mas recientes. Trae esos cambios primero y luego vuelve a subir.", + "push": "enviar", + "pull": "traer", + "unablePull": "

No es posible traer los cambios remotos; tus cambios locales no preparados serían sobreescritos.

Confirma tus cambios primero e intente nuevamente.

", + "showUnstagedChanges": "Mostrar cambios no preparados", + "connectionFailed": "No fue posible conectarse al repositorio remoto: ", + "pullUnrelatedHistory": "

El servidor remoto tiene una historia de commits no relacionada.

¿Estás seguro de que quieres traer los cambios a tu repositorio local?

", + "pullChanges": "Traer cambios", + "history": "historial", + "projectHistory": "Historial del proyecto", + "daysAgo": "hace __count__ día", + "daysAgo_plural": "hace __count__ días", + "hoursAgo": "hace __count__ hora", + "hoursAgo_plural": "hace __count__ horas", + "minsAgo": "hace __count__ minuto", + "minsAgo_plural": "hace __count__ minutos", + "secondsAgo": "Segundos desde que ocurrió", + "notTracking": "Tu rama local no esta siguiendo ninguna rama remota.", + "statusUnmergedChanged": "Tu repositorio tiene cambios sin unificar. Debes solucionar los conflictos y hacer commit del resultado.", + "repositoryUpToDate": "Tu repositorio esta al día.", + "commitsAhead": "Tu repositorio está __count__ commit por delante del repositorio remoto. Puedes enviar este commit ahora.", + "commitsAhead_plural": "Tu repositorio está __count__ commits por delante del repositorio remoto. Puedes enviar estos commits ahora.", + "commitsBehind": "Tu repositorio está __count__ commit atrasado contra el repositorio remoto. Puedes traer este commit ahora.", + "commitsBehind_plural": "Tu repositorio está __count__ commits atrasado contra el repositorio remoto. Puedes traer estos commits ahora.", + "commitsAheadAndBehind1": "Tu repositorio está __count__ commit atrasado y ", + "commitsAheadAndBehind1_plural": "Tu repositorio está __count__ commits atrasado y ", + "commitsAheadAndBehind2": "__count__ commit adelantado del servidor remoto. ", + "commitsAheadAndBehind2_plural": "__count__ commits adelantado del servidor remoto. ", + "commitsAheadAndBehind3": "Debes traer el commit remoto antes de enviar tus commits.", + "commitsAheadAndBehind3_plural": "Debes traer los commits remotos antes de enviar tus commits.", + "refreshCommitHistory": "Actualizar historial de commits", + "refreshChanges": "Actualizar cambios" + } + } + }, + "typedInput": { + "type": { + "str": "texto", + "num": "número", + "re": "expresión regular", + "bool": "booleano", + "json": "JSON", + "bin": "buffer", + "date": "marca tiempo", + "jsonata": "expresión", + "env": "variable de entorno", + "cred": "credencial" + } + }, + "editableList": { + "add": "añadir", + "addTitle": "añadir un elemento" + }, + "search": { + "history": "Buscar en el historial", + "clear": "limpiar todo", + "empty": "No hay coincidencias", + "addNode": "añadir un nodo...", + "options": { + "configNodes": "Nodos de Configuración", + "unusedConfigNodes": "Nodos de Configuración sin uso", + "invalidNodes": "Nodos inválidos", + "uknownNodes": "Nodos desconocidos", + "unusedSubflows": "Subflujos sin uso", + "hiddenFlows": "Flujos escondidos", + "modifiedNodes": "Nodos y flujos modificados", + "thisFlow": "Flujo actual" + } + }, + "expressionEditor": { + "functions": "Funciones", + "functionReference": "Referencia a función", + "insert": "Insertar", + "title": "Editor de expresiones JSONata", + "test": "Prueba", + "data": "Mensaje ejemplo", + "result": "Resultado", + "format": "expresión de formato", + "compatMode": "Modo de compatibilidad activado", + "compatModeDesc": "

Modo de compatibilidad JSONata

La expresión actual todavía hace referencia a msg por lo que será evaluada en modo de compatibilidad. Por favor actualice la expresión evitando utilizar msg debido a que este modo será eliminado en el futuro.

Cuando el soporte para JSONata fue añadido a Node-RED, se requería que la expresión haga referencia al objeto msg. Por ejemplo msg.payload era usado para acceder a la carga útil del mensaje.

Eso ya no es necesario ya que la expresión será evaluada contra el mensaje directamente. Para acceder a la carga util, la expresión debe ser simplemente payload.

", + "noMatch": "No hay coincidencias", + "errors": { + "invalid-expr": "Expresión JSONata inválida:\n __message__", + "invalid-msg": "Mensaje JSON de ejemplo inválido:\n __message__", + "context-unsupported": "No se puede probar las funciones de contexto\n $flowContext o $globalContext", + "env-unsupported": "No se puede probar la función $env", + "moment-unsupported": "No se puede probar la función $moment", + "clone-unsupported": "No se puede probar la función $clone", + "eval": "Error al evaluar la expresión:\n __message__" + } + }, + "monaco": { + "setTheme": "Establecer tema" + }, + "jsEditor": { + "title": "Editor de JavaScript" + }, + "textEditor": { + "title": "Editor de texto" + }, + "jsonEditor": { + "title": "Editor de JSON", + "format": "formatear JSON", + "rawMode": "Editar JSON", + "uiMode": "Editor Visual", + "rawMode-readonly": "JSON", + "uiMode-readonly": "Visual", + "insertAbove": "Insertar encima", + "insertBelow": "Insertar debajo", + "addItem": "Añadir elemento", + "copyPath": "Copiar ruta al elemento", + "expandItems": "Expandir elementos", + "collapseItems": "Colapsar elementos", + "duplicate": "Duplicar", + "error": { + "invalidJSON": "JSON inválido: " + } + }, + "markdownEditor": { + "title": "Editor Markdown", + "expand": "Expandir", + "format": "Formateado con markdown", + "heading1": "Encabezado 1", + "heading2": "Encabezado 2", + "heading3": "Encabezado 3", + "bold": "Negrita", + "italic": "Itálica", + "code": "Código", + "ordered-list": "Lista ordenada", + "unordered-list": "Lista desordenada", + "quote": "Cita", + "link": "Enlace", + "horizontal-rule": "Regla horizontal", + "toggle-preview": "Activar/Desactivar vista previa", + "mermaid": { + "summary": "Diagrama Mermaid" + } + }, + "bufferEditor": { + "title": "Editor de buffer", + "modeString": "Tratar como cadena UTF-8", + "modeArray": "Tratar como vector JSON", + "modeDesc": "

Editor de buffer

El tipo buffer es almacenado como un arreglo JSON de valores de tipo byte. El editor intentará procesar el valor ingresado como un arreglo JSON. Si no es JSON válido, será tratado como un string UTF-8 y convertido a un arreglo de los códigos de sus caracteres individuales.

Por ejemplo, el valor Hello World será convertido al arreglo JSON:

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" + }, + "projects": { + "config-git": "Configurar cliente Git", + "welcome": { + "hello": "Hola! Hemos añadido 'proyectos' a Node-RED.", + "desc0": "Esta es una nueva manera de gestionar tus archivos de flujo e incluir control de versiones en los mismos.", + "desc1": "Para comenzar puedes crear tu primer proyecto o clonar un proyecto existente de un repositorio de Git.", + "desc2": "Si no estás seguro, puedes saltear esto por ahora. De cualquier modo podrás crear tu primero proyecto desde el menu de 'Proyectos' en cualquier momento.", + "create": "Crear proyecto", + "clone": "Clonar repositorio", + "openExistingProject": "Abrir proyecto existente", + "not-right-now": "No ahora mismo" + }, + "git-config": { + "setup": "Configurar tu cliente de control de versiones", + "desc0": "Node-RED utiliza la herramienta de codigo abierto Git para el control de versiones. La misma hace un seguimiento de los cambios en los archivos del proyecto y permite enviarlos a repositorios remotos.", + "desc1": "Cuando confirmas un conjunto de cambios, Git almacena quien hizo los cambios con un nombre y una dirección de email. El usuario puede ser lo que quieres - no es necesario que sea tu nombre real.", + "desc2": "Tu cliente de Git ya se encuentra configurado con los detalles mostrados debajo.", + "desc3": "Puedes cambiar estos ajustes más tarde en la pestaña 'Git config' del menú de ajustes.", + "username": "Usuario", + "email": "Email" + }, + "project-details": { + "create": "Crear proyecto", + "desc0": "Un proyecto es mantenido como un repositorio Git. De esta manera es mas fácil compartir tus flujos con otros y colaborar en ellos.", + "desc1": "Puedes crear múltiples proyectos y cambiar entre ellos usando el editor.", + "desc2": "Para comenzar, tu proyecto necesita un nombre y una descripción opcional.", + "already-exists": "El proyecto ya existe", + "must-contain": "Solo se permiten los caracteres A-Z 0-9 _ -", + "project-name": "Nombre del proyecto", + "desc": "Descripción", + "opt": "Opcional" + }, + "clone-project": { + "clone": "Clonar un proyecto", + "desc0": "Si ya cuentas con un repositorio git que contenga un proyecto, puedes clonarlo para comenzar.", + "already-exists": "El proyecto ya existe", + "must-contain": "Solo se permiten los caracteres A-Z 0-9 _ -", + "project-name": "Nombre del proyecto", + "no-info-in-url": "No incluyas tu usuario ni contraseña en la URL", + "git-url": "URL del repositorio de Git", + "protocols": "https://, ssh:// o file://", + "auth-failed": "Autenticación fallida", + "username": "Usuario", + "passwd": "Contraseña", + "ssh-key": "Clave SSH", + "passphrase": "Frase secreta", + "ssh-key-desc": "Antes de poder clonar un repositorio por SSH debes añadir una clave SSH.", + "ssh-key-add": "Añadir una clave SSH", + "credential-key": "Clave para encriptación de credenciales", + "cant-get-ssh-key": "Error! No se puede obtener la ruta hasta la clave SSH seleccionada.", + "already-exists2": "ya existe", + "git-error": "error de Git", + "connection-failed": "Conexion fallida", + "not-git-repo": "No es un repositorio Git", + "repo-not-found": "Repositorio no encontrado" + }, + "default-files": { + "create": "Crear tus archivos de proyecto", + "desc0": "Un proyecto contiene tus archivos de flujo, un archivo README y un package.json.", + "desc1": "Puede contener cualquier otro archivo que quiera mantener en el repositorio Git.", + "desc2": "Tu flujo existente y tus archivos de credencial serán copiados al proyecto.", + "flow-file": "Archivo de flujo", + "credentials-file": "Archivo de credenciales" + }, + "encryption-config": { + "setup": "Configura la encriptación de tu archivo de credenciales", + "desc0": "Tu archivo de credenciales de flujo puede ser encriptado para mantener seguro tu contenido.", + "desc1": "Si quieres almacenar estas credenciales en un repositorio de Git público, debes encriptarlos mediante una frase secreta.", + "desc2": "Actualmente, tus credenciales de flujo no estan encriptadas.", + "desc3": "Esto significa que tu contenido, tal como contraseñas y tokens de acceso, pueden ser leidos por cualquier con acceso al archivo.", + "desc4": "Si quieres almacenar estas credenciales en un repositorio de Git público, debes encriptarlas mediante una frase secreta.", + "desc5": "Tu archivo de credenciales de flujo esta actualmente encriptado usando la propiedad credentialSecret de tu archivo de ajustes como clave.", + "desc6": "Tu archivo de credenciales de flujo esta actualmente encriptado usando una clave generada por el sistema. Debes proveer una nueva clave secreta para este proyecto.", + "desc7": "La clave será almacenada separada de tus archivos de proyecto. Deberás proveer la clave para usar este proyecto en otra instancia de Node-RED.", + "credentials": "Credenciales", + "enable": "Activar encriptación", + "disable": "Desactivar encriptación", + "disabled": "desactivado", + "copy": "Copiar encima de la clave existente", + "use-custom": "Usar clave personalizada", + "desc8": "El archivo de credenciales no será encriptado y tus contenidos serán legibles fácilmente", + "create-project-files": "Crear archivos de proyecto", + "create-project": "Crear proyecto", + "already-exists": "ya existe", + "git-error": "error de Git", + "git-auth-error": "error de autenticación de Git" + }, + "create-success": { + "success": "Has creado exitosamente tu primer proyecto!", + "desc0": "Ahora puedes seguir utilizando Node-RED como siempre lo has hecho.", + "desc1": "La pestaña 'info' en la barra lateral muestra tu proyecto activo actual. El botón contiguo al nombre puede utilizarse para acceder a los ajustes del proyecto.", + "desc2": "La pestaña 'historia' en la barra lateral muestra los archivos que cambiaron en tu proyecto y permite confirmar los cambios. Muestra una historia completa de tus commits y permite enviar tus cambios a un repositorio remoto." + }, + "create": { + "projects": "Proyectos", + "already-exists": "El proyecto ya existe", + "must-contain": "Solo se permiten los caracteres A-Z 0-9 _ -", + "no-info-in-url": "No incluyas tu usuario ni tu contraseña en la URL", + "open": "Abrir Proyecto", + "create": "Crear Proyecto", + "clone": "Clonar Repositorio", + "project-name": "Nombre del proyecto", + "desc": "Descripción", + "opt": "Opcional", + "flow-file": "Archivo de flujo", + "credentials": "Credenciales", + "enable-encryption": "Activar encriptación", + "disable-encryption": "Desactivar encriptación", + "encryption-key": "Clave de encriptación", + "desc0": "Una frase secreta con la cual asegurar tus credenciales", + "desc1": "El archivo de credenciales no será encriptado y tu contenido será fácilmente legible", + "git-url": "URL del repositorio de Git", + "protocols": "https://, ssh:// o file://", + "auth-failed": "Autenticación fallida", + "username": "Usuario", + "password": "Contraseña", + "ssh-key": "Clave SSH", + "passphrase": "Frase secreta", + "desc2": "Antes de clonar un repositorio mediante SSH debes añadir una clave SSH para acceder.", + "add-ssh-key": "Agregar una clave SSH", + "credentials-encryption-key": "Clave de encriptación de credenciales", + "already-exists-2": "ya existe", + "git-error": "error de Git", + "con-failed": "Conexión fallida", + "not-git": "No es un repositorio de Git", + "no-resource": "Repositorio no encontrado", + "cant-get-ssh-key-path": "Erorr! No se puede obtener la ruta a la clave SSH seleccionada.", + "unexpected_error": "error_inesperado", + "clearContext": "Iniciar contexto al cambiar de proyecto" + }, + "delete": { + "confirm": "¿Estás seguro que quieres eliminar este proyecto?" + }, + "create-project-list": { + "search": "buscar tus proyectos", + "current": "actual" + }, + "require-clean": { + "confirm": "

Tienes cambios no instanciados que se perderán.

¿Quieres continuar?

" + }, + "send-req": { + "auth-req": "Se requiere autenticación para el repositorio", + "username": "Usuario", + "password": "Contraseña", + "passphrase": "Frase de contraseña", + "retry": "Reintentar", + "update-failed": "No se pudo actualizar la autenticación", + "unhandled": "Respuesta de error no controlada", + "host-key-verify-failed": "

Error en la verificación de la clave del servidor.

No se pudo verificar la clave del servidor del repositorio. Actualiza tu archivo known_hosts e inténtelo de nuevo.

" + }, + "create-branch-list": { + "invalid": "Rama inválida", + "create": "Crear rama", + "current": "actual" + }, + "create-default-file-set": { + "no-active": "No se pudo crear el conjunto de archivos predeterminado porque no hay un proyecto activo", + "no-empty": "No se puede crear un conjunto de archivos predeterminado en un proyecto que no esté vacío", + "git-error": "Error de Git" + }, + "errors": { + "no-username-email": "Tu cliente Git no está configurado con un nombre de usuario/correo electrónico.", + "unexpected": "Ocurrió un error inesperado", + "code": "código" + } + }, + "editor-tab": { + "properties": "Propiedades", + "envProperties": "Variables de Entorno", + "module": "Propiedades del módulo", + "description": "Descripción", + "appearance": "Apariencia", + "preview": "Vista previa interfaz de usuario", + "defaultValue": "Valor por defecto" + }, + "tourGuide": { + "takeATour": "Hacer un recorrido", + "start": "Iniciar", + "next": "Siguiente", + "welcomeTours": "Recorridos de Bienvenida" + }, + "diagnostics": { + "title": "Información Sistema" + }, + "validator": { + "errors": { + "invalid-json": "Datos JSON inválidos: __error__", + "invalid-expr": "Expresión JSONata inválida: __error__", + "invalid-prop": "Expresión de propiedad inválida", + "invalid-num": "Número inválido", + "invalid-num-prop": "__prop__: número inválido", + "invalid-regexp": "Entrada inválida", + "invalid-regex-prop": "__prop__: entrada inválida", + "missing-required-prop": "__prop__: falta valor de propiedad", + "invalid-config": "__prop__: nodo de configuración inválido", + "missing-config": "__prop__: nodo de configuración no encontrado", + "validation-error": "__prop__: error de validación: __node__, __id__: __error__" + } + }, + "contextMenu": { + "showActionList": "Mostrar lista de acciones", + "insert": "Insertar", + "node": "Nodo", + "junction": "Unión", + "linkNodes": "Enlazar Nodos" + }, + "env-var": { + "environment": "Entorno", + "header": "Variables Globales de Entorno", + "revert": "Revertir" + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/es-ES/infotips.json b/packages/node_modules/@node-red/editor-client/locales/es-ES/infotips.json new file mode 100644 index 000000000..bdd17c667 --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/es-ES/infotips.json @@ -0,0 +1,26 @@ +{ + "info": { + "tip0": "Puedes eliminar los nodos o enlaces seleccionados con {{core:delete-selection}}", + "tip1": "Busca nodos con {{core:search}}", + "tip2": "{{core:toggle-sidebar}} alternará la vista de esta barra lateral", + "tip3": "Puedes gestionar tu paleta de nodos con {{core:manage-palette}}", + "tip4": "Tus nodos de configuración de flujo aparecen en el panel de la barra lateral. Se puede acceder desde el menú o con {{core:show-config-tab}}", + "tip5": "Activa o desactiva estos consejos desde la opción en la configuración", + "tip6": "Mueve los nodos seleccionados usando las teclas [izquierda] [arriba] [abajo] y [derecha]. Mantén pulsada [Mayús] para desplazarlos más", + "tip7": "Arrastrar un nodo a un cable lo insertará en el enlace", + "tip8": "Exporta los nodos seleccionados, o la pestaña actual con {{core:show-export-dialog}}", + "tip9": "Importa un flujo arrastrando su JSON al editor, o con {{core:show-import-dialog}}", + "tip10": "[shift][clic] y arrastrar en un puerto de nodo para mover todos los cables conectados o sólo el seleccionado", + "tip11": "Mostrar la pestaña Información con {{core:show-info-tab}} o la pestaña Depuración con {{core:show-debug-tab}}", + "tip12": "[ctrl] [clic] en el área de trabajo para abrir el diálogo de adición rápida", + "tip13": "Mantén pulsada [ctrl] cuando [haces clic] en un puerto de nodo para habilitar el enlazado rápido", + "tip14": "Mantén pulsada [shift] cuando [haces clic] en un nodo para seleccionar también todos sus nodos conectados", + "tip15": "Mantén pulsada [ctrl] cuando [haces clic] en un nodo para añadirlo o eliminarlo de la selección actual", + "tip16": "Cambia de pestaña de flujo con {{core:show-previous-tab}} y {{core:show-next-tab}}", + "tip17": "Puedes confirmar tus cambios en la bandeja de edición de nodos con {{core:confirm-edit-tray}} o cancelarlos con {{core:cancel-edit-tray}}", + "tip18": "Al pulsar {{core:edit-selected-node}} se editará el primer nodo de la selección actual" + } +} + + + diff --git a/packages/node_modules/@node-red/editor-client/locales/es-ES/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/es-ES/jsonata.json new file mode 100644 index 000000000..eaf720bfb --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/es-ES/jsonata.json @@ -0,0 +1,278 @@ +{ + "$string": { + "args": "arg[, prettify]", + "desc": "Convierte el parámetro `arg` a una cadena usando las siguientes reglas de conversión:\n\n - Las cadenas no cambian\n - Las funciones se convierten en una cadena vacía\n - El infinito numérico y NaN arrojan un error porque no se pueden representar como un número JSON\n: todos los demás valores se convierten a una cadena JSON usando la función `JSON.stringify`. Si `prettify` es verdadero, entonces se produce JSON \"prettified\". es decir, una línea por campo y las líneas se indentarán según la profundidad del campo." + }, + "$length": { + "args": "str", + "desc": "Devuelve el número de caracteres de la cadena `str`. Se genera un error si `str` no es una cadena." + }, + "$substring": { + "args": "str, start[, length]", + "desc": "Devuelve una cadena que contiene los caracteres del primer parámetro `str` comenzando en la posición `start` (desplazamiento cero). Si se especifica 'longitud', la subcadena contendrá el máximo de caracteres de 'longitud'. Si 'inicio' es negativo, indica el número de caracteres desde el final de 'cadena'." + }, + "$substringBefore": { + "args": "str, chars", + "desc": "Devuelve la subcadena antes de la primera aparición de la secuencia de caracteres `chars` en `str`. Si `str` no contiene `caracteres`, entonces devuelve `str`." + }, + "$substringAfter": { + "args": "str, chars", + "desc": "Devuelve la subcadena después de la primera aparición de la secuencia de caracteres `chars` en `str`. Si `str` no contiene `caracteres`, entonces devuelve `str`." + }, + "$uppercase": { + "args": "str", + "desc": "Devuelve una cadena con todos los caracteres de `str` convertidos a mayúsculas." + }, + "$lowercase": { + "args": "str", + "desc": "Devuelve una cadena con todos los caracteres de `str` convertidos a minúsculas." + }, + "$trim": { + "args": "str", + "desc": "Normaliza y recorta todos los caracteres de espacio en blanco en `str` aplicando los siguientes pasos:\n\n - Todas las tabulaciones, retornos de carro y avances de línea se reemplazan con espacios.\n- Las secuencias contiguas de espacios se reducen a un solo espacio.\n- Se eliminan los espacios iniciales y finales.\n\n Si no se especifica `str` (es decir, esta función se invoca sin argumentos), entonces el valor de contexto se utiliza como el valor de `str`. Se genera un error si `str` no es una cadena." + }, + "$contains": { + "args": "str, pattern", + "desc": "Devuelve 'verdadero' si 'cadena' coincide con 'patrón', de lo contrario, devuelve 'falso'. Si no se especifica `str` (es decir, esta función se invoca con un argumento), entonces el valor del contexto se utiliza como valor de `str`. El parámetro `patrón` puede ser una cadena o una expresión regular." + }, + "$split": { + "args": "str[, separator][, limit]", + "desc": "Divide el parámetro `str` en una matriz de subcadenas. Es un error si `str` no es una cadena. El parámetro opcional `separador` especifica los caracteres dentro de la `cadena` sobre los cuales se debe dividir como una cadena o una expresión regular. Si no se especifica 'separador', se supone que la cadena está vacía y 'cadena' se dividirá en una matriz de caracteres individuales. Es un error si el 'separador' no es una cadena. El parámetro opcional 'límite' es un número que especifica el número máximo de subcadenas que se incluirán en la matriz resultante. Cualquier subcadena adicional se descarta. Si no se especifica `límite`, entonces `str` se divide completamente sin límite para el tamaño de la matriz resultante. Es un error si 'límite' no es un número positivo." + }, + "$join": { + "args": "array[, separator]", + "desc": "Une una matriz de cadenas de componentes en una única cadena concatenada con cada cadena de componentes separada por el parámetro 'separador' opcional. Es un error si la 'matriz' de entrada contiene un elemento que no es una cadena. Si no se especifica 'separador', se supone que es una cadena vacía, es decir, que no hay 'separador' entre las cadenas componentes. Es un error si el 'separador' no es una cadena." + }, + "$match": { + "args": "str, pattern [, limit]", + "desc": "Aplica la cadena `str` a la expresión regular `pattern` y devuelve una matriz de objetos, cada objeto contiene información sobre cada aparición de una coincidencia dentro de `str`." + }, + "$replace": { + "args": "str, pattern, replacement [, limit]", + "desc": "Encuentra apariciones de `patrón` dentro de `str` y las reemplaza con `reemplazo`.\n\nEl parámetro opcional `límite` es el número máximo de reemplazos." + }, + "$now": { + "args": "$[picture [, timezone]]", + "desc": "Genera una marca de tiempo en formato compatible con ISO 8601 y la devuelve como una cadena. Si se proporcionan los parámetros opcionales `picture` y `zona horaria`, entonces la marca de tiempo actual se formatea como se describe en la función `$fromMillis()`" + }, + "$base64encode": { + "args": "string", + "desc": "Convierte una cadena ASCII a una representación base 64. Cada carácter de la cadena se trata como un byte de datos binarios. Esto requiere que todos los caracteres de la cadena estén en el rango de 0x00 a 0xFF, que incluye todos los caracteres de las cadenas codificadas con URI. No se admiten caracteres Unicode fuera de ese rango." + }, + "$base64decode": { + "args": "string", + "desc": "Convierte bytes codificados en base 64 en una cadena, utilizando una página de códigos Unicode UTF-8." + }, + "$number": { + "args": "arg", + "desc": "Convierte el parámetro `arg` a un número usando las siguientes reglas de conversión:\n\n - Los números no cambian\n - Las cadenas que contienen una secuencia de caracteres que representan un número JSON legal se convierten a ese número\n - Todos los demás valores provocar que se arroje un error." + }, + "$abs": { + "args": "number", + "desc": "Devuelve el valor absoluto del parámetro 'número'." + }, + "$floor": { + "args": "number", + "desc": "Devuelve el valor de 'número' redondeado hacia abajo al entero más cercano que sea menor o igual a 'número'." + }, + "$ceil": { + "args": "number", + "desc": "Devuelve el valor de 'número' redondeado al número entero más cercano que sea mayor o igual a 'número'." + }, + "$round": { + "args": "number [, precision]", + "desc": "Devuelve el valor del parámetro 'número' redondeado al número de decimales especificado por el parámetro opcional 'precisión'." + }, + "$power": { + "args": "base, exponent", + "desc": "Devuelve el valor de 'base' elevado a la potencia de 'exponente'." + }, + "$sqrt": { + "args": "number", + "desc": "Devuelve la raíz cuadrada del valor del parámetro 'número'." + }, + "$random": { + "args": "", + "desc": "Devuelve un número pseudoaleatorio mayor o igual a cero y menor que uno." + }, + "$millis": { + "args": "", + "desc": "Devuelve el número de milisegundos desde la época Unix (1 de enero de 1970 UTC) como un número. Todas las invocaciones de `$millis()` dentro de una evaluación de una expresión devolverán el mismo valor." + }, + "$sum": { + "args": "array", + "desc": "Devuelve la suma aritmética de una 'matriz' de números. Es un error si la 'matriz' de entrada contiene un elemento que no es un número." + }, + "$max": { + "args": "array", + "desc": "Devuelve el número máximo en una 'matriz' de números. Es un error si la 'matriz' de entrada contiene un elemento que no es un número." + }, + "$min": { + "args": "array", + "desc": "Devuelve el número mínimo en una 'matriz' de números. Es un error si la 'matriz' de entrada contiene un elemento que no es un número." + }, + "$average": { + "args": "array", + "desc": "Devuelve el valor medio de una 'matriz' de números. Es un error si la 'matriz' de entrada contiene un elemento que no es un número." + }, + "$boolean": { + "args": "arg", + "desc": "Convierte el argumento a un booleano usando las siguientes reglas:\n\n - `Booleano`: sin cambios\n - `cadena`: vacía: `falso`\n - `cadena`: no vacía: `verdadero`\n - `número`: `0`: `falso`\n - `número`: distinto de cero: `verdadero`\n - `nulo`: `falso`\n - `matriz`: vacía: `falso`\n - `array`: contiene un miembro que se convierte en `true`: `true`\n - `array`: todos los miembros se convierten en `false`: `false`\n - `object`: vacío: `false`\n - `objeto`: no vacío: `verdadero`\n - `función`: `falso`" + }, + "$not": { + "args": "arg", + "desc": "Devuelve booleano NEGADO del argumento. `arg` se convierte antes en un booleano" + }, + "$exists": { + "args": "arg", + "desc": "Devuelve booleano 'verdadero' si la expresión 'arg' se evalúa como un valor, o 'falso' si la expresión no coincide con nada (por ejemplo, una ruta a una referencia de campo inexistente)." + }, + "$count": { + "args": "array", + "desc": "Devuelve el número de elementos de la matriz." + }, + "$append": { + "args": "array, array", + "desc": "Agrega dos matrices" + }, + "$sort": { + "args": "array [, function]", + "desc": "Devuelve una matriz que contiene todos los valores en el parámetro `array`, pero ordenados.\n\nSi se proporciona una `función` de comparador, entonces debe ser una función que toma dos parámetros:\n\n`function(left , derecha)`\n\nEsta función es invocada por el algoritmo de clasificación para comparar dos valores `izquierda` y `derecha`. Si el valor de `izquierda` debe colocarse después del valor de `derecha` en el orden de clasificación deseado, entonces la función debe devolver un valor booleano 'verdadero' para indicar un intercambio. De lo contrario debe devolver 'falso'." + }, + "$reverse": { + "args": "array", + "desc": "Devuelve una matriz que contiene todos los valores del parámetro `matriz`, pero en orden inverso." + }, + "$shuffle": { + "args": "array", + "desc": "Devuelve una matriz que contiene todos los valores del parámetro `array`, pero mezclados en orden aleatorio." + }, + "$zip": { + "args": "array, ...", + "desc": "Devuelve una matriz convolucionada (comprimida) que contiene matrices agrupadas de valores de los argumentos `matriz1`... `matrizN` del índice 0, 1, 2...." + }, + "$keys": { + "args": "object", + "desc": "Devuelve una matriz que contiene las claves del objeto. Si el argumento es una matriz de objetos, entonces la matriz devuelta contiene una lista deduplicada de todas las claves de todos los objetos." + }, + "$lookup": { + "args": "object, key", + "desc": "Devuelve el valor asociado con la clave en el objeto. Si el primer argumento es una matriz de objetos, entonces se buscan todos los objetos de la matriz y se devuelven los valores asociados con todas las apariciones de la clave." + }, + "$spread": { + "args": "object", + "desc": "Divide un objeto que contiene pares clave/valor en una matriz de objetos, cada uno de los cuales tiene un único par clave/valor del objeto de entrada. Si el parámetro es una matriz de objetos, entonces la matriz resultante contiene un objeto para cada par clave/valor en cada objeto de la matriz proporcionada." + }, + "$merge": { + "args": "array<object>", + "desc": "Fusiona una matriz de objetos en un único objeto que contiene todos los pares clave/valor de cada uno de los objetos en la matriz de entrada. Si alguno de los objetos de entrada contiene la misma clave, entonces el objeto devuelto contendrá el valor del último en la matriz. Es un error si la matriz de entrada contiene un elemento que no es un objeto." + }, + "$sift": { + "args": "object, function", + "desc": "Devuelve un objeto que contiene solo los pares clave/valor del parámetro `objeto` que satisfacen el predicado `función` pasado como segundo parámetro.\n\nLa `función` que se proporciona como segundo parámetro debe tener la siguiente firma:\n\n`función(valor [, clave [, objeto]])`" + }, + "$each": { + "args": "object, function", + "desc": "Devuelve una matriz que contiene los valores devueltos por la función cuando se aplica a cada par clave/valor en el objeto." + }, + "$map": { + "args": "array, function", + "desc": "Devuelve una matriz que contiene los resultados de aplicar el parámetro `función` a cada valor en el parámetro `matriz`.\n\nLa `función` que se proporciona como segundo parámetro debe tener la siguiente firma:\n\n`función( valor [, índice [, matriz]])`" + }, + "$filter": { + "args": "array, function", + "desc": "Devuelve una matriz que contiene solo los valores en el parámetro `matriz` que satisfacen el predicado `función`.\n\nLa `función` que se proporciona como segundo parámetro debe tener la siguiente firma:\n\n`función(valor [ , índice [, matriz]])`" + }, + "$reduce": { + "args": "array, function [, init]", + "desc": "Devuelve un valor agregado derivado de aplicar el parámetro `función` sucesivamente a cada valor en `matriz` en combinación con el resultado de la aplicación anterior de la función.\n\nLa función debe aceptar dos argumentos y se comporta como un operador infijo entre cada valor dentro de la matriz. La firma de la `función` debe tener la forma: `myfunc($accumulator, $value[, $index[, $array]])`\n\nEl parámetro opcional `init` se utiliza como valor inicial en la agregación." + }, + "$flowContext": { + "args": "string[, string]", + "desc": "Recupera una propiedad de contexto de flujo.\n\nEsta es una función definida por Node-RED." + }, + "$globalContext": { + "args": "string[, string]", + "desc": "Recupera una propiedad de contexto global.\n\nEsta es una función definida por Node-RED." + }, + "$pad": { + "args": "string, width [, char]", + "desc": "Devuelve una copia de la `cadena` con relleno adicional, si es necesario, de modo que su número total de caracteres sea al menos el valor absoluto del parámetro `ancho`.\n\nSi `ancho` es un número positivo, entonces la cadena está acolchado hacia la derecha; si es negativo, se rellena hacia la izquierda.\n\nEl argumento opcional `char` especifica los caracteres de relleno que se utilizarán. Si no se especifica, el valor predeterminado es el carácter de espacio." + }, + "$fromMillis": { + "args": "number, [, picture [, timezone]]", + "desc": "Convierte el `número` que representa milisegundos desde la época Unix (1 de enero de 1970 UTC) en una representación de cadena formateada según la plantilla en picture.\n\nSi se omite el parámetro opcional `picture`, entonces la marca de tiempo es formateado en el formato ISO 8601.\n\nSi se proporciona la cadena opcional `picture`, entonces la marca de tiempo se formatea de acuerdo con la representación especificada en esa cadena. El comportamiento de esta función es consistente con la versión de dos argumentos de la función XPath/XQuery `format-dateTime` tal como se define en la especificación XPath F&O 3.1. El parámetro de plantilla define cómo se formatea la marca de tiempo y tiene la misma sintaxis que `format-dateTime`.\n\nSi se proporciona la cadena opcional `timezone`, entonces la marca de tiempo formateada estará en esa zona horaria. La cadena `timezone` debe tener el formato '±HHMM', donde ± es el signo más o menos y HHMM es el desplazamiento en horas y minutos desde UTC. Desplazamiento positivo para zonas horarias al este de UTC, desplazamiento negativo para zonas horarias al oeste de UTC." + }, + "$formatNumber": { + "args": "number, picture [, options]", + "desc": "Convierte el `número` en una cadena y lo formatea en una representación decimal según lo especificado en la cadena `picture`.\n\n El comportamiento de esta función es coherente con la función XPath/XQuery `fn:format-number` tal como se define en la especificación XPath F&O 3.1. El parámetro de cadena `picture` define cómo se formatea el número y tiene la misma sintaxis que `fn:formato-número`.\n\nEl tercer argumento opcional `opciones` se utiliza para anular los caracteres de formato específicos de la configuración regional predeterminada, como el decimal. separador. Si se proporciona, este argumento debe ser un objeto que contenga pares de nombre/valor especificados en la sección de formato decimal de la especificación XPath F&O 3.1." + }, + "$formatBase": { + "args": "number [, radix]", + "desc": "Convierte el número en una cadena y lo formatea como un número entero representado en la base numérica especificada por el argumento `radix`. Si no se especifica `radix`, el valor predeterminado es la base 10. `radix` puede estar entre 2 y 36; de lo contrario, se genera un error." + }, + "$toMillis": { + "args": "timestamp", + "desc": "Convierte una cadena de `marca de tiempo` en el formato ISO 8601 al número de milisegundos desde la época Unix (1 de enero de 1970 UTC) como un número. Se genera un error si la cadena no tiene el formato correcto." + }, + "$env": { + "args": "arg", + "desc": "Devuelve el valor de una variable de entorno.\n\nEsta es una función definida por Node-RED." + }, + "$eval": { + "args": "expr [, context]", + "desc": "Analiza y evalúa la cadena `expr` que contiene JSON literal o una expresión JSONata utilizando el contexto actual como contexto para la evaluación." + }, + "$formatInteger": { + "args": "number, picture", + "desc": "Convierte el número en una cadena y lo formatea en una representación entera como lo especifica la cadena `picture`. El parámetro de define cómo se formatea el número y tiene la misma sintaxis que `fn:format-integer` de la especificación XPath F&O 3.1." + }, + "$parseInteger": { + "args": "string, picture", + "desc": "Analiza el contenido del parámetro cadena en un número entero (como un número JSON) utilizando el formato especificado por la cadena `picture`. El parámetro tiene el mismo formato que `$formatInteger`." + }, + "$error": { + "args": "[str]", + "desc": "Lanza un error con un mensaje. El parámetro `str` opcional reemplazará el mensaje predeterminado de `$error() función evaluada`" + }, + "$assert": { + "args": "arg, str", + "desc": "Si `arg` es `verdadero`, la función devuelve indefinido. Si `arg` es `falso`, se lanza una excepción con `str` como mensaje de excepción." + }, + "$single": { + "args": "array, function", + "desc": "Devuelve el único valor en el parámetro `array` que satisface el predicado de `función` (es decir, la `función` devuelve booleano `verdadero` cuando se pasa el valor). Lanza una excepción si el número de valores coincidentes no es exactamente uno.\n\nLa función debe proporcionarse con la siguiente firma: `función(valor [, índice [, matriz]])` donde el valor es cada entrada de la matriz. El índice es la posición de ese valor y toda la matriz se pasa como tercer argumento." + }, + "$encodeUrlComponent": { + "args": "str", + "desc": "Codifica un componente de URL reemplazando cada instancia de ciertos caracteres por una, dos, tres o cuatro secuencias de escape que representan la codificación UTF-8 del carácter.\n\nEjemplo: `$encodeUrlComponent(\"?x=prueba\")` => `\"%3Fx%3Dprueba\"`" + }, + "$encodeUrl": { + "args": "str", + "desc": "Codifica una URL reemplazando cada instancia de ciertos caracteres por una, dos, tres o cuatro secuencias de escape que representan la codificación UTF-8 del carácter.\n\nEjemplo: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" + }, + "$decodeUrlComponent": { + "args": "str", + "desc": "Decodifica un componente de URL creado previamente por encodeUrlComponent.\n\nEjemplo: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + }, + "$decodeUrl": { + "args": "str", + "desc": "Decodifica una URL creado previamente por encodeUrl.\n\nEjemplo: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + }, + "$distinct": { + "args": "array", + "desc": "Devuelve una matriz con valores duplicados eliminados de `matriz`" + }, + "$type": { + "args": "value", + "desc": "Devuelve el tipo de `valor` como una cadena. Si `valor` no está definido, esto devolverá indefinido." + }, + "$moment": { + "args": "[str]", + "desc": "Obtiene un objeto de fecha usando la biblioteca Moment." + }, + "$clone": { + "args": "value", + "desc": "Clona un objeto de forma segura." + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/fr/editor.json b/packages/node_modules/@node-red/editor-client/locales/fr/editor.json new file mode 100644 index 000000000..6faa1ed24 --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/fr/editor.json @@ -0,0 +1,1390 @@ +{ + "common": { + "label": { + "name": "Nom", + "ok": "Ok", + "done": "Terminer", + "cancel": "Annuler", + "delete": "Supprimer", + "close": "Fermer", + "load": "Ouvrir", + "save": "Sauver", + "import": "Importer", + "export": "Exporter", + "back": "Retour", + "next": "Suivant", + "clone": "Cloner", + "cont": "Continuer", + "style": "Style", + "line": "Bordure", + "fill": "Remplissage", + "label": "Etiquette", + "color": "Couleur", + "position": "Position", + "enable": "Activer", + "disable": "Désactiver", + "upload": "Charger", + "lock": "Verrouiller", + "unlock": "Déverrouiller", + "locked": "Verrouillé", + "unlocked": "Déverrouillé" + }, + "type": { + "string": "chaîne de caractères", + "number": "nombre", + "boolean": "booléen", + "array": "tableau", + "buffer": "tampon", + "object": "objet", + "jsonString": "chaîne JSON", + "undefined": "indéfini", + "null": "nul" + } + }, + "event": { + "loadPlugins": "Chargement des extensions", + "loadPalette": "Chargement de la palette", + "loadNodeCatalogs": "Chargement des catalogues de noeuds", + "loadNodes": "Chargement des noeuds __count__", + "loadFlows": "Chargement des flux", + "importFlows": "Ajout de flux à l'espace de travail", + "importError": "

Erreur lors de l'ajout du flux

__message__

", + "loadingProject": "Chargement du projet" + }, + "workspace": { + "defaultName": "Flux __number__", + "editFlow": "Modifier le flux : __name__", + "confirmDelete": "Confirmation de la suppression", + "delete": "Etes-vous sûr de vouloir supprimer '__label__'?", + "dropFlowHere": "Déposer le flux ici", + "dropImageHere": "Déposer l'image ici", + "addFlow": "Ajouter un flux", + "addFlowToRight": "Ajouter un flux à droite", + "closeFlow": "Fermer le flux", + "hideFlow": "Masquer le flux", + "hideOtherFlows": "Masquer les autres flux", + "showAllFlows": "Afficher tous les flux", + "hideAllFlows": "Masquer tous les flux", + "hiddenFlows": "Répertorier le flux masqué __count__", + "hiddenFlows_plural": "Répertorier les flux masqués __count__", + "showLastHiddenFlow": "Afficher le dernier flux masqué", + "listFlows": "Répertorier les flux", + "listSubflows": "Répertorier les sous-flux", + "status": "Statut", + "enabled": "Activé", + "disabled": "Désactivé", + "info": "Description", + "selectNodes": "Cliquer sur les noeuds pour sélectionner", + "enableFlow": "Activer le flux", + "disableFlow": "Désactiver le flux", + "lockFlow": "Verrouiller le flux", + "unlockFlow": "Déverrouiller le flux", + "moveToStart": "Déplacer le flux au début", + "moveToEnd": "Déplacer le flux vers la fin" + }, + "menu": { + "label": { + "view": { + "view": "Affichage", + "grid": "Grille", + "storeZoom": "Restaurer le niveau de zoom au chargement", + "storePosition": "Restaurer la position de défilement au chargement", + "showGrid": "Afficher la grille", + "snapGrid": "Aligner sur la grille", + "gridSize": "Taille de la grille", + "textDir": "Sens du texte", + "defaultDir": "Sens par défaut", + "ltr": "De gauche à droite", + "rtl": "De droite à gauche", + "auto": "Contextuel", + "language": "Langue", + "browserDefault": "Navigateur par défaut" + }, + "sidebar": { + "show": "Afficher la barre latérale" + }, + "palette": { + "show": "Afficher la palette" + }, + "edit": "Éditer", + "settings": "Paramètres", + "userSettings": "Paramètres de l'utilisateur", + "nodes": "Noeuds", + "displayStatus": "Afficher l'état du noeud", + "displayConfig": "Noeuds de configuration", + "import": "Importer", + "importExample": "Importer un exemple de flux", + "export": "Exporter", + "search": "Rechercher les flux", + "searchInput": "Rechercher vos flux", + "subflows": "Sous-flux", + "createSubflow": "Créer un sous-flux", + "selectionToSubflow": "Convertir en sous-flux", + "flows": "Flux", + "add": "Ajouter", + "delete": "Supprimer", + "keyboardShortcuts": "Raccourcis clavier", + "login": "Se connecter", + "logout": "Se déconnecter", + "editPalette": "Gérer la palette", + "other": "Autre", + "showTips": "Afficher les astuces", + "showNodeHelp": "Afficher l'aide du noeud", + "enableSelectedNodes": "Activer les noeuds sélectionnés", + "disableSelectedNodes": "Désactiver les noeuds sélectionnés", + "showSelectedNodeLabels": "Afficher les étiquettes des noeuds sélectionnés", + "hideSelectedNodeLabels": "Masquer les étiquettes des noeuds sélectionnés", + "showWelcomeTours": "Afficher les visites guidées pour les nouvelles versions", + "help": "Site web de Node-RED", + "projects": "Projets", + "projects-new": "Nouveau projet", + "projects-open": "Ouvrir le projet", + "projects-settings": "Paramètres du projet", + "showNodeLabelDefault": "Afficher l'étiquette des noeuds nouvellement ajoutés", + "codeEditor": "Éditeur de code", + "groups": "Groupes", + "groupSelection": "Grouper cette sélection", + "ungroupSelection": "Dégrouper la sélection", + "groupMergeSelection": "Fusionner la sélection", + "groupRemoveSelection": "Supprimer du groupe", + "arrange": "Organiser", + "alignLeft": "Aligner à gauche", + "alignCenter": "Aligner au centre", + "alignRight": "Aligner à droite", + "alignTop": "Aligner en haut", + "alignMiddle": "Aligner au milieu", + "alignBottom": "Aligner en bas", + "distributeHorizontally": "Répartir horizontalement", + "distributeVertically": "Distribuer verticalement", + "moveToBack": "Déplacer vers l'arrière", + "moveToFront": "Déplacer vers l'avant", + "moveBackwards": "Reculer", + "moveForwards": "Avancer" + } + }, + "actions": { + "toggle-navigator": "Basculer de navigateur", + "zoom-out": "Dézoomer", + "zoom-reset": "Réinitialiser le zoom", + "zoom-in": "Agrandir", + "search-flows": "Rechercher le flux", + "search-prev": "Précédent", + "search-next": "Suivant", + "search-counter": "\"__term__\" __result__ de __count__" + }, + "user": { + "loggedInAs": "Connecté en tant que __name__", + "username": "Nom d'utilisateur", + "password": "Mot de passe", + "login": "Connexion", + "loginFailed": "Échec de la connexion", + "notAuthorized": "Pas autorisé", + "errors": { + "settings": "Vous devez être connecté pour accéder aux paramètres", + "deploy": "Vous devez être connecté pour déployer les modifications", + "notAuthorized": "Vous devez être connecté pour effectuer cette action" + } + }, + "notification": { + "state": { + "flowsStopped": "Flux arrêtés", + "flowsStarted": "Flux démarrés" + }, + "warning": "Attention : __message__", + "warnings": { + "undeployedChanges": "Le noeud a des modifications non déployées", + "nodeActionDisabled": "Actions de noeud désactivées", + "nodeActionDisabledSubflow": "Actions de noeud désactivées dans le sous-flux", + "missing-types": "

Flux arrêtés en raison de types de noeuds manquants.

", + "missing-modules": "

Flux arrêtés en raison de modules manquants.

", + "safe-mode": "

Flux arrêtés en mode sans échec.

Vous pouvez modifier vos flux et déployer les changements pour redémarrer.

", + "restartRequired": "Node-RED doit être redémarré pour mettre à jour les modules", + "credentials_load_failed": "

Les flux se sont arrêtés car les informations d'identification n'ont pas pu être déchiffrées.

Le fichier d'informations d'identification du flux est chiffré, mais la clé de chiffrement du projet est manquante ou invalide.

", + "credentials_load_failed_reset": "

Les informations d'identification n'ont pas pu être déchiffrées

Le fichier d'informations d'identification du flux est chiffré, mais la clé de chiffrement du projet est manquante ou invalide.

Le fichier d'informations d'identification du flux sera réinitialisé lors du prochain déploiement. Toutes les informations d'identification de flux existantes seront perdues.

", + "missing_flow_file": "

Fichier contenant les flux introuvable.

Le projet n'est pas configuré avec un fichier de flux.

", + "missing_package_file": "

Fichier de paquetage du projet introuvable.

Il manque au projet un fichier package.json.

", + "project_empty": "

Le projet est vide.

Voulez-vous créer un ensemble de fichiers de projet par défaut ?
Sinon, vous devrez ajouter manuellement des fichiers au projet (en dehors de l'éditeur).

", + "project_not_found": "

Le projet '__project__' est introuvable.

", + "git_merge_conflict": "

La fusion automatique des modifications a échoué.

Corriger les conflits non fusionnés, puis valider le résultat.

" + }, + "error": "Erreur : __message__", + "errors": { + "lostConnection": "Connexion avec le serveur perdue, reconnexion...", + "lostConnectionReconnect": "Connexion avec le serveur perdue, reconnexion dans __time__s.", + "lostConnectionTry": "Essayer maintenant", + "cannotAddSubflowToItself": "Impossible d'ajouter un sous-flux à lui-même", + "cannotAddCircularReference": "Impossible d'ajouter un sous-flux - référence circulaire détectée", + "unsupportedVersion": "

Utilisation d'une version non prise en charge de Node.js

Vous devez effectuer une mise à jour vers la dernière version de Node.js LTS

", + "failedToAppendNode": "

Échec du chargement du module '__module__'

__error__

" + }, + "project": { + "change-branch": "Changer pour une branche locale '__project__'", + "merge-abort": "Git fusion abandonnée", + "loaded": "Projet '__project__' chargé", + "updated": "Projet '__project__' mis à jour", + "pull": "Projet '__project__' rechargé", + "revert": "Projet '__project__' annulé", + "merge-complete": "Fusion Git terminée", + "setupCredentials": "Configuration des identifiants", + "setupProjectFiles": "Configuration des fichiers du projet", + "no": "Non merci", + "createDefault": "Créer des fichiers de projet par défaut", + "mergeConflict": "Afficher les conflits de fusion" + }, + "label": { + "manage-project-dep": "Gérer les dépendances du projet", + "setup-cred": "Configuration des identifiants", + "setup-project": "Configuration des fichiers du projet", + "create-default-package": "Créer un fichier de paquetage par défaut", + "no-thanks": "Non merci", + "create-default-project": "Créer des fichiers de projet par défaut", + "show-merge-conflicts": "Afficher les conflits de fusion", + "unknownNodesButton": "Rechercher les noeuds inconnus" + } + }, + "clipboard": { + "clipboard": "Presse-papiers", + "nodes": "Noeuds", + "node": "__count__ noeud", + "node_plural": "__count__ noeuds", + "configNode": "__count__ noeud de configuration", + "configNode_plural": "__count__ noeuds de configuration", + "group": "__count__ groupe", + "group_plural": "__count__ groupes", + "flow": "__count__ flux", + "flow_plural": "__count__ flux", + "subflow": "__count__ sous-flux", + "subflow_plural": "__count__ sous-flux", + "replacedNodes": "__count__ noeud remplacé", + "replacedNodes_plural": "__count__ noeuds remplacés", + "pasteNodes": "Coller le flux JSON ou", + "selectFile": "Sélectionner un fichier à importer", + "importNodes": "Importer des noeuds", + "exportNodes": "Exporter des noeuds", + "download": "Télécharger", + "importUnrecognised": "Importation d'un type inconnu :", + "importUnrecognised_plural": "Importation de plusieurs types inconnus :", + "importDuplicate": "Noeud en double importé :", + "importDuplicate_plural": "Noeuds en double importés :", + "nodesExported": "Noeuds exportés vers le presse-papiers", + "nodesImported": "Noeuds importés :", + "nodeCopied": "__count__ noeud copié", + "nodeCopied_plural": "__count__ noeuds copiés", + "groupCopied": "__count__ groupe copié", + "groupCopied_plural": "__count__ groupes copiés", + "groupStyleCopied": "Style de groupe copié", + "invalidFlow": "Flux invalide : __message__", + "recoveredNodes": "Noeuds récupérés", + "recoveredNodesInfo": "Les noeuds importés sur ce flux contiennent un mauvais identifiant de flux. Ces noeuds ont été ajoutés à ce flux afin que vous puissiez les restaurer ou les supprimer.", + "recoveredNodesNotification": "

Noeuds importés sans identifiant de flux valide

Ils ont été ajoutés à un nouveau flux appelé '__flowName__'.

", + "export": { + "selected": "les noeuds sélectionnés", + "current": "le flux actuel", + "all": "tous les flux", + "compact": "Condensé", + "formatted": "Formaté", + "copy": "Copier dans le presse-papier", + "export": "Exporter vers la bibliothèque", + "exportAs": "Exporter comme", + "overwrite": "Remplacer", + "exists": "

\"__file__\" existe déjà.

Voulez-vous le remplacer ?

" + }, + "import": { + "import": "Importer vers", + "importSelected": "Importer la sélection", + "importCopy": "Importer une copie", + "viewNodes": "Vérifier ces noeuds", + "newFlow": "un nouveau flux", + "replace": "Remplacer", + "errors": { + "notArray": "L'entrée n'est pas un tableau JSON", + "itemNotObject": "L'entrée n'est pas un flux valide - l'élément '__index__' n'est pas un objet du noeud", + "missingId": "L'entrée n'est pas un flux valide - l'élément '__index__' n'a pas de propriété 'id'", + "missingType": "L'entrée n'est pas un flux valide - l'élément '__index__' n'a pas de propriété 'type'" + }, + "conflictNotification1": "Certains des noeuds que vous avez importés existent déjà dans votre espace de travail.", + "conflictNotification2": "Sélectionnez les noeuds à importer et choisissez s'il faut remplacer les noeuds existants ou en importer une copie.", + "alreadyExists": "Ce noeud existe déjà" + }, + "copyMessagePath": "Chemin copié", + "copyMessageValue": "Valeur copiée", + "copyMessageValue_truncated": "Valeur tronquée (coupée) copiée" + }, + "deploy": { + "deploy": "Déployer", + "full": "Tout", + "fullDesc": "Déploie tout l'espace de travail", + "modifiedFlows": "Flux modifiés", + "modifiedFlowsDesc": "Déploie uniquement les flux contenant des noeuds modifiés", + "modifiedNodes": "Noeuds modifiés", + "modifiedNodesDesc": "Déploie uniquement les noeuds qui ont changés", + "startFlows": "Démarrer", + "startFlowsDesc": "Démarrer les flux", + "stopFlows": "Arrêter", + "stopFlowsDesc": "Arrêter les flux", + "restartFlows": "Redémarrer les flux", + "restartFlowsDesc": "Redémarrer les flux actuellement déployés", + "successfulDeploy": "Déployé avec succès", + "successfulRestart": "Flux redémarrés avec succès", + "deployFailed": "Échec du déploiement : __message__", + "unusedConfigNodes": "Vous avez des noeuds de configuration inutilisés.", + "unusedConfigNodesButton": "Rechercher les noeuds de configuration inutilisés", + "unknownNodesButton": "Rechercher les noeuds inconnus", + "invalidNodesButton": "Rechercher les noeuds invalides", + "errors": { + "noResponse": "Pas de réponse du serveur" + }, + "confirm": { + "button": { + "ignore": "Ignorer", + "confirm": "Confirmer", + "review": "Examiner les modifications", + "cancel": "Annuler", + "merge": "Fusionner", + "overwrite": "Ignorer et déployer" + }, + "undeployedChanges": "Vous avez des modifications non déployées.\n\nSi vous quittez cette page, ces modifications seront perdues.", + "improperlyConfigured": "L'espace de travail contient des noeuds qui ne sont pas correctement configurés :", + "unknown": "L'espace de travail contient des types de noeuds inconnus :", + "confirm": "Êtes-vous sûr de vouloir déployer ?", + "doNotWarn": "Ne plus m'avertir à ce sujet", + "conflict": "Le serveur exécute un ensemble de flux plus récent.", + "backgroundUpdate": "Les flux sur le serveur ont été mis à jour.", + "conflictChecking": "Vérifier si les modifications peuvent être fusionnées automatiquement", + "conflictAutoMerge": "Les modifications n'incluent aucun conflit et peuvent être fusionnées automatiquement.", + "conflictManualMerge": "Les changements incluent des conflits qui doivent être résolus avant de pouvoir être déployés.", + "plusNMore": "+ __count__ en plus" + } + }, + "eventLog": { + "title": "Journal des événements", + "view": "Afficher le journal" + }, + "diff": { + "unresolvedCount": "__count__ conflit non résolu", + "unresolvedCount_plural": "__count__ conflits non résolus", + "globalNodes": "noeuds globaux", + "flowProperties": "Propriétés du flux", + "type": { + "added": "ajouté", + "changed": "modifié", + "unchanged": "inchangé", + "deleted": "supprimé", + "flowDeleted": "flux supprimé", + "flowAdded": "flux ajouté", + "movedTo": "déplacé vers __id__", + "movedFrom": "déplacé depuis __id__" + }, + "nodeCount": "__count__ noeud", + "nodeCount_plural": "__count__ noeuds", + "local": "Changements locaux", + "remote": "Modifications à distance", + "reviewChanges": "Examiner les modifications", + "noBinaryFileShowed": "Impossible d'afficher le contenu du fichier binaire", + "viewCommitDiff": "Afficher les modifications de validation", + "compareChanges": "Comparer les modifications", + "saveConflict": "Enregistrer la résolution des conflits", + "conflictHeader": "__resolved__ sur __unresolved__ conflit(s) résolu(s)", + "commonVersionError": "La version commune ne contient pas de JSON valide :", + "oldVersionError": "L'ancienne version ne contient pas de JSON valide :", + "newVersionError": "La nouvelle version ne contient pas de JSON valide :" + }, + "subflow": { + "editSubflowInstance": "Modifier l'instance du sous-flux : __name__", + "editSubflow": "Modifier le modèle du sous-flux : __name__", + "edit": "Modifier le modèle du sous-flux", + "subflowInstances": "Il existe __count__ instance de ce modèle de sous-flux", + "subflowInstances_plural": "Il existe __count__ instances de ce modèle de sous-flux", + "editSubflowProperties": "modifier les propriétés", + "input": "Entrées:", + "output": "Sorties:", + "status": "Statut du noeud", + "deleteSubflow": "Supprimer le sous-flux", + "confirmDelete": "Voulez-vous vraiment supprimer ce sous-flux ?", + "info": "Description", + "category": "Catégorie", + "module": "Module", + "license": "Licence", + "licenseNone": "Aucune", + "licenseOther": "Autre", + "type": "Type de noeud", + "version": "Version", + "versionPlaceholder": "x.y.z", + "keys": "Mots clés", + "keysPlaceholder": "Mots clés séparés par des virgules", + "author": "Auteur", + "authorPlaceholder": "Votre nom ", + "desc": "Description", + "env": { + "restore": "Restaurer le sous-flux par défaut", + "remove": "Supprimer la variable d'environnement" + }, + "errors": { + "noNodesSelected": "Impossible de créer un sous-flux : aucun noeud sélectionné", + "acrossMultipleGroups": "Impossible de créer un sous-flux sur plusieurs groupes", + "multipleInputsToSelection": "Impossible de créer un sous-flux : plusieurs entrées pour la sélection" + } + }, + "group": { + "editGroup": "Modifier le groupe : __name__", + "errors": { + "cannotCreateDiffGroups": "Impossible de créer un groupe de noeuds provenant de différents groupes", + "cannotAddSubflowPorts": "Impossible d'ajouter des ports à un groupe de sous-flux" + } + }, + "editor": { + "configEdit": "Modifier", + "configAdd": "Ajouter", + "configUpdate": "Sauver", + "configDelete": "Supprimer", + "nodesUse": "__count__ noeud utilise cette configuration", + "nodesUse_plural": "__count__ noeuds utilisent cette configuration", + "addNewConfig": "Ajouter un nouveau noeud de configuration __type__", + "editNode": "Modifier le noeud __type__", + "editConfig": "Modifier le noeud de configuration __type__", + "addNewType": "Ajouter un nouveau __type__...", + "nodeProperties": "Propriétés du noeud", + "label": "Étiquette", + "color": "Couleur", + "portLabels": "Étiquettes des ports", + "labelInputs": "Entrées", + "labelOutputs": "Sorties", + "settingIcon": "Icône", + "default": "Par défaut", + "noDefaultLabel": "Aucune", + "defaultLabel": "Utiliser l'étiquette par défaut", + "searchIcons": "Rechercher une icône", + "useDefault": "Icône par défaut", + "description": "Description", + "show": "Afficher", + "hide": "Masquer", + "locale": "Sélectionner la langue", + "icon": "Icône", + "inputType": "Type d'entrée", + "selectType": "Sélectionner les types...", + "loadCredentials": "Chargement des identifiants du noeud", + "inputs": { + "input": "entrée", + "select": "sélection", + "checkbox": "case à cocher", + "spinner": "valeurs à défiler", + "none": "aucune", + "hidden": "masquer la propriété" + }, + "types": { + "str": "chaîne de caractères", + "num": "nombre", + "bool": "booléen", + "json": "JSON", + "bin": "tampon", + "env": "variable d'environnement", + "cred": "identifiant" + }, + "menu": { + "input": "entrée", + "select": "sélection", + "checkbox": "case à cocher", + "spinner": "valeurs à défiler", + "hidden": "étiquette seulement" + }, + "select": { + "label": "Etiquette", + "value": "Valeur" + }, + "spinner": { + "min": "Minimum", + "max": "Maximum" + }, + "errors": { + "scopeChange": "La modification de la portée la rendra indisponible pour les noeuds d'autres flux qui l'utilisent", + "invalidProperties": "Propriétés invalides :", + "credentialLoadFailed": "Échec du chargement des identifiants du noeud" + } + }, + "keyboard": { + "title": "Raccourcis clavier", + "keyboard": "Clavier", + "filterActions": "Rechercher l'action", + "shortcut": "Raccourci", + "scope": "Portée", + "unassigned": "Non attribué", + "global": "Global", + "workspace": "Espace de travail", + "editor": "Boîte de dialogue d'édition", + "selectAll": "Tout sélectionner", + "selectNone": "Ne rien sélectionner", + "selectAllConnected": "Sélectionner tous les éléments connectés", + "addRemoveNode": "Ajouter/supprimer un noeud de la sélection", + "editSelected": "Modifier le noeud sélectionné", + "deleteSelected": "Supprimer la sélection", + "deleteReconnect": "Supprimer et reconnecter", + "importNode": "Importer les noeuds", + "exportNode": "Exporter les noeuds", + "nudgeNode": "Déplacer les noeuds sélectionnés (1px)", + "moveNode": "Déplacer les noeuds sélectionnés (20px)", + "toggleSidebar": "Basculer la barre latérale", + "togglePalette": "Basculer la palette", + "copyNode": "Copier les noeuds sélectionnés", + "cutNode": "Couper les noeuds sélectionnés", + "pasteNode": "Coller les noeuds", + "copyGroupStyle": "Copier le style de groupe", + "pasteGroupStyle": "Coller le style de groupe", + "undoChange": "Annuler", + "redoChange": "Rétablir", + "searchBox": "Ouvrir le champ de recherche", + "managePalette": "Gérer la palette", + "actionList": "Liste d'action", + "splitWireWithLinks": "Ajouter des liens à la sélection" + }, + "library": { + "library": "Bibliothèque", + "openLibrary": "Ouvrir la bibliothèque...", + "saveToLibrary": "Enregistrer dans la bibliothèque...", + "typeLibrary": "__type__ bibliothèque", + "unnamedType": "Innomé __type__", + "exportedToLibrary": "Noeuds exportés vers la bibliothèque", + "dialogSaveOverwrite": "Une __libraryType__ appelée __libraryName__ existe déjà. Écraser ?", + "invalidFilename": "Nom de fichier non valide", + "savedNodes": "Noeuds enregistrés", + "savedType": "__type__ enregistré", + "saveFailed": "Échec de la sauvegarde : __message__", + "newFolder": "Nouveau dossier", + "types": { + "local": "Local", + "examples": "Exemples" + } + }, + "palette": { + "noInfo": "Pas d'information disponible", + "filter": "Rechercher le noeud", + "search": "Rechercher les modules", + "addCategory": "Ajouter un nouveau...", + "label": { + "subflows": "Sous-flux", + "network": "Réseau", + "common": "Commun", + "input": "Entrée", + "output": "Sortie", + "function": "Fonction", + "sequence": "Séquence", + "parser": "Analyseur", + "social": "Social", + "storage": "Stockage", + "analysis": "Analyse", + "advanced": "Avancé" + }, + "actions": { + "collapse-all": "Réduire toutes les catégories", + "expand-all": "Développer toutes les catégories" + }, + "event": { + "nodeAdded": "Noeud ajouté à la palette :", + "nodeAdded_plural": "Noeuds ajoutés à la palette :", + "nodeRemoved": "Noeud supprimé de la palette :", + "nodeRemoved_plural": "Noeuds supprimés de la palette :", + "nodeEnabled": "Noeud activé :", + "nodeEnabled_plural": "Noeuds activés :", + "nodeDisabled": "Noeud désactivé :", + "nodeDisabled_plural": "Noeuds désactivés :", + "nodeUpgraded": "Les noeuds du module __module__ ont été mis à jour vers la version __version__", + "unknownNodeRegistered": "Erreur lors du chargement du noeud :
  • __type__
    __error__
" + }, + "editor": { + "title": "Gérer la palette", + "palette": "Palette", + "allCatalogs": "Tous les catalogues", + "times": { + "seconds": "il y a quelques secondes", + "minutes": "il y a quelques minutes", + "minutesV": "il y a __count__ minutes", + "hoursV": "il y a __count__ heure", + "hoursV_plural": "il y a __count__ heures", + "daysV": "il y a __count__ jour", + "daysV_plural": "il y a __count__ jours", + "weeksV": "il y a __count__ semaine", + "weeksV_plural": "il y a __count__ semaines", + "monthsV": "il y a __count__ mois", + "monthsV_plural": "il y a __count__ mois", + "yearsV": "il y a __count__ an", + "yearsV_plural": "il y a __count__ ans", + "yearMonthsV": "il y a __y__ an, __count__ mois", + "yearMonthsV_plural": "il y a __y__ an, __count__ mois", + "yearsMonthsV": "il y a __y__ ans, __count__ mois", + "yearsMonthsV_plural": "il y a __y__ ans, __count__ mois" + }, + "nodeCount": "__label__ noeud", + "nodeCount_plural": "__label__ noeuds", + "moduleCount": "__count__ module disponible", + "moduleCount_plural": "__count__ modules disponibles", + "inuse": "En cours d'utilisation", + "enableall": "Activer tout", + "disableall": "Désactiver tout", + "enable": "Activer", + "disable": "Désactiver", + "remove": "Supprimer", + "update": "Mettre à jour vers __version__", + "updated": "Mis à jour", + "install": "Installer", + "installed": "Installé", + "conflict": "Conflit", + "conflictTip": "

Ce module ne peut pas être installé car il inclut un
type de noeud qui a déjà été installé

Conflits avec __module__

", + "loading": "Chargement des catalogues...", + "tab-nodes": "Noeuds", + "tab-install": "Installer", + "sort": "Trier:", + "sortRelevance": "Pertinence", + "sortAZ": "A-Z", + "sortRecent": "Récent", + "more": "+ __count__ en plus", + "upload": "Charger le fichier tgz du module", + "refresh": "Actualiser la liste des modules", + "errors": { + "catalogLoadFailed": "

Échec du chargement du catalogue de noeuds.

Vérifier la console du navigateur pour plus d'informations

", + "installFailed": "

Échec lors de l'installation : __module__

__message__

Consulter le journal pour plus d'informations

", + "removeFailed": "

Échec lors de la suppression : __module__

__message__

Consulter le journal pour plus d'informations

", + "updateFailed": "

Échec lors de la mise à jour : __module__

__message__

Consulter le journal pour plus d'informations

", + "enableFailed": "

Échec lors de l'activation : __module__

__message__

Consulter le journal pour plus d'informations

", + "disableFailed": "

Échec lors de la désactivation : __module__

__message__

Consulter le journal pour plus d'informations

" + }, + "confirm": { + "install": { + "body": "

Installation de '__module__'

Avant l'installation, veuiller lire la documentation du noeud. Certains noeuds ont des dépendances qui ne peuvent pas être résolues automatiquement et peuvent nécessiter un redémarrage de Node-RED.

", + "title": "Installer les noeuds" + }, + "remove": { + "body": "

Suppression de '__module__'

La suppression du noeud le désinstallera de Node-RED. Le noeud peut continuer à utiliser des ressources jusqu'au redémarrage de Node-RED.

", + "title": "Supprimer les noeuds" + }, + "update": { + "body": "

Mise à jour de '__module__'

La mise à jour du noeud nécessitera un redémarrage de Node-RED pour terminer la mise à jour. Cela doit être fait manuellement.

", + "title": "Mettre à jour les noeuds" + }, + "cannotUpdate": { + "body": "Une mise à jour pour ce noeud est disponible, mais il n'est pas installé dans un emplacement que le gestionnaire de palette peut mettre à jour.

Veuiller vous référer à la documentation pour savoir comment mettre à jour ce noeud." + }, + "button": { + "review": "Ouvrir la documentation", + "install": "Installer", + "remove": "Supprimer", + "update": "Mettre à jour" + } + } + } + }, + "sidebar": { + "info": { + "name": "Information", + "tabName": "Nom", + "label": "Info", + "node": "Noeud", + "type": "Type", + "group": "Groupe", + "module": "Module", + "id": "ID (identifiant)", + "status": "Statut", + "enabled": "Activé", + "disabled": "Désactivé", + "subflow": "Sous-flux", + "instances": "Instances", + "properties": "Propriétés", + "info": "Information", + "desc": "Description", + "blank": "Vide", + "null": "Nul", + "showMore": "Afficher en plus", + "showLess": "Afficher en moins", + "flow": "Flux", + "selection": "Sélection", + "nodes": "__count__ noeuds", + "flowDesc": "Description du flux", + "subflowDesc": "Description du sous-flux", + "nodeHelp": "Aide sur les noeuds", + "none": "Aucun", + "arrayItems": "__count__ éléments", + "showTips": "Vous pouvez ouvrir les astuces à partir du panneau des paramètres", + "outline": "Plan", + "empty": "Vide", + "globalConfig": "Noeuds de configuration globale", + "triggerAction": "Déclencher une action", + "find": "Rechercher dans l'espace de travail", + "copyItemUrl": "Copier l'URL de l'élément", + "copyURL2Clipboard": "URL copiée dans le presse-papiers", + "showFlow": "Afficher", + "hideFlow": "Masquer" + }, + "help": { + "name": "Aide", + "label": "Aide", + "search": "Aide à la recherche", + "nodeHelp": "Aide sur les noeuds", + "showHelp": "Afficher l'aide", + "showInOutline": "Afficher dans les grandes lignes", + "showTopics": "Afficher les sujets", + "noHelp": "Aucune rubrique d'aide sélectionnée", + "changeLog": "Journal des modifications" + }, + "config": { + "name": "Noeuds de configuration", + "label": "Configuration", + "global": "Tous les flux", + "none": "Aucun", + "subflows": "Sous-flux", + "flows": "Flux", + "filterAll": "Tout", + "showAllConfigNodes": "Afficher tous les noeuds de configuration", + "filterUnused": "Inutilisé", + "showAllUnusedConfigNodes": "Afficher tous les noeuds de configuration inutilisés", + "filtered": "__count__ caché(s)" + }, + "context": { + "name": "Données contextuelles", + "label": "Contexte", + "none": "Aucune sélection", + "refresh": "Actualiser pour charger", + "empty": "Vide", + "node": "Noeud", + "flow": "Flux", + "global": "Global", + "deleteConfirm": "Êtes-vous sûr de vouloir supprimer cet élément ?", + "autoRefresh": "Rafraîchir si la sélection change", + "refrsh": "Rafraîchir", + "delete": "Supprimer" + }, + "palette": { + "name": "Gestion des palettes", + "label": "Palette" + }, + "project": { + "label": "Projet", + "name": "Projet", + "description": "Description", + "dependencies": "Dépendances", + "settings": "Paramètres", + "noSummaryAvailable": "Aucun résumé disponible", + "editDescription": "Modifier la description du projet", + "editDependencies": "Modifier les dépendances du projet", + "noDescriptionAvailable": "Pas de description disponible", + "editReadme": "Modifier le fichier README.md", + "showProjectSettings": "Afficher les paramètres du projet", + "projectSettings": { + "title": "Paramètres du projet", + "edit": "Modifier", + "none": "Vide", + "install": "Installer", + "removeFromProject": "Supprimer du projet", + "addToProject": "Ajouter au projet", + "files": "Fichiers", + "flow": "Flux", + "credentials": "Identifiants", + "package": "Paquets", + "packageCreate": "Le fichier sera créé lorsque les modifications seront enregistrées", + "fileNotExist": "Le fichier n'existe pas", + "selectFile": "Choisir le dossier", + "invalidEncryptionKey": "Clé de chiffrement invalide", + "encryptionEnabled": "Chiffrement activé", + "encryptionDisabled": "Chiffrement désactivé", + "setTheEncryptionKey": "Définir la clé de chiffrement", + "resetTheEncryptionKey": "Réinitialiser la clé de chiffrement", + "changeTheEncryptionKey": "Changer la clé de chiffrement", + "currentKey": "Clé actuelle", + "newKey": "Nouvelle clé", + "credentialsAlert": "Cela supprimera tous les identifiants existants", + "versionControl": "Contrôle de version", + "branches": "Branches", + "noBranches": "Pas de branche", + "deleteConfirm": "Êtes-vous sûr de vouloir supprimer la branche locale '__name__' ? Ça ne peut pas être annulé.", + "unmergedConfirm": "La branche locale '__name__' contient des modifications non fusionnées qui seront perdues. Etes-vous sûr de vouloir la supprimer?", + "deleteUnmergedBranch": "Supprimer la branche non fusionnée", + "gitRemotes": "Git distant", + "addRemote": "Ajout distant", + "addRemote2": "Ajout distant", + "remoteName": "Nom distant", + "nameRule": "Doit contenir uniquement A-Z 0-9 _ -", + "url": "URL", + "urlRule": "https://, ssh:// ou file://", + "urlRule2": "Ne pas inclure le nom d'utilisateur/mot de passe dans l'URL", + "noRemotes": "Pas distant", + "deleteRemoteConfrim": "Êtes-vous sûr de vouloir supprimer '__name__' distant ?", + "deleteRemote": "Supprimer distant" + }, + "userSettings": { + "committerDetail": "Détails de l'auteur de la validation (commit)", + "committerTip": "Laisser vide pour utiliser la valeur par défaut du système", + "userName": "Nom d'utilisateur", + "email": "e-mail", + "workflow": "Flux de travail", + "workfowTip": "Choisisser votre flux de travail Git préféré", + "workflowManual": "Manuel", + "workflowManualTip": "Toutes les modifications doivent être validées manuellement dans la barre latérale 'historique'", + "workflowAuto": "Automatique", + "workflowAutoTip": "Les modifications sont validées automatiquement à chaque déploiement", + "sshKeys": "Clés SSH", + "sshKeysTip": "Vous permet de créer des connexions sécurisées aux référentiels Git distants.", + "add": "Ajouter une clé", + "addSshKey": "Ajouter une clé SSH", + "addSshKeyTip": "Générer une nouvelle paire de clés publique/privée", + "name": "Nom", + "nameRule": "Doit contenir uniquement A-Z 0-9 _ -", + "passphrase": "Phrase de mot de passe", + "passphraseShort": "Phrase de mot de passe trop courte", + "optional": "Facultatif", + "cancel": "Annuler", + "generate": "Générer une clé", + "noSshKeys": "Pas de clé SSH", + "copyPublicKey": "Copier la clé publique dans le presse-papiers", + "delete": "Supprimer une clé", + "gitConfig": "Configuration Git", + "deleteConfirm": "Êtes-vous sûr de vouloir supprimer la clé SSH __name__ ? Ça ne peut pas être annulé." + }, + "versionControl": { + "unstagedChanges": "Abandon des changements", + "stagedChanges": "Changement mis en place", + "unstageChange": "Ne pas mettre en place le changement", + "stageChange": "Mettre en place le changement", + "unstageAllChange": "Ne pas mettre en place tous les changements", + "stageAllChange": "Mettre en place tous les changements", + "commitChanges": "Valider les changements", + "resolveConflicts": "Résoudre les conflits", + "head": "En-tête", + "staged": "Mis en place", + "unstaged": "Non mis en place", + "local": "Local", + "remote": "Distant", + "revert": "Voulez-vous vraiment annuler les modifications apportées à '__file__' ? Ça ne peut pas être annulé.", + "revertChanges": "Rétablir les changements", + "localChanges": "Modifications locales", + "none": "Vide", + "conflictResolve": "Tous les conflits ont été résolus. Valider les modifications pour terminer la fusion.", + "localFiles": "Fichiers locaux", + "all": "Tout", + "unmergedChanges": "Modifications non fusionnées", + "abortMerge": "Abandonner la fusion", + "commit": "Valider", + "changeToCommit": "Modifications à valider", + "commitPlaceholder": "Entrer votre message de validation", + "cancelCapital": "Annuler", + "commitCapital": "Valider", + "commitHistory": "Historique des validations", + "branch": "Branche :", + "moreCommits": "Davantage de validations", + "changeLocalBranch": "Changer de branche locale", + "createBranchPlaceholder": "Trouver où créer une branche", + "upstream": "en amont", + "localOverwrite": "Vous avez des modifications locales qui seraient écrasées en changeant la branche. Vous devez d'abord valider ou annuler ces modifications.", + "manageRemoteBranch": "Gérer une branche distante", + "unableToAccess": "Impossible d'accéder au référentiel distant", + "retry": "Recommencer", + "setUpstreamBranch": "Définir comme branche en amont", + "createRemoteBranchPlaceholder": "Trouver ou créer une branche distante", + "trackedUpstreamBranch": "La branche créée sera définie comme la branche en amont suivie.", + "selectUpstreamBranch": "La branche sera créée. Sélectionner ci-dessous pour la définir comme branche en amont suivie.", + "pushFailed": "L'envoi a échoué car la branche a des validations plus récentes. Tirer et fusionner d'abord, puis envoyer à nouveau.", + "push": "Envoyer", + "pull": "Tirer", + "unablePull": "

Impossible d'extraire les modifications à distance ; vos modifications locales non mises en place seraient écrasées.

Valider vos modifications et réessayer.

", + "showUnstagedChanges": "Afficher les modifications non mise en place", + "connectionFailed": "Impossible de se connecter au référentiel distant: ", + "pullUnrelatedHistory": "

Le réferentiel distant a un historique de validations sans rapport.

Êtes-vous sûr de vouloir extraire les modifications dans votre référentiel local ?

", + "pullChanges": "Tirer les changements", + "history": "Historique", + "projectHistory": "Historique du projet", + "daysAgo": "il y a __count__ jour", + "daysAgo_plural": "il y a __count__ jours", + "hoursAgo": "il y a __count__ heure", + "hoursAgo_plural": "il y a __count__ heures", + "minsAgo": "il y a __count__ minute", + "minsAgo_plural": "il y a __count__ minutes", + "secondsAgo": "Il y a quelques instants", + "notTracking": "Votre branche locale ne suit pas actuellement une branche distante.", + "statusUnmergedChanged": "Votre référentiel contient des modifications non fusionnées. Vous devez résoudre les conflits et valider le résultat.", + "repositoryUpToDate": "Votre référentiel est à jour.", + "commitsAhead": "Votre référentiel a __count__ validation d'avance sur le référentiel distant. Vous pouvez pousser cette validation maintenant.", + "commitsAhead_plural": "Votre référentiel a __count__ validations d'avance sur le référentiel distant. Vous pouvez pousser ces validations maintenant.", + "commitsBehind": "Votre référentiel a __count__ validation de retard sur le référentiel distant. Vous pouvez pousser cette validation maintenant.", + "commitsBehind_plural": "Votre référentiel a __count__ validations de retard sur le référentiel distant. Vous pouvez pousser ces validations maintenant.", + "commitsAheadAndBehind1": "Votre référentiel a __count__ validation derrière et ", + "commitsAheadAndBehind1_plural": "Votre référentiel est __count__ validations derrière et ", + "commitsAheadAndBehind2": "__count__ validation avant le référentiel distant. ", + "validationsAheadAndBehind2_plural": "__count__ commits avant le référentiel distant. ", + "commitsAheadAndBehind3": "Vous devez retirer la validation à distance avant de pousser la modification.", + "commitsAheadAndBehind3_plural": "Vous devez retirer les validations à distance avant de pousser les modifications.", + "refreshCommitHistory": "Actualiser l'historique des validations", + "refreshChanges": "Actualiser les modifications" + } + } + }, + "typedInput": { + "type": { + "str": "chaîne de caractères", + "num": "nombre", + "re": "expression régulière", + "bool": "booléen", + "json": "JSON", + "bin": "tampon", + "date": "horodatage", + "jsonata": "expression", + "env": "variable d'environnement", + "cred": "identifiant" + } + }, + "editableList": { + "add": "Ajouter", + "addTitle": "Ajouter un élément" + }, + "search": { + "history": "Historique des recherches", + "clear": "Tout effacer", + "empty": "Aucun résultat", + "addNode": "Ajouter un noeud...", + "options": { + "configNodes": "Noeuds de configuration", + "unusedConfigNodes": "Noeuds de configuration inutilisés", + "invalidNodes": "Noeuds invalides", + "uknownNodes": "Noeuds inconnus", + "unusedSubflows": "Sous-flux inutilisés", + "hiddenFlows": "Flux cachés", + "modifiedNodes": "Noeuds et flux modifiés", + "thisFlow": "Flux courant" + } + }, + "expressionEditor": { + "functions": "Fonctions", + "functionReference": "Fonction de référence", + "insert": "Insérer", + "title": "Éditeur d'expressions JSONata", + "test": "Test", + "data": "Exemple de message", + "result": "Résultat", + "format": "Format", + "compatMode": "Mode de compatibilité activé", + "compatModeDesc": "

Mode de compatibilité JSONata

L'expression actuelle semble toujours faire référence à msg et sera donc évaluée en mode de compatibilité. Veuiller mettre à jour l'expression pour ne pas utiliser msg car ce mode sera supprimé à l'avenir.

Lorsque la prise en charge de JSONata a été ajoutée pour la première fois à Node-RED, il fallait que l'expression référencie l'objet msg. Par exemple, msg.payload serait utilisé pour accéder à la charge utile.

Cela n'est plus nécessaire car l'expression sera évaluée directement par rapport au message. Pour accéder à la charge utile, l'expression doit être simplement charge utile.

", + "noMatch": "Aucun résultat correspondant", + "errors": { + "invalid-expr": "Expression JSONata non valide :\n __message__", + "invalid-msg": "Exemple de message JSON non valide :\n __message__", + "context-unsupported": "Impossible de tester les fonctions de contexte\n $flowContext ou $globalContext", + "env-unsupported": "Impossible de tester la fonction $env", + "moment-unsupported": "Impossible de tester la fonction $moment", + "clone-unsupported": "Impossible de tester la fonction $clone", + "eval": "Erreur lors de l'évaluation de l'expression :\n __message__" + } + }, + "monaco": { + "setTheme": "Définir le thème" + }, + "jsEditor": { + "title": "Éditeur JavaScript" + }, + "textEditor": { + "title": "Éditeur de texte" + }, + "jsonEditor": { + "title": "Éditeur JSON", + "format": "Format JSON", + "rawMode": "Modifier JSON", + "uiMode": "Afficher l'éditeur", + "rawMode-readonly": "JSON", + "uiMode-readonly": "Visualiser", + "insertAbove": "Insérer ci-dessus", + "insertBelow": "Insérer ci-dessous", + "addItem": "Ajouter un élément", + "copyPath": "Copier le chemin vers l'élément", + "expandItems": "Développer les éléments", + "collapseItems": "Réduire les éléments", + "duplicate": "Dupliquer", + "error": { + "invalidJSON": "JSON invalide : " + } + }, + "markdownEditor": { + "title": "Éditeur Markdown", + "expand": "Développer", + "format": "Formaté avec Markdown", + "heading1": "Rubrique 1", + "heading2": "Rubrique 2", + "heading3": "Rubrique 3", + "bold": "Gras", + "italic": "Italic", + "code": "Code", + "ordered-list": "Liste ordonnée", + "unordered-list": "Liste non ordonnée", + "quote": "Citation", + "link": "Lien", + "horizontal-rule": "Règle horizontale", + "toggle-preview": "Basculer l'aperçu", + "mermaid": { + "summary": "Diagramme Mermaid" + } + }, + "bufferEditor": { + "title": "Éditeur de tampon", + "modeString": "Gérer comme une chaîne UTF-8", + "modeArray": "Gérer en tant que tableau JSON", + "modeDesc": "

Éditeur de tampon

Le type de tampon est stocké sous la forme d'un tableau JSON de valeurs d'octets. L'éditeur tentera d'analyser la valeur saisie en tant que tableau JSON. S'il ne s'agit pas d'un JSON valide, il sera traité comme une chaîne UTF-8 et converti en un tableau de points de code de caractères individuels.

Par exemple, une valeur de Hello World sera converti en tableau JSON :

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" + }, + "projects": { + "config-git": "Configurer le client Git", + "welcome": { + "hello": "Bonjour! Nous avons introduit des 'projets' dans Node-RED.", + "desc0": "Il s'agit d'une nouvelle façon pour vous de gérer vos fichiers de flux, cela inclut le contrôle de version de vos flux.", + "desc1": "Pour commencer, vous pouvez créer votre premier projet ou cloner un projet existant à partir d'un référentiel git.", + "desc2": "Si vous n'êtes pas sûr, vous pouvez ignorer ceci pour le moment. Vous pourrez toujours créer votre premier projet à partir du menu 'Projets' à tout moment.", + "create": "Créer un projet", + "clone": "Cloner un référentiel", + "openExistingProject": "Ouvrir un projet existant", + "not-right-now": "Pas maintenant" + }, + "git-config": { + "setup": "Configurer votre version du client Git", + "desc0": "Node-RED utilise l'outil open source Git pour le contrôle de version. Il suit les modifications apportées à vos fichiers de projet et vous permet de les transférer vers des référentiels distants.", + "desc1": "Lorsque vous validez un ensemble de modifications, Git enregistre l'auteur qui a effectué les modifications avec un nom d'utilisateur et une adresse e-mail. Le nom d'utilisateur peut être ce que vous voulez - il n'est pas nécessaire que ce soit votre vrai nom.", + "desc2": "Votre client Git est déjà configuré avec les détails ci-dessous.", + "desc3": "Vous pouvez modifier ces paramètres ultérieurement sous l'onglet 'Configuration Git' de la boîte de dialogue des paramètres.", + "username": "Nom d'utilisateur", + "email": "e-mail" + }, + "project-details": { + "create": "Créer votre projet", + "desc0": "Un projet est maintenu en tant que référentiel Git. Il est beaucoup plus facile de partager vos flux et de collaborer avec les autres grâce à ce référentiel.", + "desc1": "Vous pouvez créer plusieurs projets et basculer rapidement entre eux depuis l'éditeur.", + "desc2": "Pour commencer, votre projet a besoin d'un nom et facultativement d'une description.", + "already-exists": "Le projet existe déjà", + "must-contain": "Doit contenir uniquement A-Z 0-9 _ -", + "project-name": "Nom du projet", + "desc": "Description", + "opt": "Facultatif" + }, + "clone-project": { + "clone": "Cloner un projet", + "desc0": "Si vous avez déjà un dépôt Git contenant un projet, vous pouvez le cloner pour commencer.", + "already-exists": "Le projet existe déjà", + "must-contain": "Doit contenir uniquement A-Z 0-9 _ -", + "project-name": "Nom du projet", + "no-info-in-url": "Ne pas inclure le nom d'utilisateur/mot de passe dans l'URL", + "git-url": "URL du dépôt Git", + "protocols": "https://, ssh:// ou file://", + "auth-failed": "L'authentification a échoué", + "username": "Nom d'utilisateur", + "passwd": "Mot de passe", + "ssh-key": "Clé SSH", + "passphrase": "Phrase de mot de passe", + "ssh-key-desc": "Avant de pouvoir cloner un référentiel avec ssh, vous devez ajouter une clé SSH pour y accéder.", + "ssh-key-add": "Ajouter une clé ssh", + "credential-key": "Clé de chiffrement des identifiants", + "cant-get-ssh-key": "Erreur! Impossible d'obtenir le chemin de la clé SSH sélectionnée.", + "already-exists2": "Existe déjà", + "git-error": "Erreur git", + "connection-failed": "La connexion a échoué", + "not-git-repo": "Ce n'est pas un dépôt Git", + "repo-not-found": "Référentiel introuvable" + }, + "default-files": { + "create": "Créer vos fichiers de projet", + "desc0": "Un projet contient vos fichiers de flux, un fichier README et un fichier package.json.", + "desc1": "Il peut contenir tous les autres fichiers que vous souhaitez conserver dans le référentiel Git.", + "desc2": "Vos fichiers de flux et identifiants existants seront copiés dans le projet.", + "flow-file": "Fichier de flux", + "credentials-file": "Fichier d'identifiants" + }, + "encryption-config": { + "setup": "Configuration du chiffrage de votre fichier d'informations d'identification", + "desc0": "Votre fichier d'informations d'identification de flux peut être chiffré pour sécuriser son contenu.", + "desc1": "Si vous souhaitez stocker ces identifiants dans un référentiel Git public, vous devez les chiffrer en fournissant une phrase clé secrète.", + "desc2": "Votre fichier d'identifiants de flux n'est actuellement pas chiffré.", + "desc3": "Cela signifie que son contenu, tel que les mots de passe et les jetons d'accès, peut être lu par toute personne ayant accès au fichier.", + "desc4": "Si vous souhaitez stocker ces identifiants dans un référentiel Git public, vous devez les chiffrer en fournissant une phrase clé secrète.", + "desc5": "Votre fichier contenant les identifiants de flux est actuellement chiffré à l'aide de la propriété credentialSecret de votre fichier de paramètres comme clé.", + "desc6": "Votre fichier contenant les identifiants de flux est actuellement chiffré à l'aide d'une clé générée par le système. Vous devez fournir une nouvelle clé secrète pour ce projet.", + "desc7": "La clé sera stockée séparément de vos fichiers de projet. Vous devrez fournir la clé pour utiliser ce projet dans une autre instance de Node-RED.", + "credentials": "Identifiants", + "enable": "Activer le chiffrement", + "disable": "Désactiver le chiffrement", + "disabled": "Désactivé", + "copy": "Remplacer la clé existante", + "use-custom": "Utiliser la clé personnalisée", + "desc8": "Le fichier contenant les identifiants ne sera pas crypté et son contenu sera facilement lisible", + "create-project-files": "Créer des fichiers de projet", + "create-project": "Créer un projet", + "already-exists": "Existe déjà", + "git-error": "Erreur Git", + "git-auth-error": "Erreur d'authentification Git" + }, + "create-success": { + "success": "Vous avez créé avec succès votre premier projet !", + "desc0": "Vous pouvez maintenant continuer à utiliser Node-RED comme vous l'avez toujours fait.", + "desc1": "L'onglet 'info' dans la barre latérale vous montre quel est votre projet actif actuel. Le bouton à côté du nom peut être utilisé pour accéder à la vue des paramètres du projet.", + "desc2": "L'onglet 'historique' dans la barre latérale peut être utilisé pour afficher les fichiers qui ont changé dans votre projet et pour les valider. Il vous montre un historique complet de vos validations (commits) et vous permet de pousser vos modifications vers un référentiel distant." + }, + "create": { + "projects": "Projets", + "already-exists": "Le projet existe déjà", + "must-contain": "Doit contenir uniquement A-Z 0-9 _ -", + "no-info-in-url": "Ne pas inclure le nom d'utilisateur/mot de passe dans l'URL", + "open": "Projet ouvert", + "create": "Créer un projet", + "clone": "Cloner un référentiel", + "project-name": "Nom du projet", + "desc": "Description", + "opt": "Facultatif", + "flow-file": "Fichier de flux", + "credentials": "Identifiants", + "enable-encryption": "Activer le chiffrement", + "disable-encryption": "Désactiver le chiffrement", + "encryption-key": "Clé de chiffrement", + "desc0": "Une phrase pour sécuriser vos identifiants", + "desc1": "Le fichier contenant les identifiants ne sera pas crypté et son contenu sera facilement lisible", + "git-url": "URL du dépôt Git", + "protocols": "https://, ssh:// ou file://", + "auth-failed": "L'authentification a échoué", + "username": "Nom d'utilisateur", + "password": "Mot de passe", + "ssh-key": "Clé SSH", + "passphrase": "Phrase de mot de passe", + "desc2": "Avant de pouvoir cloner un référentiel sur ssh, vous devez ajouter une clé SSH pour y accéder.", + "add-ssh-key": "Ajouter une clé ssh", + "credentials-encryption-key": "Clé de chiffrement des identifiants", + "already-exists-2": "Existe déjà", + "git-error": "Erreur git", + "con-failed": "La connexion a échoué", + "not-git": "Ce n'est pas un dépôt git", + "no-resource": "Référentiel introuvable", + "cant-get-ssh-key-path": "Erreur! Impossible d'obtenir le chemin de la clé SSH sélectionnée.", + "unexpected_error": "Erreur inattendue", + "clearContext": "Effacer le contexte lors du changement de projet" + }, + "delete": { + "confirm": "Voulez-vous vraiment supprimer ce projet ?" + }, + "create-project-list": { + "search": "Rechercher vos projets", + "current": "Actuel" + }, + "require-clean": { + "confirm": "

Vous avez des modifications non déployées qui seront perdues.

Voulez-vous continuer ?

" + }, + "send-req": { + "auth-req": "Authentification requise pour le référentiel", + "username": "Nom d'utilisateur", + "password": "Mot de passe", + "passphrase": "Phrase de mot de passe", + "retry": "Recommencer", + "update-failed": "La mise à jour a échoué", + "unhandled": "Code d'erreur non géré", + "host-key-verify-failed": "

La vérification de la clé d'hôte a échoué.

La clé d'hôte du référentiel n'a pas pu être vérifiée. Veuillez mettre à jour votre fichier known_hosts et réessayer.

" + }, + "create-branch-list": { + "invalid": "Branche invalide", + "create": "Créer une branche", + "current": "Actuelle" + }, + "create-default-file-set": { + "no-active": "Impossible de créer un ensemble de fichiers par défaut sans projet actif", + "no-empty": "Impossible de créer un ensemble de fichiers par défaut sur un projet non vide", + "git-error": "Erreur Git" + }, + "errors": { + "no-username-email": "Votre client Git n'est pas configuré avec un nom d'utilisateur/e-mail.", + "unexpected": "Une erreur inattendue est apparue", + "code": "Code" + } + }, + "editor-tab": { + "properties": "Propriétés", + "envProperties": "Variables d'environnement", + "module": "Propriétés des modules", + "description": "Description", + "appearance": "Apparence", + "preview": "Aperçu de l'interface utilisateur", + "defaultValue": "Valeur par défaut" + }, + "tourGuide": { + "takeATour": "Aperçu", + "start": "Commencer", + "next": "Suivant", + "welcomeTours": "Visite de bienvenue" + }, + "diagnostics": { + "title": "Information système" + }, + "validator": { + "errors": { + "invalid-json": "Données JSON invalides : __error__", + "invalid-expr": "Expression JSONata invalide : __error__", + "invalid-prop": "Expression de propriété invalide", + "invalid-num": "Numéro invalide", + "invalid-num-prop": "__prop__: numéro invalide", + "invalid-regexp": "Modèle d'entrée non valide", + "invalid-regex-prop": "__prop__: modèle d'entrée non valide", + "missing-required-prop": "__prop__: valeur de la propriété manquante", + "invalid-config": "__prop__: noeud de configuration invalide", + "missing-config": "__prop__: noeud de configuration manquant", + "validation-error": "__prop__: erreur de validation: __node__, __id__: __error__" + } + }, + "contextMenu": { + "showActionList": "Afficher la liste des actions", + "insert": "Insérer", + "node": "Noeud", + "junction": "Jonction", + "linkNodes": "Liens entre les noeuds" + }, + "env-var": { + "environment": "Environment", + "header": "Variables d'environnement globales", + "revert": "Rétablir" + }, + "action-list": { + "toggle-show-tips": "Basculer l'affichage des astuces", + "show-about": "Afficher la description de Node-RED", + "show-welcome-tour": "Afficher la visite de bienvenue", + "show-next-tab": "Afficher l'onglet suivant", + "show-previous-tab": "Afficher l'onglet précédent", + "add-flow": "Ajouter un flux", + "add-flow-to-right": "Ajouter un flux à droite", + "edit-flow": "Modifier le flux", + "remove-flow": "Supprimer le flux", + "enable-flow": "Activer le flux", + "disable-flow": "Désactiver le flux", + "hide-flow": "Masquer le flux", + "hide-other-flows": "Masquer les autres flux", + "hide-all-flows": "Masquer tous les flux", + "show-all-flows": "Afficher tous les flux", + "show-last-hidden-flow": "Afficher le dernier flux masqué", + "list-modified-nodes": "Afficher les flux modifiés", + "list-hidden-flows": "Afficher les flux cachés", + "list-flows": "Lister les flux", + "list-subflows": "Liste les sous-flux", + "go-to-previous-location": "Aller à l'emplacement précédent", + "go-to-next-location": "Aller à l'emplacement suivant", + "copy-selection-to-internal-clipboard": "Copier la sélection dans le presse-papiers", + "cut-selection-to-internal-clipboard": "Couper la sélection dans le presse-papiers", + "paste-from-internal-clipboard": "Coller depuis le presse-papiers", + "detach-selected-nodes": "Détacher les noeuds sélectionnés", + "delete-selection": "Supprimer la sélection", + "delete-selection-and-reconnect": "Supprimer la sélection et reconnecter", + "edit-selected-node": "Modifier le noeud sélectionné", + "go-to-selection": "Aller à la sélection", + "undo": "Annuler les modifications", + "redo": "Rétablir les modifications", + "select-all-nodes": "Sélectionner tous les noeuds", + "select-none": "Sélectionner un noeud", + "enable-selected-nodes": "Activer les noeuds sélectionnés", + "disable-selected-nodes": "Désactiver les noeuds sélectionnés", + "toggle-show-grid": "Basculer l'affichage de la grille", + "toggle-snap-grid": "Basculer l'aide au placement des noeuds", + "toggle-status": "Commuter l'état", + "show-selected-node-labels": "Afficher les étiquettes des noeuds sélectionnés", + "hide-selected-node-labels": "Masquer les étiquettes des noeuds sélectionnés", + "scroll-view-up": "Faire défiler vers le haut", + "scroll-view-right": "Faire défiler vers la droite", + "scroll-view-down": "Faire défiler vers le bas", + "scroll-view-left": "Faire défiler vers la gauche", + "step-view-up": "Faire défiler d'une unité vers le haut", + "step-view-right": "Faire défiler d'une unité vers la droite", + "step-view-down": "Faire défiler d'une unité vers le bas", + "step-view-left": "Faire défiler d'une unité vers la gauche", + "move-selection-up": "Déplacer la sélection vers le haut", + "move-selection-right": "Déplacer la sélection vers la droite", + "move-selection-down": "Déplacer la sélection vers le bas", + "move-selection-left": "Déplacer la sélection vers la gauche", + "move-selection-forwards": "Avancer la sélection", + "move-selection-backwards": "Reculer la sélection", + "move-selection-to-front": "Déplacer la sélection vers l'avant", + "move-selection-to-back": "Déplacer la sélection vers l'arrière", + "step-selection-up": "Déplacer la sélection d'une unité vers le haut", + "step-selection-right": "Déplacer la sélection d'une unité vers la droite", + "step-selection-down": "Déplacer la sélection d'une unité vers le bas", + "step-selection-left": "Déplacer la sélection d'une unité vers la gauche", + "select-connected-nodes": "Sélectionner les noeuds connectés", + "select-downstream-nodes": "Sélectionner les noeuds connectés en aval", + "select-upstream-nodes": "Sélectionner les noeuds connectés en amont", + "go-to-next-node": "Aller au noeud suivant", + "go-to-previous-node": "Aller au noeud précédent", + "go-to-next-sibling": "Aller au noeud frère suivant", + "go-to-previous-sibling": "Aller au noeud frère précédent", + "go-to-nearest-node-on-left": "Aller au noeud gauche le plus proche", + "go-to-nearest-node-on-right": "Aller au noeud droit le plus proche", + "go-to-nearest-node-above": "Aller au noeud supérieur le plus proche", + "go-to-nearest-node-below": "Aller au noeud le plus proche ci-dessous", + "align-selection-to-grid": "Aligner la sélection", + "align-selection-to-left": "Aligner la sélection à gauche", + "align-selection-to-right": "Aligner la sélection à droite", + "align-selection-to-top": "Aligner la sélection en haut", + "align-selection-to-bottom": "Aligner la sélection vers le bas", + "align-selection-to-middle": "Aligner la sélection au centre verticalement", + "align-selection-to-center": "Aligner la sélection au centre horizontalement", + "distribute-selection-horizontally": "Distribuer la sélection horizontalement", + "distribute-selection-vertical": "Distribuer la sélection verticalement", + "wire-series-of-nodes": "Connecter les noeuds en série", + "wire-node-to-multiple": "Connecter les noeuds à plusieurs", + "wire-multiple-to-node": "Connecter plusieurs au noeud", + "split-wire-with-link-nodes": "Diviser le fil avec des noeuds de liaison", + "generate-node-names": "Générer les noms de noeuds", + "show-user-settings": "Afficher les paramètres utilisateur", + "show-help": "Afficher l'aide", + "toggle-palette": "Basculer l'affichage de la palette", + "show-event-log": "Afficher le journal des événements", + "manage-palette": "Gérer la palette", + "toggle-sidebar": "Basculer l'affichage de la barre latérale", + "show-info-tab": "Afficher l'onglet d'informations sur le noeud", + "show-help-tab": "Afficher l'onglet d'aide du noeud", + "show-config-tab": "Afficher l'onglet du noeud de configuration", + "select-all-config-nodes": "Sélectionner tous les noeuds de configuration", + "delete-config-selection": "Supprimer le noeud de configuration sélectionné", + "show-context-tab": "Afficher l'onglet des données contextuelles", + "create-subflow": "Créer un sous-flux", + "convert-to-subflow": "Convertir la sélection en sous-flux", + "group-selection": "Grouper la sélection", + "ungroup-selection": "Dissocier la sélection", + "merge-selection-to-group": "Fusionner la sélection dans le groupe", + "remove-selection-from-group": "Supprimer la sélection du groupe", + "copy-group-style": "Copier le style du groupe", + "paste-group-style": "Coller le style du groupe", + "show-export-dialog": "Afficher la boîte de dialogue d'exportation", + "show-import-dialog": "Afficher la boîte de dialogue d'importation", + "show-library-export-dialog": "Afficher la boîte de dialogue d'exportation de la bibliothèque", + "show-library-import-dialog": "Afficher la boîte de dialogue d'importation de bibliothèque", + "show-examples-import-dialog": "Afficher la boîte de dialogue d'importation d'exemples", + "search": "Rechercher", + "search-previous": "Recherche précédente", + "search-next": "Recherche suivante", + "show-action-list": "Afficher la liste d'actions", + "confirm-edit-tray": "Confirmer la modification", + "cancel-edit-tray": "Annuler la modification", + "show-remote-diff": "Afficher les différences avec les modifications distantes", + "deploy-flows": "Déployer des flux", + "restart-flows": "Redémarrer les flux", + "set-deploy-type-to-full": "Définir le déploiement sur 'tout'", + "set-deploy-type-to-modified-flows": "Définir le déploiement sur 'flux modifiés'", + "set-deploy-type-to-modified-nodes": "Définir le déploiement sur 'noeuds modifiés'", + "show-debug-tab": "Afficher l'onglet de débogage", + "clear-debug-messages": "Supprimer les messages de débogage", + "clear-filtered-debug-messages": "Supprimer les messages de débogage filtrés", + "activate-selected-debug-nodes": "Activer les noeuds de débogage sélectionnés", + "activate-all-debug-nodes": "Activer tous les noeuds de débogage", + "activate-all-flow-debug-nodes": "Activer tous les noeuds de débogage dans un flux", + "deactivate-selected-debug-nodes": "Désactiver les noeuds de débogage sélectionnés", + "deactivate-all-debug-nodes": "Désactiver tous les noeuds de débogage", + "deactivate-all-flow-debug-nodes": "Désactiver tous les noeuds de débogage dans un flux", + "zoom-in": "Zoomer", + "zoom-out": "Dézoomer", + "zoom-reset": "Réinitialiser le zoom", + "toggle-navigator": "Basculer l'affichage du navigateur", + "show-system-info": "Afficher les informations système", + "split-wires-with-junctions": "Diviser les fils avec des jonctions", + "new-project": "Nouveau projet", + "open-project": "Ouvrir le projet", + "show-project-settings": "Afficher les paramètres du projet", + "show-version-control-tab": "Afficher l'onglet de contrôle de version", + "start-flows": "Démarrer les flux", + "stop-flows": "Arrêter les flux", + "copy-item-url": "Copier l'URL de l'élément", + "copy-item-edit-url": "Copier l'URL de modification de l'élément", + "move-flow-to-start": "Déplacer le flux jusqu'au début", + "move-flow-to-end": "Déplacer le flux jusqu'à la fin", + "show-global-env": "Afficher les variables d'environnement globales", + "lock-flow": "Verrouiller le flux", + "unlock-flow": "Déverrouiller le flux", + "show-node-help": "Afficher l'aide du noeud" + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/fr/infotips.json b/packages/node_modules/@node-red/editor-client/locales/fr/infotips.json new file mode 100644 index 000000000..449be751b --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/fr/infotips.json @@ -0,0 +1,23 @@ +{ + "info": { + "tip0": "Vous pouvez supprimer les noeuds ou les liens sélectionnés avec {{core:delete-selection}}", + "tip1": "Rechercher des noeuds à l'aide de {{core:search}}", + "tip2": "{{core:toggle-sidebar}} basculera l'affichage de cette barre latérale", + "tip3": "Vous pouvez gérer votre palette de noeuds avec {{core:manage-palette}}", + "tip4": "Vos noeuds de configuration de flux sont répertoriés dans le panneau de la barre latérale. Ils sont accessibles depuis le menu ou avec {{core:show-config-tab}}", + "tip5": "Activer ou désactiver ces conseils à partir de l'option dans les paramètres", + "tip6": "Déplacer les noeuds sélectionnés à l'aide des touches [gauche] [haut] [bas] et [droite]. Maintenir la touche [shift] enfoncée pour les pousser plus loin", + "tip7": "Faire glisser un noeud sur un fil le raccordera au lien", + "tip8": "Exporter les noeuds sélectionnés, ou l'onglet actuel avec {{core:show-export-dialog}}", + "tip9": "Importer un flux en faisant glisser son JSON dans l'éditeur, ou avec {{core:show-import-dialog}}", + "tip10": "[majuscule] [clic] et faites glisser sur un port de noeud pour déplacer tous les fils attachés ou seulement celui sélectionné", + "tip11": "Afficher l'onglet Infos avec {{core:show-info-tab}} ou l'onglet Débogage avec {{core:show-debug-tab}}", + "tip12": "[ctrl] [clic] dans l'espace de travail pour ouvrir la boîte de dialogue d'ajout rapide", + "tip13": "Maintenir la touche [ctrl] enfoncée lorsque vous [cliquez] sur un port de noeud pour activer le câblage rapide", + "tip14": "Maintenir la touche [shift] enfoncée lorsque vous [cliquez] sur un noeud pour sélectionner également tous ses noeuds connectés", + "tip15": "Maintenir la touche [ctrl] enfoncée lorsque vous [cliquez] sur un noeud pour l'ajouter ou le supprimer de la sélection actuelle", + "tip16": "Changer d'onglet de flux avec {{core:show-previous-tab}} et {{core:show-next-tab}}", + "tip17": "Vous pouvez confirmer vos modifications dans le panneau d'édition du noeud avec {{core:confirm-edit-tray}} ou les annuler avec {{core:cancel-edit-tray}}", + "tip18": "Appuyer sur {{core:edit-selected-node}} modifiera le premier noeud de la sélection actuelle" + } +} \ No newline at end of file diff --git a/packages/node_modules/@node-red/editor-client/locales/fr/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/fr/jsonata.json new file mode 100644 index 000000000..fca57953a --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/fr/jsonata.json @@ -0,0 +1,278 @@ +{ + "$string": { + "args": "arg[, prettify]", + "desc": "Convertit le paramètre `arg` en une chaîne de caractères en utilisant les règles de typage suivantes :\n\n - Les chaînes de caractères sont inchangées\n - Les fonctions sont converties en une chaîne vide\n - L'infini numérique et NaN renvoient une erreur car ils ne peuvent pas être représentés comme un Numéro JSON\n - Toutes les autres valeurs sont converties en une chaîne JSON à l'aide de la fonction `JSON.stringify`. Si `prettify` est vrai, alors le JSON \"prettified\" est produit. c'est-à-dire une ligne par champ et les lignes seront en retrait en fonction de la profondeur du champ." + }, + "$length": { + "args": "str", + "desc": "Renvoie le nombre de caractères dans la chaîne `str`. Une erreur est renvoyée si `str` n'est pas une chaîne de caractères." + }, + "$substring": { + "args": "str, start[, length]", + "desc": "Renvoie une chaîne contenant les caractères du premier paramètre `str` commençant à la position `start` (pas de décalage). Si `length` est spécifié, alors la sous-chaîne contiendra un maximum de caractères `length`. Si `start` est négatif alors il indique le nombre de caractères à partir de la fin de `str`." + }, + "$substringBefore": { + "args": "str, chars", + "desc": "Renvoie la sous-chaîne avant la première occurrence de la séquence de caractères `chars` dans `str`. Si `str` ne contient pas `chars`, alors il renvoie `str`." + }, + "$substringAfter": { + "args": "str, chars", + "desc": "Renvoie la sous-chaîne après la première occurrence de la séquence de caractères `chars` dans `str`. Si `str` ne contient pas `chars`, alors il renvoie `str`." + }, + "$uppercase": { + "args": "str", + "desc": "Renvoie une chaîne avec tous les caractères de `str` convertis en majuscules." + }, + "$lowercase": { + "args": "str", + "desc": "Renvoie une chaîne avec tous les caractères de `str` convertis en minuscules." + }, + "$trim": { + "args": "str", + "desc": "Normalise et supprime tous les caractères d'espacement dans `str` en appliquant les étapes suivantes :\n\n - Toutes les tabulations, retours à la ligne et sauts de ligne sont remplacés par des espaces.\n- Les séquences contiguës d'espaces sont réduites à un seul espace.\n- Les espaces de fin et de début sont supprimés.\n\n Si `str` n'est pas spécifié (c'est-à-dire que cette fonction est invoquée sans argument), alors la valeur de contexte est utilisée comme valeur de `str`. Une erreur est renvoyée si `str` n'est pas une chaîne." + }, + "$contains": { + "args": "str, pattern", + "desc": "Renvoie `true` si `str` correspond à `pattern`, sinon il renvoie `false`. Si `str` n'est pas spécifié (c'est-à-dire que cette fonction est invoquée avec un argument), alors la valeur de contexte est utilisée comme valeur de `str`. Le paramètre `pattern` peut être une chaîne ou une expression régulière." + }, + "$split": { + "args": "str[, separator][, limit]", + "desc": "Divise le paramètre `str` en un tableau de sous-chaînes. C'est une erreur si `str` n'est pas une chaîne. Le paramètre facultatif `separator` spécifie les caractères à l'intérieur de `str` à propos desquels il doit être divisé en chaîne ou en expression régulière. Si `separator` n'est pas spécifié, la chaîne vide est supposée et `str` sera divisé en un tableau de caractères uniques. C'est une erreur si `separator` n'est pas une chaîne. Le paramètre facultatif `limit` est un nombre qui spécifie le nombre maximum de sous-chaînes à inclure dans le tableau résultant. Toutes les sous-chaînes supplémentaires sont ignorées. Si `limit` n'est pas spécifié, alors `str` est entièrement divisé sans limite à la taille du tableau résultant. C'est une erreur si `limit` n'est pas un nombre non négatif." + }, + "$join": { + "args": "array[, separator]", + "desc": "Joint un tableau de chaînes de composants en une seule chaîne concaténée, chaque chaîne de composants étant séparée par le paramètre facultatif `separator`. C'est une erreur si l'entrée `array` contient un élément qui n'est pas une chaîne. Si `séparateur` n'est pas spécifié, il est supposé être la chaîne vide, c'est-à-dire qu'il n'y a pas de `séparateur` entre les chaînes de composants. C'est une erreur si `separator` n'est pas une chaîne." + }, + "$match": { + "args": "str, pattern [, limit]", + "desc": "Applique la chaîne `str` à l'expression régulière `pattern` et renvoie un tableau d'objets, chaque objet contenant des informations sur chaque occurrence d'une correspondance dans `str`." + }, + "$replace": { + "args": "str, pattern, replacement [, limit]", + "desc": "Trouve les occurrences de `pattern` dans `str` et les remplace par `replacement`.\n\nLe paramètre facultatif `limit` est le nombre maximum de remplacements." + }, + "$now": { + "args": "$[picture [, timezone]]", + "desc": "Génère un horodatage au format compatible ISO 8601 et le renvoie sous forme de chaîne. Si les paramètres optionnels d'image et de fuseau horaire sont fournis, alors l'horodatage actuel est formaté comme décrit par la fonction `$fromMillis()`" + }, + "$base64encode": { + "args": "string", + "desc": "Convertit une chaîne ASCII en une représentation en base 64. Chaque caractère de la chaîne est traité comme un octet de données binaires. Cela nécessite que tous les caractères de la chaîne se trouvent dans la plage 0x00 à 0xFF, qui inclut tous les caractères des chaînes encodées en URI. Les caractères Unicode en dehors de cette plage ne sont pas pris en charge." + }, + "$base64decode": { + "args": "string", + "desc": "Convertit les octets encodés en base 64 en une chaîne, à l'aide d'une page de codes Unicode UTF-8." + }, + "$number": { + "args": "arg", + "desc": "Convertit le paramètre `arg` en un nombre en utilisant les règles de conversion suivantes :\n\n - Les nombres sont inchangés\n - Les chaînes qui contiennent une séquence de caractères représentant un nombre JSON légal sont converties en ce nombre\n - Toutes les autres valeurs provoquer l'envoi d'une erreur." + }, + "$abs": { + "args": "number", + "desc": "Renvoie la valeur absolue du paramètre `nombre`." + }, + "$floor": { + "args": "number", + "desc": "Renvoie la valeur de `number` arrondie à l'entier le plus proche inférieur ou égal à `number`." + }, + "$ceil": { + "args": "number", + "desc": "Renvoie la valeur de `number` arrondie à l'entier le plus proche supérieur ou égal à `number`." + }, + "$round": { + "args": "number [, precision]", + "desc": "Renvoie la valeur du paramètre `number` arrondie au nombre de décimales spécifié par le paramètre facultatif `precision`." + }, + "$power": { + "args": "base, exponent", + "desc": "Renvoie la valeur de `base` élevée à la puissance de `exponent`." + }, + "$sqrt": { + "args": "number", + "desc": "Renvoie la racine carrée de la valeur du paramètre `number`." + }, + "$random": { + "args": "", + "desc": "Renvoie un nombre pseudo-aléatoire supérieur ou égal à zéro et inférieur à un." + }, + "$millis": { + "args": "", + "desc": "Renvoie le nombre de millisecondes depuis l'époque Unix (1er janvier 1970 UTC) sous forme de nombre. Tous les appels de `$millis()` dans une évaluation d'une expression renverront toutes la même valeur." + }, + "$sum": { + "args": "array", + "desc": "Renvoie la somme arithmétique d'un `tableau` de nombres. C'est une erreur si l'entrée `array` contient un élément qui n'est pas un nombre." + }, + "$max": { + "args": "array", + "desc": "Renvoie le nombre maximal dans un `tableau` de nombres. C'est une erreur si l'entrée `array` contient un élément qui n'est pas un nombre." + }, + "$min": { + "args": "array", + "desc": "Renvoie le nombre minimum dans un `tableau` de nombres. C'est une erreur si l'entrée `array` contient un élément qui n'est pas un nombre." + }, + "$average": { + "args": "array", + "desc": "Renvoie la valeur moyenne d'un `tableau` de nombres. C'est une erreur si l'entrée `array` contient un élément qui n'est pas un nombre." + }, + "$boolean": { + "args": "arg", + "desc": "Transforme l'argument en booléen en utilisant les règles suivantes :\n\n - `Boolean` : inchangé\n - `string` : vide : `false`\n - `string` : non vide : `true`\n - `number` : `0` : `false`\n - `number` : non nul : `true`\n - `null` : `false`\n - `array` : vide : `false`\n - `array` : contient un membre qui convertit en `true` : `true`\n - `array` : tous les membres sont transformés en `false` : `false`\n - `object` : vide : `false`\n - `object` : non vide : `true`\n - `function` : `false`" + }, + "$not": { + "args": "arg", + "desc": "Renvoie un booléen résultat de la négation logique de l'argument" + }, + "$exists": { + "args": "arg", + "desc": "Renvoie la valeur booléenne `true` si l'expression `arg` est évaluée à une valeur, ou `false` si l'expression ne correspond à rien (par exemple, un chemin vers une référence de champ inexistante)." + }, + "$count": { + "args": "array", + "desc": "Renvoie le nombre d'éléments du tableau" + }, + "$append": { + "args": "array, array", + "desc": "Combine deux tableaux" + }, + "$sort": { + "args": "array [, function]", + "desc": "Renvoie un tableau contenant toutes les valeurs du paramètre `array`, mais triées dans l'ordre.\n\nSi un comparateur `function` est fourni, alors il doit s'agir d'une fonction qui prend deux paramètres :\n\n`function(left , droite)`\n\nCette fonction est invoquée par l'algorithme de tri pour comparer deux valeurs à gauche et à droite. Si la valeur de `left` doit être placée après la valeur de `right` dans l'ordre de tri souhaité, la fonction doit renvoyer un booléen `true` pour indiquer un échange. Sinon, il doit renvoyer `false`." + }, + "$reverse": { + "args": "array", + "desc": "Renvoie un tableau contenant toutes les valeurs du paramètre `array`, mais dans l'ordre inverse." + }, + "$shuffle": { + "args": "array", + "desc": "Renvoie un tableau contenant toutes les valeurs du paramètre `array`, mais mélangées dans un ordre aléatoire." + }, + "$zip": { + "args": "array, ...", + "desc": "Renvoie un tableau convolué (zippé) contenant des tableaux groupés de valeurs des arguments `array1`...`arrayN` d'index 0, 1, 2...." + }, + "$keys": { + "args": "object", + "desc": "Renvoie un tableau contenant les clés de l'objet. Si l'argument est un tableau d'objets, le tableau renvoyé contient une liste dédupliquée de toutes les clés de tous les objets." + }, + "$lookup": { + "args": "object, key", + "desc": "Renvoie la valeur associée à la clé dans l'objet. Si le premier argument est un tableau d'objets, tous les objets du tableau sont recherchés et les valeurs associées à toutes les occurrences de key sont renvoyées." + }, + "$spread": { + "args": "object", + "desc": "Divise un objet contenant des paires clé/valeur en un tableau d'objets, chacun ayant une seule paire clé/valeur de l'objet d'entrée. Si le paramètre est un tableau d'objets, alors le tableau résultant contient un objet pour chaque paire clé/valeur dans chaque objet du tableau fourni." + }, + "$merge": { + "args": "array<object>", + "desc": "Fusionne un tableau d'`objets` en un seul `objet` contenant toutes les paires clé/valeur de chacun des objets du tableau d'entrée. Si l'un des objets d'entrée contient la même clé, alors l'`objet` renvoyé contiendra la valeur du dernier dans le tableau. C'est une erreur si le tableau d'entrée contient un élément qui n'est pas un objet." + }, + "$sift": { + "args": "object, function", + "desc": "Renvoie un objet qui contient uniquement les paires clé/valeur du paramètre `object` qui satisfont le prédicat `function` transmis comme second paramètre.\n\nLa `function` qui est fournie comme second paramètre doit avoir la signature suivante :\n\n`fonction(valeur [, clé [, objet]])`" + }, + "$each": { + "args": "object, function", + "desc": "Renvoie un tableau contenant les valeurs renvoyées par la `fonction` lorsqu'elle est appliquée à chaque paire clé/valeur dans l'`objet`." + }, + "$map": { + "args": "array, function", + "desc": "Renvoie un tableau contenant les résultats de l'application du paramètre `function` à chaque valeur du paramètre `array`.\n\nLa `function` fournie comme second paramètre doit avoir la signature suivante :\n\n`function( valeur [, indice [, tableau]])`" + }, + "$filter": { + "args": "array, function", + "desc": "Renvoie un tableau contenant uniquement les valeurs du paramètre `array` qui satisfont le prédicat `function`.\n\nLa `function` fournie comme second paramètre doit avoir la signature suivante :\n\n`function(value [ , indice [, tableau]])`" + }, + "$reduce": { + "args": "array, function [, init]", + "desc": "Renvoie une valeur agrégée dérivée de l'application successive du paramètre `function` à chaque valeur de `array` en combinaison avec le résultat de l'application précédente de la fonction.\n\nLa fonction doit accepter deux arguments et se comporte comme un opérateur infixe entre chaque valeur dans le `tableau`. La signature de `function` doit être de la forme : `myfunc($accumulator, $value[, $index[, $array]])`\n\nLe paramètre facultatif `init` est utilisé comme valeur initiale dans l'agrégation ." + }, + "$flowContext": { + "args": "string[, string]", + "desc": "Récupère une propriété de contexte de flux.\n\nCeci est une fonction définie par Node-RED." + }, + "$globalContext": { + "args": "string[, string]", + "desc": "Récupère une propriété de contexte globale.\n\nCeci est une fonction définie par Node-RED." + }, + "$pad": { + "args": "string, width [, char]", + "desc": "Renvoie une copie de la `chaîne` avec un rembourrage supplémentaire, si nécessaire, de sorte que son nombre total de caractères corresponde au moins à la valeur absolue du paramètre `width`.\n\nSi `width` est un nombre positif, alors la chaîne est rembourré à droite; s'il est négatif, il est rempli vers la gauche.\n\nL'argument optionnel `char` spécifie le(s) caractère(s) de remplissage à utiliser. S'il n'est pas spécifié, la valeur par défaut est le caractère espace." + }, + "$fromMillis": { + "args": "number, [, picture [, timezone]]", + "desc": "Convertisser le « nombre » représentant les millisecondes depuis l'époque Unix (1er janvier 1970 UTC) en une représentation sous forme de chaîne formatée de l'horodatage tel que spécifié par la chaîne d'image.\n\nSi le paramètre facultatif « image » est omis, l'horodatage est formaté au format ISO 8601.\n\nSi la chaîne facultative `image` est fournie, l'horodatage est formaté selon la représentation spécifiée dans cette chaîne. Le comportement de cette fonction est cohérent avec la version à deux arguments de la fonction XPath/XQuery `format-dateTime` telle que définie dans la spécification XPath F&O 3.1. Le paramètre de chaîne d'image définit la façon dont l'horodatage est formaté et a la même syntaxe que `format-dateTime`.\n\nSi la chaîne facultative `timezone` est fournie, alors l'horodatage formaté sera dans ce fuseau horaire. La chaîne `timezone` doit être au format '±HHMM', où ± est le signe plus ou moins et HHMM est le décalage en heures et minutes par rapport à UTC. Décalage positif pour les fuseaux horaires à l'est de UTC, décalage négatif pour les fuseaux horaires à l'ouest de UTC." + }, + "$formatNumber": { + "args": "number, picture [, options]", + "desc": "Convertit le `number` en une chaîne et le formate en une représentation décimale comme spécifié par la chaîne `picture`.\n\n Le comportement de cette fonction est cohérent avec la fonction XPath/XQuery `fn:format-number` telle que définie dans le Spécification XPath F&O 3.1. Le paramètre de chaîne d'image définit la façon dont le nombre est formaté et a la même syntaxe que `fn:format-number`.\n\nLe troisième argument facultatif `options` est utilisé pour remplacer les caractères de formatage spécifiques aux paramètres régionaux par défaut, tels que le séparateur décimal. S'il est fourni, cet argument doit être un objet contenant des paires nom/valeur spécifiées dans la section de format décimal de la spécification XPath F&O 3.1." + }, + "$formatBase": { + "args": "number [, radix]", + "desc": "Convertit le `number` en une chaîne et le formate en un entier représenté dans la base numérique spécifiée par l'argument `radix`. Si `radix` n'est pas spécifié, la valeur par défaut est la base 10. `radix` peut être compris entre 2 et 36, sinon une erreur est renvoyée." + }, + "$toMillis": { + "args": "timestamp", + "desc": "Convertit une chaîne `timestamp` au format ISO 8601 en nombre de millisecondes depuis l'époque Unix (1er janvier 1970 UTC) sous forme de nombre. Une erreur est renvoyée si la chaîne n'est pas au format correct." + }, + "$env": { + "args": "arg", + "desc": "Renvoie la valeur d'une variable d'environnement.\n\nCeci est une fonction définie par Node-RED." + }, + "$eval": { + "args": "expr [, context]", + "desc": "Analyse et évalue la chaîne `expr` qui contient un JSON littéral ou une expression JSONata en utilisant le contexte actuel comme contexte d'évaluation." + }, + "$formatInteger": { + "args": "number, picture", + "desc": "Transforme le `nombre` en une chaîne et le formate en une représentation entière comme spécifié par la chaîne `image`. Le paramètre de chaîne d'image définit la façon dont le nombre est formaté et a la même syntaxe que `fn:format-integer` de la spécification XPath F&O 3.1." + }, + "$parseInteger": { + "args": "string, picture", + "desc": "Analyse le contenu du paramètre `string` en un entier (comme un nombre JSON) en utilisant le format spécifié par la chaîne `picture`. Le paramètre de chaîne `picture` a le même format que `$formatInteger`." + }, + "$error": { + "args": "[str]", + "desc": "Génère une erreur avec un message. Le `str` facultatif remplacera le message par défaut de la fonction `$error() évaluée`" + }, + "$assert": { + "args": "arg, str", + "desc": "Si `arg` est vrai, la fonction renvoie undefined. Si `arg` est faux, une exception est lancée avec `str` comme message de l'exception." + }, + "$single": { + "args": "array, function", + "desc": "Renvoie la seule et unique valeur du paramètre `array` qui satisfait le prédicat `function` (c'est-à-dire que la `function` renvoie la valeur booléenne `true` lorsqu'elle est transmise à la valeur). Lève une exception si le nombre de valeurs correspondantes n'est pas exactement un.\n\nLa fonction doit être fournie dans la signature suivante : `function(value [, index [, array]])` où value est chaque entrée du tableau, index est la position de cette valeur et le tableau entier est passé comme troisième argument" + }, + "$encodeUrlComponent": { + "args": "str", + "desc": "Encode un composant URL (Uniform Resource Locator) en remplaçant chaque instance de certains caractères par une, deux, trois ou quatre séquences d'échappement représentant l'encodage UTF-8 du caractère.\n\nExemple : `$encodeUrlComponent(\"?x =test\")` => `\"%3Fx%3Dtest\"`" + }, + "$encodeUrl": { + "args": "str", + "desc": "Encode une URL (Uniform Resource Locator) en remplaçant chaque instance de certains caractères par une, deux, trois ou quatre séquences d'échappement représentant l'encodage UTF-8 du caractère.\n\nExemple : `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0% B5%D0%BB%D0%BB%D1%8B\"`" + }, + "$decodeUrlComponent": { + "args": "str", + "desc": "Décode un composant URL (Uniform Resource Locator) précédemment créé par encodeUrlComponent.\n\nExemple : `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + }, + "$decodeUrl": { + "args": "str", + "desc": "Décode une URL (Uniform Resource Locator) précédemment créée par encodeUrl.\n\nExemple : `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + }, + "$distinct": { + "args": "array", + "desc": "Renvoie un tableau avec les valeurs en double supprimées de `array`" + }, + "$type": { + "args": "value", + "desc": "Renvoie le type de `value` sous forme de chaîne. Si `value` n'est pas défini, cela renverra `undefined`" + }, + "$moment": { + "args": "[str]", + "desc": "Obtient un objet de date à l'aide de la bibliothèque Moment." + }, + "$clone": { + "args": "valeur", + "desc": "Cloner un objet en toute sécurité." + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json index a634a59c1..53c8616fd 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json @@ -23,7 +23,11 @@ "position": "配置", "enable": "有効", "disable": "無効", - "upload": "アップロード" + "upload": "アップロード", + "lock": "固定", + "unlock": "固定を解除", + "locked": "固定済み", + "unlocked": "固定なし" }, "type": { "string": "文字列", @@ -53,8 +57,10 @@ "confirmDelete": "削除の確認", "delete": "本当に '__label__' を削除しますか?", "dropFlowHere": "ここにフローをドロップしてください", + "dropImageHere": "ここに画像ファイルをドロップしてください", "addFlow": "フローの追加", "addFlowToRight": "右側にフローを追加", + "closeFlow": "フローを閉じる", "hideFlow": "フローを非表示", "hideOtherFlows": "他のフローを非表示", "showAllFlows": "全てのフローを表示", @@ -68,7 +74,13 @@ "enabled": "有効", "disabled": "無効", "info": "詳細", - "selectNodes": "ノードをクリックして選択" + "selectNodes": "ノードをクリックして選択", + "enableFlow": "フローを有効化", + "disableFlow": "フローを無効化", + "lockFlow": "フローを固定", + "unlockFlow": "フローの固定を解除", + "moveToStart": "フローを先頭へ移動", + "moveToEnd": "フローを最後へ移動" }, "menu": { "label": { @@ -101,6 +113,7 @@ "displayStatus": "ノードのステータスを表示", "displayConfig": "設定ノード", "import": "読み込み", + "importExample": "フロー例を読み込み", "export": "書き出し", "search": "ノードを検索", "searchInput": "ノードを検索", @@ -109,7 +122,6 @@ "selectionToSubflow": "選択部分をサブフロー化", "flows": "フロー", "add": "フローを新規追加", - "rename": "フロー名を変更", "delete": "フローを削除", "keyboardShortcuts": "ショートカットキーの説明", "login": "ログイン", @@ -117,6 +129,11 @@ "editPalette": "パレットの管理", "other": "その他", "showTips": "ヒントを表示", + "showNodeHelp": "ノードのヘルプを表示", + "enableSelectedNodes": "選択したノードを有効化", + "disableSelectedNodes": "選択したノードを無効化", + "showSelectedNodeLabels": "選択したノードのラベル表示", + "hideSelectedNodeLabels": "選択したノードのラベル非表示", "showWelcomeTours": "新バージョンのガイドツアーを表示", "help": "Node-REDウェブサイト", "projects": "プロジェクト", @@ -286,7 +303,8 @@ "missingType": "不正なフロー - __index__ 番目の要素に'type'プロパティがありません" }, "conflictNotification1": "読み込もうとしているノードのいくつかは、既にワークスペース内に存在しています。", - "conflictNotification2": "読み込むノードを選択し、また既存のノードを置き換えるか、もしくはそれらのコピーを読み込むかも選択してください。" + "conflictNotification2": "読み込むノードを選択し、また既存のノードを置き換えるか、もしくはそれらのコピーを読み込むかも選択してください。", + "alreadyExists": "本ノードは既に存在" }, "copyMessagePath": "パスをコピーしました", "copyMessageValue": "値をコピーしました", @@ -403,6 +421,7 @@ }, "errors": { "noNodesSelected": "サブフローを作成できません: ノードが選択されていません", + "acrossMultipleGroups": "複数のグループをまたがるサブフローは作成できません", "multipleInputsToSelection": "サブフローを作成できません: 複数の入力が選択されています" } }, @@ -491,12 +510,14 @@ "unassigned": "未割当", "global": "グローバル", "workspace": "ワークスペース", + "editor": "編集ダイアログ", "selectAll": "全てのノードを選択", "selectNone": "選択を外す", "selectAllConnected": "接続されたノードを選択", "addRemoveNode": "ノードの選択、選択解除", "editSelected": "選択したノードを編集", - "deleteSelected": "選択したノードや接続を削除", + "deleteSelected": "選択部分を削除", + "deleteReconnect": "削除と再接続", "importNode": "フローの読み込み", "exportNode": "フローの書き出し", "nudgeNode": "選択したノードを移動(移動量小)", @@ -571,6 +592,7 @@ "editor": { "title": "パレットの管理", "palette": "パレット", + "allCatalogs": "全カタログ", "times": { "seconds": "数秒前", "minutes": "数分前", @@ -610,6 +632,7 @@ "tab-nodes": "現在のノード", "tab-install": "ノードを追加", "sort": "並べ替え:", + "sortRelevance": "関連順", "sortAZ": "辞書順", "sortRecent": "日付順", "more": "+ さらに __count__ 個", @@ -684,7 +707,10 @@ "globalConfig": "グローバル設定ノード", "triggerAction": "アクションを実行", "find": "ワークスペース内を検索", - "copyURL2Clipboard": "URLをクリップボードにコピーしました" + "copyItemUrl": "要素のURLをコピー", + "copyURL2Clipboard": "URLをクリップボードにコピーしました", + "showFlow": "表示", + "hideFlow": "非表示" }, "help": { "name": "ヘルプ", @@ -936,8 +962,11 @@ "errors": { "invalid-expr": "不正なJSONata式:\n __message__", "invalid-msg": "不正なJSONメッセージ例:\n __message__", - "context-unsupported": "$flowContext や $globalContextの\nコンテキスト機能をテストできません", - "eval": "表現評価エラー:\n __message__" + "context-unsupported": "$flowContext や $globalContextの\nコンテキスト関数をテストできません", + "env-unsupported": "$env関数はテストできません", + "moment-unsupported": "$moment関数はテストできません", + "clone-unsupported": "$clone関数はテストできません", + "eval": "式評価エラー:\n __message__" } }, "monaco": { @@ -982,7 +1011,10 @@ "quote": "引用", "link": "リンク", "horizontal-rule": "区切り線", - "toggle-preview": "プレビュー表示切替え" + "toggle-preview": "プレビュー表示切替え", + "mermaid": { + "summary": "Mermaid図" + } }, "bufferEditor": { "title": "バッファエディタ", @@ -1169,27 +1201,16 @@ "takeATour": "ツアーを開始", "start": "開始", "next": "次へ", - "welcomeTours": "ウェルカムツアー", - "tours": "ツアー" + "welcomeTours": "ウェルカムツアー" }, "diagnostics": { "title": "システム情報" }, - "languages": { - "de": "ドイツ語", - "en-US": "英語", - "ja": "日本語", - "ko": "韓国語", - "ru": "ロシア語", - "zh-CN": "中国語(簡体)", - "zh-TW": "中国語(繁体)" - }, "validator": { "errors": { "invalid-json": "JSONデータが不正: __error__", - "invalid-json-prop": "__prop__: JSONデータが不正: __error__", + "invalid-expr": "不正なJSONata式: __error__", "invalid-prop": "プロパティ式が不正", - "invalid-prop-prop": "__prop__: プロパティ式が不正", "invalid-num": "数値が不正", "invalid-num-prop": "__prop__: 数値が不正", "invalid-regexp": "入力パターンが不正", @@ -1201,11 +1222,17 @@ } }, "contextMenu": { + "showActionList": "動作一覧を表示", "insert": "挿入", "node": "ノード", "junction": "分岐点", "linkNodes": "Linkノード" }, + "env-var": { + "environment": "環境変数", + "header": "大域環境変数", + "revert": "破棄" + }, "action-list": { "toggle-show-tips": "ヒント表示切替", "show-about": "Node-REDの説明を表示", @@ -1290,6 +1317,7 @@ "distribute-selection-vertically": "選択を上下に整列", "wire-series-of-nodes": "ノードを一続きに接続", "wire-node-to-multiple": "ノードを複数に接続", + "wire-multiple-to-node": "複数からノードへ接続", "split-wire-with-link-nodes": "ワイヤーをlinkノードで分割", "generate-node-names": "ノード名を生成", "show-user-settings": "ユーザ設定を表示", @@ -1350,7 +1378,13 @@ "show-version-control-tab": "バージョンコントロールタブを表示", "start-flows": "フローを開始", "stop-flows": "フローを停止", - "copy-item-url": "要素のURLをコピー", - "copy-item-edit-url": "要素の編集URLをコピー" + "copy-item-url": "要素のURLをコピー", + "copy-item-edit-url": "要素の編集URLをコピー", + "move-flow-to-start": "フローを先頭に移動", + "move-flow-to-end": "フローを末尾に移動", + "show-global-env": "大域環境変数を表示", + "lock-flow": "フローを固定", + "unlock-flow": "フローの固定を解除", + "show-node-help": "ノードのヘルプを表示" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/ja/jsonata.json index 31263cc32..7391ce6a3 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/jsonata.json @@ -53,7 +53,7 @@ }, "$now": { "args": "$[picture [, timezone]]", - "desc": "ISO 8601互換形式の時刻を生成し、文字列として返します。pictureおよびtimezoneパラメータが指定されている場合、現在時刻を`$fromMillis()`関数の説明に従ってフォーマットします。" + "desc": "ISO 8601互換形式の時刻を生成し、文字列として返します。`picture` および `timezone` パラメータが指定されている場合、現在時刻を `$fromMillis()` 関数の説明に従ってフォーマットします。" }, "$base64encode": { "args": "string", @@ -117,11 +117,11 @@ }, "$boolean": { "args": "arg", - "desc": "以下のルールを用いて、ブーリアン型へ型変換します。:\n\n - `Boolean` : 変換しない\n - `string`: 空 : `false`\n - `string`: 空でない : `true`\n - `number`: `0` : `false`\n - `number`: 0でない : `true`\n - `null` : `false`\n - `array`: 空 : `false`\n - `array`: `true` に型変換された要素を持つ: `true`\n - `array`: 全ての要素が `false` に型変換: `false`\n - `object`: 空 : `false`\n - `object`: 空でない : `true`\n - `function` : `false`" + "desc": "以下のルールを用いて、真偽型へ型変換します。:\n\n - `Boolean` : 変換しない\n - `string`: 空 : `false`\n - `string`: 空でない : `true`\n - `number`: `0` : `false`\n - `number`: 0でない : `true`\n - `null` : `false`\n - `array`: 空 : `false`\n - `array`: `true` に型変換された要素を持つ: `true`\n - `array`: 全ての要素が `false` に型変換: `false`\n - `object`: 空 : `false`\n - `object`: 空でない : `true`\n - `function` : `false`" }, "$not": { "args": "arg", - "desc": "引数の否定をブーリアン型で返します。 `arg` は最初にブーリアン型に型変換されます。" + "desc": "引数の否定を真偽型で返します。 `arg` は最初に真偽型に型変換されます。" }, "$exists": { "args": "arg", @@ -137,7 +137,7 @@ }, "$sort": { "args": "array [, function]", - "desc": "配列 `array` 内の値を並び変えた配列を返します。\n\n比較関数 `function` を用いる場合、比較関数は以下のとおり2つの引数を持つ必要があります。\n\n`function(left, right)`\n\n比較関数は、leftとrightの2つの値を比較するために、値を並び替える処理で呼び出されます。もし、求められる並び順にてleftの値をrightの値より後ろに置きたい場合は、比較関数は置き換えを表すブーリアン型の `true` を返す必要があります。一方、置き換えが不要の場合は `false` を返す必要があります。" + "desc": "配列 `array` 内の値を並び変えた配列を返します。\n\n比較関数 `function` を用いる場合、比較関数は以下のとおり2つの引数を持つ必要があります。\n\n`function(left, right)`\n\n比較関数は、`left` と `right` の2つの値を比較するために、値を並び替える処理で呼び出されます。もし、求められる並び順にて `left` の値を `right` の値より後ろに置きたい場合は、比較関数は置き換えを表す真偽型の `true` を返す必要があります。一方、置き換えが不要の場合は `false` を返す必要があります。" }, "$reverse": { "args": "array", @@ -205,7 +205,7 @@ }, "$formatNumber": { "args": "number, picture [, options]", - "desc": "`number` を文字列へ変換し、文字列 `picture` に指定した数値表現になるよう書式を変更します。\n\nこの関数の動作は、XPath F&O 3.1の仕様に定義されているXPath/XQuery関数のfn:format-numberの動作と同じです。引数の文字列 picture は、fn:format-numberと同じ構文で数値の書式を定義します。\n\n任意の第三引数 `options` は、小数点記号の様な既定のロケール固有の書式設定文字を上書きするために使用します。この引数を指定する場合、XPath F&O 3.1の仕様の数値形式の項に記述されているname/valueペアを含むオブジェクトでなければなりません。" + "desc": "`number` を文字列へ変換し、文字列 `picture` に指定した数値表現になるよう書式を変更します。\n\nこの関数の動作は、XPath F&O 3.1の仕様に定義されているXPath/XQuery関数の `fn:format-number` の動作と同じです。引数の文字列 `picture` は、 `fn:format-number` と同じ構文で数値の書式を定義します。\n\n任意の第三引数 `options` は、小数点記号の様な既定のロケール固有の書式設定文字を上書きするために使用します。この引数を指定する場合、XPath F&O 3.1の仕様の数値形式の項に記述されているname/valueペアを含むオブジェクトでなければなりません。" }, "$formatBase": { "args": "number [, radix]", @@ -237,7 +237,7 @@ }, "$assert": { "args": "arg, str", - "desc": "`arg`が真の場合、undefinedを返します。偽の場合、`str`をメッセージとする例外を送出します。" + "desc": "`arg`が真の場合、`undefined`を返します。偽の場合、`str`をメッセージとする例外を送出します。" }, "$single": { "args": "array, function", @@ -257,7 +257,7 @@ }, "$decodeUrl": { "args": "str", - "desc": "encodeUrlで置換したUniform Resource Locator (URL)要素をデコードします。 \n\n例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + "desc": "encodeUrlで置換したUniform Resource Locator (URL)要素をデコードします。\n\n例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" }, "$distinct": { "args": "array", @@ -270,5 +270,9 @@ "$moment": { "args": "[str]", "desc": "Momentライブラリを使用して日付オブジェクトを取得します。" + }, + "$clone": { + "args": "value", + "desc": "オブジェクトを安全に複製します。" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/ko/editor.json b/packages/node_modules/@node-red/editor-client/locales/ko/editor.json old mode 100755 new mode 100644 index 9890dda9a..4de2cb5d2 --- a/packages/node_modules/@node-red/editor-client/locales/ko/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ko/editor.json @@ -1,903 +1,1104 @@ -{ - "common": { - "label": { - "name": "이름", - "ok": "확인", - "done": "완료", - "cancel": "취소", - "delete": "삭제", - "close": "닫기", - "load": "열기", - "save": "저장", - "import": "가져오기", - "export": "내보내기", - "back": "뒤로", - "next": "앞으로", - "clone": "프로젝트 복제", - "cont": "계속하기" - } - }, - "workspace": { - "defaultName": "플로우 __number__", - "editFlow": "플로우 수정 : __name__", - "confirmDelete": "삭제 확인", - "delete": "정말로 '__label__' 을(를) 삭제하시겠습니까?", - "dropFlowHere": "플로우를 이곳에 가져오세요", - "addFlow": "플로우 추가", - "status": "상태", - "enabled": "사용가능", - "disabled": "사용불가능", - "info": "상세내역" - }, - "menu": { - "label": { - "view": { - "view": "창", - "grid": "눈금선", - "showGrid": "눈금선 보이기", - "snapGrid": "노드 배치 보조 켜기", - "gridSize": "눈금선 크기", - "textDir": "텍스트 방향", - "defaultDir": "기본", - "ltr": "왼쪽 -> 오른쪽", - "rtl": "오른쪽 -> 왼쪽", - "auto": "자동배분" - }, - "sidebar": { - "show": "우측사이드바 보이기" - }, - "palette": { - "show": "팔렛트 보이기" - }, - "settings": "설정", - "userSettings": "사용자 설정", - "nodes": "노드설정", - "displayStatus": "노드상태 보이기", - "displayConfig": "설정노드 보기", - "import": "가져오기", - "export": "내보내기", - "search": "플로우 검색", - "searchInput": "플로우 검색", - "subflows": "보조 플로우", - "createSubflow": "보조 플로우 생성", - "selectionToSubflow": "보조 플로우 선택", - "flows": "플로우", - "add": "추가", - "rename": "이름변경", - "delete": "삭제", - "keyboardShortcuts": "단축키", - "login": "로그인", - "logout": "로그아웃", - "editPalette": "팔렛트 관리", - "other": "기타", - "showTips": "Tip 보기", - "help": "Node-RED 웹사이트", - "projects": "프로젝트", - "projects-new": "신규", - "projects-open": "열기", - "projects-settings": "프로젝트 설정", - "showNodeLabelDefault": "새로 추가된 노드의 라벨 보이기" - } - }, - "actions": { - "toggle-navigator": "네비게이터 표시/비표시", - "zoom-out": "축소하기", - "zoom-reset": "확대/축소 초기화", - "zoom-in": "확대하기" - }, - "user": { - "loggedInAs": "__name__ 에 로그인됨", - "username": "사용자명", - "password": "비밀번호", - "login": "로그인", - "loginFailed": "로그인 실패", - "notAuthorized": "권한이 없습니다", - "errors": { - "settings": "로그인 후 설정이 가능합니다", - "deploy": "로그인 후 배포가 가능합니다", - "notAuthorized": "이 기능은 로그인 후 사용가능합니다" - } - }, - "notification": { - "warning": "경고: __message__", - "warnings": { - "undeployedChanges": "변경사항 배포가 취소되었습니다", - "nodeActionDisabled": "노드 실행이 비활성화 되었습니다", - "nodeActionDisabledSubflow": "보조 플로우에서 노드 실행이 비활성화 되었습니다", - "missing-types": "

타입이 없는 노드로인해 플로우가 중지되었습니다

", - "safe-mode": "

[안전모드] 플로우가 정지되었습니다.

플로우의 수정과 배포가 가능합니다. 다시 배포버튼을 누르세요.

", - "restartRequired": "업그레이드한 모듈을 유효화하기 위해 Node-RED를 재시작 합니다 ", - "credentials_load_failed": "

인증정보 복호화에 실패하여 플로우가 멈췄습니다.

인증정보는 암호화 되어있습니다. 프로젝트의 암호화 키가 깨졌거나 정상적이지 않습니다.

", - "credentials_load_failed_reset": "

인증정보를 복호화할 수 없습니다

인증정보는 암호화 되어있습니다. 프로젝트의 암호화 키가 깨졌거나 정상적이지 않습니다.

다음 배포시 플로우의 인증정보는 초기화 될것입니다. 기존 모든 플로우의 인증정보가 지워집니다.

", - "missing_flow_file": "

프로젝트 플로우 파일을 찾을 수 없습니다

프로젝트의 플로우 파일이 설정되지 않았습니다

", - "missing_package_file": "

프로젝트 패키지 파일을 찾을 수 없습니다

프로젝트의 package.json 파일이 없습니다

", - "project_empty": "

프로젝트가 누락되어 있습니다.

기본 프로젝트 파일을 만드시겠습니까?
그렇지 않으면 수동으로 편집가 외부에 프로젝트 파일을 만드셔야 합니다.

", - "project_not_found": "

'__project__' 가 없습니다.

", - "git_merge_conflict": "

변경사항 자동병합에 실패했습니다.

병합되지 않은 충돌을 수정 후 재등록 하세요.

" - }, - "error": "에러: __message__", - "errors": { - "lostConnection": "서버와 연결이 끊어졌습니다. 재접속을 시도합니다 ...", - "lostConnectionReconnect": "서버와 연결이 끊어졌습니다. __time__ 초 안에 재접속을 시도합니다.", - "lostConnectionTry": "지금 재접속", - "cannotAddSubflowToItself": "서브플로우 자기자신을 추가할 수 없습니다", - "cannotAddCircularReference": "순환참조가 발견되었습니다. 서브플로우를 추가할 수 없습니다", - "unsupportedVersion": "

지원하지 않는 Node.js를 사용하고 있습니다

Node.js LTS 버전을 사용해 주세요

", - "failedToAppendNode": "

'__module__' 읽어오기 실패

__error__

" - }, - "project": { - "change-branch": "로컬지점으로 '__project__' 변경", - "merge-abort": "Git 병합을 중지했습니다.", - "loaded": "'__project__' 프로젝트를 열었습니다", - "updated": "'__project__'가 변경 되었습니다", - "pull": "'__project__'를 다시 가져왔습니다", - "revert": "'__project__'를 취소했습니다", - "merge-complete": "Git 병합이 완료되었습니다" - }, - "label": { - "manage-project-dep": "프로젝트 의존성 관리", - "setup-cred": "인증정보 설정", - "setup-project": "프로젝트 파일 설정", - "create-default-package": "기본 패키지 파일 생성", - "no-thanks": "괜찮습니다", - "create-default-project": "기본 프로젝트 파일 생성", - "show-merge-conflicts": "병합 충돌 보여주기", - "unknownNodesButton": "알 수 없는 노드 검색" - } - }, - "clipboard": { - "clipboard": "클립보드", - "nodes": "노드", - "node": "__count__ 개의 노드", - "node_plural": "__count__ 개의 노드", - "configNode": "__count__ 개의 설정 노드", - "configNode_plural": "__count__ 개의 설정 노드", - "flow": "__count__ 개의 플로우", - "flow_plural": "__count__ 개의 플로우", - "subflow": "__count__ 개의 서브 플로우", - "subflow_plural": "__count__ 개의 서브 플로우", - "pasteNodes": "여기에 노드를 붙여넣기 하세요", - "selectFile": "불러올 파일을 선택하세요", - "importNodes": "노드 불러오기", - "exportNodes": "클립보드에 노드 내보내기", - "download": "다운로드", - "importUnrecognised": "알 수 없는 형식 :", - "importUnrecognised_plural": "알 수 없는 형식 :", - "nodesExported": "클립보드에 노드 내보내기", - "nodesImported": "불러오기 : ", - "nodeCopied": "__count__개의 노드가 복사 되었습니다", - "nodeCopied_plural": "__count__개의 노드가 복사 되었습니다", - "invalidFlow": "정상적지 않은 플로우 : __message__", - "export": { - "selected": "선택된 노드", - "current": "현재 플로우", - "all": "모든 플로우", - "compact": "압축형식", - "formatted": "서식유지", - "copy": "클립보드로 내보내기" - }, - "import": { - "import": "가져올 위치 : ", - "newFlow": "새로운 플로우", - "errors": { - "notArray": "입력이 JSON 배열이 아닙니다", - "itemNotObject": "입력이 올바른 플로우가 아닙니다 - __index__는 노드 오브젝트가 아닙니다", - "missingId": "입력이 올바른 플로우가 아닙니다 - __index__의 'id' 속성이 없습니다", - "missingType": "입력이 올바른 플로우가 아닙니다 - __index__의 'type' 속성이 없습니다" - } - }, - "copyMessagePath": "Path가 복사 되었습니다", - "copyMessageValue": "Value가 복사 되었습니다", - "copyMessageValue_truncated": "Truncated value가 복사 되었습니다" - }, - "deploy": { - "deploy": "배포하기", - "full": "전체", - "fullDesc": "작업공간 내 모든 플로우를 배포합니다", - "modifiedFlows": "변경된 플로우", - "modifiedFlowsDesc": "변경사항이 있는 플로우만 배포합니다", - "modifiedNodes": "변경된 노드", - "modifiedNodesDesc": "변경사항이 있는 노드만 배포합니다", - "restartFlows": "플로우 재시작", - "restartFlowsDesc": "현재 배포된 플로우를 재시작합니다", - "successfulDeploy": "배포가 성공했습니다", - "successfulRestart": "플로우 재시작을 성공했습니다", - "deployFailed": "배포 실패 : __message__", - "unusedConfigNodes": "사용되지 않는 설정노드가 있습니다", - "unusedConfigNodesButton":"사용하지 않는 구성 노드 검색", - "unknownNodesButton":"알 수 없는 노드 검색", - "invalidNodesButton":"잘못된 노드 검색", - "errors": { - "noResponse": "서버의 응답이 없습니다" - }, - "confirm": { - "button": { - "ignore": "무시", - "confirm": "배포 확인", - "review": "변경사항 보기", - "cancel": "취소", - "merge": "병합", - "overwrite": "무시하고 배포하기" - }, - "undeployedChanges": "배포되지 않은 변경사항이 있습니다.\n\n이 페이지를 떠나면 변경사항이 사라집니다", - "improperlyConfigured": "작업공간에 올바르게 구성되지 않은 노드가 있습니다 :", - "unknown": "작업공간에 알려지지 않는 노드타입이 있습니다 :", - "confirm": "배포하시겠습니까?", - "doNotWarn": "이 경고를 무시", - "conflict": "서버가 최신 플로우를 사용중입니다", - "backgroundUpdate": "플로우가 변경되었습니다", - "conflictChecking": "변경사항이 자동으로 병합될 수 있는지 확인", - "conflictAutoMerge": "변경사항에 충돌이 없습니다. 자동병합이 가능합니다", - "conflictManualMerge": "변경사항에 충돌이 있습니다. 배포하기 전에 충돌을 해결하세요", - "plusNMore": "+ __count__ 개 더보기" - } - }, - "eventLog": { - "title": "이벤트 로그", - "view": "로그 보기" - }, - "diff": { - "unresolvedCount": "__count__개의 충돌이 해결되지 않음", - "unresolvedCount_plural": "__count__개의 충돌이 해결되지 않음", - "globalNodes": "Global 노드", - "flowProperties": "플로우 속성", - "type": { - "added": "추가됨", - "changed": "변경됨", - "unchanged": "변경없음", - "deleted": "삭제됨", - "flowDeleted": "플로우 삭제됨", - "flowAdded": "플로우 추가됨", - "movedTo": "__id__로 이동됨", - "movedFrom": "__id__로 부터 이동됨" - }, - "nodeCount": "__count__ 개의 노드", - "nodeCount_plural": "__count__ 개의 노드", - "local": "로컬 변경사항", - "remote": "원격 변경사항", - "reviewChanges": "변경사항 살펴보기", - "noBinaryFileShowed": "바이너리파일 내용을 볼수 없습니다", - "viewCommitDiff": "변경사항 보기", - "compareChanges": "변경사항 비교", - "saveConflict": "충돌 해결내용 저장", - "conflictHeader": "__unresolved__ 개 중 __resolved__ 충돌이 해결됨", - "commonVersionError": "Common Version의 JSON 형식이 올바르지 않습니다 :", - "oldVersionError": "Old Version의 JSON 형식이 올바르지 않습니다 :", - "newVersionError": "New Version의 JSON 형식이 올바르지 않습니다 :" - }, - "subflow": { - "editSubflow": "플로우 템플릿 수정 : __name__", - "edit": "플로우 템플릿 수정", - "subflowInstances": "서브 플로우 템플릿에 __count__개의 인스턴스가 있습니다", - "subflowInstances_plural": "서브 플로우 템플릿에 __count__개의 인스턴스가 있습니다", - "editSubflowProperties": "속성 수정", - "input": "입력:", - "output": "출력:", - "deleteSubflow": "서브 플로우 삭제", - "info": "상세내역", - "category": "카테고리", - "errors": { - "noNodesSelected": "서브 플로우를 생성할 수 없습니다 : 노드가 선택되지 않았습니다", - "multipleInputsToSelection": "서브 플로우를 생성할 수 없습니다 : 복수의 입력이 선택되었습니다" - } - }, - "editor": { - "configEdit": "수정", - "configAdd": "추가", - "configUpdate": "변경", - "configDelete": "삭제", - "nodesUse": "__count__개의 노드가 이 설정을 사용중입니다", - "nodesUse_plural": "__count__개의 노드가 이 설정을 사용중입니다", - "addNewConfig": "__type__의 설정노드 추가", - "editNode": "__type__의 노드 수정", - "editConfig": "__type__의 설정노드 수정", - "addNewType": "__type__의 노드타입 추가 ...", - "nodeProperties": "노드 속성", - "label": "명칭", - "portLabels": "포트 설정", - "labelInputs": "입력", - "labelOutputs": "출력", - "settingIcon": "아이콘", - "noDefaultLabel": "없음", - "defaultLabel": "기본 명칭", - "searchIcons": "아이콘 조회", - "useDefault": "기본설정 사용", - "description": "상세 내역", - "show": "보이기", - "hide": "숨기기", - "errors": { - "scopeChange": "범위를 변경하게 되면 다른 플로우의 노드가 사용이 불가능해 집니다." - } - }, - "keyboard": { - "title": "키보드 단축키", - "keyboard": "키보드", - "filterActions": "필터", - "shortcut": "단축키", - "scope": "범위", - "unassigned": "미할당", - "global": "글로벌", - "workspace": "작업공간", - "selectAll": "모든 노드 선택", - "selectAllConnected": "모든 연결된 노드 선택", - "addRemoveNode": "노드 추가/삭제", - "editSelected": "선택된 노드 수정", - "deleteSelected": "선택된 노드나 링크를 삭제", - "importNode": "노드 불러오기", - "exportNode": "노드 내보내기", - "nudgeNode": "선택된 노드 이동 (1px)", - "moveNode": "선택된 노드 이동 (20px)", - "toggleSidebar": "사이드바 표시/비표시", - "togglePalette": "팔렛트 표시/비표시", - "copyNode": "선택된 노드 복사", - "cutNode": "선택된 노드 잘라내기", - "pasteNode": "노드 붙여넣기", - "undoChange": "마지막 변경 되돌리기", - "searchBox": "검색창 열기", - "managePalette": "팔렛트 관리" - }, - "library": { - "library": "라이브러리", - "openLibrary": "라이브러리 열기...", - "saveToLibrary": "라이브러리로 저장...", - "typeLibrary": "__type__ 라이브러리", - "unnamedType": "이름없는 __type__", - "dialogSaveOverwrite": "__libraryType__이 __libraryName__으로 이미 등록되어있습니다. 덮어쓸까요?", - "invalidFilename": "파일명이 올바르지 않습니다", - "savedNodes": "저장된 노드", - "savedType": "저장된 __type__", - "saveFailed": "저장 실패 : __message__", - "types": { - "examples": "예시" - } - }, - "palette": { - "noInfo": "정보 없음", - "filter": "필터", - "search": "모듈 검색", - "addCategory": "추가 ...", - "label": { - "subflows": "서브 플로우", - "input": "입력", - "output": "출력", - "function": "기능", - "social": "소셜", - "storage": "저장", - "analysis": "분석", - "advanced": "그 외" - }, - "actions": { - "collapse-all": "모든 카테고리 접기", - "expand-all": "모든 카테고리 펼치기" - }, - "event": { - "nodeAdded": "팔렛트에 노드가 추가되었습니다:", - "nodeAdded_plural": "팔렛트에 노드가 추가되었습니다:", - "nodeRemoved": "팔렛트에서 노드가 삭제되었습니다:", - "nodeRemoved_plural": "팔렛트에서 노드가 삭제되었습니다:", - "nodeEnabled": "노드가 활성화 되었습니다:", - "nodeEnabled_plural": "노드가 활성화 되었습니다:", - "nodeDisabled": "노드가 비활성화 되었습니다:", - "nodeDisabled_plural": "노드가 비활성화 되었습니다:", - "nodeUpgraded": "__module__ 노드모듈이 __version__으로 업그레이드 되었습니다" - }, - "editor": { - "title": "팔렛트 관리", - "palette": "팔렛트", - "times": { - "seconds": "몇초 전", - "minutes": "몇분 전", - "minutesV": "__count__분 전", - "hoursV": "__count__시간 전", - "hoursV_plural": "__count__시간 전", - "daysV": "__count__일 전", - "daysV_plural": "__count__일 전", - "weeksV": "__count__주 전", - "weeksV_plural": "__count__주 전", - "monthsV": "__count__달 전", - "monthsV_plural": "__count__달 전", - "yearsV": "__count__년 전", - "yearsV_plural": "__count__년 전", - "yearMonthsV": "__y__년, __count__월 전", - "yearMonthsV_plural": "__y__년, __count__월 전", - "yearsMonthsV": "__y__년, __count__월 전", - "yearsMonthsV_plural": "__y__년, __count__월 전" - }, - "nodeCount": "__label__ 개의 노드", - "nodeCount_plural": "__label__ 개의 노드", - "moduleCount": "__count__ 개의 모듈 사용가능", - "moduleCount_plural": "__count__ 개의 모듈 사용가능", - "inuse": "사용중", - "enableall": "모두 활성화", - "disableall": "모두 비활성화", - "enable": "활성화", - "disable": "비활성화", - "remove": "삭제", - "update": "__version__으로 업데이트", - "updated": "업데이트 됨", - "install": "설치", - "installed": "설치됨", - "conflict": "충돌", - "conflictTip": "

노드타입이 이미 설치 되어 있습니다.
/p>

충돌모듈 : __module__

", - "loading": "카탈로그 여는중...", - "tab-nodes": "설치된 노드", - "tab-install": "설치가능한 노드", - "sort": "정렬:", - "sortAZ": "a-z", - "sortRecent": "최근", - "more": "+ __count__ 개 더 보기", - "errors": { - "catalogLoadFailed": "

노드 카탈로그를 설치하지 못했습니다.

브라우저 콘솔로그를 참고하세요.

", - "installFailed": "

설치 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", - "removeFailed": "

삭제 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", - "updateFailed": "

업데이트 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", - "enableFailed": "

활성화 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", - "disableFailed": "

비활성화 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

" - }, - "confirm": { - "install": { - "body": "

'__module__' 설치중

설치하기 전 노드 설명서를 읽으세요. 어떤 노드은 의존성이 자동으로 해결되지 않거나, Node-RED의 재시작이 필요할 수 있습니다.

", - "title": "노드 설치" - }, - "remove": { - "body": "

'__module__' 삭제중

Node-RED에서 노드를 제거합니다. Node-RED가 재시작되기까지 리소스가 계속 사용될 수도 있습니다.

", - "title": "노드 삭제" - }, - "update": { - "body": "

'__module__' 업데이트중

업데이트 반영을 위해 Node-RED를 수동으로 재시작해야 할 경우도 있습니다.

", - "title": "노드 변경" - }, - "cannotUpdate": { - "body": "이 노드에 대한 업데이트가 있지만, 팔레트 관리자가 변경할 수 있는 위치에 설치되지 않았습니다.

이 노드를 변경하는 방법은 설명서를 참조하세요" - }, - "button": { - "review": "노드정보 열기", - "install": "설치", - "remove": "삭제", - "update": "업데이트" - } - } - } - }, - "sidebar": { - "info": { - "name": "노드정보", - "tabName": "이름", - "label": "정보", - "node": "노드", - "type": "타입", - "module": "모듈", - "id": "ID", - "status": "상태", - "enabled": "활성화", - "disabled": "비활성화", - "subflow": "서브 플로우", - "instances": "인스턴스", - "properties": "속성", - "info": "정보", - "desc": "상세 내역", - "blank": "공백", - "null": "null", - "showMore": "더 보기", - "showLess": "간단히", - "flow": "플로우", - "selection": "선택", - "nodes": "__count__ 개의 노드", - "flowDesc": "플로우 상세내역", - "subflowDesc": "서브 플로우 상세내역", - "nodeHelp": "노드 도움말", - "none": "없음", - "arrayItems": "__count__ 개의 항목", - "showTips": "설정에서 도움말을 열 수 있습니다. " - }, - "config": { - "name": "노드 설정", - "label": "설정", - "global": "모든 플로우", - "none": "없음", - "subflows": "보조 플로우", - "flows": "플로우", - "filterAll": "전체", - "filterUnused": "미사용", - "filtered": "__count__ 개 숨김" - }, - "context": { - "name": "Context 데이터", - "label": "context", - "none": "선택 없음", - "refresh": "새로고침", - "empty": "공백", - "node": "노드", - "flow": "플로우", - "global": "Global", - "deleteConfirm": "정말로 이 아이템을 지우시겠습니까?" - }, - "palette": { - "name": "팔레트 관리", - "label": "팔레트" - }, - "project": { - "label": "프로젝트", - "name": "프로젝트", - "description": "상세내역", - "dependencies": "의존성", - "settings": "설정", - "noSummaryAvailable": "요약 없음", - "editDescription": "프로젝트 상세내역 수정", - "editDependencies": "프로젝트 의존성 수정", - "editReadme": "README.md 수정", - "showProjectSettings": "프로젝트 설정 보이기", - "projectSettings": { - "title": "프로젝트 설정", - "edit": "수정", - "none": "없음", - "install": "설치", - "removeFromProject": "프로젝트에서 삭제", - "addToProject": "프로젝트에 추가", - "files": "파일", - "flow": "플로우", - "credentials": "인증정보", - "invalidEncryptionKey": "잘못된 암호화 키", - "encryptionEnabled": "암호화 활성화", - "encryptionDisabled": "암호화 비활성화", - "setTheEncryptionKey": "암호화 키 설정 :", - "resetTheEncryptionKey": "암호화 키 초기화 :", - "changeTheEncryptionKey": "암호화 키 변경:", - "currentKey": "현재 키", - "newKey": "새로운 키", - "credentialsAlert": "모든 인증정보를 삭제합니다", - "versionControl": "버전 관리", - "branches": "브랜치", - "noBranches": "브랜치 없음", - "deleteConfirm": "다시 되돌릴 수 없습니다. '__name__'의 로컬 브랜치를 삭제 히시겠습니까?", - "unmergedConfirm": "'__name__'의 병합되지 않은 수정사항을 잃어버릴 수 있습니다. 그래도 삭제 하시겠습니까?", - "deleteUnmergedBranch": "미병합 브랜치 삭제", - "gitRemotes": "Git 원격", - "addRemote": "원격 추가", - "addRemote2": "원격 추가", - "remoteName": "원격 이름", - "nameRule": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", - "url": "URL", - "urlRule": "https://, ssh:// or file://", - "urlRule2": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", - "noRemotes": "원격 없음", - "deleteRemoteConfrim": "원격 '__name__'를 정말로 삭제하시겠습니까?", - "deleteRemote": "원격 삭제" - }, - "userSettings": { - "committerDetail": "Committer 상세내역", - "committerTip": "시스템 기본값을 사용하려면 비워두세요", - "userName": "사용자명", - "email": "이메일", - "sshKeys": "SSH키", - "sshKeysTip": "원격저장소에 대한 보안연결을 허용합니다", - "add": "키 추가", - "addSshKey": "SSH키 추가", - "addSshKeyTip": "public/private 키쌍을 추가합니다", - "name": "이름", - "nameRule": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", - "passphrase": "암호", - "passphraseShort": "암호가 너무 짧습니다", - "optional": "선택항목", - "cancel": "취소", - "generate": "Key 생성", - "noSshKeys": "SSH키 없음", - "copyPublicKey": "클립보드로 public key 복사", - "delete": "키 삭제", - "gitConfig": "Git 설정", - "deleteConfirm": "다시 되돌릴 수 없습니다. __name__의 SSH키를 삭제하시겠습니까?" - }, - "versionControl": { - "unstagedChanges": "변경사항을 언스테이징", - "stagedChanges": "스테이징된 변경사항", - "unstageChange": "스테이징 되지않은 변경사항", - "stageChange": "변경사항을 스테이징", - "unstageAllChange": "모든 변경사항 언스테이징", - "stageAllChange": "모든 변경사항 스테이징", - "commitChanges": "변경사항 커밋", - "resolveConflicts": "충돌 해결", - "head": "HEAD", - "staged": "스테이징 됨", - "unstaged": "스테이징 안됨", - "local": "로컬", - "remote": "리모트", - "revert": "다시 복원할 수 없습니다. '__file__'을 되돌리시겠습니까?", - "revertChanges": "변경사항 되돌리기", - "localChanges": "로컬 변경사항", - "none": "없음", - "conflictResolve": "모든 충돌이 해결되었습니다. 변경사항을 적용하여 병합을 완료하세요", - "localFiles": "로컬 파일", - "all": "전체", - "unmergedChanges": "병합되지 않은 변경사항", - "abortMerge": "병합 중단", - "commit": "커밋", - "changeToCommit": "커밋 변경사항", - "commitPlaceholder": "커밋 메시지를 입력하세요", - "cancelCapital": "취소", - "commitCapital": "커밋", - "commitHistory": "커밋 이력", - "branch": "브랜치 :", - "moreCommits": "커밋 더보기", - "changeLocalBranch": "로컬 브랜치 변경", - "createBranchPlaceholder": "브렌치 찾기/생성", - "upstream": "업스트림", - "localOverwrite": "브랜치에 반영할 변경사항이 있습니다. 변경사항을 커밋하거나, 변경내역을 취소해야 합니다", - "manageRemoteBranch": "원격 브랜치 관리", - "unableToAccess": "원격저장소에 접근할 수 없습니다", - "retry": "재시도", - "setUpstreamBranch": "업스트림 브랜치로 설정", - "createRemoteBranchPlaceholder": "리모드 브랜치 찾기/생성", - "trackedUpstreamBranch": "생성된 브랜치는 트래킹된 업스트림 브랜치로 설정됩니다", - "selectUpstreamBranch": "브랜치가 생성될 것입니다. 트래킹된 업스트림 브랜치로 설정하세요", - "pushFailed": "리모트에 최신 커밋이 있기 때문에 push할 수 없습니다. 먼저 pull과 병합을 하신 후 push하세요", - "push": "push", - "pull": "pull", - "unablePull": "

원격저장소의 변경사항을 가져올 수 없습니다, 당신의 unstaged 로컬 변경사항을 덮어씁니다.

변경사항을 적용하고 다시 시도하세요

", - "showUnstagedChanges": "unstaged 변경사항 보여주기", - "connectionFailed": "원격저장소 연결 불가 : ", - "pullUnrelatedHistory": "

원격저장소에 연관없는 커밋 기록이 있습니다.

모든 변경사항을 로컬 저장소로 가져 오시겠습니까?

", - "pullChanges": "Pull 변경사항", - "history": "이력", - "projectHistory": "프로젝트 이력", - "daysAgo": "__count__일 전", - "daysAgo_plural": "__count__일 전", - "hoursAgo": "__count__시간 전", - "hoursAgo_plural": "__count__시간 전", - "minsAgo": "__count__분 전", - "minsAgo_plural": "__count__분 전", - "secondsAgo": "몇초 전", - "notTracking": "당신의 로컬 브랜치는 원격브랜치를 트래킹하고 있지 않습니다", - "statusUnmergedChanged": "당신의 저장소는 병합되지 않은 변경사항을 가지고 있습니다. 충돌을 수정하고 결과를 커밋하세요", - "repositoryUpToDate": "당신의 저장소는 최신상태 입니다", - "commitsAhead": "당신의 저장소가 원격지보다 __count__ 커밋을 앞서 있습니다. 이제 커밋 할 수 있습니다.", - "commitsAhead_plural": "당신의 저장소가 원격지보다 __count__ 커밋을 앞서 있습니다. 지금 커밋할 수 있습니다.", - "commitsBehind": "당신의 저장소가 원격지보다 __count__ 커밋이 늦습니다. 이제 pull 할 수 있습니다.", - "commitsBehind_plural": "당신의 저장소가 원격지보다 __count__ 커밋이 늦습니다. 이제 pull 할 수 있습니다.", - "commitsAheadAndBehind1": "당신의 저장소가 __count__ 커밋이 늦고, ", - "commitsAheadAndBehind1_plural": "당신의 저장소가 __count__ 커밋이 늦고 ", - "commitsAheadAndBehind2": "__count__ 커밋이 원격지보다 앞서 있습니다. ", - "commitsAheadAndBehind2_plural": "__count__ 커밋이 원격지보다 앞서 있습니다.", - "commitsAheadAndBehind3": "push하기전에 리모트 저장소에서 pull을 먼저 수행하세요.", - "commitsAheadAndBehind3_plural": "push하기전에 리모트 저장소에서 pull을 먼저 수행하세요.", - "refreshCommitHistory": "커밋 기록 새로고침", - "refreshChanges": "변경사항 새로고침" - } - } - }, - "typedInput": { - "type": { - "str": "string", - "num": "number", - "re": "regular expression", - "bool": "boolean", - "json": "JSON", - "bin": "buffer", - "date": "timestamp", - "jsonata": "expression", - "env": "env variable" - } - }, - "editableList": { - "add": "추가" - }, - "search": { - "empty": "결과 없음", - "addNode": "노드 추가 ..." - }, - "expressionEditor": { - "functions": "기능", - "functionReference": "기능 참조", - "insert": "삽입", - "title": "JSONata 형식 에디터", - "test": "테스트", - "data": "예제 메세지", - "result": "결과", - "format": "형식", - "compatMode": "호환모드 사용", - "compatModeDesc": "

JSONata호환 모드

입력된 형식은 msg 를 참조하고 있어, 호환모드로 평가합니다. 이 모드는 후에 폐지될 예정이니, msg 를 사용하지 않도록 해 주시길 바랍니다.

JSONata를 Node-RED에서 처음 지원했을 때에는 msg 오브젝트의 참조가 필요했습니다. 예를 들어 msg.payload 는 payload를 참고하기 위해 사용되었습니다.

직접 메시지에 대하여 식을 평가하도록 되었기에, 이 형식은 사용할 수 없게 됩니다. payload를 참조하려면 단순히 payload 로 지정해 주십시오.

", - "noMatch": "결과 없음", - "errors": { - "invalid-expr": "유효하지 않은 JSONata 형식 :\n __message__", - "invalid-msg": "유효하지 않은 예시 JSON 메세지 :\n __message__", - "context-unsupported": "컨텍스트 기능을 테스트 할 수 없습니다.\n $flowContext 또는 $globalContext", - "eval": "형식 오류 :\n __message__" - } - }, - "jsEditor": { - "title": "자바스크립트 에디터" - }, - "jsonEditor": { - "title": "JSON 에디터", - "format": "JSON 형식" - }, - "markdownEditor": { - "title": "Markdown 에디터", - "format": "Markdown 형식", - "heading1": "제목 레벨1", - "heading2": "제목 레벨2", - "heading3": "제목 레벨3", - "bold": "강조", - "italic": "이탤릭", - "code": "코드", - "ordered-list": "번호 목차", - "unordered-list": "목차", - "quote": "인용", - "link": "링크", - "horizontal-rule": "나눔줄", - "toggle-preview": "미리보기 전환" - }, - "bufferEditor": { - "title": "Buffer 에디터", - "modeString": "UTF-8 문자열로 처리", - "modeArray": "JSON 배열로 처리", - "modeDesc": "

Buffer 에디터

버퍼타입은 byet값의 JSON배열로 저장됩니다. 이 에디터는 입력된 값을 JSON 배열로 구문분석 합니다. 만약 유효한 JSON이 아닌경우 UTF-8 문자열로 처리되어 각 문자코드 번호의 배열로 변환됩니다.

예를들어 Hello World 라는 값은 다음의 JSON 배열로 변환됩니다.

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" - }, - "projects": { - "config-git": "Git client 설정", - "welcome": { - "hello": "안녕하세요. Node-RED에서 프로젝트 기능을 이용할 수 있게 되었습니다.", - "desc0": "플로우 파일을 관리하는 새로운 방법이며, 버전을 관리할 수 도 있습니다.", - "desc1": "무선 프로젝트를 작성하거나 기존의 Git저장소에서 프로젝트를 복제할 수 있습니다.", - "desc2": "이 기능을 건너뛰어도 상관없습니다. 언제든지 프로젝트 메뉴에서 첫번째 프로젝트를 만들 수 있습니다.", - "create": "프로젝트 생성", - "clone": "프로젝트 복제", - "not-right-now": "나중에" - }, - "git-config": { - "setup": "버전관리 클라이언트를 설정합니다", - "desc0": "Node-RED는 오픈소스 Git로 버전관리를 할 수 있습니다. 프로젝트 파일의 변경사항을 추적하고 원격저장소로 push할 수 있습니다.", - "desc1": "당신이 변경사항을 커밋하면 git은 누가 변경사항을 만들었는지 사용자명과 이메일 정보를 기록합니다. 사용자명은 꼭 당신의 실명일 필요는 없습니다.", - "desc2": "당신의 Git 클라이언트는 아래와 같이 이미 설정되었습니다.", - "desc3": "당신은 git config의 설정탭에서 설정을 변경할 수 있습니다.", - "username": "사용자명", - "email": "이메일" - }, - "project-details": { - "create": "프로젝트 생성", - "desc0": "프로젝트는 Git 저장소로 관리되어집니다. 다른 사람과 협업하거나 공유하기 쉬워집니다.", - "desc1": "당신은 여러 개의 프로젝트를 생성할 수 있고 에디터에서 프로젝트를 선택할 수 있습니다.", - "desc2": "시작하려면 프로젝트 이름과 프로젝트의 상세설명이 필요합니다.", - "already-exists": "프로젝트가 이미 존재합니다", - "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", - "project-name": "프로젝트명", - "desc": "상세설명", - "opt": "옵션" - }, - "clone-project": { - "clone": "프로젝트 복제", - "desc0": "프로젝트가 있는 저장소를 가지고 있다면, 즉시 복제하여 사용할 수 있습니다.", - "already-exists": "프로젝트가 이미 존재합니다", - "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", - "project-name": "프로젝트명", - "no-info-in-url": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", - "git-url": "Git 저장소 URL", - "protocols": "https://, ssh:// 혹은 file://", - "auth-failed": "인증 실패", - "username": "사용자명", - "passwd": "패스워드", - "ssh-key": "SSH키", - "passphrase": "패스워드", - "ssh-key-desc": "저장소를 복제하기 전에 접속을 위해 SSH키를 먼저 추가하세요.", - "ssh-key-add": "ssh키 추가", - "credential-key": "인증 암호화 키", - "cant-get-ssh-key": "에러! 선택한 SSH키 경로를 가져올 수 없습니다", - "already-exists2": "이미 존재합니다", - "git-error": "git 에러", - "connection-failed": "접속 실패", - "not-git-repo": "Git저장소가 아닙니다", - "repo-not-found": "저장소가 없습니다" - }, - "default-files": { - "create": "프로젝트 파일 생성", - "desc0": "프로젝트는 당신의 플로우, README, package.json 파일을 포함합니다.", - "desc1": "Git 저장소에서 관리하고 싶은 다른 파일들을 포함할 수 있습니다.", - "desc2": "당신이 이미 가지고 있는 flow, 자격증명파일이 프로젝트로 복사될 것입니다.", - "flow-file": "플로우 파일", - "credentials-file": "자격증명 파일" - }, - "encryption-config": { - "setup": "자격인증 파일의 암호화 설정", - "desc0": "플로우의 자격인증 파일 암호화를 통해 내용을 안전하게 유지할 수 있습니다.", - "desc1": "자격증명을 공용 Git저장소에 저장하려면 비밀키 구문을 제공하여 암호화 해야 합니다", - "desc2": "당신의 플로우 자격인증 파일은 암호화 되어 있지 않습니다.", - "desc3": "즉, 암호 및 액세스 토큰과 같은 내용을 파일에 액세스 할 수있는 모든 사람이 열람할 수 있습니다.", - "desc4": "자격증명을 공용 Git저장소에 저장하려면 비밀키 구문을 제공하여 암호화 해야 합니다", - "desc5": "당신의 플로우 자격증명파일은 setting파일의 credentialSecret속성으로 암호화되어 있습니다.", - "desc6": "당신의 플로우 자격증명파일은 시스템이 생성된 키에 의해 암호화 되어있습니다. 이 프로젝트용 새로운 비밀키를 지정해 주세요.", - "desc7": "키는 프로젝트파일과는 별개로 보존됩니다. 다른 Node-RED에서 이 프로젝트를 이용하려면 이 프로젝트의 키가 필요합니다.", - "credentials": "자격인증", - "enable": "암호화 활성화", - "disable": "암호화 비활성화", - "disabled": "비활성화됨", - "copy": "기존 키를 복사", - "use-custom": "커스텀키 사용", - "desc8": "자격증명 파일이 암호화되어 있지 않아, 간단히 해당내용이 열람될 수 있습니다.", - "create-project-files": "프로젝트 생성", - "create-project": "프로젝트 생성", - "already-exists": "이미 존재합니다.", - "git-error": "git 에러", - "git-auth-error": "git 인증 에러" - }, - "create-success": { - "success": "당신의 첫번째 프로젝트 생성이 성공하였습니다.", - "desc0": "앞으로 이와 같이 Node-RED를 사용할 수 있습니다.", - "desc1": "사이드바의 '정보'탭은 현재 활성화된 프로젝트를 보여줍니다. 이름 옆에 있는 버틀을 사용하여 프로젝트 설정화면을 불러올 수 있습니다.", - "desc2": "사이드바의 '이력'탭은 프로젝트의 변경된 파일을 확인하고 커밋할 수 있습니다. 커밋의 전체 기록을 보여주고 변경사항을 원격 저장소에 push할 수 있습니다." - }, - "create": { - "projects": "프로젝트", - "already-exists": "프로젝트가 이미 존재합니다", - "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", - "no-info-in-url": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", - "open": "프로젝트 열기", - "create": "프로젝트 생성", - "clone": "프로젝트 복제", - "project-name": "프로젝트명", - "desc": "상세내역", - "opt": "옵션", - "flow-file": "플로우 파일", - "credentials": "자격증명", - "enable-encryption": "암호화 활성화", - "disable-encryption": "암호화 비활성화", - "encryption-key": "암호화 키", - "desc0": "자격증명 정보를 안전하게 하는 문구", - "desc1": "자격증명 파일이 암호화되어 있지 않아, 간단히 해당내용이 열람될 수 있습니다.", - "git-url": "Git 저장소 URL", - "protocols": "https://, ssh:// 혹은 file://", - "auth-failed": "인증 실패", - "username": "사용자명", - "password": "패스워드", - "ssh-key": "SSH키", - "passphrase": "패스워드", - "desc2": "저장소를 복제하기 전에 접속을 위해 SSH키를 먼저 추가하세요.", - "add-ssh-key": "ssh키 추가", - "credentials-encryption-key": "자격인증 암호화 키", - "already-exists-2": "이미 존재합니다", - "git-error": "git 에러", - "con-failed": "접속 실패", - "not-git": "git 저장소가 아닙니다", - "no-resource": "저장소아 없습니다", - "cant-get-ssh-key-path": "에러! 선택한 SSH키 경로를 가져올 수 없습니다.", - "unexpected_error": "예기치 않은 에러" - }, - "delete": { - "confirm": "프로젝트를 정말 지우시겠습니까?" - }, - "create-project-list": { - "search": "프로젝트 검색", - "current": "현재" - }, - "require-clean": { - "confirm": "

변경사항을 배포하지 않아 내용이 손실될 수 있습니다.

계속 할까요?

" - }, - "send-req": { - "auth-req": "저장소에 대한 인증이 필요합니다.", - "username": "사용자명", - "password": "패스워드", - "passphrase": "패스워드", - "retry": "재시도", - "update-failed": "인증 변경 실패", - "unhandled": "오류 응답 미처리" - }, - "create-branch-list": { - "invalid": "올바르지 않은 브랜치", - "create": "브랜치 생성", - "current": "현재" - }, - "create-default-file-set": { - "no-active": "활성화된 프로젝트 없이 기본 파일을 만들 수 없습니다.", - "no-empty": "비어있지 않은 프로젝트에 기본 파일을 만들 수 없습니다.", - "git-error": "git 에러" - }, - "errors": { - "no-username-email": "당신의 Git 클라이언트에 사용자명/이메일이 설정되지 않았습니다.", - "unexpected": "예기치 않은 에러가 발생했습니다.", - "code": "코드" - } - }, - "editor-tab": { - "properties": "속성", - "description": "상세 내역", - "appearance": "모양" - } -} +{ + "common": { + "label": { + "name": "이름", + "ok": "확인", + "done": "완료", + "cancel": "취소", + "delete": "삭제", + "close": "닫기", + "load": "열기", + "save": "저장", + "import": "가져오기", + "export": "내보내기", + "back": "뒤로", + "next": "앞으로", + "clone": "프로젝트 복제", + "cont": "계속하기" + } + }, + "workspace": { + "defaultName": "플로우 __number__", + "editFlow": "플로우 수정 : __name__", + "confirmDelete": "삭제 확인", + "delete": "정말로 '__label__' 을(를) 삭제하시겠습니까?", + "dropFlowHere": "플로우를 이곳에 가져오세요", + "addFlow": "플로우 추가", + "addFlowToRight": "오른쪽에 플로우 추가", + "hideFlow": "플로우 숨기기", + "hideOtherFlows": "다른 플로우 숨기기", + "showAllFlows": "모든 플로우 보기", + "hideAllFlows": "모든 플로우 숨기기", + "hiddenFlows": "__count__개의 숨겨진 플로우 보기", + "hiddenFlows_plural": "__count__개의 숨겨진 플로우 보기", + "showLastHiddenFlow": "마지막으로 숨겨진 플로우 보기", + "listFlows": "플로우 리스트", + "listSubflows": "서브 플로우 리스트", + "status": "상태", + "enabled": "사용가능", + "disabled": "사용불가능", + "info": "상세내역", + "selectNodes": "선택할 노드 클릭" + }, + "menu": { + "label": { + "view": { + "view": "창", + "grid": "눈금선", + "storeZoom": "불러오기 시 확대/축소 복원", + "storePosition": "불러오기 시 스크롤 위치 복원", + "showGrid": "눈금선 보이기", + "snapGrid": "노드 배치 보조 켜기", + "gridSize": "눈금선 크기", + "textDir": "텍스트 방향", + "defaultDir": "기본", + "ltr": "왼쪽 -> 오른쪽", + "rtl": "오른쪽 -> 왼쪽", + "auto": "자동배분", + "language": "언어", + "browserDefault": "브라우저 기본값" + }, + "sidebar": { + "show": "우측사이드바 보이기" + }, + "palette": { + "show": "팔렛트 보이기" + }, + "edit": "수정", + "settings": "설정", + "userSettings": "사용자 설정", + "nodes": "노드설정", + "displayStatus": "노드 상태 보이기", + "displayConfig": "설정 노드 보기", + "import": "가져오기", + "export": "내보내기", + "search": "플로우 검색", + "searchInput": "플로우 검색", + "subflows": "서브 플로우", + "createSubflow": "서브 플로우 생성", + "selectionToSubflow": "서브 플로우 선택", + "flows": "플로우", + "add": "추가", + "delete": "삭제", + "keyboardShortcuts": "단축키", + "login": "로그인", + "logout": "로그아웃", + "editPalette": "팔렛트 관리", + "other": "기타", + "showTips": "Tip 보기", + "showWelcomeTours": "새 버전에 대한 가이드 보기 표시", + "help": "Node-RED 웹사이트", + "projects": "프로젝트", + "projects-new": "신규", + "projects-open": "열기", + "projects-settings": "프로젝트 설정", + "showNodeLabelDefault": "새로 추가된 노드의 라벨 보이기", + "codeEditor": "Code Editor", + "groups": "그룹", + "groupSelection": "그룹 선택", + "ungroupSelection": "그룹 선택 해제", + "groupMergeSelection": "선택 항목 병합", + "groupRemoveSelection": "선택 그룹 제거", + "arrange": "배치", + "alignLeft": "왼쪽으로 정렬", + "alignCenter": "가운데 정렬", + "alignRight": "오른쪽으로 정렬", + "alignTop": "맨 위에 정렬", + "alignMiddle": "맨 위에 정렬", + "alignBottom": "맨 아래 정렬", + "distributeHorizontally": "수평으로 배치", + "distributeVertically": "수직으로 배치", + "moveToBack": "맨 뒤로 이동", + "moveToFront": "맨 앞으로 이동", + "moveBackwards": "뒤로 이동", + "moveForwards": "앞으로 이동" + } + }, + "actions": { + "toggle-navigator": "네비게이터 표시/비표시", + "zoom-out": "축소하기", + "zoom-reset": "확대/축소 초기화", + "zoom-in": "확대하기", + "search-flows": "플로우 찾기", + "search-prev": "이전", + "search-next": "다음", + "search-counter": "\"__term__\" __result__ of __count__" + }, + "user": { + "loggedInAs": "__name__ 에 로그인됨", + "username": "사용자명", + "password": "비밀번호", + "login": "로그인", + "loginFailed": "로그인 실패", + "notAuthorized": "권한이 없습니다", + "errors": { + "settings": "로그인 후 설정이 가능합니다", + "deploy": "로그인 후 배포가 가능합니다", + "notAuthorized": "이 기능은 로그인 후 사용가능합니다" + } + }, + "notification": { + "state": { + "flowsStopped": "플로우 중지됨", + "flowsStarted": "플로우 시작됨" + }, + "warning": "경고: __message__", + "warnings": { + "undeployedChanges": "변경사항 배포가 취소되었습니다", + "nodeActionDisabled": "노드 실행이 비활성화 되었습니다", + "nodeActionDisabledSubflow": "보조 플로우에서 노드 실행이 비활성화 되었습니다", + "missing-types": "

타입이 없는 노드로인해 플로우가 중지되었습니다

", + "missing-modules": "

누락된 모듈로 인해 플로우가 중지되었습니다.

", + "safe-mode": "

[안전모드] 플로우가 정지되었습니다.

플로우의 수정과 배포가 가능합니다. 다시 배포버튼을 누르세요.

", + "restartRequired": "업그레이드한 모듈을 유효화하기 위해 Node-RED를 재시작 합니다 ", + "credentials_load_failed": "

인증정보 복호화에 실패하여 플로우가 멈췄습니다.

인증정보는 암호화 되어있습니다. 프로젝트의 암호화 키가 깨졌거나 정상적이지 않습니다.

", + "credentials_load_failed_reset": "

인증정보를 복호화할 수 없습니다

인증정보는 암호화 되어있습니다. 프로젝트의 암호화 키가 깨졌거나 정상적이지 않습니다.

다음 배포시 플로우의 인증정보는 초기화 될것입니다. 기존 모든 플로우의 인증정보가 지워집니다.

", + "missing_flow_file": "

프로젝트 플로우 파일을 찾을 수 없습니다

프로젝트의 플로우 파일이 설정되지 않았습니다

", + "missing_package_file": "

프로젝트 패키지 파일을 찾을 수 없습니다

프로젝트의 package.json 파일이 없습니다

", + "project_empty": "

프로젝트가 누락되어 있습니다.

기본 프로젝트 파일을 만드시겠습니까?
그렇지 않으면 수동으로 편집가 외부에 프로젝트 파일을 만드셔야 합니다.

", + "project_not_found": "

'__project__' 가 없습니다.

", + "git_merge_conflict": "

변경사항 자동병합에 실패했습니다.

병합되지 않은 충돌을 수정 후 재등록 하세요.

" + }, + "error": "에러: __message__", + "errors": { + "lostConnection": "서버와 연결이 끊어졌습니다. 재접속을 시도합니다 ...", + "lostConnectionReconnect": "서버와 연결이 끊어졌습니다. __time__ 초 안에 재접속을 시도합니다.", + "lostConnectionTry": "지금 재접속", + "cannotAddSubflowToItself": "서브플로우 자기자신을 추가할 수 없습니다", + "cannotAddCircularReference": "순환참조가 발견되었습니다. 서브플로우를 추가할 수 없습니다", + "unsupportedVersion": "

지원하지 않는 Node.js를 사용하고 있습니다

Node.js LTS 버전을 사용해 주세요

", + "failedToAppendNode": "

'__module__' 읽어오기 실패

__error__

" + }, + "project": { + "change-branch": "로컬지점으로 '__project__' 변경", + "merge-abort": "Git 병합을 중지했습니다.", + "loaded": "'__project__' 프로젝트를 열었습니다", + "updated": "'__project__'가 변경 되었습니다", + "pull": "'__project__'를 다시 가져왔습니다", + "revert": "'__project__'를 취소했습니다", + "merge-complete": "Git 병합이 완료되었습니다", + "setupCredentials": "자격 증명 설정", + "setupProjectFiles": "프로젝트 파일 설정", + "no": "취소", + "createDefault": "기본 프로젝트 파일 만들기", + "mergeConflict": "병합 충돌 표시" + }, + "label": { + "manage-project-dep": "프로젝트 의존성 관리", + "setup-cred": "인증정보 설정", + "setup-project": "프로젝트 파일 설정", + "create-default-package": "기본 패키지 파일 생성", + "no-thanks": "괜찮습니다", + "create-default-project": "기본 프로젝트 파일 생성", + "show-merge-conflicts": "병합 충돌 보여주기", + "unknownNodesButton": "알 수 없는 노드 검색" + } + }, + "clipboard": { + "clipboard": "클립보드", + "nodes": "노드", + "node": "__count__ 개의 노드", + "node_plural": "__count__ 개의 노드", + "configNode": "__count__ 개의 설정 노드", + "configNode_plural": "__count__ 개의 설정 노드", + "group": "__count__ 개의 그룹", + "group_plural": "__count__ 개의 그룹", + "flow": "__count__ 개의 플로우", + "flow_plural": "__count__ 개의 플로우", + "subflow": "__count__ 개의 서브 플로우", + "subflow_plural": "__count__ 개의 서브 플로우", + "replacedNodes": "__count__ 개의 교체된 노드", + "replacedNodes_plural": "__count__ 개의 교체된 노드", + "pasteNodes": "여기에 노드를 붙여넣기 하세요", + "selectFile": "불러올 파일을 선택하세요", + "importNodes": "노드 불러오기", + "exportNodes": "클립보드에 노드 내보내기", + "download": "다운로드", + "importUnrecognised": "알 수 없는 형식 :", + "importUnrecognised_plural": "알 수 없는 형식 :", + "importDuplicate": "가져온 중복 노드:", + "importDuplicate_plural": "가져온 중복 노드:", + "nodesExported": "클립보드에 노드 내보내기", + "nodesImported": "불러오기 : ", + "nodeCopied": "__count__개의 노드가 복사되었습니다", + "nodeCopied_plural": "__count__개의 노드가 복사되었습니다", + "groupCopied": "__count__ 개의 그룹이 복사되었습니다", + "groupCopied_plural": "__count__ 개의 그룹이 복사되었습니다", + "groupStyleCopied": "그룹 스타일이 복사되었습니다", + "invalidFlow": "정상적지 않은 플로우 : __message__", + "recoveredNodes": "복구된 노드", + "recoveredNodesInfo": "이 플로우의 노드를 가져올 때 유효한 플로우 ID가 누락되었습니다. 해당 플로우에 추가되었으므로 복원하거나 삭제할 수 있습니다.", + "recoveredNodesNotification": "

유효하지 않은 플로우 ID를 가진 노드입니다.

'__flowName__' 라는 플로우에 추가되었습니다.

", + "export": { + "selected": "선택된 노드", + "current": "현재 플로우", + "all": "모든 플로우", + "compact": "압축형식", + "formatted": "서식유지", + "copy": "클립보드로 내보내기", + "export": "라이브러리로 내보내기", + "exportAs": "내보내기", + "overwrite": "확인", + "exists": "

\"__file__\" 이미 존재합니다.

교체하시겠습니까?

" + }, + "import": { + "import": "가져올 위치 : ", + "importSelected": "선택 항목 가져오기", + "importCopy": "사본 가져오기", + "viewNodes": "노드 보기...", + "newFlow": "새로운 플로우", + "replace": "교체", + "errors": { + "notArray": "입력이 JSON 배열이 아닙니다", + "itemNotObject": "입력이 올바른 플로우가 아닙니다 - __index__는 노드 오브젝트가 아닙니다", + "missingId": "입력이 올바른 플로우가 아닙니다 - __index__의 'id' 속성이 없습니다", + "missingType": "입력이 올바른 플로우가 아닙니다 - __index__의 'type' 속성이 없습니다" + }, + "conflictNotification1": "가져오는 노드 중 일부가 이미 작업 공간에 있습니다..", + "conflictNotification2": "가져올 노드와 기존 노드를 바꿀지 아니면 복사본을 가져올지 선택합니다." + }, + "copyMessagePath": "Path가 복사 되었습니다", + "copyMessageValue": "Value가 복사 되었습니다", + "copyMessageValue_truncated": "Truncated value가 복사 되었습니다" + }, + "deploy": { + "deploy": "배포하기", + "full": "전체", + "fullDesc": "작업공간 내 모든 플로우를 배포합니다", + "modifiedFlows": "변경된 플로우", + "modifiedFlowsDesc": "변경사항이 있는 플로우만 배포합니다", + "modifiedNodes": "변경된 노드", + "modifiedNodesDesc": "변경사항이 있는 노드만 배포합니다", + "startFlows": "시작", + "startFlowsDesc": "플로우를 시작합니다", + "stopFlows": "중지", + "stopFlowsDesc": "플로우를 중지합니다", + "restartFlows": "플로우 재시작", + "restartFlowsDesc": "현재 배포된 플로우를 재시작합니다", + "successfulDeploy": "배포가 성공했습니다", + "successfulRestart": "플로우 재시작을 성공했습니다", + "deployFailed": "배포 실패 : __message__", + "unusedConfigNodes": "사용되지 않는 설정노드가 있습니다", + "unusedConfigNodesButton": "사용하지 않는 구성 노드 검색", + "unknownNodesButton": "알 수 없는 노드 검색", + "invalidNodesButton": "잘못된 노드 검색", + "errors": { + "noResponse": "서버의 응답이 없습니다" + }, + "confirm": { + "button": { + "ignore": "무시", + "confirm": "배포 확인", + "review": "변경사항 보기", + "cancel": "취소", + "merge": "병합", + "overwrite": "무시하고 배포하기" + }, + "undeployedChanges": "배포되지 않은 변경사항이 있습니다.\n\n이 페이지를 떠나면 변경사항이 사라집니다", + "improperlyConfigured": "작업공간에 올바르게 구성되지 않은 노드가 있습니다 :", + "unknown": "작업공간에 알려지지 않는 노드타입이 있습니다 :", + "confirm": "배포하시겠습니까?", + "doNotWarn": "이 경고를 무시", + "conflict": "서버가 최신 플로우를 사용중입니다", + "backgroundUpdate": "플로우가 변경되었습니다", + "conflictChecking": "변경사항이 자동으로 병합될 수 있는지 확인", + "conflictAutoMerge": "변경사항에 충돌이 없습니다. 자동병합이 가능합니다", + "conflictManualMerge": "변경사항에 충돌이 있습니다. 배포하기 전에 충돌을 해결하세요", + "plusNMore": "+ __count__ 개 더보기" + } + }, + "eventLog": { + "title": "이벤트 로그", + "view": "로그 보기" + }, + "diff": { + "unresolvedCount": "__count__개의 충돌이 해결되지 않음", + "unresolvedCount_plural": "__count__개의 충돌이 해결되지 않음", + "globalNodes": "Global 노드", + "flowProperties": "플로우 속성", + "type": { + "added": "추가됨", + "changed": "변경됨", + "unchanged": "변경없음", + "deleted": "삭제됨", + "flowDeleted": "플로우 삭제됨", + "flowAdded": "플로우 추가됨", + "movedTo": "__id__로 이동됨", + "movedFrom": "__id__로 부터 이동됨" + }, + "nodeCount": "__count__ 개의 노드", + "nodeCount_plural": "__count__ 개의 노드", + "local": "로컬 변경사항", + "remote": "원격 변경사항", + "reviewChanges": "변경사항 살펴보기", + "noBinaryFileShowed": "바이너리파일 내용을 볼수 없습니다", + "viewCommitDiff": "변경사항 보기", + "compareChanges": "변경사항 비교", + "saveConflict": "충돌 해결내용 저장", + "conflictHeader": "__unresolved__ 개 중 __resolved__ 충돌이 해결됨", + "commonVersionError": "Common Version의 JSON 형식이 올바르지 않습니다 :", + "oldVersionError": "Old Version의 JSON 형식이 올바르지 않습니다 :", + "newVersionError": "New Version의 JSON 형식이 올바르지 않습니다 :" + }, + "subflow": { + "editSubflowInstance": "서브 플로우 인스턴스 수정: __name__", + "editSubflow": "플로우 템플릿 수정 : __name__", + "edit": "플로우 템플릿 수정", + "subflowInstances": "서브 플로우 템플릿에 __count__개의 인스턴스가 있습니다", + "subflowInstances_plural": "서브 플로우 템플릿에 __count__개의 인스턴스가 있습니다", + "editSubflowProperties": "속성 수정", + "input": "입력:", + "output": "출력:", + "status": "상태 노드", + "deleteSubflow": "서브 플로우 삭제", + "confirmDelete": "서브 플로우를 삭제하시겠습니까?", + "info": "상세내역", + "category": "카테고리", + "module": "모듈", + "license": "라이선스", + "licenseNone": "없음", + "licenseOther": "Other", + "type": "노드", + "version": "버전", + "versionPlaceholder": "x.y.z", + "keys": "키워드", + "keysPlaceholder": "키워드(쉼표로 구분)를 입력해주세요", + "author": "이름", + "authorPlaceholder": "이름 또는 이메일을 입력해주세요", + "desc": "설명", + "env": { + "restore": "서브 플로우 기본값으로 복원", + "remove": "환경 변수 제거" + }, + "errors": { + "noNodesSelected": "서브 플로우를 생성할 수 없습니다 : 노드가 선택되지 않았습니다", + "multipleInputsToSelection": "서브 플로우를 생성할 수 없습니다 : 복수의 입력이 선택되었습니다" + } + }, + "group": { + "editGroup": "그룹 수정: __name__", + "errors": { + "cannotCreateDiffGroups": "다른 그룹의 노드를 사용하여 그룹을 생성할 수 없습니다", + "cannotAddSubflowPorts": "그룹에 서브 플로우 포트를 추가할 수 없습니다" + } + }, + "editor": { + "configEdit": "수정", + "configAdd": "추가", + "configUpdate": "변경", + "configDelete": "삭제", + "nodesUse": "__count__개의 노드가 이 설정을 사용중입니다", + "nodesUse_plural": "__count__개의 노드가 이 설정을 사용중입니다", + "addNewConfig": "__type__의 설정노드 추가", + "editNode": "__type__의 노드 수정", + "editConfig": "__type__의 설정노드 수정", + "addNewType": "__type__의 노드타입 추가 ...", + "nodeProperties": "노드 속성", + "label": "명칭", + "color": "Color", + "portLabels": "포트 설정", + "labelInputs": "입력", + "labelOutputs": "출력", + "settingIcon": "아이콘", + "default": "default", + "noDefaultLabel": "없음", + "defaultLabel": "기본 명칭", + "searchIcons": "아이콘 조회", + "useDefault": "기본설정 사용", + "description": "상세 내역", + "errors": { + "scopeChange": "범위를 변경하게 되면 다른 플로우의 노드가 사용이 불가능해 집니다.", + "invalidProperties": "유효하지 않은 속성:" + } + }, + "keyboard": { + "title": "키보드 단축키", + "keyboard": "키보드", + "filterActions": "필터", + "shortcut": "단축키", + "scope": "범위", + "unassigned": "미할당", + "global": "글로벌", + "workspace": "작업공간", + "selectAll": "모든 노드 선택", + "selectNone": "노드 선택 취소", + "selectAllConnected": "연결된 모든 노드 선택", + "addRemoveNode": "노드 추가/삭제", + "editSelected": "선택된 노드 수정", + "deleteSelected": "선택된 노드 또는 링크 삭제", + "importNode": "노드 불러오기", + "exportNode": "노드 내보내기", + "nudgeNode": "선택된 노드 이동 (1px)", + "moveNode": "선택된 노드 이동 (20px)", + "toggleSidebar": "사이드바 표시/비표시", + "togglePalette": "팔렛트 표시/비표시", + "copyNode": "선택된 노드 복사", + "cutNode": "선택된 노드 잘라내기", + "pasteNode": "노드 붙여넣기", + "copyGroupStyle": "그룹 스타일 복사하기", + "pasteGroupStyle": "그룹 스타일 붙여넣기", + "undoChange": "마지막 변경 되돌리기", + "redoChange": "다시 실행하기", + "searchBox": "검색창 열기", + "managePalette": "팔렛트 관리", + "actionList": "액션 목록", + "splitWireWithLinks": "링크 노드로 선택 항목 분할" + }, + "library": { + "library": "라이브러리", + "openLibrary": "라이브러리 열기...", + "saveToLibrary": "라이브러리로 저장...", + "typeLibrary": "__type__ 라이브러리", + "unnamedType": "이름없는 __type__", + "exportedToLibrary": "노드를 라이브러리로 내보냈습니다.", + "dialogSaveOverwrite": "__libraryType__이 __libraryName__으로 이미 등록되어있습니다. 덮어쓸까요?", + "invalidFilename": "파일명이 올바르지 않습니다", + "savedNodes": "저장된 노드", + "savedType": "저장된 __type__", + "saveFailed": "저장 실패 : __message__", + "newFolder": "새로운 폴더", + "types": { + "local": "로컬", + "examples": "예시" + } + }, + "palette": { + "noInfo": "정보 없음", + "filter": "필터", + "search": "모듈 검색", + "addCategory": "추가 ...", + "label": { + "subflows": "서브 플로우", + "network": "네트워크", + "common": "일반", + "input": "입력", + "output": "출력", + "function": "기능", + "sequence": "sequence", + "parser": "parser", + "social": "소셜", + "storage": "저장", + "analysis": "분석", + "advanced": "그 외" + }, + "actions": { + "collapse-all": "모든 카테고리 접기", + "expand-all": "모든 카테고리 펼치기" + }, + "event": { + "nodeAdded": "팔렛트에 노드가 추가되었습니다:", + "nodeAdded_plural": "팔렛트에 노드가 추가되었습니다:", + "nodeRemoved": "팔렛트에서 노드가 삭제되었습니다:", + "nodeRemoved_plural": "팔렛트에서 노드가 삭제되었습니다:", + "nodeEnabled": "노드가 활성화 되었습니다:", + "nodeEnabled_plural": "노드가 활성화 되었습니다:", + "nodeDisabled": "노드가 비활성화 되었습니다:", + "nodeDisabled_plural": "노드가 비활성화 되었습니다:", + "nodeUpgraded": "__module__ 노드모듈이 __version__으로 업그레이드 되었습니다", + "unknownNodeRegistered": "Error loading node:
  • __type__
    __error__
" + }, + "editor": { + "title": "팔렛트 관리", + "palette": "팔렛트", + "times": { + "seconds": "몇초 전", + "minutes": "몇분 전", + "minutesV": "__count__분 전", + "hoursV": "__count__시간 전", + "hoursV_plural": "__count__시간 전", + "daysV": "__count__일 전", + "daysV_plural": "__count__일 전", + "weeksV": "__count__주 전", + "weeksV_plural": "__count__주 전", + "monthsV": "__count__달 전", + "monthsV_plural": "__count__달 전", + "yearsV": "__count__년 전", + "yearsV_plural": "__count__년 전", + "yearMonthsV": "__y__년, __count__월 전", + "yearMonthsV_plural": "__y__년, __count__월 전", + "yearsMonthsV": "__y__년, __count__월 전", + "yearsMonthsV_plural": "__y__년, __count__월 전" + }, + "nodeCount": "__label__ 개의 노드", + "nodeCount_plural": "__label__ 개의 노드", + "moduleCount": "__count__ 개의 모듈 사용가능", + "moduleCount_plural": "__count__ 개의 모듈 사용가능", + "inuse": "사용중", + "enableall": "모두 활성화", + "disableall": "모두 비활성화", + "enable": "활성화", + "disable": "비활성화", + "remove": "삭제", + "update": "__version__으로 업데이트", + "updated": "업데이트 됨", + "install": "설치", + "installed": "설치됨", + "conflict": "충돌", + "conflictTip": "

노드타입이 이미 설치 되어 있습니다.
/p>

충돌모듈 : __module__

", + "loading": "카탈로그 여는중...", + "tab-nodes": "설치된 노드", + "tab-install": "설치가능한 노드", + "sort": "정렬:", + "sortAZ": "a-z", + "sortRecent": "최근", + "more": "+ __count__ 개 더 보기", + "upload": "Upload module tgz file", + "refresh": "모듈 목록 새로 고침", + "errors": { + "catalogLoadFailed": "

노드 카탈로그를 설치하지 못했습니다.

브라우저 콘솔로그를 참고하세요.

", + "installFailed": "

설치 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", + "removeFailed": "

삭제 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", + "updateFailed": "

업데이트 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", + "enableFailed": "

활성화 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

", + "disableFailed": "

비활성화 실패 : __module__

__message__

브라우저 콘솔로그를 참고하세요.

" + }, + "confirm": { + "install": { + "body": "

'__module__' 설치중

설치하기 전 노드 설명서를 읽으세요. 어떤 노드은 의존성이 자동으로 해결되지 않거나, Node-RED의 재시작이 필요할 수 있습니다.

", + "title": "노드 설치" + }, + "remove": { + "body": "

'__module__' 삭제중

Node-RED에서 노드를 제거합니다. Node-RED가 재시작되기까지 리소스가 계속 사용될 수도 있습니다.

", + "title": "노드 삭제" + }, + "update": { + "body": "

'__module__' 업데이트중

업데이트 반영을 위해 Node-RED를 수동으로 재시작해야 할 경우도 있습니다.

", + "title": "노드 변경" + }, + "cannotUpdate": { + "body": "이 노드에 대한 업데이트가 있지만, 팔레트 관리자가 변경할 수 있는 위치에 설치되지 않았습니다.

이 노드를 변경하는 방법은 설명서를 참조하세요" + }, + "button": { + "review": "노드정보 열기", + "install": "설치", + "remove": "삭제", + "update": "업데이트" + } + } + } + }, + "sidebar": { + "info": { + "name": "노드정보", + "tabName": "이름", + "label": "정보", + "node": "노드", + "type": "타입", + "group": "Group", + "module": "모듈", + "id": "ID", + "status": "상태", + "enabled": "활성화", + "disabled": "비활성화", + "subflow": "서브 플로우", + "instances": "인스턴스", + "properties": "속성", + "info": "정보", + "desc": "상세 내역", + "blank": "공백", + "null": "null", + "showMore": "더 보기", + "showLess": "간단히", + "flow": "플로우", + "selection": "선택", + "nodes": "__count__ 개의 노드", + "flowDesc": "플로우 상세내역", + "subflowDesc": "서브 플로우 상세내역", + "nodeHelp": "노드 도움말", + "none": "없음", + "arrayItems": "__count__ 개의 항목", + "showTips": "설정에서 도움말을 열 수 있습니다. ", + "outline": "개요", + "empty": "비우기", + "globalConfig": "전역 설정 노드", + "triggerAction": "트리거 작업", + "find": "작업 공간에서 찾기" + }, + "help": { + "name": "도움말", + "label": "도움말", + "search": "도움말 검색", + "nodeHelp": "노드 도움말 보기", + "showHelp": "도움말 보기", + "showInOutline": "요약 보기", + "showTopics": "토픽 보기", + "noHelp": "선택한 도움말 항목이 없습니다", + "changeLog": "릴리즈 정보" + }, + "config": { + "name": "노드 설정", + "label": "설정", + "global": "모든 플로우", + "none": "없음", + "subflows": "보조 플로우", + "flows": "플로우", + "filterAll": "전체", + "showAllConfigNodes": "모든 설정 노드 보기", + "filterUnused": "미사용", + "showAllUnusedConfigNodes": "사용하지 않는 모든 설정 노드 보기", + "filtered": "__count__ 개 숨김" + }, + "context": { + "name": "Context 데이터", + "label": "context", + "none": "선택 없음", + "refresh": "새로고침", + "empty": "공백", + "node": "노드", + "flow": "플로우", + "global": "글로벌", + "deleteConfirm": "정말로 이 아이템을 지우시겠습니까?", + "autoRefresh": "선택 변경 시 새로 고침", + "refrsh": "새로고침", + "delete": "삭제" + }, + "palette": { + "name": "팔레트 관리", + "label": "팔레트" + }, + "project": { + "label": "프로젝트", + "name": "프로젝트", + "description": "상세내역", + "dependencies": "의존성", + "settings": "설정", + "noSummaryAvailable": "요약 없음", + "editDescription": "프로젝트 상세내역 수정", + "editDependencies": "프로젝트 의존성 수정", + "noDescriptionAvailable": "설명 없음", + "editReadme": "README.md 수정", + "showProjectSettings": "프로젝트 설정 보이기", + "projectSettings": { + "title": "프로젝트 설정", + "edit": "수정", + "none": "없음", + "install": "설치", + "removeFromProject": "프로젝트에서 삭제", + "addToProject": "프로젝트에 추가", + "files": "파일", + "flow": "플로우", + "credentials": "인증정보", + "package": "Package", + "packageCreate": "변경 내용이 저장될 때 파일이 생성됩니다", + "fileNotExist": "파일이 존재하지 않습니다", + "selectFile": "파일 선택", + "invalidEncryptionKey": "잘못된 암호화 키", + "encryptionEnabled": "암호화 활성화", + "encryptionDisabled": "암호화 비활성화", + "setTheEncryptionKey": "암호화 키 설정 :", + "resetTheEncryptionKey": "암호화 키 초기화 :", + "changeTheEncryptionKey": "암호화 키 변경:", + "currentKey": "현재 키", + "newKey": "새로운 키", + "credentialsAlert": "모든 인증정보를 삭제합니다", + "versionControl": "버전 관리", + "branches": "브랜치", + "noBranches": "브랜치 없음", + "deleteConfirm": "다시 되돌릴 수 없습니다. '__name__'의 로컬 브랜치를 삭제 히시겠습니까?", + "unmergedConfirm": "'__name__'의 병합되지 않은 수정사항을 잃어버릴 수 있습니다. 그래도 삭제 하시겠습니까?", + "deleteUnmergedBranch": "미병합 브랜치 삭제", + "gitRemotes": "Git 원격", + "addRemote": "원격 추가", + "addRemote2": "원격 추가", + "remoteName": "원격 이름", + "nameRule": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", + "url": "URL", + "urlRule": "https://, ssh:// or file://", + "urlRule2": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", + "noRemotes": "원격 없음", + "deleteRemoteConfrim": "원격 '__name__'를 정말로 삭제하시겠습니까?", + "deleteRemote": "원격 삭제" + }, + "userSettings": { + "committerDetail": "Committer 상세내역", + "committerTip": "시스템 기본값을 사용하려면 비워두세요", + "userName": "사용자명", + "email": "이메일", + "sshKeys": "SSH키", + "sshKeysTip": "원격저장소에 대한 보안연결을 허용합니다", + "add": "키 추가", + "addSshKey": "SSH키 추가", + "addSshKeyTip": "public/private 키쌍을 추가합니다", + "name": "이름", + "nameRule": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", + "passphrase": "암호", + "passphraseShort": "암호가 너무 짧습니다", + "optional": "선택항목", + "cancel": "취소", + "generate": "Key 생성", + "noSshKeys": "SSH키 없음", + "copyPublicKey": "클립보드로 public key 복사", + "delete": "키 삭제", + "gitConfig": "Git 설정", + "deleteConfirm": "다시 되돌릴 수 없습니다. __name__의 SSH키를 삭제하시겠습니까?" + }, + "versionControl": { + "unstagedChanges": "변경사항을 언스테이징", + "stagedChanges": "스테이징된 변경사항", + "unstageChange": "스테이징 되지않은 변경사항", + "stageChange": "변경사항을 스테이징", + "unstageAllChange": "모든 변경사항 언스테이징", + "stageAllChange": "모든 변경사항 스테이징", + "commitChanges": "변경사항 커밋", + "resolveConflicts": "충돌 해결", + "head": "HEAD", + "staged": "스테이징 됨", + "unstaged": "스테이징 안됨", + "local": "로컬", + "remote": "리모트", + "revert": "다시 복원할 수 없습니다. '__file__'을 되돌리시겠습니까?", + "revertChanges": "변경사항 되돌리기", + "localChanges": "로컬 변경사항", + "none": "없음", + "conflictResolve": "모든 충돌이 해결되었습니다. 변경사항을 적용하여 병합을 완료하세요", + "localFiles": "로컬 파일", + "all": "전체", + "unmergedChanges": "병합되지 않은 변경사항", + "abortMerge": "병합 중단", + "commit": "커밋", + "changeToCommit": "커밋 변경사항", + "commitPlaceholder": "커밋 메시지를 입력하세요", + "cancelCapital": "취소", + "commitCapital": "커밋", + "commitHistory": "커밋 이력", + "branch": "브랜치 :", + "moreCommits": "커밋 더보기", + "changeLocalBranch": "로컬 브랜치 변경", + "createBranchPlaceholder": "브렌치 찾기/생성", + "upstream": "업스트림", + "localOverwrite": "브랜치에 반영할 변경사항이 있습니다. 변경사항을 커밋하거나, 변경내역을 취소해야 합니다", + "manageRemoteBranch": "원격 브랜치 관리", + "unableToAccess": "원격저장소에 접근할 수 없습니다", + "retry": "재시도", + "setUpstreamBranch": "업스트림 브랜치로 설정", + "createRemoteBranchPlaceholder": "리모드 브랜치 찾기/생성", + "trackedUpstreamBranch": "생성된 브랜치는 트래킹된 업스트림 브랜치로 설정됩니다", + "selectUpstreamBranch": "브랜치가 생성될 것입니다. 트래킹된 업스트림 브랜치로 설정하세요", + "pushFailed": "리모트에 최신 커밋이 있기 때문에 push할 수 없습니다. 먼저 pull과 병합을 하신 후 push하세요", + "push": "push", + "pull": "pull", + "unablePull": "

원격저장소의 변경사항을 가져올 수 없습니다, 당신의 unstaged 로컬 변경사항을 덮어씁니다.

변경사항을 적용하고 다시 시도하세요

", + "showUnstagedChanges": "unstaged 변경사항 보여주기", + "connectionFailed": "원격저장소 연결 불가 : ", + "pullUnrelatedHistory": "

원격저장소에 연관없는 커밋 기록이 있습니다.

모든 변경사항을 로컬 저장소로 가져 오시겠습니까?

", + "pullChanges": "Pull 변경사항", + "history": "이력", + "projectHistory": "프로젝트 이력", + "daysAgo": "__count__일 전", + "daysAgo_plural": "__count__일 전", + "hoursAgo": "__count__시간 전", + "hoursAgo_plural": "__count__시간 전", + "minsAgo": "__count__분 전", + "minsAgo_plural": "__count__분 전", + "secondsAgo": "몇초 전", + "notTracking": "당신의 로컬 브랜치는 원격브랜치를 트래킹하고 있지 않습니다", + "statusUnmergedChanged": "당신의 저장소는 병합되지 않은 변경사항을 가지고 있습니다. 충돌을 수정하고 결과를 커밋하세요", + "repositoryUpToDate": "당신의 저장소는 최신상태 입니다", + "commitsAhead": "당신의 저장소가 원격지보다 __count__ 커밋을 앞서 있습니다. 이제 커밋 할 수 있습니다.", + "commitsAhead_plural": "당신의 저장소가 원격지보다 __count__ 커밋을 앞서 있습니다. 지금 커밋할 수 있습니다.", + "commitsBehind": "당신의 저장소가 원격지보다 __count__ 커밋이 늦습니다. 이제 pull 할 수 있습니다.", + "commitsBehind_plural": "당신의 저장소가 원격지보다 __count__ 커밋이 늦습니다. 이제 pull 할 수 있습니다.", + "commitsAheadAndBehind1": "당신의 저장소가 __count__ 커밋이 늦고, ", + "commitsAheadAndBehind1_plural": "당신의 저장소가 __count__ 커밋이 늦고 ", + "commitsAheadAndBehind2": "__count__ 커밋이 원격지보다 앞서 있습니다. ", + "commitsAheadAndBehind2_plural": "__count__ 커밋이 원격지보다 앞서 있습니다.", + "commitsAheadAndBehind3": "push하기전에 리모트 저장소에서 pull을 먼저 수행하세요.", + "commitsAheadAndBehind3_plural": "push하기전에 리모트 저장소에서 pull을 먼저 수행하세요.", + "refreshCommitHistory": "커밋 기록 새로고침", + "refreshChanges": "변경사항 새로고침" + } + } + }, + "typedInput": { + "type": { + "str": "string", + "num": "number", + "re": "regular expression", + "bool": "boolean", + "json": "JSON", + "bin": "buffer", + "date": "timestamp", + "jsonata": "expression", + "env": "env variable", + "cred": "credential" + } + }, + "editableList": { + "add": "추가", + "addTitle": "add an item" + }, + "search": { + "history": "Search history", + "clear": "clear all", + "empty": "결과 없음", + "addNode": "노드 추가 ...", + "options": { + "configNodes": "설정 노드", + "unusedConfigNodes": "사용되지 않는 설정 노드", + "invalidNodes": "잘못된 노드", + "uknownNodes": "알 수 없는 노드", + "unusedSubflows": "사용되지 않는 서브 플로우", + "hiddenFlows": "숨겨진 플로우", + "modifiedNodes": "수정된 노드 및 플로우", + "thisFlow": "현재 플로우" + } + }, + "expressionEditor": { + "functions": "기능", + "functionReference": "기능 참조", + "insert": "삽입", + "title": "JSONata 형식 에디터", + "test": "테스트", + "data": "예제 메세지", + "result": "결과", + "format": "형식", + "compatMode": "호환모드 사용", + "compatModeDesc": "

JSONata호환 모드

입력된 형식은 msg 를 참조하고 있어, 호환모드로 평가합니다. 이 모드는 후에 폐지될 예정이니, msg 를 사용하지 않도록 해 주시길 바랍니다.

JSONata를 Node-RED에서 처음 지원했을 때에는 msg 오브젝트의 참조가 필요했습니다. 예를 들어 msg.payload 는 payload를 참고하기 위해 사용되었습니다.

직접 메시지에 대하여 식을 평가하도록 되었기에, 이 형식은 사용할 수 없게 됩니다. payload를 참조하려면 단순히 payload 로 지정해 주십시오.

", + "noMatch": "결과 없음", + "errors": { + "invalid-expr": "유효하지 않은 JSONata 형식 :\n __message__", + "invalid-msg": "유효하지 않은 예시 JSON 메세지 :\n __message__", + "context-unsupported": "컨텍스트 기능을 테스트 할 수 없습니다.\n $flowContext 또는 $globalContext", + "eval": "형식 오류 :\n __message__" + } + }, + "monaco": { + "setTheme": "테마 설정" + }, + "jsEditor": { + "title": "자바스크립트 에디터" + }, + "textEditor": { + "title": "텍스트 에디터" + }, + "jsonEditor": { + "title": "JSON 에디터", + "format": "JSON 형식", + "rawMode": "JSON 수정", + "uiMode": "비주얼 편집기", + "rawMode-readonly": "JSON", + "uiMode-readonly": "비주얼", + "insertAbove": "위로 삽입", + "insertBelow": "아래로 삽입", + "addItem": "속성 추가", + "copyPath": "속성의 키값 복사", + "expandItems": "속성 펼치기", + "collapseItems": "속성 접기", + "duplicate": "복사", + "error": { + "invalidJSON": "비유효한 JSON: " + } + }, + "markdownEditor": { + "title": "Markdown 에디터", + "expand": "Expand", + "format": "Markdown 형식", + "heading1": "제목 레벨1", + "heading2": "제목 레벨2", + "heading3": "제목 레벨3", + "bold": "강조", + "italic": "이탤릭", + "code": "코드", + "ordered-list": "번호 목차", + "unordered-list": "목차", + "quote": "인용", + "link": "링크", + "horizontal-rule": "나눔줄", + "toggle-preview": "미리보기 전환" + }, + "bufferEditor": { + "title": "Buffer 에디터", + "modeString": "UTF-8 문자열로 처리", + "modeArray": "JSON 배열로 처리", + "modeDesc": "

Buffer 에디터

버퍼타입은 byet값의 JSON배열로 저장됩니다. 이 에디터는 입력된 값을 JSON 배열로 구문분석 합니다. 만약 유효한 JSON이 아닌경우 UTF-8 문자열로 처리되어 각 문자코드 번호의 배열로 변환됩니다.

예를들어 Hello World 라는 값은 다음의 JSON 배열로 변환됩니다.

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" + }, + "projects": { + "config-git": "Git client 설정", + "welcome": { + "hello": "안녕하세요. Node-RED에서 프로젝트 기능을 이용할 수 있게 되었습니다.", + "desc0": "플로우 파일을 관리하는 새로운 방법이며, 버전을 관리할 수 도 있습니다.", + "desc1": "무선 프로젝트를 작성하거나 기존의 Git저장소에서 프로젝트를 복제할 수 있습니다.", + "desc2": "이 기능을 건너뛰어도 상관없습니다. 언제든지 프로젝트 메뉴에서 첫번째 프로젝트를 만들 수 있습니다.", + "create": "프로젝트 생성", + "clone": "프로젝트 복제", + "openExistingProject": "기존 프로젝트 열기", + "not-right-now": "나중에" + }, + "git-config": { + "setup": "버전관리 클라이언트를 설정합니다", + "desc0": "Node-RED는 오픈소스 Git로 버전관리를 할 수 있습니다. 프로젝트 파일의 변경사항을 추적하고 원격저장소로 push할 수 있습니다.", + "desc1": "당신이 변경사항을 커밋하면 git은 누가 변경사항을 만들었는지 사용자명과 이메일 정보를 기록합니다. 사용자명은 꼭 당신의 실명일 필요는 없습니다.", + "desc2": "당신의 Git 클라이언트는 아래와 같이 이미 설정되었습니다.", + "desc3": "당신은 git config의 설정탭에서 설정을 변경할 수 있습니다.", + "username": "사용자명", + "email": "이메일" + }, + "project-details": { + "create": "프로젝트 생성", + "desc0": "프로젝트는 Git 저장소로 관리되어집니다. 다른 사람과 협업하거나 공유하기 쉬워집니다.", + "desc1": "당신은 여러 개의 프로젝트를 생성할 수 있고 에디터에서 프로젝트를 선택할 수 있습니다.", + "desc2": "시작하려면 프로젝트 이름과 프로젝트의 상세설명이 필요합니다.", + "already-exists": "프로젝트가 이미 존재합니다", + "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", + "project-name": "프로젝트명", + "desc": "상세설명", + "opt": "옵션" + }, + "clone-project": { + "clone": "프로젝트 복제", + "desc0": "프로젝트가 있는 저장소를 가지고 있다면, 즉시 복제하여 사용할 수 있습니다.", + "already-exists": "프로젝트가 이미 존재합니다", + "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", + "project-name": "프로젝트명", + "no-info-in-url": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", + "git-url": "Git 저장소 URL", + "protocols": "https://, ssh:// 혹은 file://", + "auth-failed": "인증 실패", + "username": "사용자명", + "passwd": "패스워드", + "ssh-key": "SSH키", + "passphrase": "패스워드", + "ssh-key-desc": "저장소를 복제하기 전에 접속을 위해 SSH키를 먼저 추가하세요.", + "ssh-key-add": "ssh키 추가", + "credential-key": "인증 암호화 키", + "cant-get-ssh-key": "에러! 선택한 SSH키 경로를 가져올 수 없습니다", + "already-exists2": "이미 존재합니다", + "git-error": "git 에러", + "connection-failed": "접속 실패", + "not-git-repo": "Git저장소가 아닙니다", + "repo-not-found": "저장소가 없습니다" + }, + "default-files": { + "create": "프로젝트 파일 생성", + "desc0": "프로젝트는 당신의 플로우, README, package.json 파일을 포함합니다.", + "desc1": "Git 저장소에서 관리하고 싶은 다른 파일들을 포함할 수 있습니다.", + "desc2": "당신이 이미 가지고 있는 flow, 자격증명파일이 프로젝트로 복사될 것입니다.", + "flow-file": "플로우 파일", + "credentials-file": "자격증명 파일" + }, + "encryption-config": { + "setup": "자격인증 파일의 암호화 설정", + "desc0": "플로우의 자격인증 파일 암호화를 통해 내용을 안전하게 유지할 수 있습니다.", + "desc1": "자격증명을 공용 Git저장소에 저장하려면 비밀키 구문을 제공하여 암호화 해야 합니다", + "desc2": "당신의 플로우 자격인증 파일은 암호화 되어 있지 않습니다.", + "desc3": "즉, 암호 및 액세스 토큰과 같은 내용을 파일에 액세스 할 수있는 모든 사람이 열람할 수 있습니다.", + "desc4": "자격증명을 공용 Git저장소에 저장하려면 비밀키 구문을 제공하여 암호화 해야 합니다", + "desc5": "당신의 플로우 자격증명파일은 setting파일의 credentialSecret속성으로 암호화되어 있습니다.", + "desc6": "당신의 플로우 자격증명파일은 시스템이 생성된 키에 의해 암호화 되어있습니다. 이 프로젝트용 새로운 비밀키를 지정해 주세요.", + "desc7": "키는 프로젝트파일과는 별개로 보존됩니다. 다른 Node-RED에서 이 프로젝트를 이용하려면 이 프로젝트의 키가 필요합니다.", + "credentials": "자격인증", + "enable": "암호화 활성화", + "disable": "암호화 비활성화", + "disabled": "비활성화됨", + "copy": "기존 키를 복사", + "use-custom": "커스텀키 사용", + "desc8": "자격증명 파일이 암호화되어 있지 않아, 간단히 해당내용이 열람될 수 있습니다.", + "create-project-files": "프로젝트 생성", + "create-project": "프로젝트 생성", + "already-exists": "이미 존재합니다.", + "git-error": "git 에러", + "git-auth-error": "git 인증 에러" + }, + "create-success": { + "success": "당신의 첫번째 프로젝트 생성이 성공하였습니다.", + "desc0": "앞으로 이와 같이 Node-RED를 사용할 수 있습니다.", + "desc1": "사이드바의 '정보'탭은 현재 활성화된 프로젝트를 보여줍니다. 이름 옆에 있는 버틀을 사용하여 프로젝트 설정화면을 불러올 수 있습니다.", + "desc2": "사이드바의 '이력'탭은 프로젝트의 변경된 파일을 확인하고 커밋할 수 있습니다. 커밋의 전체 기록을 보여주고 변경사항을 원격 저장소에 push할 수 있습니다." + }, + "create": { + "projects": "프로젝트", + "already-exists": "프로젝트가 이미 존재합니다", + "must-contain": "A-Z 0-9 _ -의 문자만 사용이 가능합니다", + "no-info-in-url": "URL안에 사용자아이디/비밀번호를 사용하지 마세요", + "open": "프로젝트 열기", + "create": "프로젝트 생성", + "clone": "프로젝트 복제", + "project-name": "프로젝트명", + "desc": "상세내역", + "opt": "옵션", + "flow-file": "플로우 파일", + "credentials": "자격증명", + "enable-encryption": "암호화 활성화", + "disable-encryption": "암호화 비활성화", + "encryption-key": "암호화 키", + "desc0": "자격증명 정보를 안전하게 하는 문구", + "desc1": "자격증명 파일이 암호화되어 있지 않아, 간단히 해당내용이 열람될 수 있습니다.", + "git-url": "Git 저장소 URL", + "protocols": "https://, ssh:// 혹은 file://", + "auth-failed": "인증 실패", + "username": "사용자명", + "password": "패스워드", + "ssh-key": "SSH키", + "passphrase": "패스워드", + "desc2": "저장소를 복제하기 전에 접속을 위해 SSH키를 먼저 추가하세요.", + "add-ssh-key": "ssh키 추가", + "credentials-encryption-key": "자격인증 암호화 키", + "already-exists-2": "이미 존재합니다", + "git-error": "git 에러", + "con-failed": "접속 실패", + "not-git": "git 저장소가 아닙니다", + "no-resource": "저장소아 없습니다", + "cant-get-ssh-key-path": "에러! 선택한 SSH키 경로를 가져올 수 없습니다.", + "unexpected_error": "예기치 않은 에러", + "clearContext": "프로젝트 전환 시 context 삭제" + }, + "delete": { + "confirm": "프로젝트를 정말 지우시겠습니까?" + }, + "create-project-list": { + "search": "프로젝트 검색", + "current": "현재" + }, + "require-clean": { + "confirm": "

변경사항을 배포하지 않아 내용이 손실될 수 있습니다.

계속 할까요?

" + }, + "send-req": { + "auth-req": "저장소에 대한 인증이 필요합니다.", + "username": "사용자명", + "password": "패스워드", + "passphrase": "패스워드", + "retry": "재시도", + "update-failed": "인증 변경 실패", + "unhandled": "오류 응답 미처리" + }, + "create-branch-list": { + "invalid": "올바르지 않은 브랜치", + "create": "브랜치 생성", + "current": "현재" + }, + "create-default-file-set": { + "no-active": "활성화된 프로젝트 없이 기본 파일을 만들 수 없습니다.", + "no-empty": "비어있지 않은 프로젝트에 기본 파일을 만들 수 없습니다.", + "git-error": "git 에러" + }, + "errors": { + "no-username-email": "당신의 Git 클라이언트에 사용자명/이메일이 설정되지 않았습니다.", + "unexpected": "예기치 않은 에러가 발생했습니다.", + "code": "코드" + } + }, + "editor-tab": { + "properties": "속성", + "envProperties": "환경 변수", + "module": "모듈 속성", + "description": "상세 내역", + "appearance": "모양", + "preview": "UI 프리뷰", + "defaultValue": "기본값" + }, + "tourGuide": { + "takeATour": "둘러보기", + "start": "시작", + "next": "다음", + "welcomeTours": "버전 별 릴리즈 정보" + }, + "diagnostics": { + "title": "시스템 정보" + }, + "contextMenu": { + "insert": "삽입", + "node": "노드", + "junction": "접합", + "linkNodes": "링크 노드" + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/ko/infotips.json b/packages/node_modules/@node-red/editor-client/locales/ko/infotips.json old mode 100755 new mode 100644 index ef0102ecc..ec947894c --- a/packages/node_modules/@node-red/editor-client/locales/ko/infotips.json +++ b/packages/node_modules/@node-red/editor-client/locales/ko/infotips.json @@ -1,23 +1,23 @@ -{ - "info": { - "tip0": "{{core:delete-selection}}를 사용하여 선택된 노드나 링크를 삭제할 수 있습니다.", - "tip1": "{{core:search}}를 활용하여 노드를 검색할 수 있습니다.", - "tip2": "{{core:toggle-sidebar}}를 사용하여 사이드바를 표시/비표시 전환 할 수 있습니다.", - "tip3": "{{core:manage-palette}}를 사용하여 노드 팔레트를 관리 할 수 있습니다.", - "tip4": "플로우 안의 설정노드가 사이드바에 표시됩니다. 메뉴 혹은 {{core:show-config-tab}}를 사용하여 엑세스 할 수 있습니다.", - "tip5": "설정에서 이 팁을 활성화/비활성화 할 수 있습니다.", - "tip6": "[left] [up] [down] [right] 키를 사용하여 선택된 노드를 움직일 수 있습니다. [shift]키를 누른 채로 움직이면 이동폭이 늘어납니다.", - "tip7": "노드를 와이어 사이로 드래그 하여 연결할 수도 있습니다.", - "tip8": "{{core:show-export-dialog}}를 사용하여 선택한 노드 또는 현재탭을 내보낼 수 있습니다.", - "tip9": "JSON파일을 에디터로 드래그하거나 {{core:show-import-dialog}}를 사용하여 플로우 가져올 수 있습니다.", - "tip10": "[shift] [click] 하고서 드래그하여 선택한 와이어를 이동할 수 있습니다.", - "tip11": "{{core:show-info-tab}}를 사용하여 정보탭을 표시하거나 {{core:show-debug-tab}}를 사용하여 디버그탭을 표시할 수 있습니다.", - "tip12": "작업공간에서 [ctrl] [click]을 사용하여 빠른추가 대회상자를 열 수 있습니다.", - "tip13": "[ctrl]을 누른 상태로 노드의 포트를 클릭하여 빠르게 연결할 수 있습니다.", - "tip14": "[shift]를 누른 상태로 노드를 클릭하여 연결된 모든 노드를 선택할 수 있습니다.", - "tip15": "[ctrl]을 누른 상태로 노드를 클릭하여 현재 선택영역에 노드를 추가/제거 할 수 있습니다.", - "tip16": "{{core:show-previous-tab}}와 {{core:show-next-tab}}를 사용하여 탭을 전환할 수 있습니다.", - "tip17": "노드 편집 창에서 {{core : confirm-edit-tray}}로 변경 사항을 확인하거나 {{core : cancel-edit-tray}}로 취소 할 수 있습니다.", - "tip18": "{{core : edit-selected-node}}를 누르면 현재 선택 영역의 첫 번째 노드가 편집됩니다." - } -} \ No newline at end of file +{ + "info": { + "tip0": "{{core:delete-selection}}를 사용하여 선택된 노드나 링크를 삭제할 수 있습니다.", + "tip1": "{{core:search}}를 활용하여 노드를 검색할 수 있습니다.", + "tip2": "{{core:toggle-sidebar}}를 사용하여 사이드바를 표시/비표시 전환 할 수 있습니다.", + "tip3": "{{core:manage-palette}}를 사용하여 노드 팔레트를 관리 할 수 있습니다.", + "tip4": "플로우 안의 설정노드가 사이드바에 표시됩니다. 메뉴 혹은 {{core:show-config-tab}}를 사용하여 엑세스 할 수 있습니다.", + "tip5": "설정에서 이 팁을 활성화/비활성화 할 수 있습니다.", + "tip6": "[left] [up] [down] [right] 키를 사용하여 선택된 노드를 움직일 수 있습니다. [shift]키를 누른 채로 움직이면 이동폭이 늘어납니다.", + "tip7": "노드를 와이어 사이로 드래그 하여 연결할 수도 있습니다.", + "tip8": "{{core:show-export-dialog}}를 사용하여 선택한 노드 또는 현재탭을 내보낼 수 있습니다.", + "tip9": "JSON파일을 에디터로 드래그하거나 {{core:show-import-dialog}}를 사용하여 플로우 가져올 수 있습니다.", + "tip10": "[shift] [click] 하고서 드래그하여 선택한 와이어를 이동할 수 있습니다.", + "tip11": "{{core:show-info-tab}}를 사용하여 정보탭을 표시하거나 {{core:show-debug-tab}}를 사용하여 디버그탭을 표시할 수 있습니다.", + "tip12": "작업공간에서 [ctrl] [click]을 사용하여 빠른추가 대회상자를 열 수 있습니다.", + "tip13": "[ctrl]을 누른 상태로 노드의 포트를 클릭하여 빠르게 연결할 수 있습니다.", + "tip14": "[shift]를 누른 상태로 노드를 클릭하여 연결된 모든 노드를 선택할 수 있습니다.", + "tip15": "[ctrl]을 누른 상태로 노드를 클릭하여 현재 선택영역에 노드를 추가/제거 할 수 있습니다.", + "tip16": "{{core:show-previous-tab}}와 {{core:show-next-tab}}를 사용하여 탭을 전환할 수 있습니다.", + "tip17": "노드 편집 창에서 {{core : confirm-edit-tray}}로 변경 사항을 확인하거나 {{core : cancel-edit-tray}}로 취소 할 수 있습니다.", + "tip18": "{{core : edit-selected-node}}를 누르면 현재 선택 영역의 첫 번째 노드가 편집됩니다." + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/ko/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/ko/jsonata.json old mode 100755 new mode 100644 index 0e49d97a8..bd8a0d2ee --- a/packages/node_modules/@node-red/editor-client/locales/ko/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/ko/jsonata.json @@ -1,222 +1,222 @@ -{ - "$string": { - "args": "arg", - "desc": "다음과 같은 규칙을 사용하여 인수 *arg*를 문자열로 변환합니다. \n\n - 문자열은 변경되지 않습니다. \n - 함수는 빈 문자열로 변환됩니다. \n - 무한대와 NaN은 JSON수치로 표현할 수 없기 때문에 오류처리 됩니다. \n - 다른 모든 값은 `JSON.stringify` 함수를 사용하여 JSON 문자열로 변환됩니다." - }, - "$length": { - "args": "str", - "desc": "문자열 `str`의 문자 수를 반환합니다. `str`가 문자열이 아닌 경우 에러를 반환합니다." - }, - "$substring": { - "args": "str, start[, length]", - "desc": "(zero-offset)의 `start`에서 시작하는 첫번째 인수 `str`의 문자열을 반환합니다. 만약 `length`가 지정된 경우, 부분 문자열은 최대 `length`의 크기를 갖습니다. 만약 `start` 인수가 음수이면 `str`의 끝에서부터의 문자수를 나타냅니다." - }, - "$substringBefore": { - "args": "str, chars", - "desc": "`str`에 `chars`문자가 처음으로 나오기 전까지의 부분문자열을 반환합니다. 만약 `chars`가 없으면 `str`을 반환합니다." - }, - "$substringAfter": { - "args": "str, chars", - "desc": "`str`에 `chars`문자가 처음으로 나온 이후의 부분문자열을 반환합니다. 만약 `chars`가 없으면 `str`을 반환합니다." - }, - "$uppercase": { - "args": "str", - "desc": "`str`의 문자를 대문자로 반환합니다." - }, - "$lowercase": { - "args": "str", - "desc": "`str`의 문자를 소문자로 반환합니다." - }, - "$trim": { - "args": "str", - "desc": "다음의 순서대로 `str`의 모든 공백을 자르고 정규화 합니다:\n\n - 모든 탭, 캐리지 리턴 및 줄 바꿈은 공백으로 대체됩니다. \n- 연속된 공백은 하나로 줄입니다.\n- 후행 및 선행 공백은 삭제됩니다.\n\n 만일 `str`이 지정되지 않으면 (예: 이 함수를 인수없이 호출), context값을 `str`의 값으로 사용합니다. `str`이 문자열이 아니면 에러가 발생합니다." - }, - "$contains": { - "args": "str, pattern", - "desc": "`str`이 `pattern`과 일치하면 `true`를, 일치하지 않으면 `false`를 반환합니다. 만약 `str`이 지정되지 않으면 (예: 이 함수를 인수없이 호출), context값을 `str`의 값으로 사용합니다. `pattern` 인수는 문자열이나 정규표현으로 할 수 있습니다." - }, - "$split": { - "args": "str[, separator][, limit]", - "desc": "`str`인수를 분할하여 부분문자열로 배열합니다. `str`이 문자열이 아니면 에러가 발생합니다. 생략가능한 인수 `separator`는 `str`을 분할하는 문자를 문자열 또는 정규표현으로 지정합니다. `separator`를 지정하지 않은 경우, 공백의 문자열로 간주하여 `str`은 단일 문자의 배열로 분리됩니다. `separator`가 문자열이 아니면 에러가 발생합니다. 생략가능한 인수 'limit`는 결과의 배열이 갖는 부분문자열의 최대수를 지정합니다. 이 수를 넘는 부분문자열은 파기됩니다. `limit`가 지정되지 않으면`str`은 결과 배열의 크기의 제한없이 완전히 분리됩니다. `limit`이 음수인 경우 에러가 발생합니다." - }, - "$join": { - "args": "array[, separator]", - "desc": "문자열의 배열을 생략가능한 인수 `separator`로 구분한 하나의 문자열로 연결합니다. 배열 `array`가 문자열이 아닌 요소를 포함하는 경우, 에러가 발생합니다. `separator`를 지정하지 않은 경우, 공백의 문자열로 간주합니다(예: 문자열간의 `separator`없음). `separator`가 문자열이 아닌 경우, 에러가 발생합니다." - }, - "$match": { - "args": "str, pattern [, limit]", - "desc": "`str`문자열에 `pattern`를 적용하여, 오브젝트 배열을 반환합니다. 배열요소의 오브젝트는 `str`중 일치하는 부분의 정보를 보유합니다." - }, - "$replace": { - "args": "str, pattern, replacement [, limit]", - "desc": "`str`문자열에서 `pattern` 패턴을 검색하여, `replacement`로 대체합니다.\n\n임의이ㅡ 인수 `limit`는 대체 횟수의 상한값을 지정합니다." - }, - "$now": { - "args": "", - "desc": "ISO 8601 호환 형식으로 타임 스탬프를 생성하고 이를 문자열로 반환합니다." - }, - "$base64encode": { - "args": "string", - "desc": "ASCII 문자열을 base 64 표현으로 변환합니다. 문자열의 각 문자는 이진 데이터의 바이트로 처리됩니다. 이렇게 하려면 문자열의 모든 문자가 URI로 인코딩 된 문자열을 포함하고, 0x00에서 0xFF 범위에 있어야합니다. 해당 범위를 벗어난 유니 코드 문자는 지원되지 않습니다" - }, - "$base64decode": { - "args": "string", - "desc": "UTF-8코드페이지를 이용하여, Base 64형식의 바이트값을 문자열로 변환합니다." - }, - "$number": { - "args": "arg", - "desc": "`arg`를 다음과 같은 규칙을 사요하여 숫자로 변환합니다. :\n\n - 숫자는 변경되지 않습니다.\n – 올바른 JSON의 숫자는 숫자 그대로 변환됩니다.\n – 그 외의 형식은 에러를 발생합니다." - }, - "$abs": { - "args": "number", - "desc": "`number`의 절대값을 반환합니다." - }, - "$floor": { - "args": "number", - "desc": "`number`를 `number`보다 같거나 작은 정수로 내림하여 반환합니다." - }, - "$ceil": { - "args": "number", - "desc": "`number`를 `number`와 같거나 큰 정수로 올림하여 반환합니다." - }, - "$round": { - "args": "number [, precision]", - "desc": "인수 `number`를 반올림한 값을 반환합니다. 임의의 인수 `precision`에는 반올립에서 사용할 소수점이하의 자릿수를 지정합니다." - }, - "$power": { - "args": "base, exponent", - "desc": "기수 `base`의 값을 지수 `exponent`만큼의 거듭 제곱으로 반환합니다." - }, - "$sqrt": { - "args": "number", - "desc": "인수 `number`의 제곱근을 반환합니다." - }, - "$random": { - "args": "", - "desc": "0이상 1미만의 의사난수를 반환합니다." - }, - "$millis": { - "args": "", - "desc": "Unix Epoch (1970 년 1 월 1 일 UTC)부터 경과된 밀리 초 수를 숫자로 반환합니다. 평가대상식에 포함되는 $millis()의 모든 호출은 모두 같은 값을 반환합니다." - }, - "$sum": { - "args": "array", - "desc": "숫자 배열 `array`의 합계를 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." - }, - "$max": { - "args": "array", - "desc": "숫자 배열 `array`에서 최대값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." - }, - "$min": { - "args": "array", - "desc": "숫자 배열 `array`에서 최소값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." - }, - "$average": { - "args": "array", - "desc": "숫자 배열 `array`에서 평균값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." - }, - "$boolean": { - "args": "arg", - "desc": "`arg` 값을 다음의 규칙에 의해 Boolean으로 변환합니다::\n\n - `Boolean` : 변환하지 않음\n - `string`: 비어있음 : `false`\n - `string`: 비어있지 않음 : `true`\n - `number`: `0` : `false`\n - `number`: 0이 아님 : `true`\n - `null` : `false`\n - `array`: 비어있음 : `false`\n - `array`: `true`로 변환된 요소를 가짐 : `true`\n - `array`: 모든 요소가 `false`로 변환 : `false`\n - `object`: 비어있음 : `false`\n - `object`: 비어있지 않음 : `true`\n - `function` : `false`" - }, - "$not": { - "args": "arg", - "desc": "인수의 부정을 Boolean으로 변환합니다. `arg`는 가장먼저boolean으로 변환됩니다." - }, - "$exists": { - "args": "arg", - "desc": "`arg` 식의 평가값이 존재하는 경우 `true`, 식의 평가결과가 미정의인 경우 (예: 존재하지 않는 참조필드로의 경로)는 `false`를 반환합니다." - }, - "$count": { - "args": "array", - "desc": "`array`의 요소 갯수를 반환합니다." - }, - "$append": { - "args": "array, array", - "desc": "두개의 `array`를 병합합니다." - }, - "$sort": { - "args": "array [, function]", - "desc": "배열 `array`의 모든 값을 순서대로 정렬하여 반환합니다. \n\n 비교함수 `function`을 이용하는 경우, 비교함수는 아래와 같은 두개의 인수를 가져야 합니다. \n\n `function(left,right)` \n\n 비교함수는 left와 right의 두개의 값을 비교하기에, 값을 정렬하는 처리에서 호출됩니다. 만약 요구되는 정렬에서 left값을 right값보다 뒤로 두고싶은 경우에는, 비교함수는 치환을 나타내는 Boolean형의 ``true`를, 그렇지 않은 경우에는 `false`를 반환해야 합니다." - }, - "$reverse": { - "args": "array", - "desc": "`array`에 포함된 모든 값의 순서를 역순으로 변환하여 반환합니다." - }, - "$shuffle": { - "args": "array", - "desc": "`array`에 포함된 모든 값의 순서를 랜덤으로 반환합니다." - }, - "$zip": { - "args": "array, ...", - "desc": "배열 `array1` ... arrayN`의 위치 0, 1, 2…. 의 값으로 구성된 convolved (zipped) 배열을 반환합니다." - }, - "$keys": { - "args": "object", - "desc": "`object` 키를 포함하는 배열을 반환합니다. 인수가 오브젝트의 배열이면 반환되는 배열은 모든 오브젝트에있는 모든 키의 중복되지 않은 목록이 됩니다." - }, - "$lookup": { - "args": "object, key", - "desc": "`object` 내의 `key`가 갖는 값을 반환합니다. 최초의 인수가 객체의 배열 인 경우, 배열 내의 모든 오브젝트를 검색하여, 존재하는 모든 키가 갖는 값을 반환합니다." - }, - "$spread": { - "args": "object", - "desc": "`object`의 키/값 쌍별로 각 요소가 하나인 오브젝트 배열로 분할합니다. 만일 오브젝트 배열인 경우, 배열의 결과는 각 오브젝트에서 얻은 키/값 쌍의 오브젝트를 갖습니다." - }, - "$merge": { - "args": "array<object>", - "desc": "`object`배열을 하나의 `object`로 병합합니다. 병합결과의 오브젝트는 입력배열내의 각 오브젝트의 키/값 쌍을 포함합니다. 입력 오브젝트가 같은 키를 가질경우, 반환 된 `object`에는 배열 마지막의 오브젝트의 키/값이 격납됩니다. 입력 배열이 오브젝트가 아닌 요소를 포함하는 경우, 에러가 발생합니다." - }, - "$sift": { - "args": "object, function", - "desc": "함수 `function`을 충족시키는 `object` 인수 키/값 쌍만 포함하는 오브젝트를 반환합니다. \n\n 함수 `function` 다음과 같은 인수를 가져야 합니다 : \n\n `function(value [, key [, object]])`" - }, - "$each": { - "args": "object, function", - "desc": "`object`의 각 키/값 쌍에, 함수`function`을 적용한 값의 배열을 반환합니다." - }, - "$map": { - "args": "array, function", - "desc": "`array`의 각 값에 `function`을 적용한 결과로 이루어진 배열을 반환합니다. \n\n 함수 `function`은 다음과 같은 인수를 가져야 합니다. \n\n `function(value[, index[, array]])`" - }, - "$filter": { - "args": "array, function", - "desc": "`array`의 값중, 함수 `function`의 조건을 만족하는 값으로 이루어진 배열을 반환합니다. \n\n 함수 `function`은 다음과 같은 형식을 가져야 합니다. \n\n `function(value[, index[, array]])`" - }, - "$reduce": { - "args": "array, function [, init]", - "desc": "배열의 각 요소값에 함수 `function`을 연속적으로 적용하여 얻어지는 집계값을 반환합니다. `function`의 적용에는 직전의 `function`의 적용결과와 요소값이 인수로 주어집니다. \n\n 함수 `function`은 인수를 두개 뽑아, 배열의 각 요소 사이에 배치하는 중치연산자처럼 작용해야 합니다. \n\n 임의의 인수 `init`에는 집약시의 초기값을 설정합니다." - }, - "$flowContext": { - "args": "string[, string]", - "desc": "플로우 컨텍스트 속성을 취득합니다." - }, - "$globalContext": { - "args": "string[, string]", - "desc": "플로우의 글로벌 컨텍스트 속성을 취득합니다." - }, - "$pad": { - "args": "string, width [, char]", - "desc": "문자수가 인수 `width`의 절대값이상이 되도록, 필요한 경우 여분의 패딩을 사용하여 `string`의 복사본을 반환합니다. \n\n `width`가 양수인 경우, 오른쪽으로 채워지고, 음수이면 왼쪽으로 채워집니다. \n\n 임의의 `char`인수에는 이 함수에서 사용할 패딩을 지정합니다. 지정하지 않는 경우에는, 기본값으로 공백을 사용합니다." - }, - "$fromMillis": { - "args": "number", - "desc": "Unix Epoch (1970 년 1 월 1 일 UTC) 이후의 밀리 초를 나타내는 숫자를 ISO 8601 형식의 타임 스탬프 문자열로 변환합니다." - }, - "$formatNumber": { - "args": "number, picture [, options]", - "desc": "`number`를 문자열로 변환하고 `picture` 문자열에 지정된 표현으로 서식을 변경합니다. \n\n 이 함수의 동작은 XPath F&O 3.1사양에 정의된 XPath/XQuery함수의 fn:format-number의 동작과 같습니다. 인수의 문자열 picture은 fn:format-number 과 같은 구문으로 수치의 서식을 정의합니다. \n\n 임의의 제3 인수 `option`은 소수점기호와 같은 기본 로케일 고유의 서식설정문자를 덮어쓰는데에 사용됩니다. 이 인수를 지정할 경우, XPath F&O 3.1사양의 수치형식에 기술되어있는 name/value 쌍을 포함하는 오브젝트여야 합니다." - }, - "$formatBase": { - "args": "number [, radix]", - "desc": "`number`를 인수 `radix`에 지정한 값을 기수로하는 문자열로 변환합니다. `radix`가 지정되지 않은 경우, 기수 10이 기본값으로 설정됩니다. `radix`에는 2~36의 값을 설정할 수 있고, 그 외의 값의 경우에는 에러가 발생합니다." - }, - "$toMillis": { - "args": "timestamp", - "desc": "ISO 8601 형식의 `timestamp`를 Unix Epoch (1970 년 1 월 1 일 UTC) 이후의 밀리 초 수로 변환합니다. 문자열이 올바른 형식이 아닌 경우 에러가 발생합니다." - }, - "$env": { - "args": "arg", - "desc": "환경변수를 값으로 반환합니다.\n\n 이 함수는 Node-RED 정의 함수입니다." - } -} \ No newline at end of file +{ + "$string": { + "args": "arg", + "desc": "다음과 같은 규칙을 사용하여 인수 *arg*를 문자열로 변환합니다.\n\n - 문자열은 변경되지 않습니다.\n - 함수는 빈 문자열로 변환됩니다.\n - 무한대와 NaN은 JSON수치로 표현할 수 없기 때문에 오류처리 됩니다.\n - 다른 모든 값은 `JSON.stringify` 함수를 사용하여 JSON 문자열로 변환됩니다." + }, + "$length": { + "args": "str", + "desc": "문자열 `str`의 문자 수를 반환합니다. `str`가 문자열이 아닌 경우 에러를 반환합니다." + }, + "$substring": { + "args": "str, start[, length]", + "desc": "(zero-offset)의 `start`에서 시작하는 첫번째 인수 `str`의 문자열을 반환합니다. 만약 `length`가 지정된 경우, 부분 문자열은 최대 `length`의 크기를 갖습니다. 만약 `start` 인수가 음수이면 `str`의 끝에서부터의 문자수를 나타냅니다." + }, + "$substringBefore": { + "args": "str, chars", + "desc": "`str`에 `chars`문자가 처음으로 나오기 전까지의 부분문자열을 반환합니다. 만약 `chars`가 없으면 `str`을 반환합니다." + }, + "$substringAfter": { + "args": "str, chars", + "desc": "`str`에 `chars`문자가 처음으로 나온 이후의 부분문자열을 반환합니다. 만약 `chars`가 없으면 `str`을 반환합니다." + }, + "$uppercase": { + "args": "str", + "desc": "`str`의 문자를 대문자로 반환합니다." + }, + "$lowercase": { + "args": "str", + "desc": "`str`의 문자를 소문자로 반환합니다." + }, + "$trim": { + "args": "str", + "desc": "다음의 순서대로 `str`의 모든 공백을 자르고 정규화 합니다:\n\n - 모든 탭, 캐리지 리턴 및 줄 바꿈은 공백으로 대체됩니다.\n- 연속된 공백은 하나로 줄입니다.\n- 후행 및 선행 공백은 삭제됩니다.\n\n 만일 `str`이 지정되지 않으면 (예: 이 함수를 인수없이 호출), context값을 `str`의 값으로 사용합니다. `str`이 문자열이 아니면 에러가 발생합니다." + }, + "$contains": { + "args": "str, pattern", + "desc": "`str`이 `pattern`과 일치하면 `true`를, 일치하지 않으면 `false`를 반환합니다. 만약 `str`이 지정되지 않으면 (예: 이 함수를 인수없이 호출), context값을 `str`의 값으로 사용합니다. `pattern` 인수는 문자열이나 정규표현으로 할 수 있습니다." + }, + "$split": { + "args": "str[, separator][, limit]", + "desc": "`str`인수를 분할하여 부분문자열로 배열합니다. `str`이 문자열이 아니면 에러가 발생합니다. 생략가능한 인수 `separator`는 `str`을 분할하는 문자를 문자열 또는 정규표현으로 지정합니다. `separator`를 지정하지 않은 경우, 공백의 문자열로 간주하여 `str`은 단일 문자의 배열로 분리됩니다. `separator`가 문자열이 아니면 에러가 발생합니다. 생략가능한 인수 'limit`는 결과의 배열이 갖는 부분문자열의 최대수를 지정합니다. 이 수를 넘는 부분문자열은 파기됩니다. `limit`가 지정되지 않으면`str`은 결과 배열의 크기의 제한없이 완전히 분리됩니다. `limit`이 음수인 경우 에러가 발생합니다." + }, + "$join": { + "args": "array[, separator]", + "desc": "문자열의 배열을 생략가능한 인수 `separator`로 구분한 하나의 문자열로 연결합니다. 배열 `array`가 문자열이 아닌 요소를 포함하는 경우, 에러가 발생합니다. `separator`를 지정하지 않은 경우, 공백의 문자열로 간주합니다(예: 문자열간의 `separator`없음). `separator`가 문자열이 아닌 경우, 에러가 발생합니다." + }, + "$match": { + "args": "str, pattern [, limit]", + "desc": "`str`문자열에 `pattern`를 적용하여, 오브젝트 배열을 반환합니다. 배열요소의 오브젝트는 `str`중 일치하는 부분의 정보를 보유합니다." + }, + "$replace": { + "args": "str, pattern, replacement [, limit]", + "desc": "`str`문자열에서 `pattern` 패턴을 검색하여, `replacement`로 대체합니다.\n\n임의이ㅡ 인수 `limit`는 대체 횟수의 상한값을 지정합니다." + }, + "$now": { + "args": "", + "desc": "ISO 8601 호환 형식으로 타임 스탬프를 생성하고 이를 문자열로 반환합니다." + }, + "$base64encode": { + "args": "string", + "desc": "ASCII 문자열을 base 64 표현으로 변환합니다. 문자열의 각 문자는 이진 데이터의 바이트로 처리됩니다. 이렇게 하려면 문자열의 모든 문자가 URI로 인코딩 된 문자열을 포함하고, 0x00에서 0xFF 범위에 있어야합니다. 해당 범위를 벗어난 유니 코드 문자는 지원되지 않습니다" + }, + "$base64decode": { + "args": "string", + "desc": "UTF-8코드페이지를 이용하여, Base 64형식의 바이트값을 문자열로 변환합니다." + }, + "$number": { + "args": "arg", + "desc": "`arg`를 다음과 같은 규칙을 사요하여 숫자로 변환합니다. :\n\n - 숫자는 변경되지 않습니다.\n – 올바른 JSON의 숫자는 숫자 그대로 변환됩니다.\n – 그 외의 형식은 에러를 발생합니다." + }, + "$abs": { + "args": "number", + "desc": "`number`의 절대값을 반환합니다." + }, + "$floor": { + "args": "number", + "desc": "`number`를 `number`보다 같거나 작은 정수로 내림하여 반환합니다." + }, + "$ceil": { + "args": "number", + "desc": "`number`를 `number`와 같거나 큰 정수로 올림하여 반환합니다." + }, + "$round": { + "args": "number [, precision]", + "desc": "인수 `number`를 반올림한 값을 반환합니다. 임의의 인수 `precision`에는 반올립에서 사용할 소수점이하의 자릿수를 지정합니다." + }, + "$power": { + "args": "base, exponent", + "desc": "기수 `base`의 값을 지수 `exponent`만큼의 거듭 제곱으로 반환합니다." + }, + "$sqrt": { + "args": "number", + "desc": "인수 `number`의 제곱근을 반환합니다." + }, + "$random": { + "args": "", + "desc": "0이상 1미만의 의사난수를 반환합니다." + }, + "$millis": { + "args": "", + "desc": "Unix Epoch (1970 년 1 월 1 일 UTC)부터 경과된 밀리 초 수를 숫자로 반환합니다. 평가대상식에 포함되는 $millis()의 모든 호출은 모두 같은 값을 반환합니다." + }, + "$sum": { + "args": "array", + "desc": "숫자 배열 `array`의 합계를 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." + }, + "$max": { + "args": "array", + "desc": "숫자 배열 `array`에서 최대값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." + }, + "$min": { + "args": "array", + "desc": "숫자 배열 `array`에서 최소값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." + }, + "$average": { + "args": "array", + "desc": "숫자 배열 `array`에서 평균값을 반환합니다. `array`에 숫자가 아닌 요소가 있는 경우, 에러가 발생합니다." + }, + "$boolean": { + "args": "arg", + "desc": "`arg` 값을 다음의 규칙에 의해 Boolean으로 변환합니다::\n\n - `Boolean` : 변환하지 않음\n - `string`: 비어있음 : `false`\n - `string`: 비어있지 않음 : `true`\n - `number`: `0` : `false`\n - `number`: 0이 아님 : `true`\n - `null` : `false`\n - `array`: 비어있음 : `false`\n - `array`: `true`로 변환된 요소를 가짐 : `true`\n - `array`: 모든 요소가 `false`로 변환 : `false`\n - `object`: 비어있음 : `false`\n - `object`: 비어있지 않음 : `true`\n - `function` : `false`" + }, + "$not": { + "args": "arg", + "desc": "인수의 부정을 Boolean으로 변환합니다. `arg`는 가장먼저boolean으로 변환됩니다." + }, + "$exists": { + "args": "arg", + "desc": "`arg` 식의 평가값이 존재하는 경우 `true`, 식의 평가결과가 미정의인 경우 (예: 존재하지 않는 참조필드로의 경로)는 `false`를 반환합니다." + }, + "$count": { + "args": "array", + "desc": "`array`의 요소 갯수를 반환합니다." + }, + "$append": { + "args": "array, array", + "desc": "두개의 `array`를 병합합니다." + }, + "$sort": { + "args": "array [, function]", + "desc": "배열 `array`의 모든 값을 순서대로 정렬하여 반환합니다.\n\n 비교함수 `function`을 이용하는 경우, 비교함수는 아래와 같은 두개의 인수를 가져야 합니다.\n\n `function(left,right)`\n\n 비교함수는 `left`와 `right`의 두개의 값을 비교하기에, 값을 정렬하는 처리에서 호출됩니다. 만약 요구되는 정렬에서 left값을 `right`값보다 뒤로 두고싶은 경우에는, 비교함수는 치환을 나타내는 Boolean형의 `true`를, 그렇지 않은 경우에는 `false`를 반환해야 합니다." + }, + "$reverse": { + "args": "array", + "desc": "`array`에 포함된 모든 값의 순서를 역순으로 변환하여 반환합니다." + }, + "$shuffle": { + "args": "array", + "desc": "`array`에 포함된 모든 값의 순서를 랜덤으로 반환합니다." + }, + "$zip": { + "args": "array, ...", + "desc": "배열 `array1` ... arrayN`의 위치 0, 1, 2…. 의 값으로 구성된 convolved (zipped) 배열을 반환합니다." + }, + "$keys": { + "args": "object", + "desc": "`object` 키를 포함하는 배열을 반환합니다. 인수가 오브젝트의 배열이면 반환되는 배열은 모든 오브젝트에있는 모든 키의 중복되지 않은 목록이 됩니다." + }, + "$lookup": { + "args": "object, key", + "desc": "`object` 내의 `key`가 갖는 값을 반환합니다. 최초의 인수가 객체의 배열 인 경우, 배열 내의 모든 오브젝트를 검색하여, 존재하는 모든 키가 갖는 값을 반환합니다." + }, + "$spread": { + "args": "object", + "desc": "`object`의 키/값 쌍별로 각 요소가 하나인 오브젝트 배열로 분할합니다. 만일 오브젝트 배열인 경우, 배열의 결과는 각 오브젝트에서 얻은 키/값 쌍의 오브젝트를 갖습니다." + }, + "$merge": { + "args": "array<object>", + "desc": "`object`배열을 하나의 `object`로 병합합니다. 병합결과의 오브젝트는 입력배열내의 각 오브젝트의 키/값 쌍을 포함합니다. 입력 오브젝트가 같은 키를 가질경우, 반환 된 `object`에는 배열 마지막의 오브젝트의 키/값이 격납됩니다. 입력 배열이 오브젝트가 아닌 요소를 포함하는 경우, 에러가 발생합니다." + }, + "$sift": { + "args": "object, function", + "desc": "함수 `function`을 충족시키는 `object` 인수 키/값 쌍만 포함하는 오브젝트를 반환합니다.\n\n 함수 `function` 다음과 같은 인수를 가져야 합니다 :\n\n `function(value [, key [, object]])`" + }, + "$each": { + "args": "object, function", + "desc": "`object`의 각 키/값 쌍에, 함수`function`을 적용한 값의 배열을 반환합니다." + }, + "$map": { + "args": "array, function", + "desc": "`array`의 각 값에 `function`을 적용한 결과로 이루어진 배열을 반환합니다.\n\n 함수 `function`은 다음과 같은 인수를 가져야 합니다.\n\n `function(value[, index[, array]])`" + }, + "$filter": { + "args": "array, function", + "desc": "`array`의 값중, 함수 `function`의 조건을 만족하는 값으로 이루어진 배열을 반환합니다.\n\n 함수 `function`은 다음과 같은 형식을 가져야 합니다.\n\n `function(value[, index[, array]])`" + }, + "$reduce": { + "args": "array, function [, init]", + "desc": "배열의 각 요소값에 함수 `function`을 연속적으로 적용하여 얻어지는 집계값을 반환합니다. `function`의 적용에는 직전의 `function`의 적용결과와 요소값이 인수로 주어집니다.\n\n 함수 `function`은 인수를 두개 뽑아, 배열의 각 요소 사이에 배치하는 중치연산자처럼 작용해야 합니다.\n\n 임의의 인수 `init`에는 집약시의 초기값을 설정합니다." + }, + "$flowContext": { + "args": "string[, string]", + "desc": "플로우 컨텍스트 속성을 취득합니다." + }, + "$globalContext": { + "args": "string[, string]", + "desc": "플로우의 글로벌 컨텍스트 속성을 취득합니다." + }, + "$pad": { + "args": "string, width [, char]", + "desc": "문자수가 인수 `width`의 절대값이상이 되도록, 필요한 경우 여분의 패딩을 사용하여 `string`의 복사본을 반환합니다.\n\n `width`가 양수인 경우, 오른쪽으로 채워지고, 음수이면 왼쪽으로 채워집니다.\n\n 임의의 `char`인수에는 이 함수에서 사용할 패딩을 지정합니다. 지정하지 않는 경우에는, 기본값으로 공백을 사용합니다." + }, + "$fromMillis": { + "args": "number", + "desc": "Unix Epoch (1970 년 1 월 1 일 UTC) 이후의 밀리 초를 나타내는 숫자를 ISO 8601 형식의 타임 스탬프 문자열로 변환합니다." + }, + "$formatNumber": { + "args": "number, picture [, options]", + "desc": "`number`를 문자열로 변환하고 `picture` 문자열에 지정된 표현으로 서식을 변경합니다.\n\n 이 함수의 동작은 XPath F&O 3.1사양에 정의된 XPath/XQuery함수의 `fn:format-number`의 동작과 같습니다. 인수의 문자열 `picture`은 `fn:format-number` 과 같은 구문으로 수치의 서식을 정의합니다.\n\n 임의의 제3 인수 `option`은 소수점기호와 같은 기본 로케일 고유의 서식설정문자를 덮어쓰는데에 사용됩니다. 이 인수를 지정할 경우, XPath F&O 3.1사양의 수치형식에 기술되어있는 name/value 쌍을 포함하는 오브젝트여야 합니다." + }, + "$formatBase": { + "args": "number [, radix]", + "desc": "`number`를 인수 `radix`에 지정한 값을 기수로하는 문자열로 변환합니다. `radix`가 지정되지 않은 경우, 기수 10이 기본값으로 설정됩니다. `radix`에는 2~36의 값을 설정할 수 있고, 그 외의 값의 경우에는 에러가 발생합니다." + }, + "$toMillis": { + "args": "timestamp", + "desc": "ISO 8601 형식의 `timestamp`를 Unix Epoch (1970 년 1 월 1 일 UTC) 이후의 밀리 초 수로 변환합니다. 문자열이 올바른 형식이 아닌 경우 에러가 발생합니다." + }, + "$env": { + "args": "arg", + "desc": "환경변수를 값으로 반환합니다.\n\n 이 함수는 Node-RED 정의 함수입니다." + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/pt-BR/editor.json b/packages/node_modules/@node-red/editor-client/locales/pt-BR/editor.json new file mode 100644 index 000000000..fe7ca27ba --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/pt-BR/editor.json @@ -0,0 +1,1195 @@ +{ + "common": { + "label": { + "name": "Nome", + "ok": "O.K.", + "done": "Feito", + "cancel": "Cancelar", + "delete": "Deletar", + "close": "Fechar", + "load": "Carregar", + "save": "Salvar", + "import": "Importar", + "export": "Exportar", + "back": "Voltar", + "next": "Próximo", + "clone": "Clonar", + "cont": "Continuar", + "style": "Estilo", + "line": "Contorno", + "fill": "Preenchido", + "label": "Etiqueta", + "color": "Cor", + "position": "Posição", + "enable": "Habilitado", + "disable": "Desabilitado", + "upload": "Subir" + }, + "type": { + "string": "cadeia de caracteres", + "number": "numero", + "boolean": "booliano", + "array": "matriz", + "buffer": "armazenamento temporário", + "object": "objeto", + "jsonString": "cadeia de caracteres JSON", + "undefined": "indefinido", + "null": "nulo" + } + }, + "event": { + "loadPlugins": "Carregando programas adicionais", + "loadPalette": "Carregando Paleta", + "loadNodeCatalogs": "Carregando Catálogo de Nós", + "loadNodes": "Carregando Nós __count__", + "loadFlows": "Carregando Fluxos", + "importFlows": "Adicionar Fluxos ao espaço de trabalho", + "importError": "

Erro ao adicionar fluxos

__message__

", + "loadingProject": "Carregando projeto" + }, + "workspace": { + "defaultName": "Fluxo __number__", + "editFlow": "Editar Fluxo: __name__", + "confirmDelete": "Confirmar exclusão", + "delete": "Tem certeza de que deseja excluir '__label__'?", + "dropFlowHere": "Solte o fluxo aqui", + "addFlow": "Adicionar fluxo", + "addFlowToRight": "Adicionar fluxo à direita", + "hideFlow": "Esconder fluxo", + "hideOtherFlows": "Esconder outros fluxos", + "showAllFlows": "Mostrar todos os fluxos", + "hideAllFlows": "Esconder todos os fluxos", + "hiddenFlows": "Listar __count__ fluxo escondido", + "hiddenFlows_plural": "Listar __count__ fluxos escondidos", + "showLastHiddenFlow": "Mostrar último fluxo escondido", + "listFlows": "Listar Fluxos", + "listSubflows": "Listar subfluxos", + "status": "Estado", + "enabled": "Habilitar", + "disabled": "Desabilitar", + "info": "Descrição", + "selectNodes": "Clique em nós para selecionar" + }, + "menu": { + "label": { + "view": { + "view": "Visão", + "grid": "Grade", + "storeZoom": "Restaura nível do zoom ao carregar", + "storePosition": "Restaura posição de rolamento ao carregar", + "showGrid": "Mostre as grades", + "snapGrid": "Ajustar à grade", + "gridSize": "Tamanho da grade", + "textDir": "Direção do texto", + "defaultDir": "Padrão", + "ltr": "Esquerta-para-direita", + "rtl": "Direita-para-esquerda", + "auto": "Contextual", + "language": "Linguagem", + "browserDefault": "Padrão do navegador" + }, + "sidebar": { + "show": "Mostrar barra lateral" + }, + "palette": { + "show": "Mostrar paleta" + }, + "edit": "Editar", + "settings": "Configurações", + "userSettings": "Configurações do usuário", + "nodes": "Nós", + "displayStatus": "Mostrar estados do nó", + "displayConfig": "Configuração dos nós", + "import": "Importar", + "export": "Exportar", + "search": "Procurar fluxos", + "searchInput": "procure seus fluxos", + "subflows": "subfluxos", + "createSubflow": "Criar Subfluxo", + "selectionToSubflow": "Seleção para subfluxo", + "flows": "Fluxos", + "add": "Adicionar", + "delete": "Apagar", + "keyboardShortcuts": "Atalhos do teclado", + "login": "Ingressar", + "logout": "Sair", + "editPalette": "Gerenciar paleta", + "other": "Outro", + "showTips": "Mostre as dicas", + "showWelcomeTours": "Mostrar excursão guiada para novas versões", + "help": "sítio do Node-RED", + "projects": "Projetos", + "projects-new": "Novo", + "projects-open": "Abrir", + "projects-settings": "Configurações do projeto", + "showNodeLabelDefault": "Mostrar rótulo de nós recém-adicionados", + "codeEditor": "Editor de código", + "groups": "Grupos", + "groupSelection": "Agrupar seleção", + "ungroupSelection": "Desagrupar seleção", + "groupMergeSelection": "Mesclar seleção", + "groupRemoveSelection": "Remover do grupo", + "arrange": "Organizar", + "alignLeft": "Alinhar à esquerda", + "alignCenter": "Alinhar ao centro", + "alignRight": "Alinhar à direita", + "alignTop": "Alinhar ao início", + "alignMiddle": "Alinhar ao meio", + "alignBottom": "Alinhar ao final ", + "distributeHorizontally": "Distribuir horizontalmente", + "distributeVertically": "Distribuir verticalmente", + "moveToBack": "Mover para detrás", + "moveToFront": "Mover para a frente", + "moveBackwards": "Volta", + "moveForwards": "Avança" + } + }, + "actions": { + "toggle-navigator": "Alternar navegador", + "zoom-out": "Diminuir zoom ", + "zoom-reset": "Reiniciar zoom", + "zoom-in": "Aumentar zoom", + "search-flows": "Procura fluxos", + "search-prev": "Anterior", + "search-next": "Próximo", + "search-counter": "\"__term__\" __result__ of __count__" + }, + "user": { + "loggedInAs": "Acessado como __name__", + "username": "Nome do Usuário", + "password": "Senha", + "login": "Ingressar", + "loginFailed": "Falha ao ingressar", + "notAuthorized": "Não autorizado", + "errors": { + "settings": "Você deve ingressar para acessar as configurações", + "deploy": "Você deve ingressar para implementar mudanças", + "notAuthorized": "Você precisa ter ingressado para realizar esta ação" + } + }, + "notification": { + "state": { + "flowsStopped": "Fluxos parados", + "flowsStarted": "Fluxos iniciados" + }, + "warning": "Aviso: __message__", + "warnings": { + "undeployedChanges": "o nó tem mudanças não implementadas", + "nodeActionDisabled": "ações do nó desabilitadas", + "nodeActionDisabledSubflow": "ações do nó desabilitadas dentro do subfluxo", + "missing-types": "

Fluxos parados devido a tipos de nós ausentes.

", + "missing-modules": "

Os fluxos pararam devido à falta de módulos.

", + "safe-mode": "

Fluxos parados no modo de segurança.

Você pode modificar seus fluxos e implementar as mudanças para reiniciar.

", + "restartRequired": "O Node-RED deve ser reiniciado para habilitar os módulos atualizados", + "credentials_load_failed": "

Os fluxos pararam porque as credenciais não puderam ser descriptografadas.

O arquivo de credencial de fluxo está criptografado, mas a chave de criptografia do projeto está ausente ou é inválida.

", + "credentials_load_failed_reset": "

As credenciais não puderam ser descriptografadas

O arquivo de credencial do fluxo está criptografado, mas a chave de criptografia do projeto está ausente ou é inválida.

O arquivo de credencial de fluxo será redefinido na próxima implantação. Todas as credenciais de fluxo existentes serão apagadas.

", + "missing_flow_file": "

Arquivo de fluxo de projeto não encontrado.

O projeto não está configurado com um arquivo de fluxo.

", + "missing_package_file": "

Arquivo de pacote de projeto não encontrado.

O projeto está sem um arquivo package.json.

", + "project_empty": "

O projeto está vazio.

Você deseja criar um conjunto padrão de arquivos de projeto?
Caso contrário, você terá que adicionar arquivos manualmente ao projeto fora do editor.

", + "project_not_found": "

Projeto '__project__' não encontrado.

", + "git_merge_conflict": "

A mesclagem automática de alterações falhou.

Corrija os conflitos não mesclados e confirme os resultados.

" + }, + "error": "Erro: __message__", + "errors": { + "lostConnection": "Conexão perdida com o servidor, reconectando...", + "lostConnectionReconnect": "Conexão perdida com o servidor, reconectando em __time__s.", + "lostConnectionTry": "Tentar novamente", + "cannotAddSubflowToItself": "Não é possível adicionar subfluxo a si mesmo", + "cannotAddCircularReference": "Não é possível adicionar subfluxo - referência circular detectada", + "unsupportedVersion": "

Usando uma versão não suportada do Node.js

Você deve atualizar para a versão mais recente do Node.js LTS

", + "failedToAppendNode": "

Falha ao carregar '__module__'

__error__

" + }, + "project": { + "change-branch": "Mudar para ramo local'__project__'", + "merge-abort": "Mesclagem Git abortada", + "loaded": "Projeto '__project__' carregado", + "updated": "Projeto '__project__' atualizado", + "pull": "Projeto '__project__' recarregado", + "revert": "Projeto '__project__' revertido", + "merge-complete": "Mesclagem Git completa", + "setupCredentials": "Configurar credenciais", + "setupProjectFiles": "Configurar arquivos de projeto", + "no": "Não obrigado", + "createDefault": "Criar arquivos de projeto padrão", + "mergeConflict": "Mostrar conflitos de mesclagem" + }, + "label": { + "manage-project-dep": "Gerenciar dependências do projeto", + "setup-cred": "Configurar credenciais", + "setup-project": "Arquivos de projeto de instalação", + "create-default-package": "Criar arquivo de pacote padrão", + "no-thanks": "Não obrigado", + "create-default-project": "Crie arquivos de projeto padrão", + "show-merge-conflicts": "Mostrar conflitos de mesclagem", + "unknownNodesButton": "Procura por nós desconhecidos" + } + }, + "clipboard": { + "clipboard": "Área de transferência", + "nodes": "Nós", + "node": "__count__ nó", + "node_plural": "__count__ nós", + "configNode": "__count__ nó de configuração", + "configNode_plural": "__count__ nós de configuração", + "group": "__count__ grupo", + "group_plural": "__count__ grupos", + "flow": "__count__ fluxo", + "flow_plural": "__count__ fluxos", + "subflow": "__count__ subfluxo", + "subflow_plural": "__count__ subfluxos", + "replacedNodes": "__count__ nó substituído", + "replacedNodes_plural": "__count__ nós substituídos", + "pasteNodes": "Colar fluxo JSON ou", + "selectFile": "selecione um arquivo para importar", + "importNodes": "Importar nós", + "exportNodes": "Exportar nós", + "download": "Baixar", + "importUnrecognised": "Tipo não reconhecido importado:", + "importUnrecognised_plural": "Tipos não reconhecidos importados:", + "importDuplicate": "Nó duplicado importado:", + "importDuplicate_plural": "Nós duplicados importados:", + "nodesExported": "Nós exportados para a área de transferência", + "nodesImported": "Importado:", + "nodeCopied": "__count__ nó copiado", + "nodeCopied_plural": "__count__ nós copiados", + "groupCopied": "__count__ grupo copiado", + "groupCopied_plural": "__count__ grupos copiados", + "groupStyleCopied": "Estilo de grupo copiado", + "invalidFlow": "Fluxo inválido: __message__", + "recoveredNodes": "Nós recuperados", + "recoveredNodesInfo": "Os nós neste fluxo não tinham um ID de fluxo válido quando foram importados. Eles foram adicionados a este fluxo para que você possa restaurá-los ou excluí-los.", + "recoveredNodesNotification": "

Nós importados sem um ID de fluxo válido

Eles foram adicionados a um novo fluxo chamado '__flowName__'.

", + "export": { + "selected": "nós selecionados", + "current": "fluxo corrente", + "all": "todos os fluxos", + "compact": "compactar", + "formatted": "formatado", + "copy": "Copiar para área de transferência", + "export": "Exportar biblioteca", + "exportAs": "Exportar como", + "overwrite": "Substituir", + "exists": "

\"__file__\" já existe.

Deseja substituir?

" + }, + "import": { + "import": "Importar para", + "importSelected": "Importar selecionado", + "importCopy": "Importar cópia", + "viewNodes": "Ver nós...", + "newFlow": "novo fluxo", + "replace": "substituir", + "errors": { + "notArray": "A entrada não é uma matriz JSON", + "itemNotObject": "A entrada não é um fluxo válido - o item __index__ não é um objeto de nó", + "missingId": "A entrada não é um fluxo válido - item __index__ faltando propriedade 'id'", + "missingType": "A entrada não é um fluxo válido - item __index__ faltando propriedade 'type'" + }, + "conflictNotification1": "Alguns dos nós que você está importando já existem em sua área de trabalho.", + "conflictNotification2": "Selecione quais nós importar e se deseja substituir os nós existentes ou importar uma cópia deles." + }, + "copyMessagePath": "Caminho copiado", + "copyMessageValue": "Valor copiado", + "copyMessageValue_truncated": "Valor truncado copiado" + }, + "deploy": { + "deploy": "implementar", + "full": "Cheio", + "fullDesc": "Implementar tudo no espaço de trabalho", + "modifiedFlows": "Fluxos Modificados", + "modifiedFlowsDesc": "Implantar apenas fluxos que contêm nós alterados", + "modifiedNodes": "Nós Modificados", + "modifiedNodesDesc": "Implantar apenas nós que mudaram", + "startFlows": "Iniciar", + "startFlowsDesc": "Iniciar Fluxos", + "stopFlows": "Parar", + "stopFlowsDesc": "Parar Fluxos", + "restartFlows": "Reiniciar Fluxos", + "restartFlowsDesc": "Reinicia os fluxos atuais implantados", + "successfulDeploy": "Implementado com sucesso", + "successfulRestart": "Fluxos reiniciados com sucesso", + "deployFailed": "Implementação falhou: __message__", + "unusedConfigNodes": "Você tem alguns nós de configuração não utilizados.", + "unusedConfigNodesButton": "Procurar por nós de configuração não utilizados", + "unknownNodesButton": "Procurar por nós desconhecidos", + "invalidNodesButton": "Procurar por nós inválidos", + "errors": { + "noResponse": "sem resposta do servidor" + }, + "confirm": { + "button": { + "ignore": "Ignorar", + "confirm": "Confirmar implantação", + "review": "Rever alterações", + "cancel": "Cancelar", + "merge": "Mesclar", + "overwrite": "Ignorar e implantar" + }, + "undeployedChanges": "Você tem alterações não implementadas. \n\n Se sair desta página, essas alterações serão perdidas.", + "improperlyConfigured": "O espaço de trabalho contém alguns nós que não estão configurados corretamente:", + "unknown": "O espaço de trabalho contém alguns tipos de nós desconhecidos:", + "confirm": "Tem certeza que deseja implantar?", + "doNotWarn": "não avisar sobre isso de novo ", + "conflict": "O servidor está executando um conjunto de fluxos mais recente.", + "backgroundUpdate": "Os fluxos no servidor foram atualizados.", + "conflictChecking": "Verificando se as alterações podem ser mescladas automaticamente", + "conflictAutoMerge": "As alterações não incluem conflitos e podem ser mescladas automaticamente.", + "conflictManualMerge": "As mudanças incluem conflitos que devem ser resolvidos antes de serem implantados.", + "plusNMore": "+ __count__ mais" + } + }, + "eventLog": { + "title": "Registro de Eventos", + "view": "Registro de visão" + }, + "diff": { + "unresolvedCount": "__count__ conflito não resolvido ", + "unresolvedCount_plural": "__count__ conflitos não resolvidos ", + "globalNodes": "Nós globais ", + "flowProperties": "Propriedades de fluxo ", + "type": { + "added": "adicionado", + "changed": "alterado", + "unchanged": "inalterado ", + "deleted": "Excluído", + "flowDeleted": "fluxo excluído ", + "flowAdded": "fluxo adicionado ", + "movedTo": "movido para __id__ ", + "movedFrom": "movido de __id__" + }, + "nodeCount": "__count__ nó", + "nodeCount_plural": "__count__ nós", + "local": "Mudanças locais ", + "remote": "Mudanças remotas ", + "reviewChanges": "Rever alterações ", + "noBinaryFileShowed": "Não é possível mostrar o conteúdo do arquivo binário ", + "viewCommitDiff": "Ver alterações de confirmação ", + "compareChanges": "Compare as alterações ", + "saveConflict": "Salvar resolução de conflito ", + "conflictHeader": "__resolved__ of __unresolved__ conflitos resolvidos", + "commonVersionError": "A versão comum não contém JSON válido: ", + "oldVersionError": "A versão antiga não contém JSON válido: ", + "newVersionError": "A nova versão não contém JSON válido: " + }, + "subflow": { + "editSubflowInstance": "Editar instância de subfluxo: __name__", + "editSubflow": "Editar modelo de subfluxo: __name__", + "edit": "Editar modelo de subfluxo", + "subflowInstances": "Existe uma instância __count__ deste modelo de subfluxo", + "subflowInstances_plural": "Existem __count__ instâncias deste modelo de subfluxo", + "editSubflowProperties": "editar propriedades", + "input": "entradas:", + "output": "saídas:", + "status": "estados do nó", + "deleteSubflow": "excluir subfluxo", + "confirmDelete": "Tem certeza de que deseja excluir este subfluxo?", + "info": "Descrição", + "category": "Categoria", + "module": "Módulo", + "license": "Licença", + "licenseNone": "Nenhum", + "licenseOther": "Outro", + "type": "Tipo de nó", + "version": "Versão", + "versionPlaceholder": "x.y.z", + "keys": "Palavras-chave", + "keysPlaceholder": "Palavras-chave separadas por vírgulas", + "author": "Autor", + "authorPlaceholder": "Seu nome ", + "desc": "Descrição", + "env": { + "restore": "Restaurar para o subfluxo padrão", + "remove": "Remover variável de ambiente" + }, + "errors": { + "noNodesSelected": "Não é possível criar subfluxo : nenhum nó selecionado", + "multipleInputsToSelection": "Não é possível criar subfluxo : várias entradas para seleção" + } + }, + "group": { + "editGroup": "Editar grupo: __name__", + "errors": { + "cannotCreateDiffGroups": "Não é possível criar grupo usando nós de grupos diferentes", + "cannotAddSubflowPorts": "Não é possível adicionar portas de subfluxo a um grupo" + } + }, + "editor": { + "configEdit": "Editar", + "configAdd": "Adicionar", + "configUpdate": "Atualizar", + "configDelete": "Excluir", + "nodesUse": "__count__ o nó usa esta configuração", + "nodesUse_plural": "__count__ os nós usam esta configuração", + "addNewConfig": "Adicionar novo __type__ configuração de nó", + "editNode": "Editar __type__ nó", + "editConfig": "Editar __type__ configuração de nó", + "addNewType": "Adicionar novo __type__...", + "nodeProperties": "propriedades do nó", + "label": "Etiqueta", + "color": "Cor", + "portLabels": "Rótulo da porta", + "labelInputs": "Entradas", + "labelOutputs": "Saídas", + "settingIcon": "Ícone", + "default": "padrão", + "noDefaultLabel": "nenhum", + "defaultLabel": "usar etiqueta padrão", + "searchIcons": "Procurar ícones", + "useDefault": "usar padrão", + "description": "Descrição", + "show": "Mostrar", + "hide": "Esconder", + "locale": "Selecione o idioma da interface", + "icon": "Ícone", + "inputType": "Tipo de entrada", + "selectType": "selecione os tipos...", + "loadCredentials": "Carregando credenciais de nó", + "inputs": { + "input": "entrada", + "select": "seleção", + "checkbox": "caixa de seleção", + "spinner": "caixa de mostruário giratório", + "none": "nenhum", + "hidden": "ocultar propriedade" + }, + "types": { + "str": "cadeia de caracteres", + "num": "numero", + "bool": "booliano", + "json": "JSON", + "bin": "armazenamento temporário", + "env": "variável de ambiente", + "cred": "credencial" + }, + "menu": { + "input": "entrada", + "select": "seleção", + "checkbox": "caixa de seleção", + "spinner": "roleta", + "hidden": "Somente etiqueta" + }, + "select": { + "label": "Etiqueta", + "value": "Valor" + }, + "spinner": { + "min": "Mínimo", + "max": "Máximo" + }, + "errors": { + "scopeChange": "Alterar o escopo o tornará indisponível para nós em outros fluxos que o utilizam", + "invalidProperties": "Propriedades inválidas:", + "credentialLoadFailed": "Falha ao carregar credenciais de nó" + } + }, + "keyboard": { + "title": "Atalhos do teclado", + "keyboard": "Teclado", + "filterActions": "ações de filtro", + "shortcut": "atalho", + "scope": "escopo", + "unassigned": "Não atribuído", + "global": "global", + "workspace": "área de trabalho", + "selectAll": "Selecionar todos", + "selectNone": "Selecionar nenhum", + "selectAllConnected": "Selecione todos os nós conectados", + "addRemoveNode": "Adicionar / remover nó da seleção", + "editSelected": "Editar nó selecionado", + "deleteSelected": "Excluir nós selecionados ou link", + "importNode": "Importar nós", + "exportNode": "Exportar nós", + "nudgeNode": "Mover nós selecionados (1px)", + "moveNode": "Mover nós selecionados (20px)", + "toggleSidebar": "Alternar barra lateral", + "togglePalette": "Alternar paleta", + "copyNode": "Copiar nós selecionados", + "cutNode": "Cortar nós selecionados", + "pasteNode": "Colar nós", + "copyGroupStyle": "Copiar estilo de grupo", + "pasteGroupStyle": "Colar estilo de grupo", + "undoChange": "Desfazer", + "redoChange": "Refazer", + "searchBox": "Abrir caixa de pesquisa", + "managePalette": "Gerenciar paleta", + "actionList": "Lista de Ação", + "splitWireWithLinks": "Separa a seleção com os nós de ligação" + }, + "library": { + "library": "Biblioteca", + "openLibrary": "Biblioteca aberta ...", + "saveToLibrary": "Salvar na biblioteca ...", + "typeLibrary": "__type__ biblioteca", + "unnamedType": "Sem nome __tipo__", + "exportedToLibrary": "Nós exportados para a biblioteca", + "dialogSaveOverwrite": "Já existe um __libraryType__ chamado __libraryName__. Substituir?", + "invalidFilename": "Nome de arquivo inválido", + "savedNodes": "Nós salvos", + "savedType": "Salvo __tipo__", + "saveFailed": "Falha ao salvar: __message__", + "newFolder": "Nova pasta", + "types": { + "local": "Local", + "examples": "Exemplos" + } + }, + "palette": { + "noInfo": "sem informação disponível", + "filter": "filtrar nós", + "search": "procurar módulos", + "addCategory": "Adicionar novo...", + "label": { + "subflows": "subfluxos", + "network": "rede", + "common": "comum", + "input": "entrada", + "output": "saída", + "function": "função", + "sequence": "sequencia", + "parser": "analisador sintático", + "social": "social", + "storage": "armazenar", + "analysis": "análise", + "advanced": "avançado" + }, + "actions": { + "collapse-all": "Recolher todas as categorias", + "expand-all": "Expandir todas as categorias" + }, + "event": { + "nodeAdded": "Nó adicionado à paleta:", + "nodeAdded_plural": "Nós adicionados à paleta:", + "nodeRemoved": "Nó removido da paleta:", + "nodeRemoved_plural": "Nós removidos da paleta:", + "nodeEnabled": "Nó habilitado:", + "nodeEnabled_plural": "Nós habilitados:", + "nodeDisabled": "Nó desativado:", + "nodeDisabled_plural": "Nós desativados:", + "nodeUpgraded": "Módulo de nó __module__ atualizado para a versão __version__", + "unknownNodeRegistered": "Erro carregando o nó:
  • __type__
    __error__
" + }, + "editor": { + "title": "Gerenciar paleta", + "palette": "Paleta", + "times": { + "seconds": "segundos atrás", + "minutes": "minutos atrás", + "minutesV": "__count__ minutos atrás", + "hoursV": "__count__ hora atrás", + "hoursV_plural": "__count__ horas atrás", + "daysV": "__count__ dia atrás", + "daysV_plural": "__count__ dias atrás", + "weeksV": "__count__ semana atrás", + "weeksV_plural": "__count__ semanas atrás", + "monthsV": "__count__ mês atrás", + "monthsV_plural": "__count__ meses atrás", + "yearsV": "__count__ ano atrás", + "yearsV_plural": "__count__ anos atrás", + "yearMonthsV": "__y__ ano, __count__ mês atrás", + "yearMonthsV_plural": "__y__ ano, __count__ meses atrás", + "yearsMonthsV": "__y__ anos, __count__ mês atrás", + "yearsMonthsV_plural": "__y__ anos, __count__ meses atrás" + }, + "nodeCount": "__label__ node", + "nodeCount_plural": "__label__ nodes", + "moduleCount": "módulo __count__ disponível", + "moduleCount_plural": "__count__ módulos disponíveis", + "inuse": "em uso", + "enableall": "habilitar todos", + "disableall": "desabilitar todos", + "enable": "habilitar", + "disable": "desabilitar", + "remove": "remover", + "update": "atualizar para __version__", + "updated": "atualizado", + "install": "instalar", + "installed": "instalado", + "conflict": "conflito", + "conflictTip": "

Este módulo não pode ser instalado porque inclui um
tipo de nó que já foi instalado

Conflitos com __module__

" , + "loading": "Carregando catálogos ...", + "tab-nodes": "Nós", + "tab-install": "Instalar", + "sort": "ordenar:", + "sortAZ": "a-z", + "sortRecent": "recente", + "more": "+ __count__ mais", + "upload": "Carregar arquivo tgz do módulo", + "refresh": "Atualizar lista de módulos", + "errors": { + "catalogLoadFailed": "

Falha ao carregar o catálogo de nós.

Verifique o console do navegador para obter mais informações

", + "installFailed": "

Falha ao instalar: __module__

__message__

Verifique o log para obter mais informações

", + "removeFailed": "

Falha ao remover: __module__

__message__

Verifique o log para obter mais informações

", + "updateFailed": "

Falha ao atualizar: __module__

__message__

Verifique o log para obter mais informações

", + "enableFailed": "

Falha ao ativar: __module__

__message__

Verifique o log para obter mais informações

", + "disableFailed": "

Falha ao desativar: __module__

__message__

Verifique o log para obter mais informações

" + }, + "confirm": { + "install": { + "body": "

Instalando '__module__'

Antes de instalar, leia a documentação do nó. Alguns nós têm dependências que não podem ser resolvidas automaticamente e podem exigir a reinicialização do Node-RED.

", + "title": "Instalar nós" + }, + "remove": { + "body": "

Remover '__module__'

Remover o nó irá desinstalá-lo do Node-RED. O nó pode continuar a usar recursos até que o Node-RED seja reiniciado.

", + "title": "Remover nós" + }, + "update": { + "body": "

Atualizar '__module__'

Atualizar o nó exigirá a reinicialização do Node-RED para concluir a atualização. Isso deve ser feito manualmente.

", + "title": "Atualizar nós" + }, + "cannotUpdate": { + "body": "Uma atualização para este nó está disponível, mas não está instalada em um local que o gerenciador de paletas possa atualizar.

Consulte a documentação para saber como atualizar este nó." + }, + "button": { + "review": "Abrir informação do nó", + "install": "Instalar", + "remove": "Remover", + "update": "Atualizar" + } + } + } + }, + "sidebar": { + "info": { + "name": "Informação", + "tabName": "Nome", + "label": "informações", + "node": "Nó", + "type": "Tipo", + "group": "Grupo", + "module": "Módulo", + "id": "ID", + "status": "Estado", + "enabled": "Habilitado", + "disabled": "Desabilitado", + "subflow": "Subfluxo", + "instances": "Instâncias", + "properties": "Propriedades", + "info": "Informação", + "desc": "Descrição", + "blank": "branco", + "null": "nulo", + "showMore": "mostrar mais", + "showLess": "mostrar menos", + "flow": "Fluxo", + "selection": "Seleção", + "nodes": "__count__ nós", + "flowDesc": "Descrição do Fluxo", + "subflowDesc": "Descrição do Subfluxo", + "nodeHelp": "Ajuda do Nó", + "none": "Nenhum", + "arrayItems": "__count__ items", + "showTips": "Você pode abrir as dicas a partir do painel de configurações", + "outline": "Contorno", + "empty": "vazio", + "globalConfig": "Nós de configuração global", + "triggerAction": "Ação de gatilho", + "find": "Encontre no espaço de trabalho" + }, + "help": { + "name": "Ajuda", + "label": "ajuda", + "search": "Ajuda sobre a procura", + "nodeHelp": "Ajuda sobre o nó", + "showHelp": "Mostrar ajuda", + "showInOutline": "Mostrar no contorno", + "showTopics": "Mostrar tópicos", + "noHelp": "Nenhum tópico de ajuda selecionado", + "changeLog": "Log de alteração" + }, + "config": { + "name": "Configuração dos nós", + "label": "configuração", + "global": "Em todos os fluxos", + "none": "nenhum", + "subflows": "subfluxos", + "flows": "fluxos", + "filterAll": "todos", + "showAllConfigNodes": "Ver todas as configurações dos nós", + "filterUnused": "não utilizados", + "showAllUnusedConfigNodes": "Mostrar todas os nós de configuração não usados", + "filtered": "__count__ hidden" + }, + "context": { + "name": "Contexto dos Dados", + "label": "contexto", + "none": "nenhum selecionado", + "refresh": "atualize para carregar", + "empty": "vazio", + "node": "Nó", + "flow": "Fluxo", + "global": "Global", + "deleteConfirm": "Você tem certeza que deseja remover este item?", + "autoRefresh": "Atualizar na mudança de seleção", + "refrsh": "Atualizar", + "delete": "Remover" + }, + "palette": { + "name": "Gerenciamento de paleta", + "label": "paleta" + }, + "project": { + "label": "projeto", + "name": "Projeto", + "description": "Descrição", + "dependencies": "Dependências", + "settings": "Configurações", + "noSummaryAvailable": "Nenhum resumo disponível", + "editDescription": "Editar a descrição do projeto", + "editDependencies": "Editar dependências do projeto", + "noDescriptionAvailable": "Descrição não disponível", + "editReadme": "Editar README.md", + "showProjectSettings": "Mostrar configurações do projeto", + "projectSettings": { + "title": "Configurações do Projeto", + "edit": "editar", + "none": "Nenhum", + "install": "instalar", + "removeFromProject": "remover do projeto", + "addToProject": "adicionar ao projeto", + "files": "Arquivos", + "flow": "Fluxos", + "credentials": "Credenciais", + "package": "Pacote", + "packageCreate": "O arquivo será criado quando as alterações forem salvas", + "fileNotExist": "Arquivo não existe", + "selectFile": "Selecione o arquivo", + "invalidEncryptionKey": "Chave de criptografia inválida", + "encryptionEnabled": "Criptografia habilitada", + "encryptionDisabled": "Criptografia desabilitada", + "setTheEncryptionKey": "Defina a chave de criptografia", + "resetTheEncryptionKey": "Redefina a chave de criptografia", + "changeTheEncryptionKey": "Troque a chave de criptografia", + "currentKey": "Chave atual", + "newKey": "Nova chave", + "credentialsAlert": "Isso excluirá todas as credenciais existentes", + "versionControl": "Controle de versão", + "branches": "Ramos", + "noBranches": "Sem ramos", + "deleteConfirm": "Tem certeza de que deseja excluir o ramo local '__name__'? Isto não pode ser desfeito.", + "unmergedConfirm": "O ramo local '__name__' tem alterações não mescladas que serão perdidas. Tem certeza que deseja excluir?", + "deleteUnmergedBranch": "Excluir ramo não mesclado", + "gitRemotes": "Git remoto", + "addRemote": "adicionar remoto", + "addRemote2": "Adicionar remoto", + "remoteName": "Nome do remoto", + "nameRule": "Deve conter apenas A-Z 0-9 _ -", + "url": "URL", + "urlRule": "https://, ssh:// ou file://", + "urlRule2": "Não inclua o nome de usuário / senha na URL", + "noRemotes": "Sem remotos", + "deleteRemoteConfrim": "Tem certeza de que deseja excluir o remoto '__name__'?", + "deleteRemote": "Excluir remoto" + }, + "userSettings": { + "committerDetail": "Detalhes do Cometedor", + "committerTip": "Deixe em branco para usar o padrão do sistema", + "userName": "Nome de usuário", + "email": "Email", + "workflow": "Fluxo de trabalho", + "workfowTip": "Escolha seu fluxo de trabalho git preferido", + "workflowManual": "Manual", + "workflowManualTip": "Todas as alterações devem ser confirmadas manualmente na barra lateral 'histórico'", + "workflowAuto": "Automático", + "workflowAutoTip": "As alterações são confirmadas automaticamente a cada implantação", + "sshKeys": "Chaves SSH", + "sshKeysTip": "Permite que você crie conexões seguras para repositórios git remotos.", + "add": "adicionar chave", + "addSshKey": "Adicionar chave SSH", + "addSshKeyTip": "Gerar um novo par de chaves públicas / privadas", + "name": "Nome", + "nameRule": "Deve conter apenas A-Z 0-9 _ -", + "passphrase": "Frase de passe", + "passphraseShort": "Frase de passe muito curta", + "optional": "Opcional", + "cancel": "Cancelar", + "generate": "Gerar chave", + "noSshKeys": "Sem chaves SSH", + "copyPublicKey": "Copiar chave pública para a área de transferência", + "delete": "Excluir chave key", + "gitConfig": "Configuração do Git", + "deleteConfirm": "Tem certeza de que deseja excluir a chave SSH __name__? Isso não pode ser desfeito." + }, + "versionControl": { + "unstagedChanges": "Alterações não realizadas", + "stagedChanges": "Alterações realizadas", + "unstageChange": "Desfazer alteração", + "stageChange": "Realizar alteração", + "unstageAllChange": "Desfazer todas as alterações", + "stageAllChange": "Realizar todas as alterações", + "commitChanges": "Cometer alterações", + "resolveConflicts": "Resolver conflitos", + "head": "CABEÇA", + "staged": "Alterado", + "unstaged": "Desfeita Alteração", + "local": "Local", + "remote": "Remoto", + "revert": "Tem certeza de que deseja reverter as alterações para '__file__'? Essa ação não poderá ser desfeita.", + "revertChanges": "Reverter alterações", + "localChanges": "Mudanças locais", + "none": "Nenhum", + "conflictResolve": "Todos os conflitos resolvidos. Cometa as alterações para concluir a mesclagem.", + "localFiles": "Arquivos locais", + "all": "todos", + "unmergedChanges": "Alterações não mescladas", + "abortMerge": "interromper mesclagem", + "commit": "cometer", + "changeToCommit": "Alterações para cometer", + "commitPlaceholder": "Digite sua mensagem de cometimento", + "cancelCapital": "Cancelar", + "commitCapital": "Cometer", + "commitHistory": "Histórico do cometimento", + "branch": "Ramo:", + "moreCommits": "mais cometimentos", + "changeLocalBranch": "Alterar ramo local", + "createBranchPlaceholder": "Encontrar ou criar um ramo", + "upstream": "subir do cliente ao servidor", + "localOverwrite": "Você tem alterações locais que seriam sobrescritas alterando o ramo. Você deve cometer ou desfazer essas alterações primeiro.", + "manageRemoteBranch": "Gerenciar ramo remoto", + "unableToAccess": "Incapaz de acessar o repositório remoto", + "retry": "Tentar novamente", + "setUpstreamBranch": "Definir como ramo de subida do cliente para o servidor", + "createRemoteBranchPlaceholder": "Encontrar ou criar um ramo remoto", + "trackedUpstreamBranch": "O ramo criado será definido como o ramo de subida do cliente para o servidor rastreado.", + "selectUpstreamBranch": "O ramo será criado. Selecione abaixo para defini-lo como o ramo de subida do cliente para o servidor rastreado.", + "pushFailed": "falha ao empurrar porque o remoto tem cometimentos mais recentes. Puxe e mescle primeiro, depois empurre novamente.", + "push": "empurrar", + "pull": "puxar", + "unablePull": "

Incapaz de puxar as alterações remotas; suas alterações locais não realizadas seriam sobrescritas.

Cometa suas alterações e tente novamente.

", + "showUnstagedChanges": "Mostrar alterações não realizadas", + "connectionFailed": "Não foi possível conectar ao repositório remoto:", + "pullUnrelatedHistory": "

O remoto tem um histórico não relacionado de cometimentos.

Tem certeza que deseja puxar as mudanças para o seu repositório local?

", + "pullChanges": "Puxar modificações", + "history": "histórico", + "projectHistory": "Histórico do Projeto", + "daysAgo": "__count__ dia atrás", + "daysAgo_plural": "__count__ dias atrás", + "hoursAgo": "__count__ hora atrás", + "hoursAgo_plural": "__count__ horas atrás", + "minsAgo": "__count__ min ago", + "minsAgo_plural": "__count__ minutos atrás", + "secondsAgo": "Segundos atrás", + "notTracking": "Seu ramo local não está atualmente rastreando um ramo remoto.", + "statusUnmergedChanged": "Seu repositório tem alterações não mescladas. Você precisa corrigir os conflitos e enviar o resultado.", + "repositoryUpToDate": "Seu repositório está atualizado.", + "commitsAhead": "Seu repositório está __count__ cometimento à frente do remoto. Você pode empurrar este cometimento agora.", + "commitsAhead_plural": "Seu repositório está __count__ cometimentos à frente do remoto. Você pode empurrar estes cometimentos agora.", + "commitsBehind": "Seu repositório está __count__ cometimento atrás do remoto. Você pode puxar este cometimento agora.", + "commitsBehind_plural": "Seu repositório está __count__ cometimentos atrás do remoto. Você pode puxar esses cometimentos agora.", + "commitsAheadAndBehind1": "Seu repositório está __count__ cometimento atrás e", + "commitsAheadAndBehind1_plural": "Seu repositório está __count__ cometimentos atrás e", + "commitsAheadAndBehind2": "__count__ cometimento à frente do remoto.", + "commitsAheadAndBehind2_plural": "__count__ cometimentos à frente do remoto.", + "commitsAheadAndBehind3": "Você deve baixar o cometimento remoto antes de empurrar.", + "commitsAheadAndBehind3_plural": "Você deve baixar os cometimentos remotos antes de empurrar.", + "refreshCommitHistory": "Atualizar histórico de cometimentos", + "refreshChanges": "Atualizar alterações" + } + } + }, + "typedInput": { + "type": { + "str": "cadeia de caracteres", + "num": "número", + "re": "expressão regular", + "bool": "booliano", + "json": "JSON", + "bin": "armazenamento temporário", + "date": "registro de tempo", + "jsonata": "expressão", + "env": "variável de ambiente", + "cred": "credencial" + } + }, + "editableList": { + "add": "adicionar", + "addTitle": "adicionar um item" + }, + "search": { + "history": "Histórico da procura", + "clear": "limpar tudo", + "empty": "Nenhuma equivalência encontrada", + "addNode": "adicionar um nó...", + "options": { + "configNodes": "Configuração de nós", + "unusedConfigNodes": "Configuração de nós não utilizadas", + "invalidNodes": "Nós inválidos", + "uknownNodes": "Nós desconhecidos", + "unusedSubflows": "Subfluxos não utilizados", + "hiddenFlows": "Flux escondidos", + "modifiedNodes": "Nós e Fluxos Modificados", + "thisFlow": "Fluxo atual" + } + }, + "expressionEditor": { + "functions": "Funções", + "functionReference": "Referência de função", + "insert": "Inserir", + "title": "Editor de Expressões JSONata", + "test": "Teste", + "data": "Mensagem de exemplo", + "result": "Resultado", + "format": "expressão de formato", + "compatMode": "Modo de compatibilidade habilitado", + "compatModeDesc": "

Modo de compatibilidade JSONata

A expressão atual parece ainda fazer referência a msg , então será avaliada no modo de compatibilidade. Atualize a expressão para não usar msg , pois este modo será removido no futuro.

Quando o suporte JSONata foi adicionado pela primeira vez ao Node-RED, era necessária a expressão para fazer referência ao objeto msg . Por exemplo, msg.payload seria usado para acessar a carga útil.

Isso não é mais necessário, pois a expressão será avaliada em relação à mensagem diretamente. Para acessar a carga útil, a expressão deve ser apenas payload.

", + "noMatch": "Nenhum resultado correspondente", + "errors": { + "invalid-expr": "Expressão JSONata inválida:\n __message__", + "invalid-msg": "Exemplo de mensagem JSON inválida:\n __message__", + "context-unsupported": "Não é possível testar funções de contexto\n $flowContext or $globalContext", + "eval": "Erro ao avaliar a expressão:\n __message__" + } + }, + "monaco": { + "setTheme": "Definir tema" + }, + "jsEditor": { + "title": "Editor JavaScript" + }, + "textEditor": { + "title": "Editor de texto" + }, + "jsonEditor": { + "title": "editor JSON", + "format": "formatar JSON", + "rawMode": "Editar JSON", + "uiMode": "Editor visual", + "rawMode-readonly": "JSON", + "uiMode-readonly": "Visual", + "insertAbove": "Inserir acima", + "insertBelow": "Inserir abaixo", + "addItem": "Adicionar item", + "copyPath": "Copiar caminho para o item", + "expandItems": "Expandir itens", + "collapseItems": "Recolher itens", + "duplicate": "Duplicar", + "error": { + "invalidJSON": "JSON inválido: " + } + }, + "markdownEditor": { + "title": "Editor de Remarcação", + "expand": "Expandir", + "format": "Formatado com Remarcação", + "heading1": "Cabeçalho 1", + "heading2": "Cabeçalho 2", + "heading3": "Cabeçalho 3", + "bold": "Negrito", + "italic": "Itálico", + "code": "Código", + "ordered-list": "Lista ordenada", + "unordered-list": "Lista não-ordenada", + "quote": "Citar", + "link": "criar atalho", + "horizontal-rule": "Régua Horizontal", + "toggle-preview": "Alternar visualização" + }, + "bufferEditor": { + "title": "Editor de armazenamento temporário", + "modeString": "Tratar como cadeia de caracteres UTF-8", + "modeArray": "Manipular como matriz JSON", + "modeDesc": "

Editor de armazenamento temporário

O tipo de armazenamento temporário é armazenado como uma matriz JSON de valores de bytes. O editor tentará analisar o valor inserido como uma matriz JSON. Se não for um JSON válido, será tratada como uma cadeia de caracteres UTF-8 e convertida em uma matriz de pontos de código de caractere individual.

Por exemplo, um valor de Hello World será convertido na matriz JSON:

 [72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100] 

" + }, + "projects": { + "config-git": "Configurar cliente Git", + "welcome": { + "hello": "Olá! Introduzimos 'projetos' no Node-RED.", + "desc0": "Esta é uma nova maneira de gerenciar seus arquivos de fluxo e incluir controle de versão de seus fluxos.", + "desc1": "Para começar, você pode criar seu primeiro projeto ou clonar um projeto existente de um repositório git.", + "desc2": "Se você não tiver certeza, pode pular isso por enquanto. Você ainda poderá criar seu primeiro projeto a partir do menu 'Projetos' a qualquer momento.", + "create": "Criar Projeto", + "clone": "Repositório de clones", + "openExistingProject": "Abrir projeto existente", + "not-right-now": "Não nesse exato momento" + }, + "git-config": { + "setup": "Configure seu cliente de controle de versão", + "desc0": "O Node-RED usa a ferramenta de código aberto Git para controle de versão. Ele rastreia as alterações em seus arquivos de projeto e permite enviá-los para repositórios remotos.", + "desc1": "Quando você confirma um conjunto de alterações, o Git registra quem fez as alterações com um nome de usuário e endereço de e-mail. O nome de usuário pode ser o que você quiser - não precisa ser seu nome real.", + "desc2": "Seu cliente Git já está configurado com os detalhes abaixo.", + "desc3": "Você pode alterar essas configurações mais tarde na guia 'Git config' da caixa de diálogo de configurações.", + "username": "Nome do usuário", + "email": "E-mail" + }, + "project-details": { + "create": "Crie seu projeto", + "desc0": "Um projeto é mantido como um repositório Git. Isso torna muito mais fácil compartilhar seus fluxos com outras pessoas e colaborar neles.", + "desc1": "Você pode criar vários projetos e alternar rapidamente entre eles no editor.", + "desc2": "Para começar, seu projeto precisa de um nome e uma descrição opcional.", + "already-exists": "Projeto já existe", + "must-contain": "Deve conter apenas A-Z 0-9 _ -", + "project-name": "Nome do Projeto", + "desc": "Descrição", + "opt": "Opcional" + }, + "clone-project": { + "clone": "Clonar um projeto", + "desc0": "Se você já tem um repositório git contendo um projeto, pode cloná-lo para começar.", + "already-exists": "Projeto já existe", + "must-contain": "Deve conter apenas A-Z 0-9 _ -", + "project-name": "Nome do projeto", + "no-info-in-url": "Não inclua o nome de usuário / senha no url", + "git-url": "Git repository URL", + "protocols": "https: //, ssh: // ou file://", + "auth-failed": "Autenticação falhou", + "username": "Nome de usuário", + "passwd": "Senha", + "ssh-key": "Chave SSH", + "passphrase": "Frase de Passe", + "ssh-key-desc": "Antes de clonar um repositório usando ssh, você deve adicionar uma chave SSH para acessá-lo.", + "ssh-key-add": "Adicionar uma chave ssh", + "credential-key": "Chave de criptografia de credenciais", + "cant-get-ssh-key": "Erro! Não é possível obter o caminho da chave SSH selecionada.", + "already-exists2": "já existe", + "git-error": "git error", + "connection-failed": "Conexão falhou", + "not-git-repo": "Não é um repositório git", + "repo-not-found": "Repositório não encontrado" + }, + "default-files": { + "create": "Crie seus arquivos de projeto", + "desc0": "Um projeto contém seus arquivos de fluxo, um arquivo README e um arquivo package.json.", + "desc1": "Pode conter quaisquer outros arquivos que você deseja manter no repositório Git.", + "desc2": "Seus arquivos de fluxo e credenciais existentes serão copiados para o projeto.", + "flow-file": "Arquivo de fluxo", + "credentials-file": "Arquivo de credenciais" + }, + "encryption-config": { + "setup": "Configure a criptografia do seu arquivo de credenciais", + "desc0": "Seu arquivo de credenciais de fluxo pode ser criptografado para manter seu conteúdo seguro.", + "desc1": "Se você deseja armazenar essas credenciais em um repositório Git público, deve criptografá-las fornecendo uma frase-chave secreta.", + "desc2": "Seu arquivo de credenciais de fluxo não está criptografado no momento.", + "desc3": "Isso significa que seu conteúdo, como senhas e fichas de acesso, pode ser lido por qualquer pessoa com acesso ao arquivo.", + "desc4": "Se você deseja armazenar essas credenciais em um repositório Git público, deve criptografá-las fornecendo uma frase-chave secreta.", + "desc5": "Seu arquivo de credenciais de fluxo está atualmente criptografado usando a propriedade credentialSecret de seu arquivo de configurações como a chave.", + "desc6": "Seu arquivo de credenciais de fluxo está criptografado usando uma chave gerada pelo sistema. Você deve fornecer uma nova chave secreta para este projeto.", + "desc7": "A chave será armazenada separadamente dos arquivos do seu projeto. Você precisará fornecer a chave para usar este projeto em outra instância do Node-RED.", + "credentials": "Credenciais", + "enable": "Habilitar criptografia", + "disable": "Desabilitar criptografia", + "disabled": "desabilitado", + "copy": "Copiar sobre a chave existente", + "use-custom": "Usar chave personalizada", + "desc8": "O arquivo de credenciais não será criptografado e seu conteúdo será lido facilmente", + "create-project-files": "Criar arquivos de projeto", + "create-project": "Criar projeto", + "already-exists": "já existe", + "git-error": "erro no git", + "git-auth-error": "git erro de autenticação" + }, + "create-success": { + "success": "Você criou com sucesso o seu primeiro projeto!", + "desc0": "Agora você pode continuar usando o Node-RED como sempre fez.", + "desc1": "A guia 'informações' na barra lateral mostra qual é o seu projeto ativo atual. O botão ao lado do nome pode ser usado para acessar a visualização das configurações do projeto.", + "desc2": "A guia 'histórico' na barra lateral pode ser usada para ver os arquivos que foram alterados no seu projeto e para submetê-los. Ela mostra um histórico completo de seus cometimentos e permite que você envie suas alterações para um repositório remoto . " + }, + "create": { + "projects": "Projetos", + "already-exists": "Projeto já existe", + "must-contain": "Deve conter apenas A-Z 0-9 _ -", + "no-info-in-url": "Não inclua o nome de usuário/senha no url", + "open": "Abrir projeto", + "create": "Criar Projeto", + "clone": "Clone Repositório", + "project-name": "Nome do projeto", + "desc": "Descrição", + "opt": "Opcional", + "flow-file": "Arquivo de fluxo", + "credentials": "Credenciais", + "enable-encryption": "Habilitar criptografia", + "disable-encryption": "Desabilitar criptografia", + "encryption-key": "Chave de criptografia", + "desc0": "Uma frase para proteger suas credenciais com", + "desc1": "O arquivo de credenciais não será criptografado e seu conteúdo poderá ser lido facilmente", + "git-url": "URL do repositório Git", + "protocols": "https://, ssh:// or file://", + "auth-failed": "Falha na autenticação", + "username": "Nome do usuário", + "password": "Senha", + "ssh-key": "Chave SSH", + "passphrase": "Frase de Passe", + "desc2": "Antes de clonar um repositório usando ssh, você deve adicionar uma chave SSH para acessá-lo.", + "add-ssh-key": "Adicionar uma chave ssh", + "credentials-encryption-key": "Chave de criptografia de credenciais", + "already-exists-2": "já existe", + "git-error": "erro de git", + "con-failed": "Conexão falhou", + "not-git": "Não é um repositório git", + "no-resource": "Repositório não encontrado", + "cant-get-ssh-key-path": "Erro! Não é possível obter o caminho da chave SSH selecionado.", + "unexpected_error": "erro_inesperado", + "clearContext": "Limpar contexto quando ocorrer troca de projetos" + }, + "delete": { + "confirm": "Tem certeza de que deseja excluir este projeto?" + }, + "create-project-list": { + "search": "procure seus projetos", + "current": "atual" + }, + "require-clean": { + "confirm": "

Você tem alterações não implantadas que serão perdidas.

Deseja continuar?

" + }, + "send-req": { + "auth-req": "Autenticação necessária para repositório", + "username": "Nome do usuário", + "password": "Senha", + "passphrase": "Frase de Passe", + "retry": "Tentar novamente", + "update-failed": "Falha ao atualizar autenticação", + "unhandled": "Resposta de erro não tratada", + "host-key-verify-failed": "

Falha na verificação da chave do servidor anfitrião.

A chave do servidor anfitrião do repositório não pôde ser verificada. Atualize seu arquivo known_hosts e tente novamente.

" + }, + "create-branch-list": { + "invalid": "Ramo inválido", + "create": "Criar ramo", + "current": "atual" + }, + "create-default-file-set": { + "no-active": "Não é possível criar um conjunto de arquivos padrão sem um projeto ativo", + "no-empty": "Não é possível criar um arquivo padrão definido em um projeto não vazio", + "git-error": "erro no git" + }, + "errors": { + "no-username-email": "Seu cliente Git não está configurado com um nome de usuário / e-mail.", + "unexpected": "Um erro inesperado ocorreu", + "code": "código" + } + }, + "editor-tab": { + "properties": "Propriedades", + "envProperties": "Variáveis de Ambiente", + "module": "Propriedades do Módulo", + "description": "Descrição", + "appearance": "Aparência", + "preview": "Visualização da IU", + "defaultValue": "Valor padrão" + }, + "tourGuide": { + "takeATour": "Faça um tour", + "start": "Inicio", + "next": "Próximo", + "welcomeTours": "Tour de Boas-vindas" + }, + "diagnostics": { + "title": "informações do Sistema" + }, + "validator": { + "errors": { + "invalid-json": "Dados JSON inválidos: __error__", + "invalid-prop": "Expressão de propriedade inválida", + "invalid-num": "Número inválido", + "invalid-num-prop": "__prop__: número inválido", + "invalid-regexp": "Padrão de entrada inválido", + "invalid-regex-prop": "__prop__: Padrão de entrada inválido", + "missing-required-prop": "__prop__: valor de propriedade ausente", + "invalid-config": "__prop__: nó de configuração inválido", + "missing-config": "__prop__: nó de Configuração ausente", + "validation-error": "__prop__: erro de validação: __node__, __id__: __error__" + } + }, + "contextMenu": { + "insert": "Inserir", + "node": "Nó", + "junction": "Junção", + "linkNodes": "Nós de Ligação" + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/pt-BR/infotips.json b/packages/node_modules/@node-red/editor-client/locales/pt-BR/infotips.json new file mode 100644 index 000000000..7ac7502c1 --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/pt-BR/infotips.json @@ -0,0 +1,23 @@ +{ + "info": { + "tip0": "Você pode remover os nós ou links selecionados com {{core:delete-selection}}", + "tip1": "Procure por nós usando {{core:search}}", + "tip2": "{{core:toggle-sidebar}} irá alternar a visualização desta barra lateral", + "tip3": "Você pode gerenciar sua paleta de nós com {{core:manage-palette}}", + "tip4": "Seus nós de configuração de fluxo são listados no painel da barra lateral. Pode ser acessado a partir do menu ou com{{core:show-config-tab}}", + "tip5": "Habilite ou desabilite essas dicas na opção nas configurações", + "tip6": "Mova os nós selecionados usando o [left] [up] [down] e [right] chaves. Segure [shift] para empurrá-los ainda mais", + "tip7": "Arrastar um nó para um fio o unirá no link", + "tip8": "Exporte os nós selecionados ou a guia atual com {{core:show-export-dialog}}", + "tip9": "Importe um fluxo arrastando seu JSON para o editor ou com {{core:show-import-dialog}}", + "tip10": "[shift] [click] e arraste em uma porta de nó para mover todos os fios conectados ou apenas o selecionado", + "tip11": "Mostre a guia Informações com {{core:show-info-tab}} ou a guia Depurar com {{core:show-debug-tab}}", + "tip12": "[ctrl] [click] na área de trabalho para abrir a caixa de diálogo de adição rápida", + "tip13": "Mantenha pressionado [ctrl] enquanto você [click] em uma porta de nó para habilitar a ligação rápida", + "tip14": "Mantenha pressionado [shift] enquanto você [click] em um nó para também selecionar todos os seus nós conectados", + "tip15": "Mantenha pressionado [ctrl] enquanto você [click] em um nó para adicioná-lo ou removê-lo da seleção atual", + "tip16": "Alternar guias de fluxo com {{core:show-previous-tab}} e {{core:show-next-tab}}", + "tip17": "Você pode confirmar suas alterações na bandeja de edição do nó com {{core:confirm-edit-tray}} ou cancele-os com {{core:cancel-edit-tray}}", + "tip18": "Pressionando {{core:edit-selected-node}} irá editar o primeiro nó na seleção atual" + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/pt-BR/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/pt-BR/jsonata.json new file mode 100644 index 000000000..9d948335c --- /dev/null +++ b/packages/node_modules/@node-red/editor-client/locales/pt-BR/jsonata.json @@ -0,0 +1,274 @@ +{ + "$string": { + "args": "arg[, prettify]", + "desc": "Converte o tipo do parâmetro `arg` em uma cadeia de caracteres usando as seguintes regras de conversão de tipo:\n\n - Cadeia de caracteres não são alteradas\n - As funções são convertidas para uma cadeia de caracteres vazia\n - os tipos numérico infinito e NaN geram um erro porque não podem ser representados como um número JSON\n - Todos os outros valores são convertidos para uma cadeia de caracteres JSON usando a função `JSON.stringify`. Se `prettify` for verdadeira, então o JSON \"prettified\" é produzido. Isto é, uma linha por campo e as linhas serão indentadas com base na profundidade do campo." + }, + "$length": { + "args": "str", + "desc": "Retorna o número de caracteres na cadeia de caracteres `str`. Um erro é gerado se `str` não for uma cadeia de caracteres." + }, + "$substring": { + "args": "str, start[, length]", + "desc": "Retorna uma cadeia de caracteres contendo os caracteres no primeiro parâmetro `str` começando na posição `start` (deslocamento zero). Se` length` for especificado, então a sub cadeia de caracteres conterá o máximo `length` de caracteres. Se` start` for negativo isso indica o número de caracteres a partir do fim de `str`." + }, + "$substringBefore": { + "args": "str, chars", + "desc": "Retorna a sub cadeia de caracteres antes da primeira ocorrência da sequência de caracteres `chars` em `string`. Se` string` não contiver `chars`, então retorna `str`." + }, + "$substringAfter": { + "args": "str, chars", + "desc": "Retorna a sub cadeia de caracteres após a primeira ocorrência da sequência de caracteres `chars` em `string`. Se `string` não contiver `chars`, então retorna `str`." + }, + "$uppercase": { + "args": "str", + "desc": "Retorna uma cadeia de caracteres com todos os caracteres de `string` convertidos em maiúsculas." + }, + "$lowercase": { + "args": "str", + "desc": "Retorna uma cadeia de caracteres com todos os caracteres de `string` convertidos em minúsculas." + }, + "$trim": { + "args": "str", + "desc": "Normaliza e retira todos os caracteres de espaço em branco em `str` aplicando as seguintes etapas:\n\n - Todas as tabulações, retornos de carro e avanços de linha são substituídos por espaços.\n- Sequências contíguas de espaços são reduzidas a um único espaço.\n- Espaços à direita e à esquerda são removidos.\n\n Se `str` não for especificado (isto é, esta função é chamada sem argumentos), então o valor do contexto é usado como o valor de `str`. Um erro é gerado se `str` não for uma cadeia de caracteres." + }, + "$contains": { + "args": "str, pattern", + "desc": "Retorna `true` se `str` tiver correspondente em `pattern`, caso contrário, retorna `false`. Se `str` não for especificado (isto é, esta função é chamada com um argumento), então o valor do contexto é usado como o valor de `str`. O parâmetro `pattern` pode ser uma cadeia de caracteres ou uma expressão regular." + }, + "$split": { + "args": "str[, separator][, limit]", + "desc": "Divide o parâmetro `str` em uma matriz de sub cadeia de caracteres. É um erro se `str` não for uma cadeia de caracteres. O parâmetro opcional `separator` especifica os caracteres dentro de `str` sobre os quais devem ser divididos como uma cadeia de caracteres ou expressão regular. Se `separator` não for especificado, a cadeia de caracteres vazia será assumida e `str` será dividido em uma matriz de caracteres únicos. É um erro se `separador` não for uma cadeia de caracteres. O parâmetro opcional `limit` é um número que especifica o número máximo de sub cadeia de caracteres a serem incluídas na matriz resultante. Quaisquer sub cadeia de caracteres adicionais são descartadas. Se `limit` não for especificado, então `str` será totalmente dividido sem limite para o tamanho da matriz resultante . É um erro se `limit` não for um número não negativo." + }, + "$join": { + "args": "array[, separator]", + "desc": "Une uma matriz de cadeias de caracteres de componentes em uma única cadeia de caracteres concatenada com cada cadeia de caracteres de componente separada pelo parâmetro opcional `separator`. É um erro se a `matriz` de entrada contiver um item que não seja uma cadeia de caracteres. Se `separator` for não especificado, assume-se que é uma cadeia de caracteres vazia, ou seja, nenhum `separator` entre as cadeias de caracteres do componente. É um erro se `separator` não for uma cadeia de caracteres." + }, + "$match": { + "args": "str, pattern [, limit]", + "desc": "Aplica a cadeia de caracteres `str` à expressão regular `pattern` e retorna uma matriz de objetos, com cada objeto contendo informações sobre cada ocorrência de uma correspondência dentro de `str`." + }, + "$replace": { + "args": "str, pattern, replacement [, limit]", + "desc": "Encontra ocorrências de `pattern` dentro de `str` e as substitui por `replacement`.\n\nO parâmetro opcional `limit` é o número máximo de substituições." + }, + "$now": { + "args": "$[picture [, timezone]]", + "desc": "Gera um carimbo de data/hora em formato compatível com ISO 8601 e o retorna como uma cadeia de caracteres. Se os parâmetros opcionais de imagem e fuso horário forem fornecidos, o carimbo de data/hora atual é formatado conforme descrito pela função `$fromMillis()`" + }, + "$base64encode": { + "args": "string", + "desc": "Converte uma cadeia de caracteres ASCII em uma representação de base 64. Cada caractere na cadeia de caracteres é tratado como um byte de dados binários. Isso requer que todos os caracteres na cadeia de caracteres estejam no intervalo de 0x00 a 0xFF, o que inclui todos os caracteres em cadeias de caracteres codificadas em URI. Caracteres Unicode fora desse intervalo não são suportados." + }, + "$base64decode": { + "args": "string", + "desc": "Converte bytes codificados de base 64 em uma cadeia de caracteres, usando uma página de código UTF-8 Unicode." + }, + "$number": { + "args": "arg", + "desc": "Converte o parâmetro `arg` em um número usando as seguintes regras de conversão:\n\n - Os números permanecem inalterados\n - Cadeias de caracteres que contêm uma sequência de caracteres que representam um número JSON válido são convertidos para esse número\n - Todos os outros valores causam a geração de um erro." + }, + "$abs": { + "args": "number", + "desc": "Retorna o valor absoluto do parâmetro `number`." + }, + "$floor": { + "args": "number", + "desc": "Retorna o valor de `number` arredondado para baixo para o inteiro mais próximo que seja menor ou igual a `number`." + }, + "$ceil": { + "args": "number", + "desc": "Retorna o valor de `number` arredondado para o número inteiro mais próximo que é maior ou igual a `number`." + }, + "$round": { + "args": "number [, precision]", + "desc": "Retorna o valor do parâmetro `number` arredondado para o número de casas decimais especificado pelo parâmetro opcional `precision`." + }, + "$power": { + "args": "base, exponent", + "desc": "Retorna o valor de `base` elevado à potência de `exponent`." + }, + "$sqrt": { + "args": "number", + "desc": "Retorna a raiz quadrada do valor do parâmetro `number`." + }, + "$random": { + "args": "", + "desc": "Retorna um número pseudoaleatório maior ou igual a zero e menor que um." + }, + "$millis": { + "args": "", + "desc": "Retorna o número de milissegundos desde o Unix Epoch (1º de janeiro de 1970 UTC) como um número. Todas as invocações de `$millis()` dentro de uma avaliação de uma expressão retornarão todas o mesmo valor." + }, + "$sum": { + "args": "array", + "desc": "Retorna a soma aritmética de uma `array` de números. É um erro se o `array` de entrada contiver um item que não seja um número." + }, + "$max": { + "args": "array", + "desc": "Retorna o número máximo em uma `array` de números. É um erro se o `array` de entrada contiver um item que não seja um número." + }, + "$min": { + "args": "array", + "desc": "Retorna o número mínimo em uma `array` de números. É um erro se o `array` de entrada contiver um item que não seja um número." + }, + "$average": { + "args": "array", + "desc": "Retorna o valor médio de uma `array` de números. É um erro se o `array` de entrada contiver um item que não seja um número." + }, + "$boolean": { + "args": "arg", + "desc": "Converte o argumento em um booliano usando as seguintes regras:\n\n - `Boolean` : inalterado\n - `string`: vazio : `false`\n - `string`: não-vazio : `true`\n - `number`: `0` : `false`\n - `number`: não-zero : `true`\n - `null` : `false`\n - `array`: vazio : `false`\n - `array`: contém um membro que converte de tipo para `true` : `true`\n - `array`: todos os membros convertidos de tipo para `false` : `false`\n - `object`: vazio : `false`\n - `object`: não-vazio : `true`\n - `function` : `false`" + }, + "$not": { + "args": "arg", + "desc": "Retorna booliano NOT no argumento. `Arg` é convertido de tipo primeiro para um booliano" + }, + "$exists": { + "args": "arg", + "desc": "Retorna booliano `true` se a expressão `arg` for avaliada como um valor, ou `false` se a expressão não corresponder a nada (por exemplo, um caminho para uma referência de campo inexistente)." + }, + "$count": { + "args": "array", + "desc": "Retorna o número de itens na matriz" + }, + "$append": { + "args": "array, array", + "desc": "Anexa duas matrizes" + }, + "$sort": { + "args": "array [, function]", + "desc": "Retorna uma matriz contendo todos os valores no parâmetro `array`, mas classificados em ordem.\n\nSe um comparador `function` for fornecido, então deve ser uma função que leva dois parâmetros:\n\n`function(left, right)`\n\nEsta função é invocada pelo algoritmo de classificação para comparar dois valores à esquerda e à direita. Se o valor de esquerda deve ser colocado após o valor de direita na ordem de classificação desejada, a função deve retornar o booliano `true` para indicar uma troca. Caso contrário, deve retornar `false`." + }, + "$reverse": { + "args": "array", + "desc": "Retorna uma matriz contendo todos os valores do parâmetro `array`, mas na ordem reversa." + }, + "$shuffle": { + "args": "array", + "desc": "Retorna uma matriz contendo todos os valores do parâmetro `array`, mas misturados em ordem aleatória." + }, + "$zip": { + "args": "array, ...", + "desc": "Retorna uma matriz convolucional (compactada) contendo matrizes agrupadas de valores dos argumentos `array1`… `arrayN` do índice 0, 1, 2 ...." + }, + "$keys": { + "args": "object", + "desc": "Retorna uma matriz contendo as chaves do objeto. Se o argumento for uma matriz de objetos, então a matriz retornada contém uma lista não duplicada de todas as chaves em todos os objetos." + }, + "$lookup": { + "args": "object, key", + "desc": "Retorna o valor associado à chave no objeto. Se o primeiro argumento for uma matriz de objetos, todos os objetos na matriz são pesquisados e os valores associados a todas as ocorrências da chave são retornados." + }, + "$spread": { + "args": "object", + "desc": "Divide um objeto que contém pares de chave/valor em uma matriz de objetos, cada um com um único par de chave/valor do objeto de entrada. Se o parâmetro for uma matriz de objetos, a matriz resultante conterá um objeto para cada par de chave/valor em todo objeto na matriz fornecida." + }, + "$merge": { + "args": "array<object>", + "desc": "Mescla uma matriz de `objects` em um único `object` contendo todos os pares de chave/valor de cada um dos objetos na matriz de entrada. Se qualquer um dos objetos de entrada contiver a mesma chave, então o `object` retornado conterá o valor do último na matriz. É um erro se a matriz de entrada contiver um item que não seja um objeto." + }, + "$sift": { + "args": "object, function", + "desc": "Retorna um objeto que contém apenas os pares de chave/valor do parâmetro `object` que satisfazem o predicado `function` passado como o segundo parâmetro.\n\nA `function` que é fornecida como o segundo parâmetro deve ter o seguinte assinatura:\n\n`function(value [, key [, object]])`" + }, + "$each": { + "args": "object, function", + "desc": "Retorna uma matriz contendo os valores retornados por `function` quando aplicado a cada par chave/valor no `object`." + }, + "$map": { + "args": "array, function", + "desc": "Retorna uma matriz contendo os resultados da aplicação do parâmetro `function` a cada valor no parâmetro `array`.\n\nA `function` que é fornecido como o segundo parâmetro deve ter a seguinte assinatura:\n\n`function(value [, index [, array]])`" + }, + "$filter": { + "args": "array, function", + "desc": "Retorna uma matriz contendo apenas os valores no parâmetro `array` que satisfazem o predicado `function`.\n\nThe `function` que é fornecido como o segundo parâmetro deve ter a seguinte assinatura:\n\n`function(value [, index [, array]])`" + }, + "$reduce": { + "args": "array, function [, init]", + "desc": "Retorna um valor agregado derivado da aplicação do parâmetro `function` sucessivamente a cada valor em `array` em combinação com o resultado da aplicação anterior da função.\n\nA função deve aceitar dois argumentos e se comportar como um operador inserido entre cada valor dentro de `array`. A assinatura da `function` deve estar no formato: `myfunc($accumulator, $value[, $index[, $array]])`\n\nO parâmetro opcional `init` é usado como o valor inicial na agregação." + }, + "$flowContext": { + "args": "string[, string]", + "desc": "Recupera uma propriedade de contexto de fluxo.\n\nEsta é uma função definida pelo Node-RED." + }, + "$globalContext": { + "args": "string[, string]", + "desc": "Recupera uma propriedade de contexto global.\n\nEsta é uma função definida pelo Node-RED." + }, + "$pad": { + "args": "string, width [, char]", + "desc": "Retorna uma cópia da `string` com preenchimento extra, se necessário, de forma que seu número total de caracteres seja pelo menos o valor absoluto do parâmetro `width`.\n\nSe `width` for um número positivo, a cadeia de caracteres será preenchida à direita; se negativo, é preenchida à esquerda.\n\nO argumento opcional `char` especifica os caracteres de preenchimento a serem usados. Se não for especificado, o padrão é o caractere de espaço." + }, + "$fromMillis": { + "args": "number, [, picture [, timezone]]", + "desc": "Converta o `number` que representa os milissegundos desde a época do Unix (1 January, 1970 UTC) em uma representação de cadeia de caracteres formatada do carimbo de data/hora conforme especificado pela cadeia de caracteres de imagem.\n\nSe o parâmetro opcional `image` for omitido, o carimbo de data/hora será formatado no formato ISO 8601.\n\nSe a cadeia de caracteresopcional `picture` for fornecida, o carimbo de data/hora é formatado de acordo com a representação especificada nessa cadeia de caracteres. O comportamento desta função é consistente com a versão de dois argumentos da função XPath/XQuery `format-dateTime` conforme definido na especificação XPath F&O 3.1. O parâmetro de cadeia de caracteres de imagem define como o carimbo de data/hora é formatado e tem a mesma sintaxe de `format-dateTime`.\n\nSe a cadeia de caracteres opcional `timezone` for fornecida, o carimbo de data/hora formatado estará nesse fuso horário. A cadeia de caracteres `timezone` deve estar no formato '± HHMM', onde ± é o sinal de mais ou menos e HHMM é o deslocamento em horas e minutos do UTC. Deslocamento positivo para fusos horários a leste do UTC, deslocamento negativo para fusos horários a oeste do UTC." + }, + "$formatNumber": { + "args": "number, picture [, options]", + "desc": "Converte o tipo de `number` em uma cadeia de caracteres e o formata em uma representação decimal conforme especificado pela cadeia de caracteres `picture`.\n\n O comportamento desta função é consistente com a função XPath/XQuery `fn:format-number` conforme definido na especificação XPath F&O 3.1. O parâmetro de cadeia de caracteres de imagem define como o número é formatado e tem a mesma sintaxe de `fn:format-number`.\n\nO terceiro argumento opcional `options` é usado para substituir os caracteres de formatação específicos da localidade padrão, como o separador decimal. Se fornecido, este argumento deve ser um objeto contendo pares de nome/valor especificados na seção de formato decimal da especificação XPath F&O 3.1." + }, + "$formatBase": { + "args": "number [, radix]", + "desc": "Converte o `number` em uma cadeia de caracteres e o formata em um inteiro representado na base do número especificada pelo argumento `radix`. Se `radix` não for especificado, o padrão é a base 10. `radix` pode estar entre 2 e 36, caso contrário, um erro será gerado." + }, + "$toMillis": { + "args": "timestamp", + "desc": "Converta o tipo de uma cadeia de caracteres `timestamp` no formato ISO 8601 para o número de milissegundos desde a época do Unix (1 January, 1970 UTC) como um número. Um erro é gerado se a cadeia de caracteres não estiver no formato correto." + }, + "$env": { + "args": "arg", + "desc": "Retorna o valor de uma variável de ambiente.\n\nEsta é uma função definida pelo Node-RED." + }, + "$eval": { + "args": "expr [, context]", + "desc": "Analisa e avalia a cadeia de caracteres `expr` que contém um JSON literal ou uma expressão JSONata usando o contexto atual como o contexto para avaliação." + }, + "$formatInteger": { + "args": "number, picture", + "desc": "Converte o tipo de `number` em uma cadeia de caracteres e o formata em uma representação inteira conforme especificado pela cadeia de caracteres `picture`. O parâmetro da cadeia de caracteres de imagem define como o número é formatado e tem a mesma sintaxe de `fn:format-integer` do Especificação XPath F&O 3.1." + }, + "$parseInteger": { + "args": "string, picture", + "desc": "Examina e troca o conteúdo do parâmetro `string` para um inteiro (como um número JSON) usando o formato especificado pela cadeia de caracteres `picture`. O parâmetro da cadeia de caracteres `picture` tem o mesmo formato que `$formatInteger`." + }, + "$error": { + "args": "[str]", + "desc": "Gera um erro com uma mensagem. O (parâmetro) opcional `str` substituirá a mensagem padrão de `$error() function evaluated`" + }, + "$assert": { + "args": "arg, str", + "desc": "Se `arg` for verdadeiro, a função retorna indefinido. Se `arg` for falso, uma exceção é gerada com `str` como a mensagem da exceção." + }, + "$single": { + "args": "array, function", + "desc": "Retorna o único valor no parâmetro `array` que satisfaz o predicado `function` (isto é, O (parâmetro) `function` retorna o booliano `true` quando passado o valor). Gera uma exceção se o número de valores correspondentes não for exatamente um .\n\nA função deve ser fornecida na seguinte assinatura: `function(value [, index [, array]])` onde 'value' é cada entrada da matriz, 'index' é a posição desse valor e toda a matriz é passada como o terceiro argumento" + }, + "$encodeUrlComponent": { + "args": "str", + "desc": "Codifica um componente Localizador Uniforme de Recursos (URL) substituindo cada instância de certos caracteres por uma, duas, três ou quatro sequências de escape que representam a codificação UTF-8 do caractere.\n\nExemplo: `$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`" + }, + "$encodeUrl": { + "args": "str", + "desc": "Codifica um Localizador Uniforme de Recursos (URL) substituindo cada instância de certos caracteres por uma, duas, três ou quatro sequências de escape que representam a codificação UTF-8 do caractere.\n\nExemplo: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`" + }, + "$decodeUrlComponent": { + "args": "str", + "desc": "Decodifica um componente Localizador Uniforme de Recursos (URL) criado anteriormente por encodeUrlComponent.\n\nExemplo: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + }, + "$decodeUrl": { + "args": "str", + "desc": "Decodifica um Localizador Uniforme de Recursos (URL) criado anteriormente por encodeUrl.\n\nExemplo: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + }, + "$distinct": { + "args": "array", + "desc": "Retorna uma matriz com valores duplicados removidos da `array`" + }, + "$type": { + "args": "value", + "desc": "Retorna o tipo de `value` como uma cadeia de caracteres. Se `value` for indefinido, retornará `undefined`" + }, + "$moment": { + "args": "[str]", + "desc": "Obtém um objeto de dados usando a biblioteca 'Moment'." + } +} diff --git a/packages/node_modules/@node-red/editor-client/locales/ru/editor.json b/packages/node_modules/@node-red/editor-client/locales/ru/editor.json old mode 100755 new mode 100644 index d669b3f09..326fbe55f --- a/packages/node_modules/@node-red/editor-client/locales/ru/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ru/editor.json @@ -95,7 +95,6 @@ "selectionToSubflow": "Выделение в подпоток", "flows": "Потоки", "add": "Добавить", - "rename": "Переименовать", "delete": "Удалить", "keyboardShortcuts": "Сочетания клавиш", "login": "Войти", @@ -1129,14 +1128,5 @@ "appearance": "Внешний вид", "preview": "Предпросмотр редактора", "defaultValue": "Значение по умолчанию" - }, - "languages" : { - "de": "Немецкий", - "en-US": "Английский", - "ja": "Японский", - "ko": "Корейский", - "ru": "Русский", - "zh-CN": "Китайский (упрощенный)", - "zh-TW": "Китайский (традиционный)" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/ru/infotips.json b/packages/node_modules/@node-red/editor-client/locales/ru/infotips.json old mode 100755 new mode 100644 diff --git a/packages/node_modules/@node-red/editor-client/locales/ru/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/ru/jsonata.json old mode 100755 new mode 100644 index 920042c25..4871aa69e --- a/packages/node_modules/@node-red/editor-client/locales/ru/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/ru/jsonata.json @@ -52,52 +52,52 @@ "desc": "Находит вхождения шаблона `pattern` в строке `str` и заменяет их на строку `replacement`.\n\nНеобязательный параметр `limit` - это максимальное количество замен." }, "$now": { - "args":"", - "desc":"Создает отметку времени в формате, совместимом с ISO 8601, и возвращает ее как строку." + "args": "", + "desc": "Создает отметку времени в формате, совместимом с ISO 8601, и возвращает ее как строку." }, "$base64encode": { - "args":"string", - "desc":"Преобразует ASCII-строку в base-64 кодировку. Каждый символ в строке обрабатывается как байт двоичных данных. Для этого необходимо, чтобы все символы в строке находились в диапазоне от 0x00 до 0xFF, который включает все символы строк в URI-кодировке. Символы Юникода за пределами этого диапазона не поддерживаются." + "args": "string", + "desc": "Преобразует ASCII-строку в base-64 кодировку. Каждый символ в строке обрабатывается как байт двоичных данных. Для этого необходимо, чтобы все символы в строке находились в диапазоне от 0x00 до 0xFF, который включает все символы строк в URI-кодировке. Символы Юникода за пределами этого диапазона не поддерживаются." }, "$base64decode": { - "args":"string", - "desc":"Преобразует байты в кодировке base-64 в строку, используя кодовую страницу Юникод UTF-8." + "args": "string", + "desc": "Преобразует байты в кодировке base-64 в строку, используя кодовую страницу Юникод UTF-8." }, "$number": { "args": "arg", "desc": "Преобразует параметр `arg` в число с использованием следующих правил приведения:\n\n - Числа возвращаются как есть\n - Строки, которые содержат последовательность символов, представляющих допустимое в JSON число, преобразуются в это число\n - Все остальные значения вызывают ошибку." }, "$abs": { - "args":"number", - "desc":"Возвращает абсолютное значение числа `number`." + "args": "number", + "desc": "Возвращает абсолютное значение числа `number`." }, "$floor": { - "args":"number", - "desc":"Возвращает значение числа `number`, округленное до ближайшего целого числа, которое меньше или равно `number`." + "args": "number", + "desc": "Возвращает значение числа `number`, округленное до ближайшего целого числа, которое меньше или равно `number`." }, "$ceil": { - "args":"number", - "desc":"Возвращает значение числа `number`, округленное до ближайшего целого числа, которое больше или равно `number`." + "args": "number", + "desc": "Возвращает значение числа `number`, округленное до ближайшего целого числа, которое больше или равно `number`." }, "$round": { - "args":"number [, precision]", - "desc":"Возвращает значение числа `number`, округленное до количества десятичных знаков, указанных необязательным параметром `precision`." + "args": "number [, precision]", + "desc": "Возвращает значение числа `number`, округленное до количества десятичных знаков, указанных необязательным параметром `precision`." }, "$power": { - "args":"base, exponent", - "desc":"Возвращает значение числа `base`, возведенное в степень `exponent`." + "args": "base, exponent", + "desc": "Возвращает значение числа `base`, возведенное в степень `exponent`." }, "$sqrt": { - "args":"number", - "desc":"Возвращает квадратный корень из значения числа `number`." + "args": "number", + "desc": "Возвращает квадратный корень из значения числа `number`." }, "$random": { - "args":"", - "desc":"Возвращает псевдослучайное число, которе больше или равно нулю и меньше единицы." + "args": "", + "desc": "Возвращает псевдослучайное число, которе больше или равно нулю и меньше единицы." }, "$millis": { - "args":"", - "desc":"Возвращает число миллисекунд с начала Unix-эпохи (1 января 1970 года по Гринвичу) в виде числа. Все вызовы `$millis()` в пределах выполнения выражения будут возвращать одно и то же значение." + "args": "", + "desc": "Возвращает число миллисекунд с начала Unix-эпохи (1 января 1970 года по Гринвичу) в виде числа. Все вызовы `$millis()` в пределах выполнения выражения будут возвращать одно и то же значение." }, "$sum": { "args": "array", @@ -117,7 +117,7 @@ }, "$boolean": { "args": "arg", - "desc": "Приводит аргумент к логическому значению, используя следующие правила: \n\n - Логические значения возвращаются как есть\n - пустая строка: `false`\n - непустая строка: `true`\n - число равное `0`: `false`\n - ненулевое число: `true`\n - `null` : `false`\n - пустой массив: `false`\n - массив, который содержит хотя бы один элемент, приводимый к `true`: `true`\n - массив, все элементы которого приводятся к `false`: `false`\n - пустой объект: `false`\n - непустой объект: `true`\n - функция: `false`" + "desc": "Приводит аргумент к логическому значению, используя следующие правила:\n\n - Логические значения возвращаются как есть\n - пустая строка: `false`\n - непустая строка: `true`\n - число равное `0`: `false`\n - ненулевое число: `true`\n - `null` : `false`\n - пустой массив: `false`\n - массив, который содержит хотя бы один элемент, приводимый к `true`: `true`\n - массив, все элементы которого приводятся к `false`: `false`\n - пустой объект: `false`\n - непустой объект: `true`\n - функция: `false`" }, "$not": { "args": "arg", @@ -136,20 +136,20 @@ "desc": "Присоединяет один массив к другому" }, "$sort": { - "args":"array [, function]", - "desc":"Возвращает массив, содержащий все значения параметра `array`, но отсортированные по порядку.\n\nЕсли указан компаратор `function`, то это должна быть функция, которая принимает два параметра:\n\n`function(val1, val2)`\n\nЭту функцию вызывает алгоритм сортировки для сравнения двух значений: val1 и val2. Если значение val1 следует поместить после значения val2 в желаемом порядке сортировки, то функция должна возвращать логическое значение `true`, чтобы обозначить замену. В противном случае она должна вернуть `false`." + "args": "array [, function]", + "desc": "Возвращает массив, содержащий все значения параметра `array`, но отсортированные по порядку.\n\nЕсли указан компаратор `function`, то это должна быть функция, которая принимает два параметра:\n\n`function(val1, val2)`\n\nЭту функцию вызывает алгоритм сортировки для сравнения двух значений: val1 и val2. Если значение val1 следует поместить после значения val2 в желаемом порядке сортировки, то функция должна возвращать логическое значение `true`, чтобы обозначить замену. В противном случае она должна вернуть `false`." }, "$reverse": { - "args":"array", - "desc":"Возвращает массив, содержащий все значения из параметра `array`, но в обратном порядке." + "args": "array", + "desc": "Возвращает массив, содержащий все значения из параметра `array`, но в обратном порядке." }, "$shuffle": { - "args":"array", - "desc":"Возвращает массив, содержащий все значения из параметра `array`, но перемешанный в случайном порядке." + "args": "array", + "desc": "Возвращает массив, содержащий все значения из параметра `array`, но перемешанный в случайном порядке." }, "$zip": { - "args":"array, ...", - "desc":"Возвращает свернутый (сжатый) массив, содержащий сгруппированные массивы значений из аргументов `array1` … `arrayN` по индексам 0, 1, 2...." + "args": "array, ...", + "desc": "Возвращает свернутый (сжатый) массив, содержащий сгруппированные массивы значений из аргументов `array1` … `arrayN` по индексам 0, 1, 2...." }, "$keys": { "args": "object", @@ -168,24 +168,24 @@ "desc": "Объединяет массив объектов в один объект, содержащий все пары ключ / значение каждого из объектов входного массива. Если какой-либо из входных объектов содержит один и тот же ключ, возвращаемый объект будет содержать значение последнего в массиве. Вызывает ошибку, если входной массив содержит элемент, который не является объектом." }, "$sift": { - "args":"object, function", - "desc":"Возвращает объект, который содержит только пары ключ / значение из параметра `object`, которые удовлетворяют предикату `function`, переданному в качестве второго параметра.\n\n`function`, которая передается в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, key [, object]])`" + "args": "object, function", + "desc": "Возвращает объект, который содержит только пары ключ / значение из параметра `object`, которые удовлетворяют предикату `function`, переданному в качестве второго параметра.\n\n`function`, которая передается в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, key [, object]])`" }, "$each": { - "args":"object, function", - "desc":"Возвращает массив, который содержит значения, возвращаемые функцией `function` при применении к каждой паре ключ/значение из объекта `object`." + "args": "object, function", + "desc": "Возвращает массив, который содержит значения, возвращаемые функцией `function` при применении к каждой паре ключ/значение из объекта `object`." }, "$map": { - "args":"array, function", - "desc":"Возвращает массив, содержащий результаты применения функции `function` к каждому значению массива `array`.\n\nФункция `function`, указанная в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, index [, array]])`" + "args": "array, function", + "desc": "Возвращает массив, содержащий результаты применения функции `function` к каждому значению массива `array`.\n\nФункция `function`, указанная в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, index [, array]])`" }, "$filter": { - "args":"array, function", - "desc":"Возвращает массив, содержащий только те значения из массива `array`, которые удовлетворяют предикату `function`.\n\nФункция `function`, указанная в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, index [, array]])`" + "args": "array, function", + "desc": "Возвращает массив, содержащий только те значения из массива `array`, которые удовлетворяют предикату `function`.\n\nФункция `function`, указанная в качестве второго параметра, должна иметь следующую сигнатуру:\n\n`function(value [, index [, array]])`" }, "$reduce": { - "args":"array, function [, init]", - "desc":"Возвращает агрегированное значение, полученное в результате последовательного применения функции `function` к каждому значению в массиве в сочетании с результатом от предыдущего применения функции.\n\nФункция должна принимать два аргумента и вести себя как инфиксный оператор между каждым значением в массиве `array`. Сигнатура `function` должна иметь форму: `myfunc($accumulator, $value[, $index[, $array]])`\n\nНеобязательный параметр `init` используется в качестве начального значения в агрегации." + "args": "array, function [, init]", + "desc": "Возвращает агрегированное значение, полученное в результате последовательного применения функции `function` к каждому значению в массиве в сочетании с результатом от предыдущего применения функции.\n\nФункция должна принимать два аргумента и вести себя как инфиксный оператор между каждым значением в массиве `array`. Сигнатура `function` должна иметь форму: `myfunc($accumulator, $value[, $index[, $array]])`\n\nНеобязательный параметр `init` используется в качестве начального значения в агрегации." }, "$flowContext": { "args": "string[, string]", @@ -237,7 +237,7 @@ }, "$assert": { "args": "arg, str", - "desc": "Если значение `arg` равно true, функция возвращает значение undefined. Если значение `arg` равно false, генерируется исключение с `str` в качестве сообщения об исключении." + "desc": "Если значение `arg` равно `true`, функция возвращает значение undefined. Если значение `arg` равно `false`, генерируется исключение с `str` в качестве сообщения об исключении." }, "$single": { "args": "array, function", @@ -257,7 +257,7 @@ }, "$decodeUrl": { "args": "str", - "desc": "Декодирует компонент Uniform Resource Locator (URL), ранее созданный с помощью encodeUrl. \n\nПример: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + "desc": "Декодирует компонент Uniform Resource Locator (URL), ранее созданный с помощью encodeUrl.\n\nПример: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" }, "$distinct": { "args": "array", diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json index eca5878ae..15d126e75 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-CN/editor.json @@ -1,1095 +1,1233 @@ { - "common": { - "label": { - "name": "姓名", - "ok": "确认", - "done": "完成", - "cancel": "取消", - "delete": "删除", - "close": "关闭", - "load": "读取", - "save": "保存", - "import": "导入", - "export": "导出", - "back": "后退", - "next": "下一个", - "clone": "克隆项目", - "cont": "继续", - "style": "风格", - "line": "大纲", - "fill": "填充", - "label": "标签", - "color": "颜色", - "position": "位置", - "enable": "启用", - "disable": "禁用", - "upload": "上传" - }, - "type": { - "string": "字符串", - "number": "数字", - "boolean": "布尔值", - "array": "数组", - "buffer": "buffer", - "object": "对象", - "jsonString": "JSON字符串", - "undefined": "未定义", - "null": "空" - } + "common": { + "label": { + "name": "名称", + "ok": "确认", + "done": "完成", + "cancel": "取消", + "delete": "删除", + "close": "关闭", + "load": "读取", + "save": "保存", + "import": "导入", + "export": "导出", + "back": "后退", + "next": "下一个", + "clone": "克隆项目", + "cont": "继续", + "style": "样式", + "line": "大纲", + "fill": "填充", + "label": "标签", + "color": "颜色", + "position": "位置", + "enable": "启用", + "disable": "禁用", + "upload": "上传", + "lock": "锁定", + "unlock": "解锁", + "locked": "锁定", + "unlocked": "解锁" }, - "event": { - "loadPalette": "加载控制板", - "loadNodeCatalogs": "加载节点目录", - "loadNodes": "加载 __count__ 个节点", - "loadFlows": "加载流程", - "importFlows": "往工作区中加载流程" + "type": { + "string": "字符串", + "number": "数字", + "boolean": "布尔值", + "array": "数组", + "buffer": "buffer", + "object": "对象", + "jsonString": "JSON字符串", + "undefined": "未定义", + "null": "空" + } + }, + "event": { + "loadPlugins": "加载插件", + "loadPalette": "加载控制板", + "loadNodeCatalogs": "加载节点目录", + "loadNodes": "加载 __count__ 个节点", + "loadFlows": "加载流程", + "importFlows": "往工作区中加载流程", + "importError": "

加载流程错误

__message__

", + "loadingProject": "加载项目" + }, + "workspace": { + "defaultName": "流程 __number__", + "editFlow": "编辑流程: __name__", + "confirmDelete": "确认删除", + "delete": "你确定要删除 __label__ ?", + "dropFlowHere": "把流程放到这里", + "addFlow": "添加流程", + "addFlowToRight": "在右侧新增流程", + "hideFlow": "隐藏流程", + "hideOtherFlows": "隐藏其它流程", + "showAllFlows": "显示所有流程", + "hideAllFlows": "隐藏所有流程", + "hiddenFlows": "列出 __count__ 个隐藏流程", + "hiddenFlows_plural": "列出 __count__ 个隐藏流程", + "showLastHiddenFlow": "显示最后一个隐藏流程", + "listFlows": "流程一览", + "listSubflows": "列出子流程", + "status": "状态", + "enabled": "有效", + "disabled": "无效", + "info": "详细描述", + "selectNodes": "点击节点来选择", + "enableFlow": "启用流程", + "disableFlow": "禁用流程", + "lockFlow": "锁定流程", + "unlockFlow": "解除锁定", + "moveToStart": "移动到起始", + "moveToEnd": "移动到末尾" + }, + "menu": { + "label": { + "view": { + "view": "显示", + "grid": "网格", + "storeZoom": "加载时还原缩放尺寸", + "storePosition": "加载时还原滚动位置", + "showGrid": "显示网格", + "snapGrid": "对齐网格", + "gridSize": "网格尺寸", + "textDir": "文本方向", + "defaultDir": "默认方向", + "ltr": "从左到右", + "rtl": "从右到左", + "auto": "上下文", + "language": "语言", + "browserDefault": "浏览器默认" + }, + "sidebar": { + "show": "显示侧边栏" + }, + "palette": { + "show": "显示控制板" + }, + "edit": "编辑", + "settings": "设置", + "userSettings": "用户设置", + "nodes": "节点", + "displayStatus": "显示节点状态", + "displayConfig": "修改节点配置", + "import": "导入", + "importExample": "导入示例流程", + "export": "导出", + "search": "查找流程", + "searchInput": "查找流程", + "subflows": "子流程", + "createSubflow": "新建子流程", + "selectionToSubflow": "将选择部分更改为子流程", + "flows": "流程", + "add": "增加", + "delete": "删除", + "keyboardShortcuts": "键盘快捷方式", + "login": "登录", + "logout": "退出", + "editPalette": "节点管理", + "other": "其他", + "showTips": "显示小提示", + "showWelcomeTours": "显示新版本向导", + "help": "Node-RED 文档主页", + "projects": "项目", + "projects-new": "新建", + "projects-open": "打开", + "projects-settings": "项目设定", + "showNodeLabelDefault": "显示新添加的节点的标签", + "codeEditor": "代码编辑器", + "groups": "组", + "groupSelection": "选择组", + "ungroupSelection": "取消选择组", + "groupMergeSelection": "合并选择", + "groupRemoveSelection": "从组中移除", + "arrange": "布局", + "alignLeft": "左对齐", + "alignCenter": "居中对齐", + "alignRight": "右对齐", + "alignTop": "顶部对齐", + "alignMiddle": "垂直居中对齐", + "alignBottom": "底部对齐", + "distributeHorizontally": "横向分布", + "distributeVertically": "垂直分布", + "moveToBack": "置于底层", + "moveToFront": "置于顶层", + "moveBackwards": "向后移动", + "moveForwards": "向前移动", + "showNodeHelp":"显示节点帮助", + "enableSelectedNodes":"启用当前选中节点", + "disableSelectedNodes":"禁用当前选中节点", + "showSelectedNodeLabels":"显示选中的节点标签", + "hideSelectedNodeLabels":"隐藏选中的节点标签" + } + }, + "actions": { + "toggle-navigator": "切换导航器", + "zoom-out": "缩小", + "zoom-reset": "重设缩放", + "zoom-in": "放大", + "search-flows": "搜索流程", + "search-prev": "上一个", + "search-next": "下一个", + "search-counter": "\"__term__\" __result__ of __count__" + }, + "user": { + "loggedInAs": "作为 __name__ 登录", + "username": "账号", + "password": "密码", + "login": "登录", + "loginFailed": "登录失败", + "notAuthorized": "未授权", + "errors": { + "settings": "设置信息需要登录后才能访问", + "deploy": "改动需要登录后才能部署", + "notAuthorized": "此操作需要登录后才能执行" + } + }, + "notification": { + "state": { + "flowsStopped": "流程已停止", + "flowsStarted": "流程已启动" }, - "workspace": { - "defaultName": "流程 __number__", - "editFlow": "编辑流程: __name__", - "confirmDelete": "确认删除", - "delete": "你确定要删除 __label__ ?", - "dropFlowHere": "把流程放到这里", - "addFlow": "添加流程", - "listFlows": "流程一览", - "status": "状态", - "enabled": "有效", - "disabled": "无效", - "info": "详细描述", - "selectNodes": "点击节点来选择" + "warning": "警告: __message__", + "warnings": { + "undeployedChanges": "节点中存在未部署的更改", + "nodeActionDisabled": "节点操作已禁用", + "nodeActionDisabledSubflow": "节点动作在子流程中被禁用", + "missing-types": "流程由于缺少节点类型而停止。请检查日志的详细信息", + "missing-modules": "

流程因缺少模块而停止。

", + "safe-mode": "

流程以安全模式停止。

您可以修改流程并部署更改以重新启动。

", + "restartRequired": "Node-RED必须重新启动,以启用升级的模块", + "credentials_load_failed": "

由于无法解密凭据,因此流程停止。

流程凭据文件已加密,但是项目的加密密钥丢失或无效。

", + "credentials_load_failed_reset": "

凭据无法解密

流凭据文件已加密,但是项目的加密密钥丢失或无效。

流凭据文件将在下一次部署时重置。任何现有的流凭证将被清除。

", + "missing_flow_file": "

找不到项目流程文件。

该项目未配置流程文件。

", + "missing_package_file": "

找不到项目包文件。

项目缺少package.json文件。

", + "project_empty": "

该项目为空。

是否要创建一组默认的项目文件?
否则,您将必须在编辑器外部手动将文件添加到项目中。

", + "project_not_found": "

未找到项目 __project__ 。

", + "git_merge_conflict": "

自动合并更改失败。

修复未合并的冲突,然后提交结果。

" + }, + "error": "错误: __message__", + "errors": { + "lostConnection": "丢失与服务器的连接,重新连接...", + "lostConnectionReconnect": "丢失与服务器的连接, __time__ 秒后重新连接", + "lostConnectionTry": "现在尝试", + "cannotAddSubflowToItself": "无法向其自身添加子流程", + "cannotAddCircularReference": "无法添加子流程 - 循环引用", + "unsupportedVersion": "您正在使用不受支持的Node.js版本
请升级到最新版本的Node.js LTS", + "failedToAppendNode": "

'__module__'加载失败

__error__

" + }, + "project": { + "change-branch": "转到本地分支'__project__'", + "merge-abort": "Git合并中止", + "loaded": "项目'__project__'已加载", + "updated": "项目'__project__'已更新", + "pull": "项目'__project__'已重新加载", + "revert": "项目 '__project__'已还原", + "merge-complete": "Git合并完成", + "setupCredentials": "设定证书", + "setupProjectFiles": "设置项目文件", + "no": "不了,谢谢", + "createDefault": "创建默认项目文件", + "mergeConflict": "显示合并冲突" + }, + "label": { + "manage-project-dep": "管理项目依赖性", + "setup-cred": "设定证书", + "setup-project": "设置项目文件", + "create-default-package": "创建默认的包文件", + "no-thanks": "不了,谢谢", + "create-default-project": "创建默认项目文件", + "show-merge-conflicts": "显示合并冲突", + "unknownNodesButton": "搜索未知节点" + } + }, + "clipboard": { + "clipboard": "剪贴板", + "nodes": "节点", + "node": "__count__ 个节点", + "node_plural": "__count__ 个节点", + "configNode": "__count__ 个配置节点", + "configNode_plural": "__count__ 个配置节点", + "group": "__count__ 个组", + "group_plural": "__count__ 个组", + "flow": "__count__ 个流程", + "flow_plural": "__count__ 个流程", + "subflow": "__count__ 个子流程", + "subflow_plural": "__count__ 子流程", + "replacedNodes": "__count__ 个节点被置换", + "replacedNodes_plural": "__count__ 个节点被置换", + "pasteNodes": "在下方粘贴节点 ", + "selectFile": "导入节点文件", + "importNodes": "导入节点", + "exportNodes": "导出节点至剪贴板", + "download": "下载", + "importUnrecognised": "导入了无法识别的类型:", + "importUnrecognised_plural": "导入了无法识别的类型:", + "importDuplicate": "导入了重复节点:", + "importDuplicate_plural": "导入了重复节点:", + "nodesExported": "节点导出到了剪贴板", + "nodesImported": "导入:", + "nodeCopied": "已复制 __count__ 个节点", + "nodeCopied_plural": "已复制 __count__ 个节点", + "groupCopied": "复制 __count__ 个组", + "groupCopied_plural": "已复制 __count__ 个groups", + "groupStyleCopied": "已复制组风格", + "invalidFlow": "无效的流程: __message__", + "recoveredNodes": "复原的节点", + "recoveredNodesInfo": "导入节点时,此流上的节点缺少有效的流ID。 它们已被添加到此流中,您可以复原或删除它们。", + "recoveredNodesNotification": "

导入的节点缺少有效的流ID

已将它们添加到名为 '__flowName__'的新流中。

", + "export": { + "selected": "已选择的节点", + "current": "当前节点", + "all": "所有流程", + "compact": "紧凑", + "formatted": "已格式化", + "copy": "导出到剪贴板", + "export": "导出到库", + "exportAs": "导出为", + "overwrite": "替换", + "exists": "

\"__file__\"已存在

是否要替换它?

" + }, + "import": { + "import": "导入到", + "importSelected": "导入所选项", + "importCopy": "导入副本", + "viewNodes": "查看节点", + "newFlow": "新流程", + "replace": "置换", + "errors": { + "notArray": "输入的不是JSON数组", + "itemNotObject": "输入的流无效 - 项目 __index__ 不是节点对象", + "missingId": "输入的流无效-项 __index__ 缺少'id'属性", + "missingType": "输入的流程无效-项 __index__ 缺少'类型'属性" + }, + "conflictNotification1": "您要导入的某些节点已经存在于工作空间中。", + "conflictNotification2": "选择要导入的节点,并确认要替换现有的节点还是导入它们的副本" + }, + "copyMessagePath": "已复制路径", + "copyMessageValue": "已复制数值", + "copyMessageValue_truncated": "已复制舍弃的数值" + }, + "deploy": { + "deploy": "部署", + "full": "全部", + "fullDesc": "在工作区中部署所有内容", + "modifiedFlows": "已修改的流程", + "modifiedFlowsDesc": "只部署包含已更改节点的流", + "modifiedNodes": "已更改的节点", + "modifiedNodesDesc": "只部署已经更改的节点", + "startFlows": "启动", + "startFlowsDesc": "启动流程", + "stopFlows": "停止", + "stopFlowsDesc": "停止流程", + "restartFlows": "重启流程", + "restartFlowsDesc": "重新启动当前部署的流程", + "successfulDeploy": "部署成功", + "successfulRestart": "成功重启流程", + "deployFailed": "部署失败: __message__", + "unusedConfigNodes": "您有一些未使用的配置节点", + "unusedConfigNodesButton": "搜索未使用的配置节点", + "unknownNodesButton": "查找未知节点", + "invalidNodesButton": "查找无效节点", + "errors": { + "noResponse": "服务器没有响应" + }, + "confirm": { + "button": { + "ignore": "忽略", + "confirm": "确认部署", + "review": "查看更改", + "cancel": "取消", + "merge": "合并", + "overwrite": "忽略 & 部署" + }, + "undeployedChanges": "您有未部署的更改。\n\n离开此页面将丢失这些更改。", + "improperlyConfigured": "工作区包含一些未正确配置的节点:", + "unknown": "工作区包含一些未知的节点类型:", + "confirm": "你确定要部署吗?", + "doNotWarn": "不要再对此发出警告", + "conflict": "服务器正在运行较新的一组流程。", + "backgroundUpdate": "服务器上的流程已更新。", + "conflictChecking": "检查是否可以自动合并更改", + "conflictAutoMerge": "此更改不包括冲突,可以自动合并", + "conflictManualMerge": "这些更改包括了在部署之前必须解决的冲突。", + "plusNMore": "+ __count__ 更多" + } + }, + "eventLog": { + "title": "事件记录日志", + "view": "查看日志" + }, + "diff": { + "unresolvedCount": "__count__个未解决的冲突", + "unresolvedCount_plural": "__count__个未解决的冲突", + "globalNodes": "全局节点", + "flowProperties": "流程属性", + "type": { + "added": "已添加", + "changed": "已更改", + "unchanged": "未更改", + "deleted": "已删除", + "flowDeleted": "已删除流程", + "flowAdded": "已添加流程", + "movedTo": "移动至__id__", + "movedFrom": "从__id__移动" + }, + "nodeCount": "__count__个节点", + "nodeCount_plural": "__count__个节点", + "local": "本地", + "remote": "远程", + "reviewChanges": "查看变更", + "noBinaryFileShowed": "无法显示二进制文件内容", + "viewCommitDiff": "查看提交更改", + "compareChanges": "比较变更", + "saveConflict": "保存冲突解决", + "conflictHeader": "已解决__unresolved__中的__resolved__个冲突", + "commonVersionError": "通用版本不包含有效的JSON:", + "oldVersionError": "旧版本不包含有效的JSON:", + "newVersionError": "新版本不包含有效的JSON:" + }, + "subflow": { + "editSubflowInstance": "编辑子流实例: __name__", + "editSubflow": "编辑流程模板: __name__", + "edit": "编辑流程模板", + "subflowInstances": "这个子流程模板有 __count__ 个实例", + "subflowInstances_plural": "这个子流程模板有 __count__ 个实例", + "editSubflowProperties": "编辑属性", + "input": "输入:", + "output": "输出:", + "status": "状态节点", + "deleteSubflow": "删除子流程", + "confirmDelete": "您确定要删除此子流程?", + "info": "详细描述", + "category": "类别", + "module": "模块", + "license": "许可", + "licenseNone": "无", + "licenseOther": "其它", + "type": "节点类型", + "version": "版本", + "versionPlaceholder": "x.y.z", + "keys": "关键字", + "keysPlaceholder": "使用英文逗号分隔关键字", + "author": "作者", + "authorPlaceholder": "名字 ", + "desc": "描述", + "env": { + "restore": "恢复为默认子流", + "remove": "删除环境变量" + }, + "errors": { + "noNodesSelected": "无法创建子流程: 未选择节点", + "acrossMultipleGroups": "无法跨多个组创建子流", + "multipleInputsToSelection": "无法创建子流程: 多个输入到了选择" + } + }, + "group": { + "editGroup": "编辑组: __name__", + "errors": { + "cannotCreateDiffGroups": "无法使用来自不同组的节点创建组", + "cannotAddSubflowPorts": "无法将子流程的端口添加到组" + } + }, + "editor": { + "configEdit": "编辑", + "configAdd": "添加", + "configUpdate": "更新", + "configDelete": "删除", + "nodesUse": "__count__ 个节点使用此配置", + "nodesUse_plural": "__count__ 个节点使用此配置", + "addNewConfig": "添加新的 __type__ 配置", + "editNode": "编辑 __type__ 节点", + "editConfig": "编辑 __type__ 配置", + "addNewType": "添加新的 __type__ 节点", + "nodeProperties": "节点属性", + "label": "标签", + "color": "颜色", + "portLabels": "端口标签", + "labelInputs": "输入", + "labelOutputs": "输出", + "settingIcon": "图标", + "default": "默认", + "noDefaultLabel": "无", + "defaultLabel": "使用默认标签", + "searchIcons": "搜索图标", + "useDefault": "使用默认", + "description": "描述", + "show": "显示", + "hide": "隐藏", + "locale": "选择界面语言", + "icon": "图标", + "inputType": "输入类型", + "selectType": "选择类型...", + "loadCredentials": "加载节点凭证", + "inputs": { + "input": "输入", + "select": "选择", + "checkbox": "复选框", + "spinner": "微调器", + "none": "空", + "hidden": "隐藏属性" + }, + "types": { + "str": "字符串", + "num": "数字", + "bool": "布尔", + "json": "JSON", + "bin": "buffer", + "env": "环境变量", + "cred": "证书" }, "menu": { - "label": { - "view": { - "view": "显示", - "grid": "网格", - "showGrid": "显示网格", - "snapGrid": "对齐网格", - "gridSize": "网格尺寸", - "textDir": "文本方向", - "defaultDir": "默认方向", - "ltr": "从左到右", - "rtl": "从右到左", - "auto": "上下文", - "language": "语言", - "browserDefault": "浏览器默认" - }, - "sidebar": { - "show": "显示侧边栏" - }, - "palette": { - "show": "显示控制板" - }, - "settings": "设置", - "userSettings": "用户设置", - "nodes": "节点", - "displayStatus": "显示节点状态", - "displayConfig": "修改节点配置", - "import": "导入", - "export": "导出", - "search": "查找流程", - "searchInput": "查找流程", - "subflows": "子流程", - "createSubflow": "新建子流程", - "selectionToSubflow": "将选择部分更改为子流程", - "flows": "流程", - "add": "增加", - "rename": "重命名", - "delete": "删除", - "keyboardShortcuts": "键盘快捷方式", - "login": "登录", - "logout": "退出", - "editPalette": "节点管理", - "other": "其他", - "showTips": "显示小提示", - "help": "Node-RED网页", - "projects": "项目", - "projects-new": "新建", - "projects-open": "打开", - "projects-settings": "项目设定", - "showNodeLabelDefault": "显示新添加的节点的标签", - "groups": "组", - "groupSelection": "选择组", - "ungroupSelection": "取消选择组", - "groupMergeSelection": "合并选择", - "groupRemoveSelection": "从组中移除" - } + "input": "输入", + "select": "选择", + "checkbox": "复选框", + "spinner": "微调器", + "hidden": "仅标签" + }, + "select": { + "label": "标签", + "value": "值" + }, + "spinner": { + "min": "最小值", + "max": "最大值" + }, + "errors": { + "scopeChange": "更改范围将使其他流中的节点无法使用", + "invalidProperties": "无效的属性:", + "credentialLoadFailed": "无法加载节点凭据" + } + }, + "keyboard": { + "title": "键盘快捷键", + "keyboard": "键盘", + "filterActions": "筛选动作", + "shortcut": "快捷键", + "scope": "范围", + "unassigned": "未分配", + "global": "全局", + "workspace": "工作区", + "editor": "编辑对话框", + "selectAll": "选择所有节点", + "selectNone": "取消所有选择", + "selectAllConnected": "选择所有连接的节点", + "addRemoveNode": "从选择中添加/删除节点", + "editSelected": "编辑选定节点", + "deleteSelected": "删除选定节点或链接", + "deleteReconnect": "删除并重新连接", + "importNode": "导入节点", + "exportNode": "导出节点", + "nudgeNode": "移动所选节点(1px)", + "moveNode": "移动所选节点(20px)", + "toggleSidebar": "切换侧边栏", + "togglePalette": "切换控制板", + "copyNode": "复制所选节点", + "cutNode": "剪切所选节点", + "pasteNode": "粘贴节点", + "copyGroupStyle": "复制组样式", + "pasteGroupStyle": "粘贴组样式", + "undoChange": "撤消", + "redoChange": "重做", + "searchBox": "打开搜索框", + "managePalette": "管理面板", + "actionList": "动作列表", + "splitWireWithLinks": "使用Link节点拆分已选项" + }, + "library": { + "library": "库", + "openLibrary": "打开库...", + "saveToLibrary": "保存到库...", + "typeLibrary": "__type__类型库", + "unnamedType": "无名__type__", + "exportedToLibrary": "节点导出到库", + "dialogSaveOverwrite": "一个叫做__libraryName__的__libraryType__已经存在,您需要覆盖么?", + "invalidFilename": "无效的文件名", + "savedNodes": "保存的节点", + "savedType": "已保存__type__", + "saveFailed": "保存失败: __message__", + "newFolder": "新文件夹", + "types": { + "local": "本地存储", + "examples": "示例" + } + }, + "palette": { + "noInfo": "无可用信息", + "filter": "过滤已安装模块", + "search": "搜索模块", + "addCategory": "添加新的...", + "label": { + "subflows": "子流程", + "network": "网络", + "common": "通用", + "input": "输入", + "output": "输出", + "function": "功能", + "sequence": "序列化", + "parser": "解析", + "social": "社交", + "storage": "存储", + "analysis": "分析", + "advanced": "高级" }, "actions": { - "toggle-navigator": "切换导航器", - "zoom-out": "缩小", - "zoom-reset": "重设缩放", - "zoom-in": "放大" + "collapse-all": "收起所有类别", + "expand-all": "展开所有类别" }, - "user": { - "loggedInAs": "作为 __name__ 登录", - "username": "账号", - "password": "密码", - "login": "登录", - "loginFailed": "登录失败", - "notAuthorized": "未授权", - "errors": { - "settings": "设置信息需要登录后才能访问", - "deploy": "改动需要登录后才能部署", - "notAuthorized": "此操作需要登录后才能执行" - } - }, - "notification": { - "warning": "警告: __message__", - "warnings": { - "undeployedChanges": "节点中存在未部署的更改", - "nodeActionDisabled": "节点操作已禁用", - "nodeActionDisabledSubflow": "节点动作在子流程中被禁用", - "missing-types": "流程由于缺少节点类型而停止。请检查日志的详细信息", - "safe-mode": "

流程以安全模式停止。

您可以修改流程并部署更改以重新启动。

", - "restartRequired": "Node-RED必须重新启动,以启用升级的模块", - "credentials_load_failed": "

由于无法解密凭据,因此流程停止。

流程凭据文件已加密,但是项目的加密密钥丢失或无效。

", - "credentials_load_failed_reset": "

凭据无法解密

流凭据文件已加密,但是项目的加密密钥丢失或无效。

流凭据文件将在下一次部署时重置。任何现有的流凭证将被清除。

", - "missing_flow_file": "

找不到项目流程文件。

该项目未配置流程文件。

", - "missing_package_file": "

找不到项目包文件。

项目缺少package.json文件。

", - "project_empty": "

该项目为空。

是否要创建一组默认的项目文件?
否则,您将必须在编辑器外部手动将文件添加到项目中。

", - "project_not_found": "

未找到项目 __project__ 。

", - "git_merge_conflict": "

自动合并更改失败。

修复未合并的冲突,然后提交结果。

" - }, - "error": "错误: __message__", - "errors": { - "lostConnection": "丢失与服务器的连接,重新连接...", - "lostConnectionReconnect": "丢失与服务器的连接, __time__ 秒后重新连接", - "lostConnectionTry": "现在尝试", - "cannotAddSubflowToItself": "无法向其自身添加子流程", - "cannotAddCircularReference": "无法添加子流程 - 循环引用", - "unsupportedVersion": "您正在使用不受支持的Node.js版本
请升级到最新版本的Node.js LTS", - "failedToAppendNode": "

'__module__'加载失败

__error__

" - }, - "project": { - "change-branch": "转到本地分支'__project__'", - "merge-abort": "Git合并中止", - "loaded": "项目'__project__'已加载", - "updated": "项目'__project__'已更新", - "pull": "项目'__project__'已重新加载", - "revert": "项目 '__project__'已还原", - "merge-complete": "Git合并完成", - "setupCredentials": "设定证书", - "setupProjectFiles": "设置项目文件", - "no": "不了,谢谢", - "createDefault": "创建默认项目文件", - "mergeConflict": "显示合并冲突" - }, - "label": { - "manage-project-dep": "管理项目依赖性", - "setup-cred": "设定证书", - "setup-project": "设置项目文件", - "create-default-package": "创建默认的包文件", - "no-thanks": "不了,谢谢", - "create-default-project": "创建默认项目文件", - "show-merge-conflicts": "显示合并冲突", - "unknownNodesButton": "搜索未知节点" - } - }, - "clipboard": { - "clipboard": "剪贴板", - "nodes": "节点", - "node": "__count__ 个节点", - "node_plural": "__count__ 个节点", - "configNode": "__count__ 个配置节点", - "configNode_plural": "__count__ 个配置节点", - "group": "__count__ 个组", - "group_plural": "__count__ 个组", - "flow": "__count__ 个流程", - "flow_plural": "__count__ 个流程", - "subflow": "__count__ 个子流程", - "subflow_plural": "__count__ 子流程", - "replacedNodes": "__count__ 个节点被置换", - "replacedNodes_plural": "__count__ 个节点被置换", - "pasteNodes": "在这里粘贴节点", - "selectFile": "选择要导入的文件", - "importNodes": "导入节点", - "exportNodes": "导出节点至剪贴板", - "download": "下载", - "importUnrecognised": "导入了无法识别的类型:", - "importUnrecognised_plural": "导入了无法识别的类型:", - "nodesExported": "节点导出到了剪贴板", - "nodesImported": "导入:", - "nodeCopied": "已复制 __count__ 个节点", - "nodeCopied_plural": "已复制 __count__ 个节点", - "groupCopied": "复制 __count__ 个组", - "groupCopied_plural": "已复制 __count__ 个groups", - "groupStyleCopied": "已复制组风格", - "invalidFlow": "无效的流程: __message__", - "recoveredNodes": "复原的节点", - "recoveredNodesInfo": "导入节点时,此流上的节点缺少有效的流ID。 它们已被添加到此流中,您可以复原或删除它们。", - "recoveredNodesNotification": "

导入的节点缺少有效的流ID

已将它们添加到名为 '__flowName__'的新流中。

", - "export": { - "selected": "已选择的节点", - "current": "现在的节点", - "all": "所有流程", - "compact": "紧凑", - "formatted": "已格式化", - "copy": "导出到剪贴板", - "export": "导出到库", - "exportAs": "导出为", - "overwrite": "替换", - "exists": "

\"__file__\"已存在

是否要替换它?

" - }, - "import": { - "import": "导入到", - "importSelected": "导入所选项", - "importCopy": "导入副本", - "viewNodes": "查看节点", - "newFlow": "新流程", - "replace": "置换", - "errors": { - "notArray": "输入的不是JSON数组", - "itemNotObject": "输入的流无效 - 项目 __index__ 不是节点对象", - "missingId": "输入的流无效-项 __index__ 缺少'id'属性", - "missingType": "输入的流程无效-项 __index__ 缺少'类型'属性" - }, - "conflictNotification1": "您要导入的某些节点已经存在于工作空间中。", - "conflictNotification2": "选择要导入的节点,并确认要替换现有的节点还是导入它们的副本" - }, - "copyMessagePath": "已复制路径", - "copyMessageValue": "已复制数值", - "copyMessageValue_truncated": "已复制舍弃的数值" - }, - "deploy": { - "deploy": "部署", - "full": "全面", - "fullDesc": "在工作区中部署所有内容", - "modifiedFlows": "已修改的流程", - "modifiedFlowsDesc": "只部署包含已更改节点的流", - "modifiedNodes": "已更改的节点", - "modifiedNodesDesc": "只部署已经更改的节点", - "restartFlows": "重启流程", - "restartFlowsDesc": "重新启动当前部署的流程", - "successfulDeploy": "部署成功", - "successfulRestart": "成功重启流程", - "deployFailed": "部署失败: __message__", - "unusedConfigNodes": "您有一些未使用的配置节点", - "unusedConfigNodesButton":"搜索未使用的配置节点", - "unknownNodesButton":"搜索未知节点", - "invalidNodesButton":"搜索无效节点", - "errors": { - "noResponse": "服务器没有响应" - }, - "confirm": { - "button": { - "ignore": "忽略", - "confirm": "确认部署", - "review": "查看更改", - "cancel": "取消", - "merge": "合并", - "overwrite": "忽略 & 部署" - }, - "undeployedChanges": "您有未部署的更改。\n\n离开此页面将丢失这些更改。", - "improperlyConfigured": "工作区包含一些未正确配置的节点:", - "unknown": "工作区包含一些未知的节点类型:", - "confirm": "你确定要部署吗?", - "doNotWarn": "不要再对此发出警告", - "conflict": "服务器正在运行较新的一组流程。", - "backgroundUpdate": "服务器上的流程已更新。", - "conflictChecking": "检查是否可以自动合并更改", - "conflictAutoMerge": "此更改不包括冲突,可以自动合并", - "conflictManualMerge": "这些更改包括了在部署之前必须解决的冲突。", - "plusNMore": "+ __count__ 更多" - } - }, - "eventLog": { - "title": "事件记录日志", - "view": "查看日志" - }, - "diff": { - "unresolvedCount": "__count__个未解决的冲突", - "unresolvedCount_plural": "__count__个未解决的冲突", - "globalNodes": "全局节点", - "flowProperties": "流程属性", - "type": { - "added": "已添加", - "changed": "已更改", - "unchanged": "未更改", - "deleted": "已删除", - "flowDeleted": "已删除流程", - "flowAdded": "已添加流程", - "movedTo": "移动至__id__", - "movedFrom": "从__id__移动" - }, - "nodeCount": "__count__个节点", - "nodeCount_plural": "__count__个节点", - "local": "本地", - "remote": "远程", - "reviewChanges": "查看变更", - "noBinaryFileShowed": "无法显示二进制文件内容", - "viewCommitDiff": "查看提交更改", - "compareChanges": "比较变更", - "saveConflict": "保存冲突解决", - "conflictHeader": "已解决__unresolved__中的__resolved__个冲突", - "commonVersionError": "通用版本不包含有效的JSON:", - "oldVersionError": "旧版本不包含有效的JSON:", - "newVersionError": "新版本不包含有效的JSON:" - }, - "subflow": { - "editSubflowInstance": "编辑子流实例: __name__", - "editSubflow": "编辑流程模板: __name__", - "edit": "编辑流程模板", - "subflowInstances": "这个子流程模板有 __count__ 个实例", - "subflowInstances_plural": "这个子流程模板有 __count__ 个实例", - "editSubflowProperties": "编辑属性", - "input": "输入:", - "output": "输出:", - "status": "状态节点", - "deleteSubflow": "删除子流程", - "info": "详细描述", - "category": "类别", - "env": { - "restore": "恢复为默认子流", - "remove": "删除环境变量" - }, - "errors": { - "noNodesSelected": "无法创建子流程: 未选择节点", - "multipleInputsToSelection": "无法创建子流程: 多个输入到了选择" - } - }, - "group": { - "editGroup": "编辑组: __name__", - "errors": { - "cannotCreateDiffGroups": "无法使用来自不同组的节点创建组", - "cannotAddSubflowPorts": "无法将子流程的端口添加到组" - } + "event": { + "nodeAdded": "添加到面板中的节点:", + "nodeAdded_plural": "添加到面板中的多个节点", + "nodeRemoved": "从面板中删除的节点:", + "nodeRemoved_plural": "从面板中删除的多个节点:", + "nodeEnabled": "启用节点:", + "nodeEnabled_plural": "启用多个节点:", + "nodeDisabled": "禁用节点:", + "nodeDisabled_plural": "禁用多个节点:", + "nodeUpgraded": "节点模块__module__升级到__version__版本", + "unknownNodeRegistered": "加载节点错误:
  • __type__
    __error__
" }, "editor": { - "configEdit": "编辑", - "configAdd": "添加", - "configUpdate": "更新", - "configDelete": "删除", - "nodesUse": "__count__ 个节点使用此配置", - "nodesUse_plural": "__count__ 个节点使用此配置", - "addNewConfig": "添加新的 __type__ 配置", - "editNode": "编辑 __type__ 节点", - "editConfig": "编辑 __type__ 配置", - "addNewType": "添加新的 __type__ 节点", - "nodeProperties": "节点属性", - "label": "标签", - "color": "颜色", - "portLabels": "端口标签", - "labelInputs": "输入", - "labelOutputs": "输出", - "settingIcon": "图标", - "default": "默认", - "noDefaultLabel": "无", - "defaultLabel": "使用默认标签", - "searchIcons": "搜索图标", - "useDefault": "使用默认", - "description": "描述", - "show": "显示", - "hide": "隐藏", - "locale": "选择界面语言", - "icon": "图标", - "inputType": "输入类型", - "selectType": "选择类型...", - "inputs": { - "input": "输入", - "select": "选择", - "checkbox": "复选框", - "spinner": "微调器", - "none": "空", - "hidden": "隐藏属性" + "title": "面板管理", + "palette": "控制板", + "allCatalogs": "所有目录", + "times": { + "seconds": "秒前", + "minutes": "分前", + "minutesV": "__count__ 分前", + "hoursV": "__count__ 小时前", + "hoursV_plural": "__count__ 小时前", + "daysV": "__count__ 天前", + "daysV_plural": "__count__ 天前", + "weeksV": "__count__ 周前", + "weeksV_plural": "__count__ 周前", + "monthsV": "__count__ 月前", + "monthsV_plural": "__count__ 月前", + "yearsV": "__count__ 年前", + "yearsV_plural": "__count__ 年前", + "yearMonthsV": "__y__ 年, __count__ 月前", + "yearMonthsV_plural": "__y__ 年, __count__ 月前", + "yearsMonthsV": "__y__ 年, __count__ 月前", + "yearsMonthsV_plural": "__y__ 年, __count__ 月前" + }, + "nodeCount": "__label__ 个节点", + "nodeCount_plural": "__label__ 个节点", + "moduleCount": "__count__ 个可用模块", + "moduleCount_plural": "__count__ 个可用模块", + "inuse": "使用中", + "enableall": "全部启用", + "disableall": "全部禁用", + "enable": "启用", + "disable": "禁用", + "remove": "移除", + "update": "更新至 __version__ 版本", + "updated": "已更新", + "install": "安装", + "installed": "已安装", + "conflict": "冲突", + "conflictTip": "

无法安装此模块,因为它包含已安装的
节点类型

__module__冲突

", + "loading": "加载目录...", + "tab-nodes": "节点", + "tab-install": "安装", + "sort": "排序:", + "sortRelevance": "关联", + "sortAZ": "a-z顺序", + "sortRecent": "日期顺序", + "more": "增加 __count__ 个", + "upload": "上传模块tgz文件", + "refresh": "更新模块列表", + "errors": { + "catalogLoadFailed": "无法加载节点目录。
查看浏览器控制台了解更多信息", + "installFailed": "无法安装: __module__
__message__
查看日志了解更多信息", + "removeFailed": "无法删除: __module__
__message__
查看日志了解更多信息", + "updateFailed": "无法更新: __module__
__message__
查看日志了解更多信息", + "enableFailed": "无法启用: __module__
__message__
查看日志了解更多信息", + "disableFailed": "无法禁用: __module__
__message__
查看日志了解更多信息" + }, + "confirm": { + "install": { + "body": "在安装之前,请阅读节点的文档,某些节点的依赖关系不能自动解决,可能需要重新启动Node-RED。", + "title": "安装节点" }, - "types": { - "str": "字符串", - "num": "数字", - "bool": "布尔", - "json": "JSON", - "bin": "buffer", - "env": "环境变量", - "cred": "证书" + "remove": { + "body": "删除节点将从Node-RED卸载它。节点可能会继续使用资源,直到重新启动Node-RED。", + "title": "删除节点" }, - "menu": { - "input": "输入", - "select": "选择", - "checkbox": "复选框", - "spinner": "微调器", - "hidden": "仅标签" + "update": { + "body": "更新节点将需要重新启动Node-RED来完成更新,该过程必须由手动完成。", + "title": "更新节点" }, - "select": { - "label": "标签", - "value": "值" + "cannotUpdate": { + "body": "此节点的更新可用,但不会安装在面板管理器可以更新的位置。

请参阅有关如何更新此节点的文档。" }, - "spinner": { - "min": "最小值", - "max": "最大值" - }, - "errors": { - "scopeChange": "更改范围将使其他流中的节点无法使用", - "invalidProperties": "无效的属性:" + "button": { + "review": "打开节点信息", + "install": "安装", + "remove": "删除", + "update": "更新" } + } + } + }, + "sidebar": { + "info": { + "name": "节点信息", + "tabName": "名称", + "label": "信息", + "node": "节点", + "type": "类型", + "group": "组", + "module": "模组", + "id": "ID", + "status": "状态", + "enabled": "启用", + "disabled": "禁用", + "subflow": "子流程", + "instances": "实例", + "properties": "属性", + "info": "信息", + "desc": "描述", + "blank": "空白", + "null": "空", + "showMore": "展开", + "showLess": "收起", + "flow": "流程", + "selection": "选择", + "nodes": "__count__ 个节点", + "flowDesc": "流程描述", + "subflowDesc": "子流程描述", + "nodeHelp": "节点帮助", + "none": "无", + "arrayItems": "__count__ 个项目", + "showTips": "您可以从设置面板启用提示信息", + "outline": "大纲", + "empty": "空的", + "globalConfig": "全局配置节点", + "triggerAction": "触发动作", + "find": "在工作区中查找", + "copyItemUrl": "复制地址", + "copyURL2Clipboard": "复制地址到剪贴板", + "showFlow": "显示流程", + "hideFlow": "隐藏流程" }, - "keyboard": { - "title": "键盘快捷键", - "keyboard": "键盘", - "filterActions": "筛选动作", - "shortcut": "快捷键", - "scope": "范围", - "unassigned": "未分配", - "global": "全局", - "workspace": "工作区", - "selectAll": "选择所有节点", - "selectAllConnected": "选择所有连接的节点", - "addRemoveNode": "从选择中添加/删除节点", - "editSelected": "编辑选定节点", - "deleteSelected": "删除选定节点或链接", - "importNode": "导入节点", - "exportNode": "导出节点", - "nudgeNode": "移动所选节点(1px)", - "moveNode": "移动所选节点(20px)", - "toggleSidebar": "切换侧边栏", - "togglePalette": "切换控制板", - "copyNode": "复制所选节点", - "cutNode": "剪切所选节点", - "pasteNode": "粘贴节点", - "undoChange": "撤消上次执行的更改", - "searchBox": "打开搜索框", - "managePalette": "管理面板", - "actionList": "动作列表" + "help": { + "name": "帮助", + "label": "帮助", + "search": "搜索帮助", + "nodeHelp": "节点帮助", + "showHelp": "显示帮助", + "showInOutline": "在大纲中显示", + "showTopics": "显示主题", + "noHelp": "未选择帮助主题", + "changeLog": "更新日志" }, - "library": { - "library": "库", - "openLibrary": "打开库...", - "saveToLibrary": "保存到库...", - "typeLibrary": "__type__类型库", - "unnamedType": "无名__type__", - "exportedToLibrary": "节点导出到库", - "dialogSaveOverwrite": "一个叫做__libraryName__的__libraryType__已经存在,您需要覆盖么?", - "invalidFilename": "无效的文件名", - "savedNodes": "保存的节点", - "savedType": "已保存__type__", - "saveFailed": "保存失败: __message__", - "newFolder": "新文件夹", - "types": { - "local": "本地的", - "examples": "例子" - }, - "exportToLibrary": "将节点导出到库" + "config": { + "name": "配置节点", + "label": "配置", + "global": "所有流程", + "none": "无", + "subflows": "子流程", + "flows": "流程", + "filterAll": "所有", + "showAllConfigNodes": "显示所有配置节点", + "filterUnused": "未使用", + "showAllUnusedConfigNodes": "显示所有未使用的配置节点", + "filtered": "__count__ 个隐藏" + }, + "context": { + "name": "上下文数据", + "label": "上下文", + "none": "未选择", + "refresh": "刷新以加载", + "empty": "空", + "node": "节点", + "flow": "流程", + "global": "全局", + "deleteConfirm": "确定要删除这个项目吗?", + "autoRefresh": "刷新选择更改", + "refrsh": "刷新", + "delete": "删除" }, "palette": { - "noInfo": "无可用信息", - "filter": "过滤节点", - "search": "搜索模块", - "addCategory": "添加新的...", - "label": { - "subflows": "子流程", - "network": "网络", - "common": "共通", - "input": "输入", - "output": "输出", - "function": "功能", - "sequence": "序列", - "parser": "解析", - "social": "社交", - "storage": "存储", - "analysis": "分析", - "advanced": "高级" - }, - "actions": { - "collapse-all": "收起所有类别", - "expand-all": "展开所有类别" - }, - "event": { - "nodeAdded": "添加到面板中的节点:", - "nodeAdded_plural": "添加到面板中的多个节点", - "nodeRemoved": "从面板中删除的节点:", - "nodeRemoved_plural": "从面板中删除的多个节点:", - "nodeEnabled": "启用节点:", - "nodeEnabled_plural": "启用多个节点:", - "nodeDisabled": "禁用节点:", - "nodeDisabled_plural": "禁用多个节点:", - "nodeUpgraded": "节点模块__module__升级到__version__版本" - }, - "editor": { - "title": "面板管理", - "palette": "控制板", - "times": { - "seconds": "秒前", - "minutes": "分前", - "minutesV": "__count__ 分前", - "hoursV": "__count__ 小时前", - "hoursV_plural": "__count__ 小时前", - "daysV": "__count__ 天前", - "daysV_plural": "__count__ 天前", - "weeksV": "__count__ 周前", - "weeksV_plural": "__count__ 周前", - "monthsV": "__count__ 月前", - "monthsV_plural": "__count__ 月前", - "yearsV": "__count__ 年前", - "yearsV_plural": "__count__ 年前", - "yearMonthsV": "__y__ 年, __count__ 月前", - "yearMonthsV_plural": "__y__ 年, __count__ 月前", - "yearsMonthsV": "__y__ 年, __count__ 月前", - "yearsMonthsV_plural": "__y__ 年, __count__ 月前" - }, - "nodeCount": "__label__ 个节点", - "nodeCount_plural": "__label__ 个节点", - "moduleCount": "__count__ 个可用模块", - "moduleCount_plural": "__count__ 个可用模块", - "inuse": "使用中", - "enableall": "全部启用", - "disableall": "全部禁用", - "enable": "启用", - "disable": "禁用", - "remove": "移除", - "update": "更新至 __version__ 版本", - "updated": "已更新", - "install": "安装", - "installed": "已安装", - "conflict": "冲突", - "conflictTip": "

无法安装此模块,因为它包含已安装的
节点类型

__module__冲突

", - "loading": "加载目录...", - "tab-nodes": "节点", - "tab-install": "安装", - "sort": "排序:", - "sortAZ": "a-z顺序", - "sortRecent": "日期顺序", - "more": "增加 __count__ 个", - "upload": "上传模块tgz文件", - "errors": { - "catalogLoadFailed": "无法加载节点目录。
查看浏览器控制台了解更多信息", - "installFailed": "无法安装: __module__
__message__
查看日志了解更多信息", - "removeFailed": "无法删除: __module__
__message__
查看日志了解更多信息", - "updateFailed": "无法更新: __module__
__message__
查看日志了解更多信息", - "enableFailed": "无法启用: __module__
__message__
查看日志了解更多信息", - "disableFailed": "无法禁用: __module__
__message__
查看日志了解更多信息" - }, - "confirm": { - "install": { - "body": "在安装之前,请阅读节点的文档,某些节点的依赖关系不能自动解决,可能需要重新启动Node-RED。", - "title": "安装节点" - }, - "remove": { - "body": "删除节点将从Node-RED卸载它。节点可能会继续使用资源,直到重新启动Node-RED。", - "title": "删除节点" - }, - "update": { - "body": "更新节点将需要重新启动Node-RED来完成更新,该过程必须由手动完成。", - "title": "更新节点" - }, - "cannotUpdate": { - "body": "此节点的更新可用,但不会安装在面板管理器可以更新的位置。

请参阅有关如何更新此节点的文档。" - }, - "button": { - "review": "打开节点信息", - "install": "安装", - "remove": "删除", - "update": "更新" - } - } - } + "name": "模块管理", + "label": "模块" }, - "sidebar": { - "info": { - "name": "节点信息", - "tabName": "名称", - "label": "信息", - "node": "节点", - "type": "类型", - "group": "组", - "module": "模组", - "id": "ID", - "status": "状态", - "enabled": "启用", - "disabled": "禁用", - "subflow": "子流程", - "instances": "实例", - "properties": "属性", - "info": "信息", - "desc": "描述", - "blank": "空白", - "null": "空", - "showMore": "展开", - "showLess": "收起", - "flow": "流程", - "selection": "选择", - "nodes": "__count__ 个节点", - "flowDesc": "流程描述", - "subflowDesc": "子流程描述", - "nodeHelp": "节点帮助", - "none": "无", - "arrayItems": "__count__ 个项目", - "showTips": "您可以从设置面板启用提示信息", - "outline": "大纲", - "empty": "空的", - "globalConfig": "全局配置节点", - "triggerAction": "触发动作", - "find": "在工作区中查找" - }, - "help": { - "name": "帮助", - "label": "帮助", - "search": "搜索帮助", - "nodeHelp": "节点帮助", - "showHelp": "显示帮助", - "showInOutline": "在大纲中显示", - "showTopics": "显示主题", - "noHelp": "未选择帮助主题" - }, - "config": { - "name": "配置节点", - "label": "配置", - "global": "所有流程", - "none": "无", - "subflows": "子流程", - "flows": "流程", - "filterAll": "所有", - "showAllConfigNodes": "显示所有配置节点", - "filterUnused": "未使用", - "showAllUnusedConfigNodes": "显示所有未使用的配置节点", - "filtered": "__count__ 个隐藏" - }, - "context": { - "name": "上下文数据", - "label": "上下文", - "none": "未选择", - "refresh": "刷新以加载", - "empty": "空", - "node": "节点", - "flow": "流程", - "global": "全局", - "deleteConfirm": "你确定要删除这个项目吗?", - "autoRefresh": "刷新选择更改", - "refrsh": "刷新", - "delete": "删除" - }, - "palette": { - "name": "节点管理", - "label": "节点" - }, - "project": { - "label": "项目", - "name": "项目", - "description": "描述", - "dependencies": "依赖", - "settings": "设置", - "noSummaryAvailable": "无可用摘要", - "editDescription": "编辑项目描述", - "editDependencies": "编辑项目依赖", - "noDescriptionAvailable": "没有可用的描述", - "editReadme": "编辑README.md", - "showProjectSettings": "显示项目设置", - "projectSettings": { - "title": "项目设置", - "edit": "编辑", - "none": "空", - "install": "安装", - "removeFromProject": "从项目中删除", - "addToProject": "添加到项目", - "files": "文件", - "flow": "流程", - "credentials": "证书", - "package": "包", - "packageCreate": "保存更改后将创建文件", - "fileNotExist": "文件不存在", - "selectFile": "选择文件", - "invalidEncryptionKey": "无效的加密密钥", - "encryptionEnabled": "启用加密", - "encryptionDisabled": "加密已禁用", - "setTheEncryptionKey": "设置加密密钥", - "resetTheEncryptionKey": "重置加密密钥", - "changeTheEncryptionKey": "更改加密密钥", - "currentKey": "当前密钥", - "newKey": "新密钥", - "credentialsAlert": "这将删除所有现有证书", - "versionControl": "版本控制", - "branches": "分支", - "noBranches": "没有分支", - "deleteConfirm": "您确定要删除本地分支'__name__'吗? 这不能被撤消。", - "unmergedConfirm": "本地分支'__name__'具有未合并的更改,这些更改将丢失。你确定要删除吗?", - "deleteUnmergedBranch": "删除未合并的分支", - "gitRemotes": "Git远程仓库", - "addRemote": "添加远程仓库", - "addRemote2": "添加远程仓库", - "remoteName": "远程仓库名", - "nameRule": "只能包含A-Z 0-9 _ -", - "url": "URL", - "urlRule": "https://, ssh:// or file://", - "urlRule2": "网址中不能包含用户名/密码", - "noRemotes": "没有远程仓库", - "deleteRemoteConfrim": "您确定要删除远程仓库'__name__'吗?", - "deleteRemote": "删除远程仓库" - }, - "userSettings": { - "committerDetail": "提交者详细信息", - "committerTip": "保留空白以使用系统默认值", - "userName": "用户名", - "email": "电子邮件", - "workflow": "工作流", - "workfowTip": "选择您偏好的工作流", - "workflowManual": "手动", - "workflowManualTip": "所有更改都必须在“历史记录”侧边栏中手动提交", - "workflowAuto": "自动", - "workflowAutoTip": "每次部署后都会自动提交更改", - "sshKeys": "SSH密钥", - "sshKeysTip": "允许您创建到远程git存储库的安全连接。", - "add": "添加密钥", - "addSshKey": "添加SSH密钥", - "addSshKeyTip": "生成新的公钥/私钥对", - "name": "名字", - "nameRule": "只能包含A-Z 0-9 _ -", - "passphrase": "密码短语", - "passphraseShort": "密码短语过短", - "optional": "可选的", - "cancel": "取消", - "generate": "生成密钥", - "noSshKeys": "没有SSH密钥", - "copyPublicKey": "将公钥复制到剪贴板", - "delete": "删除密钥", - "gitConfig": "Git配置", - "deleteConfirm": "您确定要删除SSH密钥 __name__ 吗?这不能被撤消。" - }, - "versionControl": { - "unstagedChanges": "未暂存的变更", - "stagedChanges": "暂存的变更", - "unstageChange": "取消变更的暂存", - "stageChange": "暂存变更", - "unstageAllChange": "取消所有变更的暂存", - "stageAllChange": "暂存所有变更", - "commitChanges": "提交变更", - "resolveConflicts": "解决冲突", - "head": "HEAD", - "staged": "暂存的", - "unstaged": "未暂存的", - "local": "本地的", - "remote": "远程的", - "revert": "您确定要将更改恢复为'__file__'吗?这不能被撤消。", - "revertChanges": "还原变更", - "localChanges": "本地变更", - "none": "None", - "conflictResolve": "解决所有冲突。提交更改以完成合并。", - "localFiles": "本地文件", - "all": "所有的", - "unmergedChanges": "未合并的更改", - "abortMerge": "中止合并", - "commit": "提交", - "changeToCommit": "提交变更", - "commitPlaceholder": "输入您的提交信息", - "cancelCapital": "取消", - "commitCapital": "提交", - "commitHistory": "提交历史", - "branch": "分支:", - "moreCommits": "更多提交", - "changeLocalBranch": "变更本地分支", - "createBranchPlaceholder": "查找或创建分支", - "upstream": "上游", - "localOverwrite": "切换分支会覆盖您现有的本地更改。您必须先提交或撤消那些更改。", - "manageRemoteBranch": "管理远程分支", - "unableToAccess": "无法访问远程存储库", - "retry": "重试", - "setUpstreamBranch": "设置为上游分支", - "createRemoteBranchPlaceholder": "查找或创建远程分支", - "trackedUpstreamBranch": "创建的分支将被设置为跟踪的上游分支。", - "selectUpstreamBranch": "分支将被创建。 在下面选择以将其设置为被跟踪的上游分支。", - "pushFailed": "推送失败,因为远程具有更多的最新提交。请先拉取并合并,然后再尝试推送。", - "push": "推送", - "pull": "拉取", - "unablePull": "

无法提取远程更改;您未暂存的本地更改将被覆盖。

请先提交更改,然后重试。

", - "showUnstagedChanges": "显示未暂存的更改", - "connectionFailed": "无法连接到远程存储库:", - "pullUnrelatedHistory": "

远程有无关的提交历史

您确定要将这些更改拉入本地仓库吗?

", - "pullChanges": "拉取更改", - "history": "历史", - "projectHistory": "项目历史", - "daysAgo": "__count__ 天前", - "daysAgo_plural": "__count__ 天前", - "hoursAgo": "__count__ 小时前", - "hoursAgo_plural": "__count__ 小时前", - "minsAgo": "__count__ 分钟前", - "minsAgo_plural": "__count__ 分钟前", - "secondsAgo": "秒前", - "notTracking": "您的本地分支当前未跟踪一个远程分支。", - "statusUnmergedChanged": "您的仓库中有未合并的更改。您需要解决冲突并提交结果。", - "repositoryUpToDate": "您的仓库是最新的。", - "commitsAhead": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", - "commitsAhead_plural": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", - "commitsBehind": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", - "commitsBehind_plural": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", - "commitsAheadAndBehind1": "您的存储库落后远程仓库 __count__ 次提交", - "commitsAheadAndBehind1_plural": "您的存储库落后远程仓库 __count__ 次提交", - "commitsAheadAndBehind2": "领先远程仓库 __count__ 次提交。", - "commitsAheadAndBehind2_plural": "领先远程仓库 __count__ 次提交。", - "commitsAheadAndBehind3": "您必须先拉取远程提交,然后才能进行推送。", - "commitsAheadAndBehind3_plural": "您必须先拉取远程提交,然后才能进行推送。", - "refreshCommitHistory": "刷新提交历史", - "refreshChanges": "刷新更改" - } - } - }, - "typedInput": { - "type": { - "str": "文字列", - "num": "数字", - "re": "正则表达式", - "bool": "布尔值", - "json": "JSON", - "bin": "二进制流", - "date": "时间戳", - "jsonata": "表达式", - "env": "环境变量", - "cred": "证书" - } - }, - "editableList": { - "add": "添加" - }, - "search": { - "empty": "找不到匹配", - "addNode": "添加一个节点...", - "options": { - "configNodes": "配置节点", - "unusedConfigNodes": "未使用的配置节点", - "invalidNodes": "无效的节点", - "uknownNodes": "未知的节点", - "unusedSubflows": "未使用的子流程" - } - }, - "expressionEditor": { - "functions": "功能", - "functionReference": "功能reference", - "insert": "插入", - "title": "JSONata表达式编辑器", - "test": "测试", - "data": "示例消息", - "result": "结果", - "format": "格式表达方法", - "compatMode": "兼容模式启用", - "compatModeDesc": "

JSONata的兼容模式

目前的表达式仍然参考msg,所以将以兼容性模式进行评估。请更新表达式,使其不使用msg,因为此模式将在将来删除。

当JSONata支持首次添加到Node-RED时,它需要表达式引用msg对象。例如msg.payload将用于访问有效负载。

这样便不再需要表达式直接针对消息进行评估。要访问有效负载,表达式应该只是payload.

", - "noMatch": "无匹配结果", - "errors": { - "invalid-expr": "无效的JSONata表达式:\n __message__", - "invalid-msg": "无效的示例JSON消息:\n __message__", - "context-unsupported": "无法测试上下文函数\n $flowContext 或 $globalContext", - "eval": "评估表达式错误:\n __message__" - } - }, - "jsEditor": { - "title": "JavaScript编辑器" - }, - "textEditor": { - "title": "文本编辑器" - }, - "jsonEditor": { - "title": "JSON编辑器", - "format": "格式化JSON", - "rawMode": "编辑 JSON", - "uiMode": "Visual编辑器", - "insertAbove": "在上方插入", - "insertBelow": "在下方插入", - "addItem": "添加项目", - "copyPath": "复制路径到项目", - "expandItems": "展开项目", - "collapseItems": "收合项目", - "duplicate": "重复", - "error": { - "invalidJSON": "无效的JSON: " - } - }, - "markdownEditor": { - "title": "Markdown编辑器", - "expand": "展开", - "format": "格式化为markdown", - "heading1": "标题 1", - "heading2": "标题 2", - "heading3": "标题 3", - "bold": "粗体", - "italic": "斜体", - "code": "代码", - "ordered-list": "排序的列表", - "unordered-list": "非排序的列表", - "quote": "引用", - "link": "链接", - "horizontal-rule": "水平线", - "toggle-preview": "切换预览" - }, - "bufferEditor": { - "title": "缓冲区编辑器", - "modeString": "作为UTF-8字符串处理", - "modeArray": "作为JSON数组处理", - "modeDesc": "

缓冲区编辑器

缓冲区类型被存储为字节值的JSON数组。编辑器将尝试将输入的数值解析为JSON数组。如果它不是有效的JSON,它将被视为UTF-8字符串,并被转换为单个字符代码点的数组。

例如,Hello World的值会被转换为JSON数组:

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" - }, - "projects": { - "config-git": "配置Git客户端", - "welcome": { - "hello": "你好! 我们已经将“项目”引入了Node-RED。", - "desc0": "这是一种用于管理流程文件的新方法,并且包括对流程的版本控制。", - "desc1": "首先,您可以创建您的第一个项目或从git存储库克隆现有项目。", - "desc2": "如果不确定,可以暂时跳过此步骤。您仍然可以随时通过“项目”菜单创建第一个项目。", - "create": "建立专案", - "clone": "克隆仓库", - "openExistingProject": "打开现有项目", - "not-right-now": "不是现在" - }, - "git-config": { - "setup": "设置您的版本控制客户端", - "desc0": "Node-RED使用开源工具Git进行版本控制。它跟踪对项目文件的更改,并允许您将其推送到远程存储库。", - "desc1": "提交一组更改时,Git会使用用户名和电子邮件地址记录谁进行了更改。用户名可以是您想要的任何名称-不必是您的真实姓名。", - "desc2": "您的Git客户端已经配置了以下详细信息。", - "desc3": "您可以稍后在设置对话框的'Git config'标签下更改这些设置。", - "username": "用户名", - "email": "电子邮件" - }, - "project-details": { - "create": "创建你的项目", - "desc0": "项目被维护为Git仓库。与他人一起共享您的流程", - "desc1": "您可以创建多个项目,并通过编辑器在它们之间快速切换。", - "desc2": "首先,您的项目需要一个名称和一个可选的描述。", - "already-exists": "项目已存在", - "must-contain": "只能包含A-Z 0-9 _ -", - "project-name": "项目名", - "desc": "描述", - "opt": "可选的" - }, - "clone-project": { - "clone": "克隆一个项目", - "desc0": "如果您已经有一个包含项目的git仓库,则可以对其进行克隆以开始使用。", - "already-exists": "项目已存在", - "must-contain": "只能包含A-Z 0-9 _ -", - "project-name": "项目名", - "no-info-in-url": "网址中不要包含用户名/密码", - "git-url": "Git仓库的url", - "protocols": "https://, ssh:// or file://", - "auth-failed": "认证失败", - "username": "用户名", - "passwd": "秘密啊", - "ssh-key": "SSH密钥", - "passphrase": "密码短语", - "ssh-key-desc": "在通过ssh克隆仓库之前,必须添加SSH密钥才能访问它。", - "ssh-key-add": "添加一个ssh密钥", - "credential-key": "证书加密密钥", - "cant-get-ssh-key": "错误! 无法获取所选的SSH密钥路径。", - "already-exists2": "已存在", - "git-error": "git错误", - "connection-failed": "连接失败", - "not-git-repo": "不是一个git仓库", - "repo-not-found": "未发现仓库" - }, - "default-files": { - "create": "创建您的项目文件", - "desc0": "一个包含您的流程文件,Readme文件和package.json文件的项目。", - "desc1": "它可以包含您要在Git仓库中维护的任何其他文件。", - "desc2": "您现有的流程和凭证文件将被复制到项目中。", - "flow-file": "流程文件", - "credentials-file": "证书文件" - }, - "encryption-config": { - "setup": "设置证书文件的加密", - "desc0": "您的流程证书文件可以被加密以确保其内容安全。", - "desc1": "如果要将这些证书存储在公共Git存储库中,则必须通过提供密钥短语来对它们进行加密。", - "desc2": "您的流程证书文件当前未加密。", - "desc3": "这意味着任何有权访问该文件的人都可以读取其内容,例如密码和访问令牌。", - "desc4": "如果要将这些证书存储在公共Git仓库中,则必须通过提供密钥短语来对它们进行加密。", - "desc5": "当前,使用设置文件中的credentialSecret属性作为密钥来加密流程证书文件。", - "desc6": "您的流程证书文件当前使用系统生成的密钥加密。您应该为此项目提供一个新的密钥。", - "desc7": "密钥将与项目文件分开存储。您将需要提供在另一个Node-RED实例中使用该项目的密钥。", - "credentials": "证书", - "enable": "启用加密", - "disable": "禁用加密", - "disabled": "禁用的", - "copy": "复制现有密钥", - "use-custom": "使用自定义密钥", - "desc8": "证书文件不会被加密,其内容很容易阅读", - "create-project-files": "创建项目文件", - "create-project": "创建项目", - "already-exists": "已存在", - "git-error": "git错误", - "git-auth-error": "git认证错误" - }, - "create-success": { - "success": "您已经成功创建了第一个项目!", - "desc0": "现在,您可以像往常一样继续使用Node-RED。", - "desc1": "侧栏中的“信息”标签显示了您当前的活动项目。名称旁边的按钮可用于访问项目设置视图。", - "desc2": "侧栏中的“历史记录”标签可用于查看项目中已更改的文件并提交。它向您显示了提交的完整历史记录,并允许您将更改推送到远程存储库。" - }, - "create": { - "projects": "项目", - "already-exists": "项目已存在", - "must-contain": "只能包含A-Z 0-9 _ -", - "no-info-in-url": "网址中不要包含用户名/密码", - "open": "打开项目", - "create": "创建项目", - "clone": "克隆仓库", - "project-name": "项目名", - "desc": "描述", - "opt": "可选的", - "flow-file": "流程文件", - "credentials": "证书", - "enable-encryption": "启用加密", - "disable-encryption": "禁用加密", - "encryption-key": "加密密钥", - "desc0": "用来保护您的凭证的短语", - "desc1": "凭证文件不会被加密,其内容很容易阅读", - "git-url": "Git存储库URL", - "protocols": "https://, ssh:// or file://", - "auth-failed": "验证失败", - "username": "用户名", - "password": "密码", - "ssh-key": "SSH密钥", - "passphrase": "密码短语", - "desc2": "在通过ssh克隆存储库之前,必须添加SSH密钥才能访问它。", - "add-ssh-key": "添加一个ssh密钥", - "credentials-encryption-key": "证书加密密钥", - "already-exists-2": "已存在", - "git-error": "git错误", - "con-failed": "连接失败", - "not-git": "不是git仓库", - "no-resource": "找不到存储库", - "cant-get-ssh-key-path": "错误!无法获取所选的SSH密钥路径。", - "unexpected_error": "意外的错误" - }, - "delete": { - "confirm": "您确定要删除此项目吗?" - }, - "create-project-list": { - "search": "搜索您的项目", - "current": "当前的" - }, - "require-clean": { - "confirm": "

您有未部署的更改,这些更改将丢失。

您要继续吗?

" - }, - "send-req": { - "auth-req": "存储库需要认证", - "username": "用户名", - "password": "秘密", - "passphrase": "密码短语", - "retry": "重试", - "update-failed": "无法更新身份验证", - "unhandled": "未处理的错误响应", - "host-key-verify-failed": "

主机密钥验证失败。

无法验证存储库主机密钥。请更新您的known_hosts文件,然后重试。

" - }, - "create-branch-list": { - "invalid": "无效的分支", - "create": "创建分支", - "current": "当前的" - }, - "create-default-file-set": { - "no-active": "没有活动项目就无法创建默认文件集", - "no-empty": "无法在非空项目上创建默认文件集", - "git-error": "git错误" - }, - "errors": { - "no-username-email": "您的Git客户端未配置用户名/电子邮件。", - "unexpected": "发生了一个意料之外的问题", - "code": "代码" - } - }, - "editor-tab": { - "properties": "属性", - "envProperties": "环境变量", - "description": "描述", - "appearance": "外观", - "preview": "UI预览", - "defaultValue": "默认值" - }, - "languages": { - "de": "德语", - "en-US": "英文", - "ja": "日语", - "ko": "韩文", - "zh-CN": "简体中文", - "zh-TW": "繁体中文" + "project": { + "label": "项目", + "name": "项目", + "description": "描述", + "dependencies": "依赖", + "settings": "设置", + "noSummaryAvailable": "无可用摘要", + "editDescription": "编辑项目描述", + "editDependencies": "编辑项目依赖", + "noDescriptionAvailable": "没有可用的描述", + "editReadme": "编辑README.md", + "showProjectSettings": "显示项目设置", + "projectSettings": { + "title": "项目设置", + "edit": "编辑", + "none": "空", + "install": "安装", + "removeFromProject": "从项目中删除", + "addToProject": "添加到项目", + "files": "文件", + "flow": "流程", + "credentials": "证书", + "package": "包", + "packageCreate": "保存更改后将创建文件", + "fileNotExist": "文件不存在", + "selectFile": "选择文件", + "invalidEncryptionKey": "无效的加密密钥", + "encryptionEnabled": "启用加密", + "encryptionDisabled": "加密已禁用", + "setTheEncryptionKey": "设置加密密钥", + "resetTheEncryptionKey": "重置加密密钥", + "changeTheEncryptionKey": "更改加密密钥", + "currentKey": "当前密钥", + "newKey": "新密钥", + "credentialsAlert": "将删除所有现有证书", + "versionControl": "版本控制", + "branches": "分支", + "noBranches": "没有分支", + "deleteConfirm": "您确定要删除本地分支'__name__'吗? 这不能被撤消。", + "unmergedConfirm": "本地分支'__name__'具有未合并的更改,这些更改将丢失。你确定要删除吗?", + "deleteUnmergedBranch": "删除未合并的分支", + "gitRemotes": "Git远程仓库", + "addRemote": "添加远程仓库", + "addRemote2": "添加远程仓库", + "remoteName": "远程仓库名", + "nameRule": "只能包含A-Z 0-9 _ -", + "url": "URL", + "urlRule": "https://, ssh:// 或 file://", + "urlRule2": "网址中不能包含用户名/密码", + "noRemotes": "没有远程仓库", + "deleteRemoteConfrim": "您确定要删除远程仓库'__name__'吗?", + "deleteRemote": "删除远程仓库" + }, + "userSettings": { + "committerDetail": "提交者详细信息", + "committerTip": "保留空白以使用系统默认值", + "userName": "用户名", + "email": "电子邮件", + "workflow": "工作流", + "workfowTip": "选择您偏好的工作流", + "workflowManual": "手动", + "workflowManualTip": "所有更改都必须在“历史记录”侧边栏中手动提交", + "workflowAuto": "自动", + "workflowAutoTip": "每次部署后都会自动提交更改", + "sshKeys": "SSH密钥", + "sshKeysTip": "允许您创建到远程git存储库的安全连接。", + "add": "添加密钥", + "addSshKey": "添加SSH密钥", + "addSshKeyTip": "生成新的公钥/私钥对", + "name": "名字", + "nameRule": "只能包含A-Z 0-9 _ -", + "passphrase": "密码短语", + "passphraseShort": "密码短语过短", + "optional": "可选的", + "cancel": "取消", + "generate": "生成密钥", + "noSshKeys": "没有SSH密钥", + "copyPublicKey": "将公钥复制到剪贴板", + "delete": "删除密钥", + "gitConfig": "Git配置", + "deleteConfirm": "您确定要删除SSH密钥 __name__ 吗?这不能被撤消。" + }, + "versionControl": { + "unstagedChanges": "未暂存的变更", + "stagedChanges": "暂存的变更", + "unstageChange": "取消变更的暂存", + "stageChange": "暂存变更", + "unstageAllChange": "取消所有变更的暂存", + "stageAllChange": "暂存所有变更", + "commitChanges": "提交变更", + "resolveConflicts": "解决冲突", + "head": "HEAD", + "staged": "暂存的", + "unstaged": "未暂存的", + "local": "本地的", + "remote": "远程的", + "revert": "您确定要将更改恢复为'__file__'吗?这不能被撤消。", + "revertChanges": "还原变更", + "localChanges": "本地变更", + "none": "None", + "conflictResolve": "解决所有冲突。提交更改以完成合并。", + "localFiles": "本地文件", + "all": "所有的", + "unmergedChanges": "未合并的更改", + "abortMerge": "中止合并", + "commit": "提交", + "changeToCommit": "提交变更", + "commitPlaceholder": "输入您的提交信息", + "cancelCapital": "取消", + "commitCapital": "提交", + "commitHistory": "提交历史", + "branch": "分支:", + "moreCommits": "更多提交", + "changeLocalBranch": "变更本地分支", + "createBranchPlaceholder": "查找或创建分支", + "upstream": "上游", + "localOverwrite": "切换分支会覆盖您现有的本地更改。您必须先提交或撤消那些更改。", + "manageRemoteBranch": "管理远程分支", + "unableToAccess": "无法访问远程存储库", + "retry": "重试", + "setUpstreamBranch": "设置为上游分支", + "createRemoteBranchPlaceholder": "查找或创建远程分支", + "trackedUpstreamBranch": "创建的分支将被设置为跟踪的上游分支。", + "selectUpstreamBranch": "分支将被创建。 在下面选择以将其设置为被跟踪的上游分支。", + "pushFailed": "推送失败,因为远程具有更多的最新提交。请先拉取并合并,然后再尝试推送。", + "push": "推送", + "pull": "拉取", + "unablePull": "

无法提取远程更改;您未暂存的本地更改将被覆盖。

请先提交更改,然后重试。

", + "showUnstagedChanges": "显示未暂存的更改", + "connectionFailed": "无法连接到远程存储库:", + "pullUnrelatedHistory": "

远程有无关的提交历史

您确定要将这些更改拉入本地仓库吗?

", + "pullChanges": "拉取更改", + "history": "历史", + "projectHistory": "项目历史", + "daysAgo": "__count__ 天前", + "daysAgo_plural": "__count__ 天前", + "hoursAgo": "__count__ 小时前", + "hoursAgo_plural": "__count__ 小时前", + "minsAgo": "__count__ 分钟前", + "minsAgo_plural": "__count__ 分钟前", + "secondsAgo": "秒前", + "notTracking": "您的本地分支当前未跟踪一个远程分支。", + "statusUnmergedChanged": "您的仓库中有未合并的更改。您需要解决冲突并提交结果。", + "repositoryUpToDate": "您的仓库是最新的。", + "commitsAhead": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", + "commitsAhead_plural": "您的存储库领先远程仓库 __count__ 次提交。您现在可以推送这些提交。", + "commitsBehind": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", + "commitsBehind_plural": "您的存储库落后远程仓库 __count__ 次提交。您现在可以拉取这些提交。", + "commitsAheadAndBehind1": "您的存储库落后远程仓库 __count__ 次提交", + "commitsAheadAndBehind1_plural": "您的存储库落后远程仓库 __count__ 次提交", + "commitsAheadAndBehind2": "领先远程仓库 __count__ 次提交。", + "commitsAheadAndBehind2_plural": "领先远程仓库 __count__ 次提交。", + "commitsAheadAndBehind3": "您必须先拉取远程提交,然后才能进行推送。", + "commitsAheadAndBehind3_plural": "您必须先拉取远程提交,然后才能进行推送。", + "refreshCommitHistory": "刷新提交历史", + "refreshChanges": "刷新更改" + } } + }, + "typedInput": { + "type": { + "str": "文本", + "num": "数字", + "re": "正则表达式", + "bool": "布尔值", + "json": "JSON", + "bin": "二进制流", + "date": "时间戳", + "jsonata": "表达式", + "env": "环境变量", + "cred": "证书" + } + }, + "editableList": { + "add": "添加", + "addTitle": "添加项" + }, + "search": { + "history": "搜索历史", + "clear": "清除所有", + "empty": "找不到匹配项", + "addNode": "添加节点...", + "options": { + "configNodes": "配置节点", + "unusedConfigNodes": "未使用的配置节点", + "invalidNodes": "无效的节点", + "uknownNodes": "未知的节点", + "unusedSubflows": "未使用的子流程", + "hiddenFlows": "隐藏的流程", + "modifiedNodes": "已修改的节点或流程", + "thisFlow": "当前流程" + } + }, + "expressionEditor": { + "functions": "函数", + "functionReference": "函数引用", + "insert": "插入", + "title": "JSONata 表达式编辑器", + "test": "测试", + "data": "示例消息", + "result": "结果", + "format": "格式表达式", + "compatMode": "兼容模式启用", + "compatModeDesc": "

JSONata的兼容模式

目前的表达式仍然参考msg,所以将以兼容性模式进行评估。请更新表达式,使其不使用msg,因为此模式将在将来删除。

当JSONata支持首次添加到Node-RED时,它需要表达式引用msg对象。例如msg.payload将用于访问有效负载。

这样便不再需要表达式直接针对消息进行评估。要访问有效负载,表达式应该只是payload.

", + "noMatch": "无匹配结果", + "errors": { + "invalid-expr": "无效的JSONata表达式:\n __message__", + "invalid-msg": "无效的示例JSON消息:\n __message__", + "context-unsupported": "无法测试上下文函数\n $flowContext 或 $globalContext", + "env-unsupported": "无法测试 $env 函数", + "moment-unsupported": "无法测试 $moment 函数", + "clone-unsupported": "无法测试 $clone 函数", + "eval": "计算表达式错误:\n __message__" + } + }, + "monaco": { + "setTheme": "设置主题" + }, + "jsEditor": { + "title": "JavaScript 编辑器" + }, + "textEditor": { + "title": "文本编辑器" + }, + "jsonEditor": { + "title": "JSON 编辑器", + "format": "格式化JSON", + "rawMode": "编辑 JSON", + "uiMode": "可视化编辑器", + "rawMode-readonly": "原始JSON", + "uiMode-readonly": "可视化", + "insertAbove": "在上方插入", + "insertBelow": "在下方插入", + "addItem": "添加项目", + "copyPath": "复制路径到项目", + "expandItems": "展开项目", + "collapseItems": "折叠项目", + "duplicate": "重复", + "error": { + "invalidJSON": "无效的JSON: " + } + }, + "markdownEditor": { + "title": "Markdown 编辑器", + "expand": "展开", + "format": "格式化为markdown", + "heading1": "标题 1", + "heading2": "标题 2", + "heading3": "标题 3", + "bold": "粗体", + "italic": "斜体", + "code": "代码", + "ordered-list": "排序的列表", + "unordered-list": "非排序的列表", + "quote": "引用", + "link": "链接", + "horizontal-rule": "水平线", + "toggle-preview": "切换预览", + "mermaid": { + "summary": "美人鱼图" + } + }, + "bufferEditor": { + "title": "Buffer 编辑器", + "modeString": "作为UTF-8字符串处理", + "modeArray": "作为JSON数组处理", + "modeDesc": "

Buffer 编辑器

Buffer类型被存储为字节值的JSON数组。编辑器将尝试将输入的数值解析为JSON数组。如果它不是有效的JSON,它将被视为UTF-8字符串,并被转换为单个字符代码点的数组。

例如,Hello World的值会被转换为JSON数组:

[72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]

" + }, + "projects": { + "config-git": "配置Git客户端", + "welcome": { + "hello": "你好! 我们已经将“项目”引入了Node-RED。", + "desc0": "这是一种用于管理流程文件的新方法,并且包括对流程的版本控制。", + "desc1": "首先,您可以创建您的第一个项目或从git存储库克隆现有项目。", + "desc2": "如果不确定,可以暂时跳过此步骤。您仍然可以随时通过“项目”菜单创建第一个项目。", + "create": "建立专案", + "clone": "克隆仓库", + "openExistingProject": "打开现有项目", + "not-right-now": "稍后" + }, + "git-config": { + "setup": "设置您的版本控制客户端", + "desc0": "Node-RED使用开源工具Git进行版本控制。它跟踪对项目文件的更改,并允许您将其推送到远程存储库。", + "desc1": "提交一组更改时,Git会使用用户名和电子邮件地址记录谁进行了更改。用户名可以是您想要的任何名称-不必是您的真实姓名。", + "desc2": "您的Git客户端已经配置了以下详细信息。", + "desc3": "您可以稍后在设置对话框的'Git config'标签下更改这些设置。", + "username": "用户名", + "email": "电子邮件" + }, + "project-details": { + "create": "创建你的项目", + "desc0": "项目被维护为Git仓库。与他人一起共享您的流程", + "desc1": "您可以创建多个项目,并通过编辑器在它们之间快速切换。", + "desc2": "首先,您的项目需要一个名称和一个可选的描述。", + "already-exists": "项目已存在", + "must-contain": "只能包含A-Z 0-9 _ -", + "project-name": "项目名", + "desc": "描述", + "opt": "可选的" + }, + "clone-project": { + "clone": "克隆一个项目", + "desc0": "如果您已经有一个包含项目的git仓库,则可以对其进行克隆以开始使用。", + "already-exists": "项目已存在", + "must-contain": "只能包含A-Z 0-9 _ -", + "project-name": "项目名", + "no-info-in-url": "网址中不要包含用户名/密码", + "git-url": "Git仓库的url", + "protocols": "https://, ssh:// or file://", + "auth-failed": "认证失败", + "username": "用户名", + "passwd": "秘密啊", + "ssh-key": "SSH密钥", + "passphrase": "密码短语", + "ssh-key-desc": "在通过ssh克隆仓库之前,必须添加SSH密钥才能访问它。", + "ssh-key-add": "添加一个ssh密钥", + "credential-key": "证书加密密钥", + "cant-get-ssh-key": "错误! 无法获取所选的SSH密钥路径。", + "already-exists2": "已存在", + "git-error": "git错误", + "connection-failed": "连接失败", + "not-git-repo": "不是一个git仓库", + "repo-not-found": "未发现仓库" + }, + "default-files": { + "create": "创建您的项目文件", + "desc0": "一个包含您的流程文件,Readme文件和package.json文件的项目。", + "desc1": "它可以包含您要在Git仓库中维护的任何其他文件。", + "desc2": "您现有的流程和凭证文件将被复制到项目中。", + "flow-file": "流程文件", + "credentials-file": "证书文件" + }, + "encryption-config": { + "setup": "设置证书文件的加密", + "desc0": "您的流程证书文件可以被加密以确保其内容安全。", + "desc1": "如果要将这些证书存储在公共Git存储库中,则必须通过提供密钥短语来对它们进行加密。", + "desc2": "您的流程证书文件当前未加密。", + "desc3": "这意味着任何有权访问该文件的人都可以读取其内容,例如密码和访问令牌。", + "desc4": "如果要将这些证书存储在公共Git仓库中,则必须通过提供密钥短语来对它们进行加密。", + "desc5": "当前,使用设置文件中的credentialSecret属性作为密钥来加密流程证书文件。", + "desc6": "您的流程证书文件当前使用系统生成的密钥加密。您应该为此项目提供一个新的密钥。", + "desc7": "密钥将与项目文件分开存储。您将需要提供在另一个Node-RED实例中使用该项目的密钥。", + "credentials": "证书", + "enable": "启用加密", + "disable": "禁用加密", + "disabled": "禁用的", + "copy": "复制现有密钥", + "use-custom": "使用自定义密钥", + "desc8": "证书文件不会被加密,其内容很容易阅读", + "create-project-files": "创建项目文件", + "create-project": "创建项目", + "already-exists": "已存在", + "git-error": "git错误", + "git-auth-error": "git认证错误" + }, + "create-success": { + "success": "您已经成功创建了第一个项目!", + "desc0": "现在,您可以像往常一样继续使用Node-RED。", + "desc1": "侧栏中的“信息”标签显示了您当前的活动项目。名称旁边的按钮可用于访问项目设置视图。", + "desc2": "侧栏中的“历史记录”标签可用于查看项目中已更改的文件并提交。它向您显示了提交的完整历史记录,并允许您将更改推送到远程存储库。" + }, + "create": { + "projects": "项目", + "already-exists": "项目已存在", + "must-contain": "只能包含A-Z 0-9 _ -", + "no-info-in-url": "网址中不要包含用户名/密码", + "open": "打开项目", + "create": "创建项目", + "clone": "克隆仓库", + "project-name": "项目名", + "desc": "描述", + "opt": "可选的", + "flow-file": "流程文件", + "credentials": "证书", + "enable-encryption": "启用加密", + "disable-encryption": "禁用加密", + "encryption-key": "加密密钥", + "desc0": "用来保护您的凭证的短语", + "desc1": "凭证文件不会被加密,其内容很容易阅读", + "git-url": "Git存储库URL", + "protocols": "https://, ssh:// 或 file://", + "auth-failed": "验证失败", + "username": "用户名", + "password": "密码", + "ssh-key": "SSH密钥", + "passphrase": "密码短语", + "desc2": "在通过ssh克隆存储库之前,必须添加SSH密钥才能访问它。", + "add-ssh-key": "添加一个ssh密钥", + "credentials-encryption-key": "证书加密密钥", + "already-exists-2": "已存在", + "git-error": "git错误", + "con-failed": "连接失败", + "not-git": "不是git仓库", + "no-resource": "找不到存储库", + "cant-get-ssh-key-path": "错误!无法获取所选的SSH密钥路径。", + "unexpected_error": "意外的错误", + "clearContext": "更改项目时清除上下文" + }, + "delete": { + "confirm": "您确定要删除此项目吗?" + }, + "create-project-list": { + "search": "搜索您的项目", + "current": "当前的" + }, + "require-clean": { + "confirm": "

您有未部署的更改,这些更改将丢失。

您要继续吗?

" + }, + "send-req": { + "auth-req": "存储库需要认证", + "username": "用户名", + "password": "秘密", + "passphrase": "密码短语", + "retry": "重试", + "update-failed": "无法更新身份验证", + "unhandled": "未处理的错误响应", + "host-key-verify-failed": "

主机密钥验证失败。

无法验证存储库主机密钥。请更新您的known_hosts文件,然后重试。

" + }, + "create-branch-list": { + "invalid": "无效的分支", + "create": "创建分支", + "current": "当前的" + }, + "create-default-file-set": { + "no-active": "没有活动项目就无法创建默认文件集", + "no-empty": "无法在非空项目上创建默认文件集", + "git-error": "git错误" + }, + "errors": { + "no-username-email": "您的Git客户端未配置用户名/电子邮件。", + "unexpected": "发生了一个意料之外的问题", + "code": "代码" + } + }, + "editor-tab": { + "properties": "属性", + "envProperties": "环境变量", + "module": "模块属性", + "description": "描述", + "appearance": "外观", + "preview": "UI预览", + "defaultValue": "默认值" + }, + "tourGuide": { + "takeATour": "查看更新内容", + "start": "开始", + "next": "下一个", + "welcomeTours": "欢迎使用 Node-RED" + }, + "diagnostics": { + "title": "系统信息" + }, + "validator": { + "errors": { + "invalid-json": "无效的 JSON 数据: __error__", + "invalid-expr": "无效的 JSONata 表达式: __error__", + "invalid-prop": "无效的属性表达式", + "invalid-num": "无效的数字", + "invalid-num-prop": "__prop__: 无效的数字", + "invalid-regexp": "输入格式无效", + "invalid-regex-prop": "__prop__: 输入格式无效", + "missing-required-prop": "__prop__: 缺少属性值", + "invalid-config": "__prop__: 无效的配置节点", + "missing-config": "__prop__: 缺少配置节点", + "validation-error": "__prop__: 验证错误: __node__, __id__: __error__" + } + }, + "contextMenu": { + "showActionList":"显示动作列表", + "insert": "插入", + "node": "节点", + "junction": "连接点", + "linkNodes": "链接节点" + }, + "env-var": { + "environment": "环境配置", + "header": "全局环境变量", + "revert": "重置" + } } diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json index b4403e318..cf71ebc77 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-CN/jsonata.json @@ -117,7 +117,7 @@ }, "$boolean": { "args": "arg", - "desc": "用下述规则将数据转换成布尔值。:\n\n - 不转换布尔值 `Boolean` 。\n – 将空的字符串 `string` 转换为 `false` \n – 将不为空的字符串 `string` 转换为 `true` \n – 将为0的数字 `number` 转换成 `false` \n –将不为0的数字 `number` 转换成 `true` \n –将 `null` 转换成 `false` \n –将空的数组 `array` 转换成 `false` \n –如果数组 `array` 中含有可以转换成 `true` 的要素则转换成 `true` \n –如果 `array` 中没有可转换成 `true` 的要素则转换成 `false` \n – 空的对象 `object` 转换成 `false` \n – 非空的对象 `object` 转换成 `true` \n –将函数 `function` 转换成 `false` " + "desc": "用下述规则将数据转换成布尔值。:\n\n - 不转换布尔值 `Boolean` 。\n – 将空的字符串 `string` 转换为 `false`\n – 将不为空的字符串 `string` 转换为 `true`\n – 将为0的数字 `number` 转换成 `false`\n –将不为0的数字 `number` 转换成 `true`\n –将 `null` 转换成 `false`\n –将空的数组 `array` 转换成 `false`\n –如果数组 `array` 中含有可以转换成 `true` 的要素则转换成 `true`\n –如果 `array` 中没有可转换成 `true` 的要素则转换成 `false`\n – 空的对象 `object` 转换成 `false`\n – 非空的对象 `object` 转换成 `true`\n –将函数 `function` 转换成 `false`" }, "$not": { "args": "arg", @@ -137,7 +137,7 @@ }, "$sort": { "args": "array [, function]", - "desc": "输出排序后的数组 `array` 。\n\n如果使用了比较函数 `function` ,则下述两个参数需要被指定。\n\n `function(left, right)` \n\n该比较函数是为了比较left和right两个值而被排序算法调用的。如果用户希望left的值被置于right的值之后,那么该函数必须输出布尔值 `true` 来表示位置交换。而在不需要位置交换时函数必须输出 `false` 。" + "desc": "输出排序后的数组 `array` 。\n\n如果使用了比较函数 `function` ,则下述两个参数需要被指定。\n\n `function(left, right)`\n\n该比较函数是为了比较`left`和`right`两个值而被排序算法调用的。如果用户希望`left`的值被置于`right`的值之后,那么该函数必须输出布尔值 `true` 来表示位置交换。而在不需要位置交换时函数必须输出 `false` 。" }, "$reverse": { "args": "array", @@ -169,7 +169,7 @@ }, "$sift": { "args": "object, function", - "desc": "输出参数 `object` 中符合 `function` 的键值对。\n\n `function` 必须含有下述参数。\n\n `function(value [, key [, object]])` " + "desc": "输出参数 `object` 中符合 `function` 的键值对。\n\n `function` 必须含有下述参数。\n\n `function(value [, key [, object]])`" }, "$each": { "args": "object, function", @@ -177,7 +177,7 @@ }, "$map": { "args": "array, function", - "desc": "将函数 `function` 应用于数组 `array` 中所有的值并输出由返回值组成的数组。\n\n `function` 中必须含有下述参数。\n\n`function(value [, index [, array]])` " + "desc": "将函数 `function` 应用于数组 `array` 中所有的值并输出由返回值组成的数组。\n\n `function` 中必须含有下述参数。\n\n`function(value [, index [, array]])`" }, "$filter": { "args": "array, function", @@ -237,7 +237,7 @@ }, "$assert": { "args": "arg, str", - "desc": "如果 `arg` 为真,则该函数返回。 如果arg为假,则抛出带有str的异常作为异常消息。" + "desc": "如果 `arg` 为真,则该函数返回。 如果`arg`为假,则抛出带有`str`的异常作为异常消息。" }, "$single": { "args": "array, function", @@ -253,11 +253,11 @@ }, "$decodeUrlComponent": { "args": "str", - "desc": "解码以前由encodeUrlComponent创建的统一资源定位器(URL)组件。 \n\n示例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + "desc": "解码以前由encodeUrlComponent创建的统一资源定位器(URL)组件。\n\n示例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" }, "$decodeUrl": { "args": "str", - "desc": "解码先前由encodeUrl创建的统一资源定位符(URL)。 \n\n示例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + "desc": "解码先前由encodeUrl创建的统一资源定位符(URL)。\n\n示例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" }, "$distinct": { "args": "array", @@ -265,10 +265,14 @@ }, "$type": { "args": "value", - "desc": "以字符串形式返回 `值` 的类型。 如果该 `值` 未定义,则将返回 `未定义` " + "desc": "以字符串形式返回 `值` 的类型。 如果该 `值` 未定义,则将返回 `未定义`" }, "$moment": { "args": "[str]", "desc": "使用Moment库获取日期对象。" + }, + "$clone": { + "args": "value", + "desc": "安全克隆对象." } } diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json b/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json index 42316176f..808f83c19 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-TW/editor.json @@ -23,7 +23,11 @@ "position": "位置", "enable": "啟用", "disable": "禁用", - "upload": "上傳" + "upload": "上傳", + "lock": "鎖定", + "unlock": "解鎖", + "locked": "鎖定", + "unlocked": "解鎖" }, "type": { "string": "字符串", @@ -38,11 +42,14 @@ } }, "event": { + "loadPlugins": "加載插件", "loadPalette": "加載控制板", "loadNodeCatalogs": "加載節點目錄", "loadNodes": "加載 __count__ 個節點", "loadFlows": "加載流程", - "importFlows": "往工作區中加載流程" + "importFlows": "往工作區中加載流程", + "importError": "

加載流程錯誤

__message__

", + "loadingProject": "加載項目" }, "workspace": { "defaultName": "流程__number__", @@ -51,18 +58,35 @@ "delete": "確定想要刪除 '__label__'?", "dropFlowHere": "把流程放到這裡", "addFlow": "新增流程", - "listFlows": "流程列表", + "addFlowToRight": "在右側新增流程", + "hideFlow": "隱藏流程", + "hideOtherFlows": "隱藏其它流程", + "showAllFlows": "顯示所有流程", + "hideAllFlows": "隱藏所有流程", + "hiddenFlows": "列出 __count__ 個隱藏流程", + "hiddenFlows_plural": "列出 __count__ 個隱藏流程", + "showLastHiddenFlow": "顯示最後一個隱藏流程", + " ": "流程列表", + "listSubflows": "列出子流程", "status": "狀態", "enabled": "有效", "disabled": "無效", "info": "詳細描述", - "selectNodes": "點擊節點用於選擇" + "selectNodes": "點擊節點用於選擇", + "enableFlow": "啟用流程", + "disableFlow": "禁用流程", + "lockFlow": "鎖定流程", + "unlockFlow": "解除鎖定", + "moveToStart": "移動到起始", + "moveToEnd": "移動到末尾" }, "menu": { "label": { "view": { "view": "顯示", "grid": "格線", + "storeZoom": "加載時還原縮放尺寸", + "storePosition": "加載時還原滾動位置", "showGrid": "顯示格線", "snapGrid": "對齊格線", "gridSize": "格線尺寸", @@ -80,12 +104,14 @@ "palette": { "show": "顯示控制板" }, + "edit": "編輯", "settings": "設置", "userSettings": "使用者設置", "nodes": "節點", "displayStatus": "顯示節點狀態", "displayConfig": "修改節點配置", "import": "匯入", + "importExample": "導入示例流程", "export": "匯出", "search": "搜尋流程", "searchInput": "搜尋流程", @@ -94,7 +120,6 @@ "selectionToSubflow": "將選擇部分更改為子流程", "flows": "流程", "add": "增加", - "rename": "重新命名", "delete": "刪除", "keyboardShortcuts": "鍵盤快速鍵", "login": "登入", @@ -102,24 +127,48 @@ "editPalette": "節點管理", "other": "其他", "showTips": "顯示小提示", - "help": "Node-RED website", + "showWelcomeTours": "顯示新版本向導", + "help": "Node-RED 文檔主頁", "projects": "專案", "projects-new": "新專案", "projects-open": "開啟專案", "projects-settings": "專案設定", "showNodeLabelDefault": "顯示新添加節點的標籤", + "codeEditor": "代碼編輯器", "groups": "組", "groupSelection": "選擇組", "ungroupSelection": "取消選擇組", "groupMergeSelection": "合并選擇", - "groupRemoveSelection": "從組中移除" + "groupRemoveSelection": "從組中移除", + "arrange": "布局", + "alignLeft": "左對齊", + "alignCenter": "居中對齊", + "alignRight": "右對齊", + "alignTop": "頂部對齊", + "alignMiddle": "垂直居中對齊", + "alignBottom": "底部對齊", + "distributeHorizontally": "横向分布", + "distributeVertically": "垂直分布", + "moveToBack": "置於底層", + "moveToFront": "置於頂層", + "moveBackwards": "向後移動", + "moveForwards": "向前移動", + "showNodeHelp":"顯示節點幫助", + "enableSelectedNodes":"啟用當前選中節點", + "disableSelectedNodes":"禁用當前選中節點", + "showSelectedNodeLabels":"顯示選中的節點標簽", + "hideSelectedNodeLabels":"隱藏選中的節點標簽" } }, "actions": { "toggle-navigator": "切換導航器", "zoom-out": "縮小", "zoom-reset": "重置縮放", - "zoom-in": "放大" + "zoom-in": "放大", + "search-flows": "搜索流程", + "search-prev": "上一個", + "search-next": "下一個", + "search-counter": "\"__term__\" __result__ of __count__" }, "user": { "loggedInAs": "作為 __name__ 登入", @@ -135,12 +184,17 @@ } }, "notification": { + "state": { + "flowsStopped": "流程已停止", + "flowsStarted": "流程已啟動" + }, "warning": "警告: __message__", "warnings": { "undeployedChanges": "節點中存在未部署的更改", "nodeActionDisabled": "節點動作在子流程中被禁用", "nodeActionDisabledSubflow": "子流程中禁用了節點操作", "missing-types": "流程由於缺少節點類型而停止。請檢查日誌的詳細資訊", + "missing-modules": "

流程因缺少模塊而停止。

", "safe-mode": "

流程在安全模式下停止。

您可以修改流程並部署更改以重新啟動。

", "restartRequired": "Node-RED必須重新啟動,以啟用升級的模組", "credentials_load_failed": "

流程由於無法解密證書而停止。

流程證書文件已加密,但是項目的加密密鑰丟失或無效。

", @@ -151,7 +205,7 @@ "project_not_found": "

找不到項目的'__project__'

", "git_merge_conflict": "

自動合併更改失敗。

修復未合併的衝突,然後提交結果。

" }, - "error": "Error: __message__", + "error": "錯誤: __message__", "errors": { "lostConnection": "丟失與伺服器的連接,重新連接...", "lostConnectionReconnect": "丟失與伺服器的連接,__time__ 秒後重新連接", @@ -208,6 +262,8 @@ "download": "下載", "importUnrecognised": "匯入了無法識別的類型:", "importUnrecognised_plural": "匯入了無法識別的類型:", + "importDuplicate": "導入了重復節點:", + "importDuplicate_plural": "導入了重復節點:", "nodesExported": "節點匯出到了剪貼簿", "nodesImported": "已匯入:", "nodeCopied": "已複製 __count__ 個節點", @@ -259,6 +315,10 @@ "modifiedFlowsDesc": "只部署包含已更改節點的流程", "modifiedNodes": "已更改的節點", "modifiedNodesDesc": "只部署已經更改的節點", + "startFlows": "啟動", + "startFlowsDesc": "啟動流程", + "stopFlows": "停止", + "stopFlowsDesc": "停止流程", "restartFlows": "重新啟動流程", "restartFlowsDesc": "重新啟動當前部署的流程", "successfulDeploy": "部署成功", @@ -337,14 +397,28 @@ "output": "輸出:", "status": "狀態節點", "deleteSubflow": "刪除子流程", + "confirmDelete": "您確定要刪除此子流程?", "info": "詳細描述", "category": "類別", + "module": "模塊", + "license": "許可", + "licenseNone": "無", + "licenseOther": "其它", + "type": "節點類型", + "version": "版本", + "versionPlaceholder": "x.y.z", + "keys": "關鍵字", + "keysPlaceholder": "使用英文逗號分隔關鍵字", + "author": "作者", + "authorPlaceholder": "名字 ", + "desc": "描述", "env": { "restore": "恢復為默認子流程", "remove": "類別刪除環境變量" }, "errors": { "noNodesSelected": "無法創建子流程: 未選擇節點", + "acrossMultipleGroups": "無法跨多個組創建子流", "multipleInputsToSelection": "無法創建子流程: 多個輸入到了選擇" } }, @@ -367,12 +441,12 @@ "editConfig": "編輯 __type__ 配置", "addNewType": "添加新的 __type__ 節點", "nodeProperties": "節點屬性", - "label": "Label", + "label": "標簽", "color": "顏色", "portLabels": "埠標籤", "labelInputs": "輸入", "labelOutputs": "輸出", - "settingIcon": "Icon", + "settingIcon": "圖標", "default": "默認", "noDefaultLabel": "無", "defaultLabel": "使用默認標籤", @@ -385,6 +459,7 @@ "icon": "圖標", "inputType": "輸入類型", "selectType": "選擇類型...", + "loadCredentials": "加載節點憑證", "inputs": { "input": "輸入", "select": "選擇", @@ -419,7 +494,8 @@ }, "errors": { "scopeChange": "更改範圍將使其他流程中的節點無法使用", - "invalidProperties": "無效的屬性:" + "invalidProperties": "無效的屬性:", + "credentialLoadFailed": "無法加載節點憑據" } }, "keyboard": { @@ -431,11 +507,14 @@ "unassigned": "未分配", "global": "全局", "workspace": "工作區", + "editor": "編輯對話框", "selectAll": "選擇所有節點", + "selectNone": "取消所有選擇", "selectAllConnected": "選擇所有連接的節點", "addRemoveNode": "從選擇中添加/刪除節點", "editSelected": "編輯選定節點", "deleteSelected": "刪除選定節點或連結", + "deleteReconnect": "刪除並重新連接", "importNode": "匯入節點", "exportNode": "匯出節點", "nudgeNode": "移動所選節點(1px)", @@ -445,10 +524,14 @@ "copyNode": "複製所選節點", "cutNode": "剪切所選節點", "pasteNode": "粘貼節點", + "copyGroupStyle": "復製組樣式", + "pasteGroupStyle": "粘貼組樣式", "undoChange": "撤銷上次執行的更改", + "redoChange": "重做", "searchBox": "打開搜尋框", "managePalette": "管理面板", - "actionList": "動作列表" + "actionList": "動作列表", + "splitWireWithLinks": "使用Link節點拆分已選項" }, "library": { "library": "庫", @@ -466,12 +549,11 @@ "types": { "local": "本地", "examples": "例子" - }, - "exportToLibrary": "將節點匯出到庫" + } }, "palette": { "noInfo": "無可用資訊", - "filter": "過濾節點", + "filter": "過濾已安裝模組", "search": "搜尋模組", "addCategory": "添加新的...", "label": { @@ -501,11 +583,13 @@ "nodeEnabled_plural": "啟用多個節點:", "nodeDisabled": "禁用節點:", "nodeDisabled_plural": "禁用多個節點:", - "nodeUpgraded": "節點模組__module__升級到__version__版本" + "nodeUpgraded": "節點模組__module__升級到__version__版本", + "unknownNodeRegistered": "加載節點錯誤:
  • __type__
    __error__
" }, "editor": { "title": "面板管理", - "palette": "Palette", + "palette": "控製板", + "allCatalogs": "所有目錄", "times": { "seconds": "秒前", "minutes": "分前", @@ -545,10 +629,12 @@ "tab-nodes": "節點", "tab-install": "安裝", "sort": "排序:", + "sortRelevance": "關聯", "sortAZ": "a-z順序", "sortRecent": "日期順序", "more": "增加 __count__ 個", "upload": "上傳模塊tgz文件", + "refresh": "更新模塊列表", "errors": { "catalogLoadFailed": "無法載入節點目錄。
查看瀏覽器控制臺瞭解更多資訊", "installFailed": "無法安裝: __module__
__message__
查看日誌瞭解更多資訊", @@ -617,7 +703,11 @@ "empty": "空的", "globalConfig": "全局配置節點", "triggerAction": "觸發動作", - "find": "在工作區中查找" + "find": "在工作區中查找", + "copyItemUrl": "復製地址", + "copyURL2Clipboard": "復製地址到剪貼板", + "showFlow": "顯示流程", + "hideFlow": "隱藏流程" }, "help": { "name": "幫助", @@ -627,7 +717,8 @@ "showHelp": "顯示幫助", "showInOutline": "在大綱中顯示", "showTopics": "顯示主題", - "noHelp": "未選擇幫助主題" + "noHelp": "未選擇幫助主題", + "changeLog": "更新日誌" }, "config": { "name": "配置節點", @@ -828,31 +919,37 @@ "json": "JSON", "bin": "二進位流", "date": "時間戳記", - "jsonata": "expression", - "env": "env variable", + "jsonata": "表達式", + "env": "環境變量", "cred": "證書" } }, "editableList": { - "add": "添加" + "add": "添加", + "addTitle": "添加項" }, "search": { - "empty": "找不到匹配", + "history": "搜索歷史", + "clear": "清除所有", + "empty": "找不到匹配項", "addNode": "添加一個節點...", "options": { "configNodes": "配置節點", "unusedConfigNodes": "未使用的配置節點", "invalidNodes": "無效的節點", "uknownNodes": "未知的節點", - "unusedSubflows": "未使用的子流程" + "unusedSubflows": "未使用的子流程", + "hiddenFlows": "隱藏的流程", + "modifiedNodes": "已修改的節點或流程", + "thisFlow": "當前流程" } }, "expressionEditor": { "functions": "功能", - "functionReference": "Function reference", + "functionReference": "功能參考", "insert": "插入", "title": "JSONata運算式編輯器", - "test": "Test", + "test": "測試", "data": "示例消息", "result": "結果", "format": "格式表達方法", @@ -863,20 +960,28 @@ "invalid-expr": "無效的JSONata運算式:\n __message__", "invalid-msg": "無效的示例JSON消息:\n __message__", "context-unsupported": "無法測試上下文函數\n $flowContext 或 $globalContext", + "env-unsupported": "無法測試 $env 函數", + "moment-unsupported": "無法測試 $moment 函數", + "clone-unsupported": "無法測試 $clone 函數", "eval": "評估運算式錯誤:\n __message__" } }, + "monaco": { + "setTheme": "設置主題" + }, "jsEditor": { "title": "JavaScript 編輯器" }, "textEditor": { - "title": "Text 編輯器" + "title": "文本編輯器" }, "jsonEditor": { "title": "JSON編輯器", "format": "格式化JSON", "rawMode": "編輯 JSON", - "uiMode": "Visual編輯器", + "uiMode": "可視化編輯器", + "rawMode-readonly": "原始JSON", + "uiMode-readonly": "可視化", "insertAbove": "在上方插入", "insertBelow": "在下方插入", "addItem": "添加項目", @@ -892,9 +997,9 @@ "title": "Markdown 編輯器", "expand": "展開", "format": "F使用markdown格式化", - "heading1": "Heading 1", - "heading2": "Heading 2", - "heading3": "Heading 3", + "heading1": "標題 1", + "heading2": "標題 2", + "heading3": "標題 3", "bold": "粗體", "italic": "斜體", "code": "程式碼", @@ -903,7 +1008,10 @@ "quote": "引用", "link": "連結", "horizontal-rule": "分隔線", - "toggle-preview": "預覽" + "toggle-preview": "切換預覽", + "mermaid": { + "summary": "美人魚圖" + } }, "bufferEditor": { "title": "緩衝區編輯器", @@ -1038,7 +1146,8 @@ "not-git": "不是git倉庫", "no-resource": "找不到存儲庫", "cant-get-ssh-key-path": "錯誤! 無法獲取所選的SSH密鑰路徑。", - "unexpected_error": "意外的錯誤" + "unexpected_error": "意外的錯誤", + "clearContext": "更改項目時清除上下文" }, "delete": { "confirm": "您確定要刪除此項目嗎?" @@ -1068,7 +1177,7 @@ "create-default-file-set": { "no-active": "沒有活動項目就無法創建默認文件集", "no-empty": "無法在非空項目上創建默認文件集", - "git-error": "git error" + "git-error": "git錯誤" }, "errors": { "no-username-email": "您的Git客戶端未配置用戶名/電子郵件。", @@ -1079,18 +1188,45 @@ "editor-tab": { "properties": "屬性", "envProperties": "環境變量", + "module": "模塊屬性", "description": "描述", "appearance": "外觀", "preview": "UI預覽", - "defaultValue": "默認值", - "env": "環境變量" + "defaultValue": "默認值" }, - "languages": { - "de": "德語", - "en-US": "英語", - "ja": "日語", - "ko": "韓語", - "zh-CN": "簡體中文", - "zh-TW": "繁體中文" + "tourGuide": { + "takeATour": "查看更新內容", + "start": "開始", + "next": "下一個", + "welcomeTours": "歡迎使用 Node-RED" + }, + "diagnostics": { + "title": "系统信息" + }, + "validator": { + "errors": { + "invalid-json": "無效的 JSON 數據: __error__", + "invalid-expr": "無效的 JSONata 表達式: __error__", + "invalid-prop": "無效的屬性表達式", + "invalid-num": "無效的數字", + "invalid-regexp": "輸入格式無效", + "invalid-regex-prop": "__prop__: 輸入格式無效", + "missing-required-prop": "__prop__: 缺少屬性值", + "invalid-config": "__prop__: 無效的配置節點", + "missing-config": "__prop__: 缺少配置節點", + "validation-error": "__prop__: 驗證錯誤: __node__, __id__: __error__" + } + }, + "contextMenu": { + "showActionList":"顯示動作列表", + "insert": "插入", + "node": "節點", + "junction": "連接點", + "linkNodes": "鏈接節點" + }, + "env-var": { + "environment": "環境配置", + "header": "全局環境變量", + "revert": "重置" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json b/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json index 2b47c1af7..2fc36bd27 100644 --- a/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json +++ b/packages/node_modules/@node-red/editor-client/locales/zh-TW/jsonata.json @@ -137,7 +137,7 @@ }, "$sort": { "args": "array [, function]", - "desc": "輸出排序後的陣列`array`。\n\n如果使用了比較函數`function`,則下述兩個參數需要被指定。\n\n`function(left, right)`\n\n該比較函數是為了比較left和right兩個值而被排序演算法調用的。如果使用者希望left的值被置於right的值之後,那麼該函數必須輸出布林值`true`來表示位置交換。而在不需要位置交換時函數必須輸出`false`。" + "desc": "輸出排序後的陣列`array`。\n\n如果使用了比較函數`function`,則下述兩個參數需要被指定。\n\n`function(left, right)`\n\n該比較函數是為了比較`left`和`right`兩個值而被排序演算法調用的。如果使用者希望left的值被置於`right`的值之後,那麼該函數必須輸出布林值`true`來表示位置交換。而在不需要位置交換時函數必須輸出`false`。" }, "$reverse": { "args": "array", @@ -237,7 +237,7 @@ }, "$assert": { "args": "arg, str", - "desc": "如果`arg`為真,則該函數返回。 如果arg為假,則拋出帶有str的異常作為異常消息。" + "desc": "如果`arg`為真,則該函數返回。 如果`arg`為假,則拋出帶有`str`的異常作為異常消息。" }, "$single": { "args": "array, function", @@ -253,11 +253,11 @@ }, "$decodeUrlComponent": { "args": "str", - "desc": "解碼以前由encodeUrlComponent創建的統一資源定位器(URL)組件。 \n\n示例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" + "desc": "解碼以前由encodeUrlComponent創建的統一資源定位器(URL)組件。\n\n示例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`" }, "$decodeUrl": { "args": "str", - "desc": "解碼先前由encodeUrl創建的統一資源定位符(URL)。 \n\n示例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" + "desc": "解碼先前由encodeUrl創建的統一資源定位符(URL)。\n\n示例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`" }, "$distinct": { "args": "array", @@ -270,5 +270,9 @@ "$moment": { "args": "[str]", "desc": "使用Moment庫獲取日期對象。" + }, + "$clone": { + "args": "value", + "desc": "安全克隆對象." } } diff --git a/packages/node_modules/@node-red/editor-client/package.json b/packages/node_modules/@node-red/editor-client/package.json index dbcdb1ba5..c6d49fced 100644 --- a/packages/node_modules/@node-red/editor-client/package.json +++ b/packages/node_modules/@node-red/editor-client/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/editor-client", - "version": "3.1.0-beta.0", + "version": "4.0.0-beta.1", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/node_modules/@node-red/editor-client/src/js/events.js b/packages/node_modules/@node-red/editor-client/src/js/events.js index bd2abd8d0..943854393 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/events.js +++ b/packages/node_modules/@node-red/editor-client/src/js/events.js @@ -39,15 +39,16 @@ console.warn(evt,args); } if (handlers[evt]) { - for (var i=0;i node var nodes = {}; + // Map tab.id -> Array of nodes on that tab var tabMap = {}; + // Map tab.id -> Set of dirty object ids on that tab + var tabDirtyMap = {}; + // Map tab.id -> Set of object ids of things deleted from the tab that weren't otherwise dirty + var tabDeletedNodesMap = {}; + // Set of object ids of things added to a tab after initial import + var addedDirtyObjects = new Set() + + function changeCollectionDepth(tabNodes, toMove, direction, singleStep) { + const result = [] + const moved = new Set(); + const startIndex = direction ? tabNodes.length - 1 : 0 + const endIndex = direction ? -1 : tabNodes.length + const step = direction ? -1 : 1 + let target = startIndex // Only used for all-the-way moves + for (let i = startIndex; i != endIndex; i += step) { + if (toMove.size === 0) { + break; + } + const n = tabNodes[i] + if (toMove.has(n)) { + if (singleStep) { + if (i !== startIndex && !moved.has(tabNodes[i - step])) { + tabNodes.splice(i, 1) + tabNodes.splice(i - step, 0, n) + n._reordered = true + result.push(n) + } + } else { + if (i !== target) { + tabNodes.splice(i, 1) + tabNodes.splice(target, 0, n) + n._reordered = true + result.push(n) + } + target += step + } + toMove.delete(n); + moved.add(n); + } + } + return result + } + var api = { addTab: function(id) { tabMap[id] = []; + tabDirtyMap[id] = new Set(); + tabDeletedNodesMap[id] = new Set(); }, hasTab: function(z) { return tabMap.hasOwnProperty(z) }, removeTab: function(id) { delete tabMap[id]; + delete tabDirtyMap[id]; + delete tabDeletedNodesMap[id]; }, addNode: function(n) { nodes[n.id] = n; if (tabMap.hasOwnProperty(n.z)) { tabMap[n.z].push(n); + api.addObjectToWorkspace(n.z, n.id, n.changed || n.moved) } else { console.warn("Node added to unknown tab/subflow:",n); tabMap["_"] = tabMap["_"] || []; @@ -267,8 +344,37 @@ RED.nodes = (function() { if (i > -1) { tabMap[n.z].splice(i,1); } + api.removeObjectFromWorkspace(n.z, n.id) } }, + /** + * Add an object to our dirty/clean tracking state + * @param {String} z + * @param {String} id + * @param {Boolean} isDirty + */ + addObjectToWorkspace: function (z, id, isDirty) { + if (isDirty) { + addedDirtyObjects.add(id) + } + if (tabDeletedNodesMap[z].has(id)) { + tabDeletedNodesMap[z].delete(id) + } + api.markNodeDirty(z, id, isDirty) + }, + /** + * Remove an object from our dirty/clean tracking state + * @param {String} z + * @param {String} id + */ + removeObjectFromWorkspace: function (z, id) { + if (!addedDirtyObjects.has(id)) { + tabDeletedNodesMap[z].add(id) + } else { + addedDirtyObjects.delete(id) + } + api.markNodeDirty(z, id, false) + }, hasNode: function(id) { return nodes.hasOwnProperty(id); }, @@ -280,152 +386,54 @@ RED.nodes = (function() { n.z = newZ; api.addNode(n) }, - moveNodesForwards: function(nodes) { - var result = []; + /** + * @param {array} nodes + * @param {boolean} direction true:forwards false:back + * @param {boolean} singleStep true:single-step false:all-the-way + */ + changeDepth: function(nodes, direction, singleStep) { if (!Array.isArray(nodes)) { nodes = [nodes] } - // Can only do this for nodes on the same tab. - // Use nodes[0] to get the z - var tabNodes = tabMap[nodes[0].z]; - var toMove = new Set(nodes.filter(function(n) { return n.type !== "group" && n.type !== "subflow" })); - var moved = new Set(); - for (var i = tabNodes.length-1; i >= 0; i--) { - if (toMove.size === 0) { - break; - } - var n = tabNodes[i]; - if (toMove.has(n)) { - // This is a node to move. - if (i < tabNodes.length-1 && !moved.has(tabNodes[i+1])) { - // Remove from current position - tabNodes.splice(i,1); - // Add it back one position higher - tabNodes.splice(i+1,0,n); - n._reordered = true; - result.push(n); - } - toMove.delete(n); - moved.add(n); + let result = [] + const tabNodes = tabMap[nodes[0].z]; + const toMove = new Set(nodes.filter(function(n) { return n.type !== "group" && n.type !== "subflow" })); + if (toMove.size > 0) { + result = result.concat(changeCollectionDepth(tabNodes, toMove, direction, singleStep)) + if (result.length > 0) { + RED.events.emit('nodes:reorder',{ + z: nodes[0].z, + nodes: result + }); } } - if (result.length > 0) { - RED.events.emit('nodes:reorder',{ - z: nodes[0].z, - nodes: result - }); + + const groupNodes = groupsByZ[nodes[0].z] || [] + const groupsToMove = new Set(nodes.filter(function(n) { return n.type === 'group'})) + if (groupsToMove.size > 0) { + const groupResult = changeCollectionDepth(groupNodes, groupsToMove, direction, singleStep) + if (groupResult.length > 0) { + result = result.concat(groupResult) + RED.events.emit('groups:reorder',{ + z: nodes[0].z, + nodes: groupResult + }); + } } - return result; + RED.view.redraw(true) + return result + }, + moveNodesForwards: function(nodes) { + return api.changeDepth(nodes, true, true) }, moveNodesBackwards: function(nodes) { - var result = []; - if (!Array.isArray(nodes)) { - nodes = [nodes] - } - // Can only do this for nodes on the same tab. - // Use nodes[0] to get the z - var tabNodes = tabMap[nodes[0].z]; - var toMove = new Set(nodes.filter(function(n) { return n.type !== "group" && n.type !== "subflow" })); - var moved = new Set(); - for (var i = 0; i < tabNodes.length; i++) { - if (toMove.size === 0) { - break; - } - var n = tabNodes[i]; - if (toMove.has(n)) { - // This is a node to move. - if (i > 0 && !moved.has(tabNodes[i-1])) { - // Remove from current position - tabNodes.splice(i,1); - // Add it back one position lower - tabNodes.splice(i-1,0,n); - n._reordered = true; - result.push(n); - } - toMove.delete(n); - moved.add(n); - } - } - if (result.length > 0) { - RED.events.emit('nodes:reorder',{ - z: nodes[0].z, - nodes: result - }); - } - return result; + return api.changeDepth(nodes, false, true) }, moveNodesToFront: function(nodes) { - var result = []; - if (!Array.isArray(nodes)) { - nodes = [nodes] - } - // Can only do this for nodes on the same tab. - // Use nodes[0] to get the z - var tabNodes = tabMap[nodes[0].z]; - var toMove = new Set(nodes.filter(function(n) { return n.type !== "group" && n.type !== "subflow" })); - var target = tabNodes.length-1; - for (var i = tabNodes.length-1; i >= 0; i--) { - if (toMove.size === 0) { - break; - } - var n = tabNodes[i]; - if (toMove.has(n)) { - // This is a node to move. - if (i < target) { - // Remove from current position - tabNodes.splice(i,1); - tabNodes.splice(target,0,n); - n._reordered = true; - result.push(n); - } - target--; - toMove.delete(n); - } - } - if (result.length > 0) { - RED.events.emit('nodes:reorder',{ - z: nodes[0].z, - nodes: result - }); - } - return result; + return api.changeDepth(nodes, true, false) }, moveNodesToBack: function(nodes) { - var result = []; - if (!Array.isArray(nodes)) { - nodes = [nodes] - } - // Can only do this for nodes on the same tab. - // Use nodes[0] to get the z - var tabNodes = tabMap[nodes[0].z]; - var toMove = new Set(nodes.filter(function(n) { return n.type !== "group" && n.type !== "subflow" })); - var target = 0; - for (var i = 0; i < tabNodes.length; i++) { - if (toMove.size === 0) { - break; - } - var n = tabNodes[i]; - if (toMove.has(n)) { - // This is a node to move. - if (i > target) { - // Remove from current position - tabNodes.splice(i,1); - // Add it back one position lower - tabNodes.splice(target,0,n); - n._reordered = true; - result.push(n); - } - target++; - toMove.delete(n); - } - } - if (result.length > 0) { - RED.events.emit('nodes:reorder',{ - z: nodes[0].z, - nodes: result - }); - } - return result; + return api.changeDepth(nodes, false, false) }, getNodes: function(z) { return tabMap[z]; @@ -433,6 +441,33 @@ RED.nodes = (function() { clear: function() { nodes = {}; tabMap = {}; + tabDirtyMap = {}; + tabDeletedNodesMap = {}; + addedDirtyObjects = new Set(); + }, + /** + * Clear all internal state on what is dirty. + */ + clearState: function () { + // Called when a deploy happens, we can forget about added/remove + // items as they have now been deployed. + addedDirtyObjects = new Set() + const flowsToCheck = new Set() + for (const [z, set] of Object.entries(tabDeletedNodesMap)) { + if (set.size > 0) { + set.clear() + flowsToCheck.add(z) + } + } + for (const [z, set] of Object.entries(tabDirtyMap)) { + if (set.size > 0) { + set.clear() + flowsToCheck.add(z) + } + } + for (const z of flowsToCheck) { + api.checkTabState(z) + } }, eachNode: function(cb) { var nodeList,i,j; @@ -498,7 +533,7 @@ RED.nodes = (function() { return result; }, getNodeOrder: function(z) { - return tabMap[z].map(function(n) { return n.id }) + return (groupsByZ[z] || []).concat(tabMap[z]).map(n => n.id) }, setNodeOrder: function(z, order) { var orderMap = {}; @@ -510,6 +545,41 @@ RED.nodes = (function() { B._reordered = true; return orderMap[A.id] - orderMap[B.id]; }) + if (groupsByZ[z]) { + groupsByZ[z].sort(function(A,B) { + return orderMap[A.id] - orderMap[B.id]; + }) + } + }, + /** + * Update our records if an object is dirty or not + * @param {String} z tab id + * @param {String} id object id + * @param {Boolean} dirty whether the object is dirty or not + */ + markNodeDirty: function(z, id, dirty) { + if (tabDirtyMap[z]) { + if (dirty) { + tabDirtyMap[z].add(id) + } else { + tabDirtyMap[z].delete(id) + } + api.checkTabState(z) + } + }, + /** + * Check if a tab should update its contentsChange flag + * @param {String} z tab id + */ + checkTabState: function (z) { + const ws = workspaces[z] + if (ws) { + const contentsChanged = tabDirtyMap[z].size > 0 || tabDeletedNodesMap[z].size > 0 + if (Boolean(ws.contentsChanged) !== contentsChanged) { + ws.contentsChanged = contentsChanged + RED.events.emit("flows:change", ws); + } + } } } return api; @@ -575,15 +645,53 @@ RED.nodes = (function() { } } + const nodeProxyHandler = { + get(node, prop) { + if (prop === '__isProxy__') { + return true + } else if (prop == '__node__') { + return node + } + return node[prop] + }, + set(node, prop, value) { + if (node.z && (RED.nodes.workspace(node.z)?.locked || RED.nodes.subflow(node.z)?.locked)) { + if ( + node._def.defaults[prop] || + prop === 'z' || + prop === 'l' || + prop === 'd' || + (prop === 'changed' && (!!node.changed) !== (!!value)) || // jshint ignore:line + ((prop === 'x' || prop === 'y') && !node.resize && node.type !== 'group') + ) { + throw new Error(`Cannot modified property '${prop}' of locked object '${node.type}:${node.id}'`) + } + } + if (node.z && (prop === 'changed' || prop === 'moved')) { + setTimeout(() => { + allNodes.markNodeDirty(node.z, node.id, node.changed || node.moved) + }, 0) + } + node[prop] = value; + return true + } + } function addNode(n) { + let newNode + if (!n.__isProxy__) { + newNode = new Proxy(n, nodeProxyHandler) + } else { + newNode = n + } + if (n.type.indexOf("subflow") !== 0) { n["_"] = n._def._; } else { var subflowId = n.type.substring(8); var sf = RED.nodes.subflow(subflowId); if (sf) { - sf.instances.push(sf); + sf.instances.push(newNode); } n["_"] = RED._; } @@ -600,12 +708,13 @@ RED.nodes = (function() { }); n.i = nextId+1; } - allNodes.addNode(n); + allNodes.addNode(newNode); if (!nodeLinks[n.id]) { nodeLinks[n.id] = {in:[],out:[]}; } } - RED.events.emit('nodes:add',n); + RED.events.emit('nodes:add',newNode); + return newNode } function addLink(l) { if (nodeLinks[l.source.id]) { @@ -632,10 +741,16 @@ RED.nodes = (function() { } if (l.source.z === l.target.z && linkTabMap[l.source.z]) { linkTabMap[l.source.z].push(l); + allNodes.addObjectToWorkspace(l.source.z, getLinkId(l), true) } RED.events.emit("links:add",l); } + function getLinkId(link) { + return link.source.id + ':' + link.sourcePort + ':' + link.target.id + } + + function getNode(id) { if (id in configNodes) { return configNodes[id]; @@ -707,8 +822,8 @@ RED.nodes = (function() { if (node && node._def.onremove) { // Deprecated: never documented but used by some early nodes - console.log("Deprecated API warning: node type ",node.type," has an onremove function - should be oneditremove - please report"); - node._def.onremove.call(n); + console.log("Deprecated API warning: node type ",node.type," has an onremove function - should be oneditdelete - please report"); + node._def.onremove.call(node); } return {links:removedLinks,nodes:removedNodes}; } @@ -830,6 +945,7 @@ RED.nodes = (function() { if (index !== -1) { linkTabMap[l.source.z].splice(index,1) } + allNodes.removeObjectFromWorkspace(l.source.z, getLinkId(l)) } } RED.events.emit("links:remove",l); @@ -868,14 +984,7 @@ RED.nodes = (function() { var node; if (allNodes.hasTab(id)) { - removedNodes = allNodes.getNodes(id).filter(n => { - if (n.type === 'junction') { - removedJunctions.push(n) - return false - } else { - return true - } - }) + removedNodes = allNodes.getNodes(id).slice() } for (i in configNodes) { if (configNodes.hasOwnProperty(i)) { @@ -885,6 +994,7 @@ RED.nodes = (function() { } } } + removedJunctions = RED.nodes.junctions(id) for (i=0;i l.target)) + return Array.from(downstreamNodes) + } function getAllDownstreamNodes(node) { return getAllFlowNodes(node,'down').filter(function(n) { return n !== node }); } @@ -1052,6 +1167,9 @@ RED.nodes = (function() { node.type = n.type; for (var d in n._def.defaults) { if (n._def.defaults.hasOwnProperty(d)) { + if (d === 'locked' && !n.locked) { + continue + } node[d] = n[d]; } } @@ -1135,7 +1253,6 @@ RED.nodes = (function() { } } } else if (n.credentials) { - node.credentials = {}; // All other nodes have a well-defined list of possible credentials for (var cred in n._def.credentials) { if (n._def.credentials.hasOwnProperty(cred)) { @@ -1331,7 +1448,6 @@ RED.nodes = (function() { } else { nodeSet = [sf]; } - console.log(nodeSet); return createExportableNodeSet(nodeSet); } /** @@ -1367,12 +1483,16 @@ RED.nodes = (function() { exportedConfigNodes[n.id] = true; } }); + + subflowSet = subflowSet.concat(RED.nodes.junctions(subflowId)) + subflowSet = subflowSet.concat(RED.nodes.groups(subflowId)) + var exportableSubflow = createExportableNodeSet(subflowSet, exportedIds, exportedSubflows, exportedConfigNodes); nns = exportableSubflow.concat(nns); } } if (node.type !== "subflow") { - var convertedNode = RED.nodes.convertNode(node); + var convertedNode = RED.nodes.convertNode(node, { credentials: false }); for (var d in node._def.defaults) { if (node._def.defaults[d].type) { var nodeList = node[d]; @@ -1405,7 +1525,7 @@ RED.nodes = (function() { nns = nns.concat(createExportableNodeSet(node.nodes, exportedIds, exportedSubflows, exportedConfigNodes)); } } else { - var convertedSubflow = convertSubflow(node); + var convertedSubflow = convertSubflow(node, { credentials: false }); nns.push(convertedSubflow); } } @@ -1654,6 +1774,7 @@ RED.nodes = (function() { * Options: * - generateIds - whether to replace all node ids * - addFlow - whether to import nodes to a new tab + * - markChanged - whether to set changed=true on all newly imported objects * - reimport - if node has a .z property, dont overwrite it * Only applicible when `generateIds` is false * - importMap - how to resolve any conflicts. @@ -1662,7 +1783,7 @@ RED.nodes = (function() { * - id:replace - import over the top of existing */ function importNodes(newNodesObj,options) { // createNewIds,createMissingWorkspace) { - const defOpts = { generateIds: false, addFlow: false, reimport: false, importMap: {} } + const defOpts = { generateIds: false, addFlow: false, markChanged: false, reimport: false, importMap: {} } options = Object.assign({}, defOpts, options) options.importMap = options.importMap || {} const createNewIds = options.generateIds; @@ -1688,7 +1809,7 @@ RED.nodes = (function() { newNodes = newNodesObj; } - if (!$.isArray(newNodes)) { + if (!Array.isArray(newNodes)) { newNodes = [newNodes]; } @@ -1968,7 +2089,7 @@ RED.nodes = (function() { } } } else { - const keepNodesCurrentZ = reimport && n.z && RED.workspaces.contains(n.z) + const keepNodesCurrentZ = reimport && n.z && (RED.workspaces.contains(n.z) || RED.nodes.subflow(n.z)) if (!keepNodesCurrentZ && n.z && !workspace_map[n.z] && !subflow_map[n.z]) { n.z = activeWorkspace; } @@ -1986,6 +2107,9 @@ RED.nodes = (function() { if (!n.z) { delete configNode.z; } + if (options.markChanged) { + configNode.changed = true + } if (n.hasOwnProperty('d')) { configNode.d = n.d; } @@ -2048,6 +2172,9 @@ RED.nodes = (function() { if (n.hasOwnProperty('g')) { node.g = n.g; } + if (options.markChanged) { + node.changed = true + } if (createNewIds || options.importMap[n.id] === "copy") { if (subflow_denylist[n.z]) { continue; @@ -2070,7 +2197,7 @@ RED.nodes = (function() { node.id = getID(); } else { node.id = n.id; - const keepNodesCurrentZ = reimport && node.z && RED.workspaces.contains(node.z) + const keepNodesCurrentZ = reimport && node.z && (RED.workspaces.contains(node.z) || RED.nodes.subflow(node.z)) if (!keepNodesCurrentZ && (node.z == null || (!workspace_map[node.z] && !subflow_map[node.z]))) { if (createMissingWorkspace) { if (missingWorkspace === null) { @@ -2095,19 +2222,36 @@ RED.nodes = (function() { } node._config.x = node.x; node._config.y = node.y; + if (n.hasOwnProperty('w')) { + node.w = n.w + } + if (n.hasOwnProperty('h')) { + node.h = n.h + } } else if (n.type.substring(0,7) === "subflow") { var parentId = n.type.split(":")[1]; var subflow = subflow_denylist[parentId]||subflow_map[parentId]||getSubflow(parentId); - if (createNewIds || options.importMap[n.id] === "copy") { - parentId = subflow.id; - node.type = "subflow:"+parentId; - node._def = registry.getNodeType(node.type); - delete node.i; + if (!subflow){ + node._def = { + color:"#fee", + defaults: {}, + label: "unknown: "+n.type, + labelStyle: "red-ui-flow-node-label-italic", + outputs: n.outputs|| (n.wires && n.wires.length) || 0, + set: registry.getNodeSet("node-red/unknown") + } + } else { + if (subflow_denylist[parentId] || createNewIds || options.importMap[n.id] === "copy") { + parentId = subflow.id; + node.type = "subflow:"+parentId; + node._def = registry.getNodeType(node.type); + delete node.i; + } + node.name = n.name; + node.outputs = subflow.out.length; + node.inputs = subflow.in.length; + node.env = n.env; } - node.name = n.name; - node.outputs = subflow.out.length; - node.inputs = subflow.in.length; - node.env = n.env; } else if (n.type === 'junction') { node._def = {defaults:{}} node._config.x = node.x @@ -2268,7 +2412,7 @@ RED.nodes = (function() { // get added if (activeSubflow && /^link /.test(n.type) && n.links) { n.links = n.links.filter(function(id) { - var otherNode = RED.nodes.node(id); + const otherNode = node_map[id] || RED.nodes.node(id); return (otherNode && otherNode.z === activeWorkspace) }); } @@ -2318,19 +2462,6 @@ RED.nodes = (function() { if (n.g && !new_group_set.has(n.g)) { delete n.g; } - n.nodes = n.nodes.map(function(id) { - return node_map[id]; - }) - // Just in case the group references a node that doesn't exist for some reason - n.nodes = n.nodes.filter(function(v) { - if (v) { - // Repair any nodes that have forgotten they are in this group - if (v.g !== n.id) { - v.g = n.id; - } - } - return !!v - }); if (!n.g) { groupDepthMap[n.id] = 0; } @@ -2353,21 +2484,22 @@ RED.nodes = (function() { return groupDepthMap[A.id] - groupDepthMap[B.id]; }); for (i=0;i { + const mappedNode = node_map[id] + if (!mappedNode) { + return null + } + if (mappedNode.__isProxy__) { + return mappedNode + } else { + return node_map[mappedNode.id] + } + } + // Update groups to reference proxy node objects + for (i=0;i g.id) + } function addJunction(junction) { + if (!junction.__isProxy__) { + junction = new Proxy(junction, nodeProxyHandler) + } junctionsByZ[junction.z] = junctionsByZ[junction.z] || [] junctionsByZ[junction.z].push(junction) junctions[junction.id] = junction; if (!nodeLinks[junction.id]) { nodeLinks[junction.id] = {in:[],out:[]}; } + allNodes.addObjectToWorkspace(junction.z, junction.id, junction.changed || junction.moved) RED.events.emit("junctions:add", junction) + return junction } function removeJunction(junction) { var i = junctionsByZ[junction.z].indexOf(junction) @@ -2568,6 +2753,7 @@ RED.nodes = (function() { } delete junctions[junction.id] delete nodeLinks[junction.id]; + allNodes.removeObjectFromWorkspace(junction.z, junction.id) RED.events.emit("junctions:remove", junction) var removedLinks = links.filter(function(l) { return (l.source === junction) || (l.target === junction); }); @@ -2743,6 +2929,7 @@ RED.nodes = (function() { } }); + const nodeGroupMap = {} var replaceNodeIds = Object.keys(replaceNodes); if (replaceNodeIds.length > 0) { var reimportList = []; @@ -2753,6 +2940,12 @@ RED.nodes = (function() { } else { allNodes.removeNode(n); } + if (n.g) { + // reimporting a node *without* including its group object + // will cause the g property to be cleared. Cache it + // here so we can restore it + nodeGroupMap[n.id] = n.g + } reimportList.push(convertNode(n)); RED.events.emit('nodes:remove',n); }); @@ -2774,6 +2967,18 @@ RED.nodes = (function() { var newNodeMap = {}; result.nodes.forEach(function(n) { newNodeMap[n.id] = n; + if (nodeGroupMap[n.id]) { + // This node is in a group - need to substitute the + // node reference inside the group + n.g = nodeGroupMap[n.id] + const group = RED.nodes.group(n.g) + if (group) { + var index = group.nodes.findIndex(gn => gn.id === n.id) + if (index > -1) { + group.nodes[index] = n + } + } + } }); RED.nodes.eachLink(function(l) { if (newNodeMap.hasOwnProperty(l.source.id)) { @@ -2786,6 +2991,9 @@ RED.nodes = (function() { RED.view.redraw(true); } }); + RED.events.on('deploy', function () { + allNodes.clearState() + }) }, registry:registry, setNodeList: registry.setNodeList, @@ -2834,7 +3042,7 @@ RED.nodes = (function() { }, addWorkspace: addWorkspace, removeWorkspace: removeWorkspace, - getWorkspaceOrder: function() { return workspacesOrder }, + getWorkspaceOrder: function() { return [...workspacesOrder] }, setWorkspaceOrder: function(order) { workspacesOrder = order; }, workspace: getWorkspace, @@ -2888,6 +3096,20 @@ RED.nodes = (function() { } } }, + eachGroup: function(cb) { + for (var group of Object.values(groups)) { + if (cb(group) === false) { + break + } + } + }, + eachJunction: function(cb) { + for (var junction of Object.values(junctions)) { + if (cb(junction) === false) { + break + } + } + }, node: getNode, @@ -2910,6 +3132,7 @@ RED.nodes = (function() { getAllFlowNodes: getAllFlowNodes, getAllUpstreamNodes: getAllUpstreamNodes, getAllDownstreamNodes: getAllDownstreamNodes, + getDownstreamNodes: getDownstreamNodes, getNodeIslands: getNodeIslands, createExportableNodeSet: createExportableNodeSet, createCompleteNodeSet: createCompleteNodeSet, diff --git a/packages/node_modules/@node-red/editor-client/src/js/red.js b/packages/node_modules/@node-red/editor-client/src/js/red.js index 129c46799..d13d7ca24 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/red.js +++ b/packages/node_modules/@node-red/editor-client/src/js/red.js @@ -263,6 +263,7 @@ var RED = (function() { setTimeout(() => { RED.view.reveal(nodeToShow.id) window.location.hash = currentHash + RED.view.select(nodeToShow.id) if (showEditDialog) { RED.editor.edit(nodeToShow) } @@ -273,6 +274,7 @@ var RED = (function() { if (nodeToShow) { RED.view.reveal(nodeToShow.id) window.location.hash = currentHash + RED.view.select(nodeToShow.id) if (showEditDialog) { RED.editor.editGroup(nodeToShow) } @@ -348,6 +350,8 @@ var RED = (function() { loader.end() RED.notify($("

").text(message)); RED.sidebar.info.refresh() + RED.menu.setDisabled('menu-item-projects-open',false); + RED.menu.setDisabled('menu-item-projects-settings',false); }); }); return; @@ -494,6 +498,15 @@ var RED = (function() { ] } } + } else if (notificationId === 'restart-required') { + options.buttons = [ + { + text: RED._("common.label.close"), + click: function() { + persistentNotifications[notificationId].hideNotification(); + } + } + ] } if (!persistentNotifications.hasOwnProperty(notificationId)) { persistentNotifications[notificationId] = RED.notify(text,options); @@ -521,6 +534,10 @@ var RED = (function() { RED.view.redrawStatus(node); } }); + + let pendingNodeRemovedNotifications = [] + let pendingNodeRemovedTimeout + RED.comms.subscribe("notification/node/#",function(topic,msg) { var i,m; var typeList; @@ -558,8 +575,15 @@ var RED = (function() { m = msg[i]; info = RED.nodes.removeNodeSet(m.id); if (info.added) { - typeList = "

  • "+m.types.map(RED.utils.sanitize).join("
  • ")+"
"; - RED.notify(RED._("palette.event.nodeRemoved", {count:m.types.length})+typeList,"success"); + pendingNodeRemovedNotifications = pendingNodeRemovedNotifications.concat(m.types.map(RED.utils.sanitize)) + if (pendingNodeRemovedTimeout) { + clearTimeout(pendingNodeRemovedTimeout) + } + pendingNodeRemovedTimeout = setTimeout(function () { + typeList = "
  • "+pendingNodeRemovedNotifications.join("
  • ")+"
"; + RED.notify(RED._("palette.event.nodeRemoved", {count:pendingNodeRemovedNotifications.length})+typeList,"success"); + pendingNodeRemovedNotifications = [] + }, 200) } } loadIconList(); @@ -668,11 +692,6 @@ var RED = (function() { ]}); menuOptions.push({id:"menu-item-arrange-menu", label:RED._("menu.label.arrange"), options: [ - {id: "menu-item-view-tools-move-to-back", label:RED._("menu.label.moveToBack"), disabled: true, onselect: "core:move-selection-to-back"}, - {id: "menu-item-view-tools-move-to-front", label:RED._("menu.label.moveToFront"), disabled: true, onselect: "core:move-selection-to-front"}, - {id: "menu-item-view-tools-move-backwards", label:RED._("menu.label.moveBackwards"), disabled: true, onselect: "core:move-selection-backwards"}, - {id: "menu-item-view-tools-move-forwards", label:RED._("menu.label.moveForwards"), disabled: true, onselect: "core:move-selection-forwards"}, - null, {id: "menu-item-view-tools-align-left", label:RED._("menu.label.alignLeft"), disabled: true, onselect: "core:align-selection-to-left"}, {id: "menu-item-view-tools-align-center", label:RED._("menu.label.alignCenter"), disabled: true, onselect: "core:align-selection-to-center"}, {id: "menu-item-view-tools-align-right", label:RED._("menu.label.alignRight"), disabled: true, onselect: "core:align-selection-to-right"}, @@ -682,7 +701,12 @@ var RED = (function() { {id: "menu-item-view-tools-align-bottom", label:RED._("menu.label.alignBottom"), disabled: true, onselect: "core:align-selection-to-bottom"}, null, {id: "menu-item-view-tools-distribute-horizontally", label:RED._("menu.label.distributeHorizontally"), disabled: true, onselect: "core:distribute-selection-horizontally"}, - {id: "menu-item-view-tools-distribute-veritcally", label:RED._("menu.label.distributeVertically"), disabled: true, onselect: "core:distribute-selection-vertically"} + {id: "menu-item-view-tools-distribute-veritcally", label:RED._("menu.label.distributeVertically"), disabled: true, onselect: "core:distribute-selection-vertically"}, + null, + {id: "menu-item-view-tools-move-to-back", label:RED._("menu.label.moveToBack"), disabled: true, onselect: "core:move-selection-to-back"}, + {id: "menu-item-view-tools-move-to-front", label:RED._("menu.label.moveToFront"), disabled: true, onselect: "core:move-selection-to-front"}, + {id: "menu-item-view-tools-move-backwards", label:RED._("menu.label.moveBackwards"), disabled: true, onselect: "core:move-selection-backwards"}, + {id: "menu-item-view-tools-move-forwards", label:RED._("menu.label.moveForwards"), disabled: true, onselect: "core:move-selection-forwards"} ]}); menuOptions.push(null); @@ -698,7 +722,7 @@ var RED = (function() { menuOptions.push({id:"menu-item-config-nodes",label:RED._("menu.label.displayConfig"),onselect:"core:show-config-tab"}); menuOptions.push({id:"menu-item-workspace",label:RED._("menu.label.flows"),options:[ {id:"menu-item-workspace-add",label:RED._("menu.label.add"),onselect:"core:add-flow"}, - {id:"menu-item-workspace-edit",label:RED._("menu.label.rename"),onselect:"core:edit-flow"}, + {id:"menu-item-workspace-edit",label:RED._("menu.label.edit"),onselect:"core:edit-flow"}, {id:"menu-item-workspace-delete",label:RED._("menu.label.delete"),onselect:"core:remove-flow"} ]}); menuOptions.push({id:"menu-item-subflow",label:RED._("menu.label.subflows"), options: [ @@ -727,7 +751,7 @@ var RED = (function() { } menuOptions.push({id:"menu-item-help", label: RED.settings.theme("menu.menu-item-help.label",RED._("menu.label.help")), - href: RED.settings.theme("menu.menu-item-help.url","http://nodered.org/docs") + href: RED.settings.theme("menu.menu-item-help.url","https://nodered.org/docs") }); menuOptions.push({id:"menu-item-node-red-version", label:"v"+RED.settings.version, onselect: "core:show-about" }); @@ -775,6 +799,7 @@ var RED = (function() { RED.deploy.init(RED.settings.theme("deployButton",null)); RED.keyboard.init(buildMainMenu); + RED.envVar.init(); RED.nodes.init(); RED.runtime.init() @@ -793,7 +818,7 @@ var RED = (function() { $('
').appendTo(header); $('
'+ '
'+ - '
'+ + '
'+ '
'+ '
'+ '
'+ diff --git a/packages/node_modules/@node-red/editor-client/src/js/settings.js b/packages/node_modules/@node-red/editor-client/src/js/settings.js index c9a24d636..85c930bfb 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/settings.js +++ b/packages/node_modules/@node-red/editor-client/src/js/settings.js @@ -33,8 +33,8 @@ RED.settings = (function () { if (!hasLocalStorage()) { return; } - if (key === "auth-tokens") { - localStorage.setItem(key, JSON.stringify(value)); + if (key.startsWith("auth-tokens")) { + localStorage.setItem(key+this.authTokensSuffix, JSON.stringify(value)); } else { RED.utils.setMessageProperty(userSettings,key,value); saveUserSettings(); @@ -52,8 +52,8 @@ RED.settings = (function () { if (!hasLocalStorage()) { return undefined; } - if (key === "auth-tokens") { - return JSON.parse(localStorage.getItem(key)); + if (key.startsWith("auth-tokens")) { + return JSON.parse(localStorage.getItem(key+this.authTokensSuffix)); } else { var v; try { v = RED.utils.getMessageProperty(userSettings,key); } catch(err) {} @@ -71,8 +71,8 @@ RED.settings = (function () { if (!hasLocalStorage()) { return; } - if (key === "auth-tokens") { - localStorage.removeItem(key); + if (key.startsWith("auth-tokens")) { + localStorage.removeItem(key+this.authTokensSuffix); } else { delete userSettings[key]; saveUserSettings(); @@ -99,6 +99,8 @@ RED.settings = (function () { var init = function (options, done) { var accessTokenMatch = /[?&]access_token=(.*?)(?:$|&)/.exec(window.location.search); + var path=window.location.pathname.slice(0,-1); + RED.settings.authTokensSuffix=path.replace(/\//g, '-'); if (accessTokenMatch) { var accessToken = accessTokenMatch[1]; RED.settings.set("auth-tokens",{access_token: accessToken}); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/actionList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/actionList.js index 4886deabb..d949899ca 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/actionList.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/actionList.js @@ -47,7 +47,7 @@ RED.actionList = (function() { var searchDiv = $("
",{class:"red-ui-search-container"}).appendTo(dialog); searchInput = $('').appendTo(searchDiv).searchBox({ change: function() { - filterTerm = $(this).val().trim(); + filterTerm = $(this).val().trim().toLowerCase(); filterTerms = filterTerm.split(" "); searchResults.editableList('filter'); searchResults.find("li.selected").removeClass("selected"); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js index f547203d4..690968338 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js @@ -37,13 +37,13 @@ RED.clipboard = (function() { // IE11 workaround // IE does not support data uri scheme for downloading data var blob = new Blob([data], { - type: "data:text/plain;charset=utf-8" + type: "data:application/json;charset=utf-8" }); navigator.msSaveBlob(blob, file); } else { var element = document.createElement('a'); - element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(data)); + element.setAttribute('href', 'data:application/json;charset=utf-8,' + encodeURIComponent(data)); element.setAttribute('download', file); element.style.display = 'none'; document.body.appendChild(element); @@ -423,11 +423,10 @@ RED.clipboard = (function() { } } - function showImportNodes(mode) { + function showImportNodes(library = 'clipboard') { if (disabled) { return; } - mode = mode || "clipboard"; dialogContainer.empty(); dialogContainer.append($(importNodesDialog)); @@ -504,7 +503,7 @@ RED.clipboard = (function() { $("#red-ui-clipboard-dialog-import-text").on("keyup", validateImport); $("#red-ui-clipboard-dialog-import-text").on('paste',function() { setTimeout(validateImport,10)}); - if (RED.workspaces.active() === 0) { + if (RED.workspaces.active() === 0 || RED.workspaces.isLocked()) { $("#red-ui-clipboard-dialog-import-opt-current").addClass('disabled').removeClass("selected"); $("#red-ui-clipboard-dialog-import-opt-new").addClass("selected"); } else { @@ -533,8 +532,8 @@ RED.clipboard = (function() { $("#red-ui-clipboard-dialog-import-file-upload").trigger("click"); }) - tabs.activateTab("red-ui-clipboard-dialog-import-tab-"+mode); - if (mode === 'clipboard') { + tabs.activateTab("red-ui-clipboard-dialog-import-tab-"+library); + if (library === 'clipboard') { setTimeout(function() { $("#red-ui-clipboard-dialog-import-text").trigger("focus"); },100) @@ -558,13 +557,16 @@ RED.clipboard = (function() { }); } - function showExportNodes(mode) { + /** + * Show the export dialog + * @params library which export destination to show + * @params mode whether to default to 'auto' (default) or 'flow' + **/ + function showExportNodes(library = 'clipboard', mode = 'auto' ) { if (disabled) { return; } - mode = mode || "clipboard"; - dialogContainer.empty(); dialogContainer.append($(exportNodesDialog)); @@ -654,7 +656,12 @@ RED.clipboard = (function() { $("#red-ui-clipboard-dialog-tab-library-name").val("flows.json").select(); dialogContainer.i18n(); + var format = RED.settings.flowFilePretty ? "red-ui-clipboard-dialog-export-fmt-full" : "red-ui-clipboard-dialog-export-fmt-mini"; + const userFormat = RED.settings.get("editor.dialog.export.pretty") + if (userFormat === false || userFormat === true) { + format = userFormat ? "red-ui-clipboard-dialog-export-fmt-full" : "red-ui-clipboard-dialog-export-fmt-mini"; + } $("#red-ui-clipboard-dialog-export-fmt-group > a").on("click", function(evt) { evt.preventDefault(); @@ -670,7 +677,8 @@ RED.clipboard = (function() { var nodes = JSON.parse(flow); format = $(this).attr('id'); - if (format === 'red-ui-clipboard-dialog-export-fmt-full') { + const pretty = format === "red-ui-clipboard-dialog-export-fmt-full"; + if (pretty) { flow = JSON.stringify(nodes,null,4); } else { flow = JSON.stringify(nodes); @@ -679,6 +687,7 @@ RED.clipboard = (function() { setTimeout(function() { $("#red-ui-clipboard-dialog-export-text").scrollTop(0); },50); $("#red-ui-clipboard-dialog-export-text").trigger("focus"); + RED.settings.set("editor.dialog.export.pretty", pretty) } }); @@ -722,7 +731,7 @@ RED.clipboard = (function() { nodes.unshift(parentNode); nodes = RED.nodes.createExportableNodeSet(nodes); } else if (type === 'full') { - nodes = RED.nodes.createCompleteNodeSet(false); + nodes = RED.nodes.createCompleteNodeSet({ credentials: false }); } if (nodes !== null) { if (format === "red-ui-clipboard-dialog-export-fmt-full") { @@ -766,12 +775,15 @@ RED.clipboard = (function() { } } } + if (mode === 'flow' && !$("#red-ui-clipboard-dialog-export-rng-flow").hasClass('disabled')) { + $("#red-ui-clipboard-dialog-export-rng-flow").trigger("click"); + } if (format === "red-ui-clipboard-dialog-export-fmt-full") { $("#red-ui-clipboard-dialog-export-fmt-full").trigger("click"); } else { $("#red-ui-clipboard-dialog-export-fmt-mini").trigger("click"); } - tabs.activateTab("red-ui-clipboard-dialog-export-tab-"+mode); + tabs.activateTab("red-ui-clipboard-dialog-export-tab-"+library); var dialogHeight = 400; var winHeight = $(window).height(); @@ -807,7 +819,7 @@ RED.clipboard = (function() { flow.forEach(function(node) { if (node.type === "tab") { flows[node.id] = { - element: getFlowLabel(node,false), + element: getFlowLabel(node), deferBuild: type !== "flow", expanded: type === "flow", children: [] @@ -988,7 +1000,6 @@ RED.clipboard = (function() { try { RED.view.importNodes(newNodes, importOptions); } catch(error) { - console.log(error.importConfig) // Thrown for import_conflict confirmImport(error.importConfig, newNodes, importOptions); } @@ -1158,9 +1169,9 @@ RED.clipboard = (function() { function getNodeElement(n, isConflicted, isSelected, parent) { var element; if (n.type === "tab") { - element = getFlowLabel(n, isSelected); + element = getFlowLabel(n, isConflicted); } else { - element = getNodeLabel(n, isConflicted, isSelected); + element = getNodeLabel(n, isConflicted, isSelected, parent); } var controls = $('
',{class:"red-ui-clipboard-dialog-import-conflicts-controls"}).appendTo(element); controls.on("click", function(evt) { evt.stopPropagation(); }); @@ -1210,14 +1221,14 @@ RED.clipboard = (function() { } } - function getFlowLabel(n) { + function getFlowLabel(n, isConflicted) { n = JSON.parse(JSON.stringify(n)); n._def = RED.nodes.getType(n.type) || {}; if (n._def) { n._ = n._def._; } - var div = $('
',{class:"red-ui-info-outline-item red-ui-info-outline-item-flow"}); + var div = $('
',{class:"red-ui-info-outline-item red-ui-info-outline-item-flow red-ui-node-list-item"}); var contentDiv = $('
',{class:"red-ui-search-result-description red-ui-info-outline-item-label"}).appendTo(div); var label = (typeof n === "string")? n : n.label; var newlineIndex = label.indexOf("\\n"); @@ -1225,11 +1236,17 @@ RED.clipboard = (function() { label = label.substring(0,newlineIndex)+"..."; } contentDiv.text(label); + + if (!!isConflicted) { + const conflictIcon = $('').appendTo(div) + RED.popover.tooltip(conflictIcon, RED._('clipboard.import.alreadyExists')) + } + // A conflicted flow should not be imported by default. return div; } - function getNodeLabel(n, isConflicted) { + function getNodeLabel(n, isConflicted, isSelected, parent) { n = JSON.parse(JSON.stringify(n)); n._def = RED.nodes.getType(n.type) || {}; if (n._def) { @@ -1237,6 +1254,11 @@ RED.clipboard = (function() { } var div = $('
',{class:"red-ui-node-list-item"}); RED.utils.createNodeIcon(n,true).appendTo(div); + + if (!parent && !!isConflicted) { + const conflictIcon = $('').appendTo(div) + RED.popover.tooltip(conflictIcon, RED._('clipboard.import.alreadyExists')) + } return div; } @@ -1266,15 +1288,17 @@ RED.clipboard = (function() { RED.keyboard.add("#red-ui-drop-target", "escape" ,hideDropTarget); $('#red-ui-workspace-chart').on("dragenter",function(event) { - if ($.inArray("text/plain",event.originalEvent.dataTransfer.types) != -1 || - $.inArray("Files",event.originalEvent.dataTransfer.types) != -1) { + if (!RED.workspaces.isLocked() && ( + $.inArray("text/plain",event.originalEvent.dataTransfer.types) != -1 || + $.inArray("Files",event.originalEvent.dataTransfer.types) != -1)) { $("#red-ui-drop-target").css({display:'table'}).focus(); } }); $('#red-ui-drop-target').on("dragover",function(event) { if ($.inArray("text/plain",event.originalEvent.dataTransfer.types) != -1 || - $.inArray("Files",event.originalEvent.dataTransfer.types) != -1) { + $.inArray("Files",event.originalEvent.dataTransfer.types) != -1 || + RED.workspaces.isLocked()) { event.preventDefault(); } }) @@ -1282,27 +1306,29 @@ RED.clipboard = (function() { hideDropTarget(); }) .on("drop",function(event) { - try { - if ($.inArray("text/plain",event.originalEvent.dataTransfer.types) != -1) { - var data = event.originalEvent.dataTransfer.getData("text/plain"); - data = data.substring(data.indexOf('['),data.lastIndexOf(']')+1); - importNodes(data); - } else if ($.inArray("Files",event.originalEvent.dataTransfer.types) != -1) { - var files = event.originalEvent.dataTransfer.files; - if (files.length === 1) { - var file = files[0]; - var reader = new FileReader(); - reader.onload = (function(theFile) { - return function(e) { - importNodes(e.target.result); - }; - })(file); - reader.readAsText(file); + if (!RED.workspaces.isLocked()) { + try { + if ($.inArray("text/plain",event.originalEvent.dataTransfer.types) != -1) { + var data = event.originalEvent.dataTransfer.getData("text/plain"); + data = data.substring(data.indexOf('['),data.lastIndexOf(']')+1); + importNodes(data); + } else if ($.inArray("Files",event.originalEvent.dataTransfer.types) != -1) { + var files = event.originalEvent.dataTransfer.files; + if (files.length === 1) { + var file = files[0]; + var reader = new FileReader(); + reader.onload = (function(theFile) { + return function(e) { + importNodes(e.target.result); + }; + })(file); + reader.readAsText(file); + } } + } catch(err) { + // Ensure any errors throw above doesn't stop the drop target from + // being hidden. } - } catch(err) { - // Ensure any errors throw above doesn't stop the drop target from - // being hidden. } hideDropTarget(); event.preventDefault(); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js index ea1938e5c..ab9c8a837 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js @@ -160,7 +160,7 @@ this.element.css("maxHeight",null); } if (this.options.height !== 'auto') { - this.uiContainer.css("overflow-y","scroll"); + this.uiContainer.css("overflow-y","auto"); if (!isNaN(this.options.height)) { this.uiHeight = this.options.height; } @@ -174,12 +174,24 @@ this.uiContainer.width(m[1]); } if (this.options.sortable) { + var isCanceled = false; // Flag to track if an item has been canceled from being dropped into a different list + var noDrop = false; // Flag to track if an item is being dragged into a different list var handle = (typeof this.options.sortable === 'string')? this.options.sortable : ".red-ui-editableList-item-handle"; var sortOptions = { axis: "y", update: function( event, ui ) { + // dont trigger update if the item is being canceled + const targetList = $(event.target); + const draggedItem = ui.item; + const draggedItemParent = draggedItem.parent(); + if (!targetList.is(draggedItemParent) && draggedItem.hasClass("red-ui-editableList-item-constrained")) { + noDrop = true; + } + if (isCanceled || noDrop) { + return; + } if (that.options.sortItems) { that.options.sortItems(that.items()); } @@ -189,8 +201,32 @@ tolerance: "pointer", forcePlaceholderSize:true, placeholder: "red-ui-editabelList-item-placeholder", - start: function(e, ui){ - ui.placeholder.height(ui.item.height()-4); + start: function (event, ui) { + isCanceled = false; + ui.placeholder.height(ui.item.height() - 4); + ui.item.css('cursor', 'grabbing'); // TODO: this doesn't seem to work, use a class instead? + }, + stop: function (event, ui) { + ui.item.css('cursor', 'auto'); + }, + receive: function (event, ui) { + if (ui.item.hasClass("red-ui-editableList-item-constrained")) { + isCanceled = true; + $(ui.sender).sortable('cancel'); + } + }, + over: function (event, ui) { + // if the dragged item is constrained, prevent it from being dropped into a different list + const targetList = $(event.target); + const draggedItem = ui.item; + const draggedItemParent = draggedItem.parent(); + if (!targetList.is(draggedItemParent) && draggedItem.hasClass("red-ui-editableList-item-constrained")) { + noDrop = true; + draggedItem.css('cursor', 'no-drop'); // TODO: this doesn't seem to work, use a class instead? + } else { + noDrop = false; + draggedItem.css('cursor', 'grabbing'); // TODO: this doesn't seem to work, use a class instead? + } } }; if (this.options.connectWith) { @@ -417,6 +453,9 @@ } else { return null; } + }, + cancel: function() { + this.element.sortable("cancel"); } }); })(jQuery); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js index 2d95f894a..8d0f1dbd3 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/menu.js @@ -94,8 +94,8 @@ RED.menu = (function() { var link = $(linkContent).appendTo(item); opt.link = link; - if (typeof opt.onselect === 'string') { - var shortcut = RED.keyboard.getShortcut(opt.onselect); + if (typeof opt.onselect === 'string' || opt.shortcut) { + var shortcut = opt.shortcut || RED.keyboard.getShortcut(opt.onselect); if (shortcut && shortcut.key) { opt.shortcutSpan = $(''+RED.keyboard.formatKey(shortcut.key, true)+'').appendTo(link.find(".red-ui-menu-label")); } diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js index 8901cf11f..abb76e622 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js @@ -141,7 +141,29 @@ RED.tabs = (function() { }) } - + if (options.contextmenu) { + wrapper.on('contextmenu', function(evt) { + let clickedTab + let target = evt.target + while(target.nodeName !== 'A' && target.nodeName !== 'UL' && target.nodeName !== 'BODY') { + target = target.parentNode + } + if (target.nodeName === 'A') { + const href = target.getAttribute('href') + if (href) { + clickedTab = tabs[href.slice(1)] + } + } + evt.preventDefault() + evt.stopPropagation() + RED.contextMenu.show({ + x:evt.clientX-5, + y:evt.clientY-5, + options: options.contextmenu(clickedTab) + }) + return false + }) + } var scrollLeft; var scrollRight; @@ -161,7 +183,7 @@ RED.tabs = (function() { // Assume this is wheel event which might not trigger // the scroll event, so do things manually var sl = scrollContainer.scrollLeft(); - sl -= evt.originalEvent.deltaY; + sl += evt.originalEvent.deltaY; scrollContainer.scrollLeft(sl); } }) @@ -807,23 +829,22 @@ RED.tabs = (function() { event.preventDefault(); removeTab(tab.id); }); - RED.popover.tooltip(closeLink,RED._("workspace.hideFlow")); - } - if (tab.hideable) { - li.addClass("red-ui-tabs-closeable") - var closeLink = $("",{href:"#",class:"red-ui-tab-close red-ui-tab-hide"}).appendTo(li); - closeLink.append(''); - closeLink.append(''); - closeLink.on("click",function(event) { - event.preventDefault(); - hideTab(tab.id); - }); - RED.popover.tooltip(closeLink,RED._("workspace.hideFlow")); + RED.popover.tooltip(closeLink,RED._("workspace.closeFlow")); } + // if (tab.hideable) { + // li.addClass("red-ui-tabs-closeable") + // var closeLink = $("",{href:"#",class:"red-ui-tab-close red-ui-tab-hide"}).appendTo(li); + // closeLink.append(''); + // closeLink.append(''); + // closeLink.on("click",function(event) { + // event.preventDefault(); + // hideTab(tab.id); + // }); + // RED.popover.tooltip(closeLink,RED._("workspace.hideFlow")); + // } var badges = $('').appendTo(li); if (options.onselect) { - $('').appendTo(badges); $('').appendTo(badges); } @@ -938,6 +959,9 @@ RED.tabs = (function() { activeIndex: function() { return ul.find("li.active").index() }, + getTabIndex: function (id) { + return ul.find("a[href='#"+id+"']").parent().index() + }, contains: function(id) { return ul.find("a[href='#"+id+"']").length > 0; }, diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js index 549479d85..177c88356 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js @@ -54,25 +54,26 @@ return icon; } - var autoComplete = function(options) { - function getMatch(value, searchValue) { - const idx = value.toLowerCase().indexOf(searchValue.toLowerCase()); - const len = idx > -1 ? searchValue.length : 0; - return { - index: idx, - found: idx > -1, - pre: value.substring(0,idx), - match: value.substring(idx,idx+len), - post: value.substring(idx+len), - } - } - function generateSpans(match) { - const els = []; - if(match.pre) { els.push($('').text(match.pre)); } - if(match.match) { els.push($('',{style:"font-weight: bold; color: var(--red-ui-text-color-link);"}).text(match.match)); } - if(match.post) { els.push($('').text(match.post)); } - return els; + function getMatch(value, searchValue) { + const idx = value.toLowerCase().indexOf(searchValue.toLowerCase()); + const len = idx > -1 ? searchValue.length : 0; + return { + index: idx, + found: idx > -1, + pre: value.substring(0,idx), + match: value.substring(idx,idx+len), + post: value.substring(idx+len), } + } + function generateSpans(match) { + const els = []; + if(match.pre) { els.push($('').text(match.pre)); } + if(match.match) { els.push($('',{style:"font-weight: bold; color: var(--red-ui-text-color-link);"}).text(match.match)); } + if(match.post) { els.push($('').text(match.post)); } + return els; + } + + const msgAutoComplete = function(options) { return function(val) { var matches = []; options.forEach(opt => { @@ -90,10 +91,10 @@ optEl.append(generateSpans(srcMatch)); optEl.appendTo(element); } - matches.push({ - value: optVal, - label: element, - i: (valMatch.found ? valMatch.index : srcMatch.index) + matches.push({ + value: optVal, + label: element, + i: (valMatch.found ? valMatch.index : srcMatch.index) }); } }) @@ -102,6 +103,197 @@ } } + function getEnvVars (obj, envVars = {}) { + contextKnownKeys.env = contextKnownKeys.env || {} + if (contextKnownKeys.env[obj.id]) { + return contextKnownKeys.env[obj.id] + } + let parent + if (obj.type === 'tab' || obj.type === 'subflow') { + RED.nodes.eachConfig(function (conf) { + if (conf.type === "global-config") { + parent = conf; + } + }) + } else if (obj.g) { + parent = RED.nodes.group(obj.g) + } else if (obj.z) { + parent = RED.nodes.workspace(obj.z) || RED.nodes.subflow(obj.z) + } + if (parent) { + getEnvVars(parent, envVars) + } + if (obj.env) { + obj.env.forEach(env => { + envVars[env.name] = obj + }) + } + contextKnownKeys.env[obj.id] = envVars + return envVars + } + + const envAutoComplete = function (val) { + const editStack = RED.editor.getEditStack() + if (editStack.length === 0) { + done([]) + return + } + const editingNode = editStack.pop() + if (!editingNode) { + return [] + } + const envVarsMap = getEnvVars(editingNode) + const envVars = Object.keys(envVarsMap) + const matches = [] + const i = val.lastIndexOf('${') + let searchKey = val + let isSubkey = false + if (i > -1) { + if (val.lastIndexOf('}') < i) { + searchKey = val.substring(i+2) + isSubkey = true + } + } + envVars.forEach(v => { + let valMatch = getMatch(v, searchKey); + if (valMatch.found) { + const optSrc = envVarsMap[v] + const element = $('
',{style: "display: flex"}); + const valEl = $('
',{style:"font-family: var(--red-ui-monospace-font); white-space:nowrap; overflow: hidden; flex-grow:1"}); + valEl.append(generateSpans(valMatch)) + valEl.appendTo(element) + + if (optSrc) { + const optEl = $('
').css({ "font-size": "0.8em" }); + let label + if (optSrc.type === 'global-config') { + label = RED._('sidebar.context.global') + } else if (optSrc.type === 'group') { + label = RED.utils.getNodeLabel(optSrc) || (RED._('sidebar.info.group') + ': '+optSrc.id) + } else { + label = RED.utils.getNodeLabel(optSrc) || optSrc.id + } + + optEl.append(generateSpans({ match: label })); + optEl.appendTo(element); + } + matches.push({ + value: isSubkey ? val + v + '}' : v, + label: element, + i: valMatch.index + }); + } + }) + matches.sort(function(A,B){return A.i-B.i}) + return matches + } + + let contextKnownKeys = {} + let contextCache = {} + if (RED.events) { + RED.events.on("editor:close", function () { + contextCache = {} + contextKnownKeys = {} + }); + } + + const contextAutoComplete = function() { + const that = this + const getContextKeysFromRuntime = function(scope, store, searchKey, done) { + contextKnownKeys[scope] = contextKnownKeys[scope] || {} + contextKnownKeys[scope][store] = contextKnownKeys[scope][store] || new Set() + if (searchKey.length > 0) { + try { + RED.utils.normalisePropertyExpression(searchKey) + } catch (err) { + // Not a valid context key, so don't try looking up + done() + return + } + } + const url = `context/${scope}/${encodeURIComponent(searchKey)}?store=${store}&keysOnly` + if (contextCache[url]) { + // console.log('CACHED', url) + done() + } else { + // console.log('GET', url) + $.getJSON(url, function(data) { + // console.log(data) + contextCache[url] = true + const result = data[store] || {} + const keys = result.keys || [] + const keyPrefix = searchKey + (searchKey.length > 0 ? '.' : '') + keys.forEach(key => { + if (/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(key)) { + contextKnownKeys[scope][store].add(keyPrefix + key) + } else { + contextKnownKeys[scope][store].add(searchKey + "[\""+key.replace(/"/,"\\\"")+"\"]") + } + }) + done() + }) + } + } + const getContextKeys = function(key, done) { + const keyParts = key.split('.') + const partialKey = keyParts.pop() + let scope = that.propertyType + if (scope === 'flow') { + // Get the flow id of the node we're editing + const editStack = RED.editor.getEditStack() + if (editStack.length === 0) { + done([]) + return + } + const editingNode = editStack.pop() + if (editingNode.z) { + scope = `${scope}/${editingNode.z}` + } else { + done([]) + return + } + } + const store = (contextStoreOptions.length === 1) ? contextStoreOptions[0].value : that.optionValue + const searchKey = keyParts.join('.') + + getContextKeysFromRuntime(scope, store, searchKey, function() { + if (contextKnownKeys[scope][store].has(key) || key.endsWith(']')) { + getContextKeysFromRuntime(scope, store, key, function() { + done(contextKnownKeys[scope][store]) + }) + } + done(contextKnownKeys[scope][store]) + }) + } + + return function(val, done) { + getContextKeys(val, function (keys) { + const matches = [] + keys.forEach(v => { + let optVal = v + let valMatch = getMatch(optVal, val); + if (!valMatch.found && val.length > 0 && val.endsWith('.')) { + // Search key ends in '.' - but doesn't match. Check again + // with [" at the end instead so we match bracket notation + valMatch = getMatch(optVal, val.substring(0, val.length - 1) + '["') + } + if (valMatch.found) { + const element = $('
',{style: "display: flex"}); + const valEl = $('
',{style:"font-family: var(--red-ui-monospace-font); white-space:nowrap; overflow: hidden; flex-grow:1"}); + valEl.append(generateSpans(valMatch)) + valEl.appendTo(element) + matches.push({ + value: optVal, + label: element, + }); + } + }) + matches.sort(function(a, b) { return a.value.localeCompare(b.value) }); + done(matches); + }) + } + } + // This is a hand-generated list of completions for the core nodes (based on the node help html). var msgCompletions = [ { value: "payload" }, @@ -146,7 +338,7 @@ { value: "reset", source: ["delay","trigger","join","rbe"] }, { value: "responseCookies", source: ["http request"] }, { value: "responseTopic", source: ["mqtt"] }, - { value: "responseURL", source: ["http request"] }, + { value: "responseUrl", source: ["http request"] }, { value: "restartTimeout", source: ["join"] }, { value: "retain", source: ["mqtt"] }, { value: "schema", source: ["json"] }, @@ -166,23 +358,27 @@ { value: "_session", source: ["websocket out","tcp out"] }, ] var allOptions = { - msg: {value:"msg",label:"msg.",validate:RED.utils.validatePropertyExpression, autoComplete: autoComplete(msgCompletions)}, + msg: {value:"msg",label:"msg.",validate:RED.utils.validatePropertyExpression, autoComplete: msgAutoComplete(msgCompletions)}, flow: {value:"flow",label:"flow.",hasValue:true, options:[], validate:RED.utils.validatePropertyExpression, parse: contextParse, export: contextExport, - valueLabel: contextLabel + valueLabel: contextLabel, + autoComplete: contextAutoComplete }, global: {value:"global",label:"global.",hasValue:true, options:[], validate:RED.utils.validatePropertyExpression, parse: contextParse, export: contextExport, - valueLabel: contextLabel + valueLabel: contextLabel, + autoComplete: contextAutoComplete }, str: {value:"str",label:"string",icon:"red/images/typedInput/az.svg"}, - num: {value:"num",label:"number",icon:"red/images/typedInput/09.svg",validate:/^[+-]?[0-9]*\.?[0-9]*([eE][-+]?[0-9]+)?$/}, + num: {value:"num",label:"number",icon:"red/images/typedInput/09.svg",validate: function(v) { + return (true === RED.utils.validateTypedProperty(v, "num")); + } }, bool: {value:"bool",label:"boolean",icon:"red/images/typedInput/bool.svg",options:["true","false"]}, json: { value:"json", @@ -212,7 +408,25 @@ } }, re: {value:"re",label:"regular expression",icon:"red/images/typedInput/re.svg"}, - date: {value:"date",label:"timestamp",icon:"fa fa-clock-o",hasValue:false}, + date: { + value:"date", + label:"timestamp", + icon:"fa fa-clock-o", + options:[ + { + label: 'milliseconds since epoch', + value: '' + }, + { + label: 'YYYY-MM-DDTHH:mm:ss.sssZ', + value: 'iso' + }, + { + label: 'JavaScript Date Object', + value: 'object' + } + ] + }, jsonata: { value: "jsonata", label: "expression", @@ -249,7 +463,8 @@ env: { value: "env", label: "env variable", - icon: "red/images/typedInput/env.svg" + icon: "red/images/typedInput/env.svg", + autoComplete: envAutoComplete }, node: { value: "node", @@ -381,18 +596,75 @@ eyeButton.show(); } } + }, + 'conf-types': { + value: "conf-types", + label: "config", + icon: "fa fa-cog", + // hasValue: false, + valueLabel: function (container, value) { + // get the selected option (for access to the "name" and "module" properties) + const _options = this._optionsCache || this.typeList.find(opt => opt.value === value)?.options || [] + const selectedOption = _options.find(opt => opt.value === value) || { + title: '', + name: '', + module: '' + } + container.attr("title", selectedOption.title) // set tooltip to the full path/id of the module/node + container.text(selectedOption.name) // apply the "name" of the selected option + // set "line-height" such as to make the "name" appear further up, giving room for the "module" to be displayed below the value + container.css("line-height", "1.4em") + // add the module name in smaller, lighter font below the value + $('
').text(selectedOption.module).css({ + // "font-family": "var(--red-ui-monospace-font)", + color: "var(--red-ui-tertiary-text-color)", + "font-size": "0.8em", + "line-height": "1em", + opacity: 0.8 + }).appendTo(container); + }, + // hasValue: false, + options: function () { + if (this._optionsCache) { + return this._optionsCache + } + const configNodes = RED.nodes.registry.getNodeDefinitions({configOnly: true, filter: (def) => def.type !== "global-config"}).map((def) => { + // create a container with with 2 rows (row 1 for the name, row 2 for the module name in smaller, lighter font) + const container = $('
') + const row1Name = $('
').text(def.type) + const row2Module = $('
').text(def.set.module) + container.append(row1Name, row2Module) + + return { + value: def.type, + name: def.type, + enabled: def.set.enabled ?? true, + local: def.set.local, + title: def.set.id, // tooltip e.g. "node-red-contrib-foo/bar" + module: def.set.module, + icon: container[0].outerHTML.trim(), // the typeInput will interpret this as html text and render it in the anchor + } + }) + this._optionsCache = configNodes + return configNodes + } } }; + // For a type with options, check value is a valid selection // If !opt.multiple, returns the valid option object // if opt.multiple, returns an array of valid option objects // If not valid, returns null; function isOptionValueValid(opt, currentVal) { + let _options = opt.options + if (typeof _options === "function") { + _options = _options.call(this) + } if (!opt.multiple) { - for (var i=0;i'} }).sort(function(A,B) { if (A.value === RED.settings.context.default) { @@ -447,13 +720,17 @@ return A.value.localeCompare(B.value); } }) - if (contextOptions.length < 2) { + if (contextStoreOptions.length < 2) { allOptions.flow.options = []; allOptions.global.options = []; } else { - allOptions.flow.options = contextOptions; - allOptions.global.options = contextOptions; + allOptions.flow.options = contextStoreOptions; + allOptions.global.options = contextStoreOptions; } + // Translate timestamp options + allOptions.date.options.forEach(opt => { + opt.label = RED._("typedInput.date.format." + (opt.value || 'timestamp'), {defaultValue: opt.label}) + }) } nlsd = true; var that = this; @@ -501,7 +778,7 @@ this.options.types = this.options.types||Object.keys(allOptions); } - this.selectTrigger = $('').prependTo(this.uiSelect); + this.selectTrigger = $('').prependTo(this.uiSelect); $('').toggle(this.options.types.length > 1).appendTo(this.selectTrigger); this.selectLabel = $('').appendTo(this.selectTrigger); @@ -542,7 +819,7 @@ that.element.trigger('paste',evt); }); this.input.on('keydown', function(evt) { - if (that.typeMap[that.propertyType].autoComplete) { + if (that.typeMap[that.propertyType].autoComplete || that.input.hasClass('red-ui-autoComplete')) { return } if (evt.keyCode >= 37 && evt.keyCode <= 40) { @@ -570,7 +847,7 @@ }) // explicitly set optionSelectTrigger display to inline-block otherwise jQ sets it to 'inline' - this.optionSelectTrigger = $('').appendTo(this.uiSelect); + this.optionSelectTrigger = $('').appendTo(this.uiSelect); this.optionSelectLabel = $('').prependTo(this.optionSelectTrigger); // RED.popover.tooltip(this.optionSelectLabel,function() { // return that.optionValue; @@ -591,7 +868,7 @@ that.uiSelect.addClass('red-ui-typedInput-focus'); }); - this.optionExpandButton = $('').appendTo(this.uiSelect); + this.optionExpandButton = $('').appendTo(this.uiSelect); this.optionExpandButtonIcon = $('').appendTo(this.optionExpandButton); this.type(this.typeField.val() || this.options.default||this.typeList[0].value); @@ -836,7 +1113,9 @@ if (this.optionMenu) { this.optionMenu.remove(); } - this.menu.remove(); + if (this.menu) { + this.menu.remove(); + } this.uiSelect.remove(); }, types: function(types) { @@ -869,7 +1148,7 @@ this.menu = this._createMenu(this.typeList,{},function(v) { that.type(v) }); if (currentType && !this.typeMap.hasOwnProperty(currentType)) { if (!firstCall) { - this.type(this.typeList[0].value); + this.type(this.typeList[0]?.value || ""); // permit empty typeList } } else { this.propertyType = null; @@ -906,6 +1185,11 @@ var selectedOption = []; var valueToCheck = value; if (opt.options) { + let _options = opt.options + if (typeof opt.options === "function") { + _options = opt.options.call(this) + } + if (opt.hasValue && opt.parse) { var parts = opt.parse(value); if (this.options.debug) { console.log(this.identifier,"new parse",parts) } @@ -919,8 +1203,8 @@ checkValues = valueToCheck.split(","); } checkValues.forEach(function(valueToCheck) { - for (var i=0;i 0); - const hasMultipleSelection = hasSelection && selection.nodes.length > 1; - const virtulLinks = (selection.links && selection.links.filter(e => !!e.link)) || []; - const wireLinks = (selection.links && selection.links.filter(e => !e.link)) || []; - const hasLinks = wireLinks.length > 0; - const isSingleLink = !hasSelection && hasLinks && wireLinks.length === 1 - const isMultipleLinks = !hasSelection && hasLinks && wireLinks.length > 1 - const canDelete = hasSelection || hasLinks - const isGroup = hasSelection && selection.nodes.length === 1 && selection.nodes[0].type === 'group' - - const canRemoveFromGroup = hasSelection && !!selection.nodes[0].g - const offset = $("#red-ui-workspace-chart").offset() - - let addX = options.x - offset.left + $("#red-ui-workspace-chart").scrollLeft() - let addY = options.y - offset.top + $("#red-ui-workspace-chart").scrollTop() - - if (RED.view.snapGrid) { - const gridSize = RED.view.gridSize() - addX = gridSize * Math.floor(addX / gridSize) - addY = gridSize * Math.floor(addY / gridSize) - } - - const menuItems = [ - { onselect: 'core:show-action-list', onpostselect: function () { } }, - { - label: RED._("contextMenu.insert"), - options: [ - { - label: RED._("contextMenu.node"), - onselect: function () { - RED.view.showQuickAddDialog({ - position: [addX, addY], - touchTrigger: true, - splice: isSingleLink ? selection.links[0] : undefined, - // spliceMultiple: isMultipleLinks - }) - } - }, - (hasLinks) ? { // has least 1 wire selected - label: RED._("contextMenu.junction"), - onselect: 'core:split-wires-with-junctions', - disabled: !hasLinks - } : { - label: RED._("contextMenu.junction"), - onselect: function () { - const nn = { - _def: { defaults: {} }, - type: 'junction', - z: RED.workspaces.active(), - id: RED.nodes.id(), - x: addX, - y: addY, - w: 0, h: 0, - outputs: 1, - inputs: 1, - dirty: true - } - const historyEvent = { - dirty: RED.nodes.dirty(), - t: 'add', - junctions: [nn] - } - RED.nodes.addJunction(nn); - RED.history.push(historyEvent); - RED.nodes.dirty(true); - RED.view.select({nodes: [nn] }); - RED.view.redraw(true) - } - }, - { - label: RED._("contextMenu.linkNodes"), - onselect: 'core:split-wire-with-link-nodes', - disabled: !hasLinks + let menuItems = [] + if (options.options) { + menuItems = options.options + } else if (options.type === 'workspace') { + const selection = RED.view.selection() + const noSelection = !selection || Object.keys(selection).length === 0 + const hasSelection = (selection.nodes && selection.nodes.length > 0); + const hasMultipleSelection = hasSelection && selection.nodes.length > 1; + const virtulLinks = (selection.links && selection.links.filter(e => !!e.link)) || []; + const wireLinks = (selection.links && selection.links.filter(e => !e.link)) || []; + const hasLinks = wireLinks.length > 0; + const isSingleLink = !hasSelection && hasLinks && wireLinks.length === 1 + const isMultipleLinks = !hasSelection && hasLinks && wireLinks.length > 1 + const canDelete = hasSelection || hasLinks + const isGroup = hasSelection && selection.nodes.length === 1 && selection.nodes[0].type === 'group' + const canEdit = !RED.workspaces.isLocked() + const canRemoveFromGroup = hasSelection && !!selection.nodes[0].g + let hasGroup, isAllGroups = true, hasDisabledNode, hasEnabledNode, hasLabeledNode, hasUnlabeledNode; + if (hasSelection) { + selection.nodes.forEach(n => { + if (n.type === 'group') { + hasGroup = true; + } else { + isAllGroups = false; } - ] - - - + if (n.d) { + hasDisabledNode = true; + } else { + hasEnabledNode = true; + } + if (n.l === undefined || n.l) { + hasLabeledNode = true; + } else { + hasUnlabeledNode = true; + } + }); + } + const offset = $("#red-ui-workspace-chart").offset() + + let addX = options.x - offset.left + $("#red-ui-workspace-chart").scrollLeft() + let addY = options.y - offset.top + $("#red-ui-workspace-chart").scrollTop() + + if (RED.view.snapGrid) { + const gridSize = RED.view.gridSize() + addX = gridSize * Math.floor(addX / gridSize) + addY = gridSize * Math.floor(addY / gridSize) + } + + menuItems.push( + { onselect: 'core:show-action-list', label: RED._("contextMenu.showActionList"), onpostselect: function () { } } + ) + + const insertOptions = [] + menuItems.push({ label: RED._("contextMenu.insert"), options: insertOptions }) + insertOptions.push( + { + label: RED._("contextMenu.node"), + onselect: function () { + RED.view.showQuickAddDialog({ + position: [addX, addY], + touchTrigger: 'ontouchstart' in window, + splice: isSingleLink ? selection.links[0] : undefined, + // spliceMultiple: isMultipleLinks + }) + }, + disabled: !canEdit + }, + (hasLinks) ? { // has least 1 wire selected + label: RED._("contextMenu.junction"), + onselect: 'core:split-wires-with-junctions', + disabled: !canEdit || !hasLinks + } : { + label: RED._("contextMenu.junction"), + onselect: function () { + const nn = { + _def: { defaults: {} }, + type: 'junction', + z: RED.workspaces.active(), + id: RED.nodes.id(), + x: addX, + y: addY, + w: 0, h: 0, + outputs: 1, + inputs: 1, + dirty: true, + moved: true + } + const junction = RED.nodes.addJunction(nn); + const historyEvent = { + dirty: RED.nodes.dirty(), + t: 'add', + junctions: [junction] + } + RED.history.push(historyEvent); + RED.nodes.dirty(true); + RED.view.select({nodes: [junction] }); + RED.view.redraw(true) + }, + disabled: !canEdit + }, + { + label: RED._("contextMenu.linkNodes"), + onselect: 'core:split-wire-with-link-nodes', + disabled: !canEdit || !hasLinks + }, + null, + { onselect: 'core:show-import-dialog', label: RED._('common.label.import')}, + { onselect: 'core:show-examples-import-dialog', label: RED._('menu.label.importExample') } + ) + if (hasSelection && canEdit) { + const nodeOptions = [] + if (!hasMultipleSelection && !isGroup) { + nodeOptions.push( + { onselect: 'core:show-node-help', label: RED._('menu.label.showNodeHelp') }, + null + ) + } + nodeOptions.push( + { onselect: 'core:enable-selected-nodes', label: RED._('menu.label.enableSelectedNodes'), disabled: !hasDisabledNode }, + { onselect: 'core:disable-selected-nodes', label: RED._('menu.label.disableSelectedNodes'), disabled: !hasEnabledNode }, + null, + { onselect: 'core:show-selected-node-labels', label: RED._('menu.label.showSelectedNodeLabels'), disabled: !hasUnlabeledNode }, + { onselect: 'core:hide-selected-node-labels', label: RED._('menu.label.hideSelectedNodeLabels'), disabled: !hasLabeledNode } + ) + menuItems.push({ + label: RED._('sidebar.info.node'), + options: nodeOptions + }) + menuItems.push({ + label: RED._('sidebar.info.group'), + options: [ + { onselect: 'core:group-selection', label: RED._("menu.label.groupSelection") }, + { onselect: 'core:ungroup-selection', label: RED._("menu.label.ungroupSelection"), disabled: !hasGroup }, + ] + }) + if (hasGroup) { + menuItems[menuItems.length - 1].options.push( + { onselect: 'core:merge-selection-to-group', label: RED._("menu.label.groupMergeSelection") } + ) + + } + if (canRemoveFromGroup) { + menuItems[menuItems.length - 1].options.push( + { onselect: 'core:remove-selection-from-group', label: RED._("menu.label.groupRemoveSelection") } + ) + } + menuItems[menuItems.length - 1].options.push( + null, + { onselect: 'core:copy-group-style', label: RED._("keyboard.copyGroupStyle"), disabled: !hasGroup }, + { onselect: 'core:paste-group-style', label: RED._("keyboard.pasteGroupStyle"), disabled: !hasGroup} + ) + } + if (canEdit && hasMultipleSelection) { + menuItems.push({ + label: RED._('menu.label.arrange'), + options: [ + { label:RED._("menu.label.alignLeft"), onselect: "core:align-selection-to-left"}, + { label:RED._("menu.label.alignCenter"), onselect: "core:align-selection-to-center"}, + { label:RED._("menu.label.alignRight"), onselect: "core:align-selection-to-right"}, + null, + { label:RED._("menu.label.alignTop"), onselect: "core:align-selection-to-top"}, + { label:RED._("menu.label.alignMiddle"), onselect: "core:align-selection-to-middle"}, + { label:RED._("menu.label.alignBottom"), onselect: "core:align-selection-to-bottom"}, + null, + { label:RED._("menu.label.distributeHorizontally"), onselect: "core:distribute-selection-horizontally"}, + { label:RED._("menu.label.distributeVertically"), onselect: "core:distribute-selection-vertically"} + ] + }) } - ] - menuItems.push( - null, - { onselect: 'core:undo', disabled: RED.history.list().length === 0 }, - { onselect: 'core:redo', disabled: RED.history.listRedo().length === 0 }, - null, - { onselect: 'core:cut-selection-to-internal-clipboard', label: RED._("keyboard.cutNode"), disabled: !hasSelection }, - { onselect: 'core:copy-selection-to-internal-clipboard', label: RED._("keyboard.copyNode"), disabled: !hasSelection }, - { onselect: 'core:paste-from-internal-clipboard', label: RED._("keyboard.pasteNode"), disabled: !RED.view.clipboard() }, - { onselect: 'core:delete-selection', disabled: !canDelete }, - { onselect: 'core:show-export-dialog', label: RED._("menu.label.export") }, - { onselect: 'core:select-all-nodes' } - ) - if (hasSelection) { menuItems.push( null, - isGroup ? - { onselect: 'core:ungroup-selection', disabled: !isGroup } - : { onselect: 'core:group-selection', disabled: !hasSelection } + { onselect: 'core:undo', label: RED._("keyboard.undoChange"), disabled: RED.history.list().length === 0 }, + { onselect: 'core:redo', label: RED._("keyboard.redoChange"), disabled: RED.history.listRedo().length === 0 }, + null, + { onselect: 'core:cut-selection-to-internal-clipboard', label: RED._("keyboard.cutNode"), disabled: !canEdit || !hasSelection }, + { onselect: 'core:copy-selection-to-internal-clipboard', label: RED._("keyboard.copyNode"), disabled: !hasSelection }, + { onselect: 'core:paste-from-internal-clipboard', label: RED._("keyboard.pasteNode"), disabled: !canEdit || !RED.view.clipboard() }, + { onselect: 'core:delete-selection', label: RED._('keyboard.deleteSelected'), disabled: !canEdit || !canDelete }, + { onselect: 'core:delete-selection-and-reconnect', label: RED._('keyboard.deleteReconnect'), disabled: !canEdit || !canDelete }, + { onselect: 'core:show-export-dialog', label: RED._("menu.label.export") }, + { onselect: 'core:select-all-nodes', label: RED._("keyboard.selectAll") }, ) - if (canRemoveFromGroup) { - menuItems.push({ onselect: 'core:remove-selection-from-group', label: RED._("menu.label.groupRemoveSelection") }) - } - } var direction = "right"; @@ -144,7 +205,7 @@ RED.contextMenu = (function () { ($(window).width() -MENU_WIDTH)) { direction = "left"; } - + menu = RED.menu.init({ direction: direction, onpreselect: function() { diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js b/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js index 8a8df6837..a09fdeb01 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js @@ -557,7 +557,17 @@ RED.deploy = (function() { } else { RED.notify('

' + RED._("deploy.successfulDeploy") + '

', "success"); } + const flowsToLock = new Set() + function ensureUnlocked(id) { + const flow = id && (RED.nodes.workspace(id) || RED.nodes.subflow(id) || null); + const isLocked = flow ? flow.locked : false; + if (flow && isLocked) { + flow.locked = false; + flowsToLock.add(flow) + } + } RED.nodes.eachNode(function (node) { + ensureUnlocked(node.z) if (node.changed) { node.dirty = true; node.changed = false; @@ -570,7 +580,32 @@ RED.deploy = (function() { delete node.credentials; } }); + RED.nodes.eachGroup(function (node) { + ensureUnlocked(node.z) + if (node.changed) { + node.dirty = true; + node.changed = false; + } + if (node.moved) { + node.dirty = true; + node.moved = false; + } + }) + RED.nodes.eachJunction(function (node) { + ensureUnlocked(node.z) + if (node.changed) { + node.dirty = true; + node.changed = false; + } + if (node.moved) { + node.dirty = true; + node.moved = false; + } + }) RED.nodes.eachConfig(function (confNode) { + if (confNode.z) { + ensureUnlocked(confNode.z) + } confNode.changed = false; if (confNode.credentials) { delete confNode.credentials; @@ -580,8 +615,16 @@ RED.deploy = (function() { subflow.changed = false; }); RED.nodes.eachWorkspace(function (ws) { - ws.changed = false; + if (ws.changed || ws.added) { + ensureUnlocked(ws.z) + ws.changed = false; + delete ws.added + RED.events.emit("flows:change", ws) + } }); + flowsToLock.forEach(flow => { + flow.locked = true + }) // Once deployed, cannot undo back to a clean state RED.history.markAllDirty(); RED.view.redraw(); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/diff.js b/packages/node_modules/@node-red/editor-client/src/js/ui/diff.js index b6a069ab5..3f73e29aa 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/diff.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/diff.js @@ -989,9 +989,10 @@ RED.diff = (function() { } if (localNode && remoteNode && typeof localNode[d] === "string") { if (/\n/.test(localNode[d]) || /\n/.test(remoteNode[d])) { - $('').on("click", function() { + var textDiff = $('').on("click", function() { showTextDiff(localNode[d],remoteNode[d]); }).appendTo(propertyNameCell); + RED.popover.tooltip(textDiff, RED._("diff.compareChanges")); } } diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index fb4c200f5..1b73430dc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -45,11 +45,13 @@ RED.editor = (function() { var hasChanged; if (node.type.indexOf("subflow:")===0) { subflow = RED.nodes.subflow(node.type.substring(8)); - isValid = subflow.valid; - hasChanged = subflow.changed; - if (isValid === undefined) { - isValid = validateNode(subflow); + if (subflow){ + isValid = subflow.valid; hasChanged = subflow.changed; + if (isValid === undefined) { + isValid = validateNode(subflow); + hasChanged = subflow.changed; + } } validationErrors = validateNodeProperties(node, node._def.defaults, node); node.valid = isValid && validationErrors.length === 0; @@ -113,8 +115,9 @@ RED.editor = (function() { var valid = validateNodeProperty(node, definition, prop, properties[prop]); if ((typeof valid) === "string") { result.push(valid); - } - else if(!valid) { + } else if (Array.isArray(valid)) { + result = result.concat(valid) + } else if(!valid) { result.push(prop); } } @@ -163,7 +166,7 @@ RED.editor = (function() { // If the validator takes two arguments, it is a 3.x validator that // can return a String to mean 'invalid' and provide a reason if ((definition[property].validate.length === 2) && - ((typeof valid) === "string")) { + ((typeof valid) === "string") || Array.isArray(valid)) { return valid; } else { // Otherwise, a 2.x returns a truth-like/false-like value that @@ -179,6 +182,17 @@ RED.editor = (function() { error: err.message }); } + } else if (valid) { + // If the validator is not provided in node property => Check if the input has a validator + if ("category" in node._def) { + const isConfig = node._def.category === "config"; + const prefix = isConfig ? "node-config-input" : "node-input"; + const input = $("#"+prefix+"-"+property); + const isTypedInput = input.length > 0 && input.next(".red-ui-typedInput-container").length > 0; + if (isTypedInput) { + valid = input.typedInput("validate"); + } + } } if (valid && definition[property].type && RED.nodes.getType(definition[property].type) && !("validate" in definition[property])) { if (!value || value == "_ADD_") { @@ -238,6 +252,7 @@ RED.editor = (function() { var valid = validateNodeProperty(node, defaults, property,value); if (((typeof valid) === "string") || !valid) { input.addClass("input-error"); + input.next(".red-ui-typedInput-container").addClass("input-error"); if ((typeof valid) === "string") { var tooltip = input.data("tooltip"); if (tooltip) { @@ -250,6 +265,7 @@ RED.editor = (function() { } } else { input.removeClass("input-error"); + input.next(".red-ui-typedInput-container").removeClass("input-error"); var tooltip = input.data("tooltip"); if (tooltip) { input.data("tooltip", null); @@ -310,47 +326,78 @@ RED.editor = (function() { /** * Create a config-node select box for this property - * @param node - the node being edited - * @param property - the name of the field - * @param type - the type of the config-node + * @param {Object} node - the node being edited + * @param {String} property - the name of the node property + * @param {String} type - the type of the config-node + * @param {"node-config-input"|"node-input"|"node-input-subflow-env"} prefix - the prefix to use in the input element ids + * @param {Function} [filter] - a function to filter the list of config nodes + * @param {Object} [env] - the environment variable object (only used for subflow env vars) */ - function prepareConfigNodeSelect(node,property,type,prefix,filter) { - var input = $("#"+prefix+"-"+property); - if (input.length === 0 ) { + function prepareConfigNodeSelect(node, property, type, prefix, filter, env) { + let nodeValue + if (prefix === 'node-input-subflow-env') { + nodeValue = env?.value + } else { + nodeValue = node[property] + } + + const buttonId = `${prefix}-lookup-${property}` + const selectId = prefix + '-' + property + const input = $(`#${selectId}`); + if (input.length === 0) { return; } - var newWidth = input.width(); - var attrStyle = input.attr('style'); - var m; + const attrStyle = input.attr('style'); + let newWidth; + let m; if ((m = /(^|\s|;)width\s*:\s*([^;]+)/i.exec(attrStyle)) !== null) { newWidth = m[2].trim(); } else { newWidth = "70%"; } - var outerWrap = $("
").css({ + const outerWrap = $("
").css({ width: newWidth, - display:'inline-flex' + display: 'inline-flex' }); - var select = $('').appendTo(outerWrap); + const select = $('').appendTo(outerWrap); input.replaceWith(outerWrap); // set the style attr directly - using width() on FF causes a value of 114%... select.css({ 'flex-grow': 1 }); - updateConfigNodeSelect(property,type,node[property],prefix,filter); - $('') - .css({"margin-left":"10px"}) + updateConfigNodeSelect(property, type, nodeValue, prefix, filter); + const disableButton = function(disabled) { + btn.prop( "disabled", !!disabled) + btn.toggleClass("disabled", !!disabled) + } + // create the edit button + const btn = $('
') + .css({ "margin-left": "10px" }) .appendTo(outerWrap); - $('#'+prefix+'-lookup-'+property).on("click", function(e) { - showEditConfigNodeDialog(property,type,select.find(":selected").val(),prefix,node); + + // add the click handler + btn.on("click", function (e) { + const selectedOpt = select.find(":selected") + if (selectedOpt.data('env')) { return } // don't show the dialog for env vars items (MVP. Future enhancement: lookup the env, if present, show the associated edit dialog) + if (btn.prop("disabled")) { return } + showEditConfigNodeDialog(property, type, selectedOpt.val(), prefix, node); e.preventDefault(); }); + + // dont permit the user to click the button if the selected option is an env var + select.on("change", function () { + const selectedOpt = select.find(":selected") + if (selectedOpt?.data('env')) { + disableButton(true) + } else { + disableButton(false) + } + }); var label = ""; - var configNode = RED.nodes.node(node[property]); - var node_def = RED.nodes.getType(type); + var configNode = RED.nodes.node(nodeValue); if (configNode) { - label = RED.utils.getNodeLabel(configNode,configNode.id); + label = RED.utils.getNodeLabel(configNode, configNode.id); } input.val(label); } @@ -716,7 +763,10 @@ RED.editor = (function() { if (typeof editing_node[d] === "string" || typeof editing_node[d] === "number") { oldValues[d] = editing_node[d]; } else { - oldValues[d] = $.extend(true,{},{v:editing_node[d]}).v; + // Dont clone the group node `nodes` array + if (editing_node.type !== 'group' || d !== "nodes") { + oldValues[d] = $.extend(true,{},{v:editing_node[d]}).v; + } } } } @@ -749,12 +799,9 @@ RED.editor = (function() { } function defaultConfigNodeSort(A,B) { - if (A.__label__ < B.__label__) { - return -1; - } else if (A.__label__ > B.__label__) { - return 1; - } - return 0; + // sort case insensitive so that `[env] node-name` items are at the top and + // not mixed inbetween the the lower and upper case items + return (A.__label__ || '').localeCompare((B.__label__ || ''), undefined, {sensitivity: 'base'}) } function updateConfigNodeSelect(name,type,value,prefix,filter) { @@ -769,7 +816,7 @@ RED.editor = (function() { } $("#"+prefix+"-"+name).val(value); } else { - + let inclSubflowEnvvars = false var select = $("#"+prefix+"-"+name); var node_def = RED.nodes.getType(type); select.children().remove(); @@ -777,6 +824,7 @@ RED.editor = (function() { var activeWorkspace = RED.nodes.workspace(RED.workspaces.active()); if (!activeWorkspace) { activeWorkspace = RED.nodes.subflow(RED.workspaces.active()); + inclSubflowEnvvars = true } var configNodes = []; @@ -792,6 +840,31 @@ RED.editor = (function() { } } }); + + // as includeSubflowEnvvars is true, this is a subflow. + // include any 'conf-types' env vars as a list of avaiable configs + // in the config dropdown as `[env] node-name` + if (inclSubflowEnvvars && activeWorkspace.env) { + const parentEnv = activeWorkspace.env.filter(env => env.ui?.type === 'conf-types' && env.type === type) + if (parentEnv && parentEnv.length > 0) { + const locale = RED.i18n.lang() + for (let i = 0; i < parentEnv.length; i++) { + const tenv = parentEnv[i] + const ui = tenv.ui || {} + const labels = ui.label || {} + const labelText = RED.editor.envVarList.lookupLabel(labels, labels["en-US"] || tenv.name, locale) + const config = { + env: tenv, + id: '${' + parentEnv[0].name + '}', + type: type, + label: labelText, + __label__: `[env] ${labelText}` + } + configNodes.push(config) + } + } + } + var configSortFn = defaultConfigNodeSort; if (typeof node_def.sort == "function") { configSortFn = node_def.sort; @@ -803,7 +876,10 @@ RED.editor = (function() { } configNodes.forEach(function(cn) { - $('').text(RED.text.bidi.enforceTextDirectionWithUCC(cn.__label__)).appendTo(select); + const option = $('').text(RED.text.bidi.enforceTextDirectionWithUCC(cn.__label__)).appendTo(select); + if (cn.env) { + option.data('env', cn.env) // set a data attribute to indicate this is an env var (to inhibit the edit button) + } delete cn.__label__; }); @@ -858,6 +934,7 @@ RED.editor = (function() { function showEditDialog(node, defaultTab) { if (buildingEditDialog) { return } buildingEditDialog = true; + if (node.z && RED.workspaces.isLocked(node.z)) { return } var editing_node = node; var removeInfoEditorOnClose = false; var skipInfoRefreshOnClose = false; @@ -1043,6 +1120,13 @@ RED.editor = (function() { var trayFooterLeft = $('').appendTo(trayFooter) + var helpButton = $('').on("click", function(evt) { + evt.preventDefault(); + evt.stopPropagation(); + RED.sidebar.help.show(editing_node.type); + }).appendTo(trayFooterLeft); + RED.popover.tooltip(helpButton, RED._("sidebar.help.showHelp")); + $('').prop("checked",!!node.d).appendTo(trayFooterLeft).toggleButton({ enabledIcon: "fa-circle-thin", disabledIcon: "fa-ban", @@ -1105,6 +1189,10 @@ RED.editor = (function() { if (editing_node) { RED.sidebar.info.refresh(editing_node); RED.sidebar.help.show(editing_node.type, false); + //ensure focused element is NOT body (for keyboard scope to operate correctly) + if (document.activeElement.tagName === 'BODY') { + $('#red-ui-editor-stack').trigger('focus') + } } } } @@ -1142,6 +1230,8 @@ RED.editor = (function() { var editing_config_node = RED.nodes.node(id); var activeEditPanes = []; + if (editing_config_node && editing_config_node.z && RED.workspaces.isLocked(editing_config_node.z)) { return } + var configNodeScope = ""; // default to global var activeSubflow = RED.nodes.subflow(RED.workspaces.active()); if (activeSubflow) { @@ -1184,6 +1274,13 @@ RED.editor = (function() { var trayFooterLeft = $('').appendTo(trayFooter) + var helpButton = $('').on("click", function(evt) { + evt.preventDefault(); + evt.stopPropagation(); + RED.sidebar.help.show(editing_config_node.type); + }).appendTo(trayFooterLeft); + RED.popover.tooltip(helpButton, RED._("sidebar.help.showHelp")); + $('').prop("checked",!!editing_config_node.d).appendTo(trayFooterLeft).toggleButton({ enabledIcon: "fa-circle-thin", disabledIcon: "fa-ban", @@ -1191,7 +1288,11 @@ RED.editor = (function() { }) if (node_def.hasUsers !== false) { - $(' ').css("margin-left", "10px").appendTo(trayFooterLeft); + // $(' ').css("margin-left", "10px").appendTo(trayFooterLeft); + $('').on('click', function() { + RED.sidebar.info.outliner.search('uses:'+editing_config_node.id) + RED.sidebar.info.show() + }).appendTo(trayFooterLeft); } trayFooter.append(''); @@ -1249,7 +1350,8 @@ RED.editor = (function() { }); } if (node_def.hasUsers !== false) { - $("#red-ui-editor-config-user-count").text(RED._("editor.nodesUse", {count:editing_config_node.users.length})).parent().show(); + $("#red-ui-editor-config-user-count").text(editing_config_node.users.length).parent().show(); + RED.popover.tooltip($("#red-ui-editor-config-user-count").parent(), function() { return RED._('editor.nodesUse',{count:editing_config_node.users.length})}); } trayBody.i18n(); trayFooter.i18n(); @@ -1438,9 +1540,16 @@ RED.editor = (function() { } RED.tray.close(function() { var filter = null; - if (editContext && typeof editContext._def.defaults[configProperty].filter === 'function') { - filter = function(n) { - return editContext._def.defaults[configProperty].filter.call(editContext,n); + // when editing a config via subflow edit panel, the `configProperty` will not + // necessarily be a property of the editContext._def.defaults object + // Also, when editing via dashboard sidebar, editContext can be null + // so we need to guard both scenarios + if (editContext?._def) { + const isSubflow = (editContext._def.type === 'subflow' || /subflow:.*/.test(editContext._def.type)) + if (editContext && !isSubflow && typeof editContext._def.defaults?.[configProperty]?.filter === 'function') { + filter = function(n) { + return editContext._def.defaults[configProperty].filter.call(editContext,n); + } } } updateConfigNodeSelect(configProperty,configType,editing_config_node.id,prefix,filter); @@ -1501,7 +1610,7 @@ RED.editor = (function() { RED.history.push(historyEvent); RED.tray.close(function() { var filter = null; - if (editContext && typeof editContext._def.defaults[configProperty].filter === 'function') { + if (editContext && typeof editContext._def.defaults[configProperty]?.filter === 'function') { filter = function(n) { return editContext._def.defaults[configProperty].filter.call(editContext,n); } @@ -1688,6 +1797,7 @@ RED.editor = (function() { function showEditGroupDialog(group, defaultTab) { if (buildingEditDialog) { return } buildingEditDialog = true; + if (group.z && RED.workspaces.isLocked(group.z)) { return } var editing_node = group; editStack.push(group); RED.view.state(RED.state.EDITING); @@ -1847,11 +1957,15 @@ RED.editor = (function() { workspace.disabled = disabled; $("#red-ui-tab-"+(workspace.id.replace(".","-"))).toggleClass('red-ui-workspace-disabled',!!workspace.disabled); - if (workspace.id === RED.workspaces.active()) { - $("#red-ui-workspace").toggleClass("red-ui-workspace-disabled",!!workspace.disabled); - } } + var locked = $("#node-input-locked").prop("checked"); + if (workspace.locked !== locked) { + editState.changes.locked = workspace.locked; + editState.changed = true; + workspace.locked = locked; + $("#red-ui-tab-"+(workspace.id.replace(".","-"))).toggleClass('red-ui-workspace-locked',!!workspace.locked); + } if (editState.changed) { var historyEvent = { t: "edit", @@ -1892,6 +2006,7 @@ RED.editor = (function() { var trayBody = tray.find('.red-ui-tray-body'); trayBody.parent().css('overflow','hidden'); var trayFooterLeft = $('').appendTo(trayFooter) + var trayFooterRight = $('').appendTo(trayFooter) var nodeEditPanes = [ 'editor-tab-flow-properties', @@ -1906,6 +2021,18 @@ RED.editor = (function() { disabledIcon: "fa-ban", invertState: true }) + + if (!workspace.hasOwnProperty("locked")) { + workspace.locked = false; + } + $('').prop("checked",workspace.locked).appendTo(trayFooterRight).toggleButton({ + enabledLabel: RED._("common.label.unlocked"), + enabledIcon: "fa-unlock-alt", + disabledLabel: RED._("common.label.locked"), + disabledIcon: "fa-lock", + invertState: true + }) + prepareEditDialog(trayBody, nodeEditPanes, workspace, {}, "node-input", defaultTab, function(_activeEditPanes) { activeEditPanes = _activeEditPanes; trayBody.i18n(); @@ -2024,6 +2151,7 @@ RED.editor = (function() { } }, editBuffer: function(options) { showTypeEditor("_buffer", options) }, + getEditStack: function () { return [...editStack] }, buildEditForm: buildEditForm, validateNode: validateNode, updateNodeProperties: updateNodeProperties, @@ -2068,6 +2196,7 @@ RED.editor = (function() { filteredEditPanes[type] = filter } editPanes[type] = definition; - } + }, + prepareConfigNodeSelect: prepareConfigNodeSelect, } })(); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/buffer.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/buffer.js index f47ec508b..03a50e60b 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/buffer.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/buffer.js @@ -121,7 +121,7 @@ var i=0,l=bufferBinValue.length; var c = 0; for(i=0;i 255)) { valid = false; break; diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editor.js index 7cee2026b..b92881764 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editor.js @@ -45,6 +45,9 @@ selectedCodeEditor = RED.editor.codeEditor[defaultEditor]; initialised = selectedCodeEditor.init(); } + + $('

').appendTo('#red-ui-editor'); + $("#red-ui-image-drop-target").hide(); } function create(options) { @@ -64,6 +67,7 @@ options = {}; } + var editor = null; if (this.editor.type === MONACO) { // compatibility (see above note) if (!options.element && !options.id) { @@ -74,10 +78,14 @@ console.warn("createEditor() options.element or options.id is not valid", options); $("#dialog-form").append('