mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
🔀 Merge branch 'fix-i18n-executions-list'
This commit is contained in:
commit
419c719f90
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "n8n",
|
||||
"version": "0.155.1",
|
||||
"version": "0.155.2",
|
||||
"description": "n8n Workflow Automation Tool",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"homepage": "https://n8n.io",
|
||||
|
@ -112,7 +112,7 @@
|
|||
"lodash.get": "^4.4.2",
|
||||
"mysql2": "~2.3.0",
|
||||
"n8n-core": "~0.97.0",
|
||||
"n8n-editor-ui": "~0.122.0",
|
||||
"n8n-editor-ui": "~0.122.1",
|
||||
"n8n-nodes-base": "~0.153.0",
|
||||
"n8n-workflow": "~0.80.0",
|
||||
"oauth-1.0a": "^2.2.6",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "n8n-editor-ui",
|
||||
"version": "0.122.0",
|
||||
"version": "0.122.1",
|
||||
"description": "Workflow Editor UI for n8n",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"homepage": "https://n8n.io",
|
||||
|
|
|
@ -74,10 +74,12 @@
|
|||
</el-table-column>
|
||||
<el-table-column :label="$locale.baseText('executionsList.status')" width="122" align="center">
|
||||
<template slot-scope="scope" align="center">
|
||||
|
||||
<n8n-tooltip placement="top" >
|
||||
<div slot="content" v-html="statusTooltipText(scope.row)"></div>
|
||||
<span class="status-badge running" v-if="scope.row.stoppedAt === undefined">
|
||||
<span class="status-badge running" v-if="scope.row.waitTill">
|
||||
{{ $locale.baseText('executionsList.waiting') }}
|
||||
</span>
|
||||
<span class="status-badge running" v-else-if="scope.row.stoppedAt === undefined">
|
||||
{{ $locale.baseText('executionsList.running') }}
|
||||
</span>
|
||||
<span class="status-badge success" v-else-if="scope.row.finished">
|
||||
|
|
|
@ -22,16 +22,17 @@ export const genericHelpers = mixins(showMessage).extend({
|
|||
displayTimer (msPassed: number, showMs = false): string {
|
||||
if (msPassed < 60000) {
|
||||
if (showMs === false) {
|
||||
return `${this.$locale.number(Math.floor(msPassed / 1000), 'decimal')} ${this.$locale.baseText('genericHelpers.sec')}`;
|
||||
return `${Math.floor(msPassed / 1000)} ${this.$locale.baseText('genericHelpers.sec')}`;
|
||||
}
|
||||
|
||||
return `${this.$locale.number(msPassed / 1000, 'decimal')} ${this.$locale.baseText('genericHelpers.sec')}`;
|
||||
return `${msPassed / 1000} ${this.$locale.baseText('genericHelpers.sec')}`;
|
||||
}
|
||||
|
||||
const secondsPassed = Math.floor(msPassed / 1000);
|
||||
const minutesPassed = Math.floor(secondsPassed / 60);
|
||||
const secondsLeft = (secondsPassed - (minutesPassed * 60)).toString().padStart(2, '0');
|
||||
|
||||
return `${this.$locale.number(minutesPassed, 'decimal')}:${this.$locale.number(secondsPassed, 'decimal')} ${this.$locale.baseText('genericHelpers.min')}`;
|
||||
return `${minutesPassed}:${secondsLeft} ${this.$locale.baseText('genericHelpers.min')}`;
|
||||
},
|
||||
editAllowedCheck (): boolean {
|
||||
if (this.isReadOnly) {
|
||||
|
|
|
@ -77,6 +77,7 @@ As a convenience, the base text file may contain the special key `reusableBaseTe
|
|||
},
|
||||
```
|
||||
|
||||
<!--
|
||||
As a convenience, the base text file may also contain the special key `numberFormats` to localize numbers. For more information, refer to Vue i18n's [number localization](https://kazupon.github.io/vue-i18n/guide/number.html#number-localization).
|
||||
|
||||
```json
|
||||
|
@ -87,7 +88,7 @@ As a convenience, the base text file may also contain the special key `numberFor
|
|||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
``` -->
|
||||
|
||||
#### Interpolation
|
||||
|
||||
|
|
|
@ -191,9 +191,11 @@
|
|||
"mode": "Mode",
|
||||
"modes": {
|
||||
"error": "error",
|
||||
"integrated": "integrated",
|
||||
"manual": "manual",
|
||||
"retry": "retry",
|
||||
"trigger": "trigger"
|
||||
"trigger": "trigger",
|
||||
"webhook": "webhook"
|
||||
},
|
||||
"name": "@:reusableBaseText.name",
|
||||
"openPastExecution": "Open Past Execution",
|
||||
|
|
Loading…
Reference in a new issue