Skip to content

Commit 5193dc9

Browse files
authored
0.13.2. (#39)
1 parent bd0f449 commit 5193dc9

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.13.2
2+
3+
This version adds missing translations for the `variableDefinitions` value editor.
4+
15
## 0.13.1
26

37
This version adds missing translations for the `variableNameValidator` function [#37](https://github.com/nocode-js/sequential-workflow-editor/issues/37).

demos/webpack-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"sequential-workflow-model": "^0.2.0",
1919
"sequential-workflow-designer": "^0.21.2",
2020
"sequential-workflow-machine": "^0.4.0",
21-
"sequential-workflow-editor-model": "^0.13.1",
22-
"sequential-workflow-editor": "^0.13.1"
21+
"sequential-workflow-editor-model": "^0.13.2",
22+
"sequential-workflow-editor": "^0.13.2"
2323
},
2424
"devDependencies": {
2525
"ts-loader": "^9.4.2",

docs/I18N-KEYS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ This document lists all the I18N keys used in the Sequential Workflow Editor.
4646
"toolbox.defaultGroupName": "Others",
4747
"variableDefinitions.delete": "Delete",
4848
"variableDefinitions.namePlaceholder": "Variable name",
49+
"variableDefinitions.newVariable": "New variable",
50+
"variableDefinitions.noVariablesDefined": "No variables defined",
4951
"variableDefinitions.valueTypeIsNotAllowed": "Value type is not allowed",
5052
"variableDefinitions.variableNameIsDuplicated": "Variable name is already used",
5153
"variableName.invalidCharacters": "Variable name contains invalid characters",

editor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sequential-workflow-editor",
3-
"version": "0.13.1",
3+
"version": "0.13.2",
44
"type": "module",
55
"main": "./lib/esm/index.js",
66
"types": "./lib/index.d.ts",
@@ -46,11 +46,11 @@
4646
"prettier:fix": "prettier --write ./src ./css"
4747
},
4848
"dependencies": {
49-
"sequential-workflow-editor-model": "^0.13.1",
49+
"sequential-workflow-editor-model": "^0.13.2",
5050
"sequential-workflow-model": "^0.2.0"
5151
},
5252
"peerDependencies": {
53-
"sequential-workflow-editor-model": "^0.13.1",
53+
"sequential-workflow-editor-model": "^0.13.2",
5454
"sequential-workflow-model": "^0.2.0"
5555
},
5656
"devDependencies": {

editor/src/value-editors/variable-definitions/variable-definitions-value-editor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ export function variableDefinitionsValueEditor(
2929
item => variableDefinitionItemComponent(item, context),
3030
context,
3131
{
32-
emptyMessage: 'No variables defined'
32+
emptyMessage: context.i18n('variableDefinitions.noVariablesDefined', 'No variables defined')
3333
}
3434
);
3535
list.onChanged.subscribe(onChanged);
3636

37-
const addButton = buttonComponent('New variable', {
37+
const addButton = buttonComponent(context.i18n('variableDefinitions.newVariable', 'New variable'), {
3838
size: 'small',
3939
icon: Icons.add
4040
});

model/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sequential-workflow-editor-model",
3-
"version": "0.13.1",
3+
"version": "0.13.2",
44
"homepage": "https://nocode-js.com/",
55
"author": {
66
"name": "NoCode JS",

0 commit comments

Comments
 (0)