@n8n/i18n 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +39 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +39 -20
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +17 -4
- package/dist/types.d.ts +17 -4
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -159,6 +159,7 @@ var en_default = {
|
|
|
159
159
|
"auth.newPassword": "New password",
|
|
160
160
|
"auth.password": "Password",
|
|
161
161
|
"auth.role": "Role",
|
|
162
|
+
"auth.roles.default": "Default",
|
|
162
163
|
"auth.roles.member": "Member",
|
|
163
164
|
"auth.roles.admin": "Admin",
|
|
164
165
|
"auth.roles.owner": "Owner",
|
|
@@ -657,7 +658,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
657
658
|
"credentials.empty.button.disabled.tooltip": "Your current role in the project does not allow you to create credentials",
|
|
658
659
|
"credentials.item.open": "Open",
|
|
659
660
|
"credentials.item.delete": "Delete",
|
|
660
|
-
"credentials.item.move": "
|
|
661
|
+
"credentials.item.move": "Change owner",
|
|
661
662
|
"credentials.item.updated": "Last updated",
|
|
662
663
|
"credentials.item.created": "Created",
|
|
663
664
|
"credentials.item.owner": "Owner",
|
|
@@ -722,6 +723,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
722
723
|
"error.pageNotFound": "Oops, couldn\u2019t find that",
|
|
723
724
|
"executions.ExecutionStatus": "Execution status",
|
|
724
725
|
"executions.concurrency.docsLink": "https://docs.n8n.io/hosting/scaling/concurrency-control/",
|
|
726
|
+
"executionDetails.additionalActions": "Additional Actions",
|
|
725
727
|
"executionDetails.confirmMessage.confirmButtonText": "Yes, delete",
|
|
726
728
|
"executionDetails.confirmMessage.headline": "Delete Execution?",
|
|
727
729
|
"executionDetails.confirmMessage.message": "Are you sure that you want to delete the current execution?",
|
|
@@ -889,9 +891,10 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
889
891
|
"executionsFilter.startDate": "Earliest",
|
|
890
892
|
"executionsFilter.endDate": "Latest",
|
|
891
893
|
"executionsFilter.savedData": "Highlighted data",
|
|
894
|
+
"executionsFilter.savedDataExactMatch": "Exact match",
|
|
892
895
|
"executionsFilter.savedDataKey": "Key",
|
|
893
896
|
"executionsFilter.savedDataKeyPlaceholder": "ID",
|
|
894
|
-
"executionsFilter.savedDataValue": "Value
|
|
897
|
+
"executionsFilter.savedDataValue": "Value",
|
|
895
898
|
"executionsFilter.savedDataValuePlaceholder": "123",
|
|
896
899
|
"executionsFilter.reset": "Reset all",
|
|
897
900
|
"executionsFilter.customData.inputTooltip": "Upgrade plan to filter executions by custom data set at runtime. {link}",
|
|
@@ -1006,6 +1009,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
1006
1009
|
"generic.oauth1Api": "OAuth1 API",
|
|
1007
1010
|
"generic.oauth2Api": "OAuth2 API",
|
|
1008
1011
|
"genericHelpers.loading": "Loading",
|
|
1012
|
+
"genericHelpers.hrsShort": "h",
|
|
1009
1013
|
"genericHelpers.min": "min",
|
|
1010
1014
|
"genericHelpers.minShort": "m",
|
|
1011
1015
|
"genericHelpers.sec": "sec",
|
|
@@ -1121,7 +1125,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
1121
1125
|
"ndv.input.nodeDistance": "{count} node back | {count} nodes back",
|
|
1122
1126
|
"ndv.input.noNodesFound": "No nodes found",
|
|
1123
1127
|
"ndv.input.mapping": "Mapping",
|
|
1124
|
-
"ndv.input.
|
|
1128
|
+
"ndv.input.fromAI": "From AI",
|
|
1125
1129
|
"ndv.input.parentNodes": "Parent nodes",
|
|
1126
1130
|
"ndv.input.tooMuchData.title": "Display data?",
|
|
1127
1131
|
"ndv.input.noOutputDataInBranch": "No input data in this branch",
|
|
@@ -1352,6 +1356,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
1352
1356
|
"nodeCreator.aiPanel.workflowTriggerDescription": "Runs the flow when called by the Execute Workflow node from a different workflow",
|
|
1353
1357
|
"nodeCreator.nodeItem.triggerIconTitle": "Trigger Node",
|
|
1354
1358
|
"nodeCreator.nodeItem.aiIconTitle": "LangChain AI Node",
|
|
1359
|
+
"nodeCreator.nodeItem.deprecated": "Deprecated",
|
|
1355
1360
|
"nodeCredentials.createNew": "Create new credential",
|
|
1356
1361
|
"nodeCredentials.credentialFor": "Credential for {credentialType}",
|
|
1357
1362
|
"nodeCredentials.credentialsLabel": "Credential to connect with",
|
|
@@ -1488,6 +1493,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
1488
1493
|
"nodeView.runButtonText.executeWorkflow": "Execute workflow",
|
|
1489
1494
|
"nodeView.runButtonText.executingWorkflow": "Executing workflow",
|
|
1490
1495
|
"nodeView.runButtonText.waitingForTriggerEvent": "Waiting for trigger event",
|
|
1496
|
+
"nodeView.runButtonText.from": "from {nodeName}",
|
|
1491
1497
|
"nodeView.showError.workflowError": "Workflow execution had an error",
|
|
1492
1498
|
"nodeView.showError.getWorkflowDataFromUrl.title": "Problem loading workflow",
|
|
1493
1499
|
"nodeView.showError.importWorkflowData.title": "Problem importing workflow",
|
|
@@ -1907,6 +1913,11 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
1907
1913
|
"settings.personal.personalSettings": "Personal Settings",
|
|
1908
1914
|
"settings.personal.personalSettingsUpdated": "Personal details updated",
|
|
1909
1915
|
"settings.personal.personalSettingsUpdatedError": "Problem updating your details",
|
|
1916
|
+
"settings.personal.role.tooltip.default": "Default role for new users",
|
|
1917
|
+
"settings.personal.role.tooltip.member": "Create and manage own workflows and credentials",
|
|
1918
|
+
"settings.personal.role.tooltip.admin": "Full access to manage workflows,tags, credentials, projects, users and more",
|
|
1919
|
+
"settings.personal.role.tooltip.owner": "Manage everything{cloudAccess}",
|
|
1920
|
+
"settings.personal.role.tooltip.cloud": " and access Cloud dashboard",
|
|
1910
1921
|
"settings.personal.save": "Save",
|
|
1911
1922
|
"settings.personal.security": "Security",
|
|
1912
1923
|
"settings.signup.signUpInviterInfo": "{firstName} {lastName} has invited you to n8n",
|
|
@@ -2161,6 +2172,8 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
2161
2172
|
"settings.sourceControl.sync.prompt.error": "Please enter a commit message",
|
|
2162
2173
|
"settings.sourceControl.button.push": "Push",
|
|
2163
2174
|
"settings.sourceControl.button.pull": "Pull",
|
|
2175
|
+
"settings.sourceControl.button.pull.forbidden": "Only the instance owner or instance admins can pull changes",
|
|
2176
|
+
"settings.sourceControl.button.push.forbidden": "You can't push changes from a protected instance",
|
|
2164
2177
|
"settings.sourceControl.modals.push.title": "Commit and push changes",
|
|
2165
2178
|
"settings.sourceControl.modals.push.description": "The following will be committed: ",
|
|
2166
2179
|
"settings.sourceControl.modals.push.description.learnMore": "More info",
|
|
@@ -2442,7 +2455,7 @@ Return "Good morning" if time is before 10am, "Good day" it's before 5pm, otherw
|
|
|
2442
2455
|
"workflowSettings.defaultTimezoneNotValid": "Default Timezone not valid",
|
|
2443
2456
|
"workflowSettings.errorWorkflow": "Error Workflow",
|
|
2444
2457
|
"workflowSettings.executionOrder": "Execution Order",
|
|
2445
|
-
"workflowSettings.helpTexts.errorWorkflow": "A second workflow to run if the current one fails.<br />The second workflow should an 'Error Trigger' node.",
|
|
2458
|
+
"workflowSettings.helpTexts.errorWorkflow": "A second workflow to run if the current one fails.<br />The second workflow should have an 'Error Trigger' node.",
|
|
2446
2459
|
"workflowSettings.helpTexts.executionTimeout": "How long the workflow should wait before timing out",
|
|
2447
2460
|
"workflowSettings.helpTexts.executionTimeoutToggle": "Whether to cancel workflow execution after a defined time",
|
|
2448
2461
|
"workflowSettings.helpTexts.saveDataErrorExecution": "Whether to save data of executions that fail",
|
|
@@ -3258,19 +3271,25 @@ var I18nClass = (_class = class {constructor() { _class.prototype.__init.call(th
|
|
|
3258
3271
|
return this.i18n.te(key) ? this.i18n.t(key).toString() : _nullishCoalesce(fallback, () => ( ""));
|
|
3259
3272
|
}
|
|
3260
3273
|
displayTimer(msPassed, showMs = false) {
|
|
3261
|
-
if (msPassed <
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3274
|
+
if (msPassed > 0 && msPassed < 1e3 && showMs) {
|
|
3275
|
+
return `${msPassed}${this.baseText("genericHelpers.millis")}`;
|
|
3276
|
+
}
|
|
3277
|
+
const parts = [];
|
|
3278
|
+
const second = 1e3;
|
|
3279
|
+
const minute = 60 * second;
|
|
3280
|
+
const hour = 60 * minute;
|
|
3281
|
+
let remainingMs = msPassed;
|
|
3282
|
+
if (remainingMs >= hour) {
|
|
3283
|
+
parts.push(`${Math.floor(remainingMs / hour)}${this.baseText("genericHelpers.hrsShort")}`);
|
|
3284
|
+
remainingMs = remainingMs % hour;
|
|
3285
|
+
}
|
|
3286
|
+
if (parts.length > 0 || remainingMs >= minute) {
|
|
3287
|
+
parts.push(`${Math.floor(remainingMs / minute)}${this.baseText("genericHelpers.minShort")}`);
|
|
3288
|
+
remainingMs = remainingMs % minute;
|
|
3269
3289
|
}
|
|
3270
|
-
const
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
return `${minutesPassed}:${secondsLeft}${this.baseText("genericHelpers.minShort")}`;
|
|
3290
|
+
const remainingSec = showMs ? remainingMs / second : Math.floor(remainingMs / second);
|
|
3291
|
+
parts.push(`${remainingSec}${this.baseText("genericHelpers.secShort")}`);
|
|
3292
|
+
return parts.join(" ");
|
|
3274
3293
|
}
|
|
3275
3294
|
/**
|
|
3276
3295
|
* Render a string of header text (a node's name and description),
|
|
@@ -3353,8 +3372,8 @@ var I18nClass = (_class = class {constructor() { _class.prototype.__init.call(th
|
|
|
3353
3372
|
* except for `eventTriggerDescription`.
|
|
3354
3373
|
*/
|
|
3355
3374
|
nodeText(activeNodeType) {
|
|
3356
|
-
const
|
|
3357
|
-
const initialKey = `n8n-nodes-base.nodes.${
|
|
3375
|
+
const shortNodeType = activeNodeType ? this.shortNodeType(activeNodeType) : "";
|
|
3376
|
+
const initialKey = `n8n-nodes-base.nodes.${shortNodeType}.nodeView`;
|
|
3358
3377
|
const context = this;
|
|
3359
3378
|
return {
|
|
3360
3379
|
/**
|
|
@@ -3460,9 +3479,9 @@ var I18nClass = (_class = class {constructor() { _class.prototype.__init.call(th
|
|
|
3460
3479
|
fallback: _optionalChain([typeOptions, 'optionalAccess', _3 => _3.multipleValueButtonText])
|
|
3461
3480
|
});
|
|
3462
3481
|
},
|
|
3463
|
-
eventTriggerDescription(
|
|
3482
|
+
eventTriggerDescription(nodeType, eventTriggerDescription) {
|
|
3464
3483
|
return context.dynamicRender({
|
|
3465
|
-
key: `n8n-nodes-base.nodes.${
|
|
3484
|
+
key: `n8n-nodes-base.nodes.${nodeType}.nodeView.eventTriggerDescription`,
|
|
3466
3485
|
fallback: eventTriggerDescription
|
|
3467
3486
|
});
|
|
3468
3487
|
}
|