Skip to content
Snippets Groups Projects
Commit ece311e3 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch 'language-modifications' into 'main'

language modifications

See merge request !8
parents 30b3a842 66e998dd
Branches major
No related tags found
1 merge request!8language modifications
Pipeline #35481 passed
Showing
with 111 additions and 95 deletions
......@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.0]
### Added
- Language entries as modifications
### Removed
- Language files
## [1.4.0] - 2024-04-03
### Added
- Language files
## [1.3.0] - 2024-02-28
### Changed
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>StandardWorkflow_entity</name>
<title>Standard workflow</title>
<title>workflow.StandardWorkflow_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/StandardWorkflow_entity/documentation.adoc</documentation>
<grantCreate v="false" />
<grantUpdate v="false" />
<grantDelete v="false" />
<titlePlural>Standard workflows</titlePlural>
<titlePlural>workflow.StandardWorkflow_entity.titlePlural</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
......@@ -26,15 +26,15 @@
</entityField>
<entityField>
<name>PROCESSKEY</name>
<title>Key</title>
<title>workflow.StandardWorkflow_entity.PROCESSKEY.title</title>
</entityField>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<title>workflow.StandardWorkflow_entity.DESCRIPTION.title</title>
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.StandardWorkflow_entity.NAME.title</title>
</entityField>
<entityParameter>
<name>ExcludeExisting_param</name>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowDefinitionStore_entity</name>
<title>Workflow definitions</title>
<title>workflow.WorkflowDefinitionStore_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowDefinitionStore_entity/documentation.adoc</documentation>
<recordContainer>dataless</recordContainer>
......@@ -33,26 +33,26 @@
</entityConsumer>
<entityActionField>
<name>deploySelectedWorkflow</name>
<title>Add selected workflow</title>
<title>workflow.WorkflowDefinitionStore_entity.deploySelectedWorkflow.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinitionStore_entity/entityfields/deployselectedworkflow/onActionProcess.js</onActionProcess>
<iconId>VAADIN:PLUS</iconId>
<stateProcess>%aditoprj%/entity/WorkflowDefinitionStore_entity/entityfields/deployselectedworkflow/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>deployAllWorkflows</name>
<title>Add all</title>
<title>workflow.WorkflowDefinitionStore_entity.deployAllWorkflows.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinitionStore_entity/entityfields/deployallworkflows/onActionProcess.js</onActionProcess>
<iconId>VAADIN:PLUS_CIRCLE</iconId>
</entityActionField>
<entityField>
<name>excludeExisting</name>
<title>Exclude existing workflows</title>
<title>workflow.WorkflowDefinitionStore_entity.excludeExisting.title</title>
<contentType>BOOLEAN</contentType>
<state>EDITABLE</state>
</entityField>
<entityActionField>
<name>downloadSelectedWorkflow</name>
<title>Download selected workflow</title>
<title>workflow.WorkflowDefinitionStore_entity.downloadSelectedWorkflow.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinitionStore_entity/entityfields/downloadselectedworkflow/onActionProcess.js</onActionProcess>
<iconId>VAADIN:DOWNLOAD</iconId>
<stateProcess>%aditoprj%/entity/WorkflowDefinitionStore_entity/entityfields/downloadselectedworkflow/stateProcess.js</stateProcess>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowDefinition_entity</name>
<title>Workflow Definition</title>
<title>workflow.WorkflowDefinition_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowDefinition_entity/documentation.adoc</documentation>
<grantCreateProcess>%aditoprj%/entity/WorkflowDefinition_entity/grantCreateProcess.js</grantCreateProcess>
......@@ -9,7 +9,7 @@
<contentTitleProcess>%aditoprj%/entity/WorkflowDefinition_entity/contentTitleProcess.js</contentTitleProcess>
<useFavorites v="true" />
<iconId>VAADIN:DROP</iconId>
<titlePlural>Workflow definitions</titlePlural>
<titlePlural>workflow.WorkflowDefinition_entity.titlePlural</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......@@ -22,13 +22,13 @@
</entityField>
<entityField>
<name>CATEGORY</name>
<title>Category</title>
<title>workflow.WorkflowDefinition_entity.CATEGORY.title</title>
<consumer>CategoryKeyword</consumer>
<groupable v="true" />
</entityField>
<entityField>
<name>ISACTIVE</name>
<title>Active</title>
<title>workflow.WorkflowDefinition_entity.ISACTIVE.title</title>
<contentType>BOOLEAN</contentType>
<groupable v="true" />
<dropDownProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/isactive/dropDownProcess.js</dropDownProcess>
......@@ -36,7 +36,7 @@
</entityField>
<entityField>
<name>FILEUPLOAD</name>
<title>BPMN</title>
<title>workflow.WorkflowDefinition_entity.FILEUPLOAD.title</title>
<contentType>FILE</contentType>
<onValidation>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/fileupload/onValidation.js</onValidation>
</entityField>
......@@ -57,19 +57,19 @@
</entityConsumer>
<entityField>
<name>KEY</name>
<title>Key</title>
<title>workflow.WorkflowDefinition_entity.KEY.title</title>
<mandatory v="true" />
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/key/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>VERSION</name>
<title>Version</title>
<title>workflow.WorkflowDefinition_entity.VERSION.title</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.WorkflowDefinition_entity.NAME.title</title>
</entityField>
<entityField>
<name>DIAGRAM</name>
......@@ -113,7 +113,7 @@
<entityProvider>
<name>WorkflowVersions</name>
<documentation>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/workflowversions/documentation.adoc</documentation>
<titlePlural>Other versions</titlePlural>
<titlePlural>workflow.WorkflowDefinition_entity.WorkflowVersions.titlePlural</titlePlural>
<children>
<entityParameter>
<name>ProcessDefinitionKey_param</name>
......@@ -127,7 +127,7 @@
</entityProvider>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<title>workflow.WorkflowDefinition_entity.DESCRIPTION.title</title>
</entityField>
<entityConsumer>
<name>StartConfigs</name>
......@@ -199,7 +199,7 @@
<children>
<entityActionField>
<name>openModeler</name>
<title>Open modeler</title>
<title>workflow.WorkflowDefinition_entity.openModeler.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/tableactions/children/openmodeler/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<iconId>VAADIN:EXTERNAL_LINK</iconId>
......@@ -207,14 +207,14 @@
</entityActionField>
<entityActionField>
<name>createModel</name>
<title>Create model</title>
<title>workflow.WorkflowDefinition_entity.createModel.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/tableactions/children/createmodel/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<iconId>NEON:PLUS</iconId>
</entityActionField>
<entityActionField>
<name>openStore</name>
<title>Standard workflows</title>
<title>workflow.WorkflowDefinition_entity.openStore.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/tableactions/children/openstore/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<iconId>VAADIN:PACKAGE</iconId>
......@@ -223,20 +223,20 @@
</entityActionGroup>
<entityActionField>
<name>downloadXML</name>
<title>Export workflow</title>
<title>workflow.WorkflowDefinition_entity.downloadXML.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/downloadxml/onActionProcess.js</onActionProcess>
<iconId>VAADIN:DOWNLOAD</iconId>
</entityActionField>
<entityActionField>
<name>editWorkflow</name>
<title>Edit workflow</title>
<title>workflow.WorkflowDefinition_entity.editWorkflow.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/editworkflow/onActionProcess.js</onActionProcess>
<iconId>VAADIN:EDIT</iconId>
<tooltip>Edit workflow</tooltip>
</entityActionField>
<entityActionField>
<name>openAdminView</name>
<title>Open admin view</title>
<title>workflow.WorkflowDefinition_entity.openAdminView.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/WorkflowDefinition_entity/entityfields/openadminview/stateProcess.js</stateProcess>
......
......@@ -6,5 +6,5 @@ var upload = new FileUpload(vars.get("$local.value"));
if (!MimeTypes.isXML(upload.mimeType))
{
result.string(translate.text("The file must be a XML"));
result.string(translate.text("workflow.The file must be a XML"));
}
\ No newline at end of file
import { result, translate } from "@aditosoftware/jdito-types";
result.object([
["true", translate.text("Yes")],
["false", translate.text("No")]
["true", translate.text("workflow.Yes")],
["false", translate.text("workflow.No")]
]);
\ No newline at end of file
......@@ -58,7 +58,7 @@ result.object((function()
definition.version,
definition.active,
definition.description || "",
translate.withArguments("Version %0", [definition.version])
translate.withArguments("workflow.Version %0", [definition.version])
];
});
......
......@@ -10,7 +10,7 @@ if (upload.isFilled() && workflow.deployProcess(rowData["KEY.value"], upload.get
var notificationConfig = notification.createConfig()
.addUserWithId(UserUtils.getCurrentUserId())
.notificationType("WorkflowDeployFailed")
.caption(translate.text("Workflow deploy failed"))
.description(translate.text("The workflow could not be deployed"));
.caption(translate.text("workflow.Workflow deploy failed"))
.description(translate.text("workflow.The workflow could not be deployed"));
notification.addNotificationWith(notificationConfig);
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowInstanceHistory_entity</name>
<title>History</title>
<title>workflow.WorkflowInstanceHistory_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowInstanceHistory_entity/documentation.adoc</documentation>
<grantCreate v="false" />
<grantUpdate v="false" />
<grantDelete v="false" />
<titlePlural>Activities</titlePlural>
<titlePlural>workflow.WorkflowInstanceHistory_entity.titlePlural</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......@@ -21,12 +21,12 @@
</entityField>
<entityField>
<name>START_TIME</name>
<title>Start time</title>
<title>workflow.WorkflowInstanceHistory_entity.START_TIME.title</title>
<contentType>DATE</contentType>
</entityField>
<entityField>
<name>END_TIME</name>
<title>End time</title>
<title>workflow.WorkflowInstanceHistory_entity.END_TIME.title</title>
<contentType>DATE</contentType>
</entityField>
<entityField>
......@@ -34,12 +34,12 @@
</entityField>
<entityField>
<name>DURATION</name>
<title>Duration</title>
<title>workflow.WorkflowInstanceHistory_entity.DURATION.title</title>
<contentType>NUMBER</contentType>
</entityField>
<entityField>
<name>ACTIVITY_TYPE</name>
<title>Type</title>
<title>workflow.WorkflowInstanceHistory_entity.ACTIVITY_TYPE.title</title>
<consumer>ActivityTypeKeyword</consumer>
</entityField>
<entityParameter>
......@@ -52,7 +52,7 @@
<targetContextField>TARGET_CONTEXT</targetContextField>
<targetIdField>TASK_ID</targetIdField>
<documentation>%aditoprj%/entity/WorkflowInstanceHistory_entity/entityfields/historyforworkflowinstance/documentation.adoc</documentation>
<titlePlural>History</titlePlural>
<titlePlural>workflow.WorkflowInstanceHistory_entity.HistoryForWorkflowInstance.titlePlural</titlePlural>
</entityProvider>
<entityField>
<name>ICON</name>
......@@ -63,7 +63,7 @@
</entityField>
<entityField>
<name>ACTIVITY_NAME</name>
<title>Name</title>
<title>workflow.WorkflowInstanceHistory_entity.ACTIVITY_NAME.title</title>
</entityField>
<entityField>
<name>TARGET_CONTEXT</name>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowInstance_entity</name>
<title>Workflow instance</title>
<title>workflow.WorkflowInstance_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowInstance_entity/documentation.adoc</documentation>
<contentTitleProcess>%aditoprj%/entity/WorkflowInstance_entity/contentTitleProcess.js</contentTitleProcess>
<initFilterProcess>%aditoprj%/entity/WorkflowInstance_entity/initFilterProcess.js</initFilterProcess>
<titlePlural>Workflow instances</titlePlural>
<titlePlural>workflow.WorkflowInstance_entity.titlePlural</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......@@ -26,26 +26,26 @@
</entityParameter>
<entityField>
<name>KEY</name>
<title>Key</title>
<title>workflow.WorkflowInstance_entity.KEY.title</title>
<consumer>WorkflowDefinitions</consumer>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/key/stateProcess.js</stateProcess>
</entityField>
<entityField>
<name>ISACTIVE</name>
<title>Active</title>
<title>workflow.WorkflowInstance_entity.ISACTIVE.title</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/isactive/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>PROCESSDEFINITION_ID</name>
<title>Workflow definition</title>
<title>workflow.WorkflowInstance_entity.PROCESSDEFINITION_ID.title</title>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/processdefinition_id/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>START_TIME</name>
<title>Start date</title>
<title>workflow.WorkflowInstance_entity.START_TIME.title</title>
<contentType>DATE</contentType>
<state>READONLY</state>
</entityField>
......@@ -64,7 +64,7 @@
</entityParameter>
<entityField>
<name>PROCESSDEFINITION_VERSION</name>
<title>Version</title>
<title>workflow.WorkflowInstance_entity.PROCESSDEFINITION_VERSION.title</title>
<state>READONLY</state>
</entityField>
<entityField>
......@@ -104,7 +104,7 @@
</entityParameter>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.WorkflowInstance_entity.NAME.title</title>
</entityField>
<entityField>
<name>STARTUSER_ID</name>
......@@ -115,7 +115,7 @@
</entityParameter>
<entityActionField>
<name>toggleActive</name>
<title>${WORKFLOW_SUSPEND}</title>
<title>workflow.WorkflowInstance_entity.toggleActive.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/toggleactive/onActionProcess.js</onActionProcess>
<iconId>VAADIN:PAUSE</iconId>
<iconIdProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/toggleactive/iconIdProcess.js</iconIdProcess>
......@@ -160,7 +160,7 @@
</entityConsumer>
<entityField>
<name>ISFINISHED</name>
<title>Finished</title>
<title>workflow.WorkflowInstance_entity.ISFINISHED.title</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/WorkflowInstance_entity/entityfields/isfinished/dropDownProcess.js</dropDownProcess>
</entityField>
......
import { result, translate } from "@aditosoftware/jdito-types";
result.object([
["true", translate.text("Yes")],
["false", translate.text("No")]
["true", translate.text("workflow.Yes")],
["false", translate.text("workflow.No")]
]);
\ No newline at end of file
import { result, translate } from "@aditosoftware/jdito-types";
result.object([
["true", translate.text("Yes")],
["false", translate.text("No")]
["true", translate.text("workflow.Yes")],
["false", translate.text("workflow.No")]
]);
\ No newline at end of file
......@@ -2,5 +2,5 @@ import { result, translate, vars } from "@aditosoftware/jdito-types";
if (vars.get("$field.ISACTIVE") != "true")
{
result.string(translate.text("Resume"));
result.string(translate.text("workflow.Resume"));
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ if (vars.get("$sys.presentationmode") === neon.CONTEXT_PRESENTATIONMODE_FILTER)
type: "row",
name: "ISFINISHED",
operator: "EQUAL",
value: translate.text("No"),
value: translate.text("workflow.No"),
key: "false",
contenttype: "BOOLEAN"
}]
......
......@@ -25,18 +25,18 @@
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.WorkflowLauncher_entity.NAME.title</title>
<state>EDITABLE</state>
</entityField>
<entityField>
<name>KEY</name>
<title>Key</title>
<title>workflow.WorkflowLauncher_entity.KEY.title</title>
<consumer>WorkflowDefinitions</consumer>
<state>EDITABLE</state>
</entityField>
<entityActionField>
<name>launchWorkflows</name>
<title>Start workflows</title>
<title>workflow.WorkflowLauncher_entity.launchWorkflows.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowLauncher_entity/entityfields/launchworkflows/onActionProcess.js</onActionProcess>
<iconId>VAADIN:PLAY</iconId>
<stateProcess>%aditoprj%/entity/WorkflowLauncher_entity/entityfields/launchworkflows/stateProcess.js</stateProcess>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowModel_entity</name>
<title>Workflow Model</title>
<title>workflow.WorkflowModel_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowModel_entity/documentation.adoc</documentation>
<contentTitleProcess>%aditoprj%/entity/WorkflowModel_entity/contentTitleProcess.js</contentTitleProcess>
......@@ -13,7 +13,7 @@
</entityProvider>
<entityField>
<name>KEY</name>
<title>Key</title>
<title>workflow.WorkflowModel_entity.KEY.title</title>
<mandatory v="true" />
</entityField>
<entityField>
......@@ -21,12 +21,12 @@
</entityField>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<title>workflow.WorkflowModel_entity.DESCRIPTION.title</title>
<contentType>LONG_TEXT</contentType>
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.WorkflowModel_entity.NAME.title</title>
<mandatory v="true" />
</entityField>
<entityProvider>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowSignal_entity</name>
<title>Signal</title>
<title>workflow.WorkflowSignal_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowSignal_entity/documentation.adoc</documentation>
<titlePlural>Signals</titlePlural>
<titlePlural>workflow.WorkflowSignal_entity.titlePlural</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
......@@ -15,13 +15,13 @@
</entityField>
<entityField>
<name>SIGNAL_NAME</name>
<title>Signal</title>
<title>workflow.WorkflowSignal_entity.SIGNAL_NAME.title</title>
<mandatory v="true" />
<dropDownProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/signal_name/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>SCOPE</name>
<title>Scope</title>
<title>workflow.WorkflowSignal_entity.SCOPE.title</title>
</entityField>
<entityParameter>
<name>ProcessDefinitionId_param</name>
......@@ -30,18 +30,18 @@
</entityParameter>
<entityField>
<name>OBJECT_TYPE</name>
<title>Context</title>
<title>workflow.WorkflowSignal_entity.OBJECT_TYPE.title</title>
<consumer>Contexts</consumer>
</entityField>
<entityField>
<name>TRIGGER_EVENT</name>
<title>Trigger</title>
<title>workflow.WorkflowSignal_entity.TRIGGER_EVENT.title</title>
<consumer>TriggerKeyword</consumer>
<mandatory v="true" />
</entityField>
<entityField>
<name>OBJECT_CONDITION</name>
<title>${CONDITION}</title>
<title>workflow.WorkflowSignal_entity.OBJECT_CONDITION.title</title>
<contentType>FILTER_TREE</contentType>
<valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/object_condition/valueProcess.js</valueProcess>
</entityField>
......@@ -96,7 +96,7 @@
</entityField>
<entityField>
<name>VARIABLES</name>
<title>Variables</title>
<title>workflow.WorkflowSignal_entity.VARIABLES.title</title>
<dropDownProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/variables/dropDownProcess.js</dropDownProcess>
<selectionMode>MULTI</selectionMode>
<valueProcess>%aditoprj%/entity/WorkflowSignal_entity/entityfields/variables/valueProcess.js</valueProcess>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowStartConfig_entity</name>
<title>Usage</title>
<title>workflow.WorkflowStartConfig_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowStartConfig_entity/documentation.adoc</documentation>
<imageProcess>%aditoprj%/entity/WorkflowStartConfig_entity/imageProcess.js</imageProcess>
<titlePlural>Usage</titlePlural>
<titlePlural>workflow.WorkflowStartConfig_entity.titlePlural</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
......@@ -16,14 +16,14 @@
</entityField>
<entityField>
<name>OBJECT_TYPE</name>
<title>Module</title>
<title>workflow.WorkflowStartConfig_entity.OBJECT_TYPE.title</title>
<consumer>Contexts</consumer>
<mandatory v="true" />
<displayValueProcess>%aditoprj%/entity/WorkflowStartConfig_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TRIGGER_EVENT</name>
<title>Trigger</title>
<title>workflow.WorkflowStartConfig_entity.TRIGGER_EVENT.title</title>
<consumer>TriggerKeyword</consumer>
<valueProcess>%aditoprj%/entity/WorkflowStartConfig_entity/entityfields/trigger_event/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/WorkflowStartConfig_entity/entityfields/trigger_event/displayValueProcess.js</displayValueProcess>
......
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.4.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.4.0">
<name>WorkflowTask_entity</name>
<title>Task</title>
<title>workflow.WorkflowTask_entity.title</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/WorkflowTask_entity/documentation.adoc</documentation>
<grantCreate v="false" />
......@@ -9,7 +9,7 @@
<grantDelete v="false" />
<afterSave>%aditoprj%/entity/WorkflowTask_entity/afterSave.js</afterSave>
<imageProcess>%aditoprj%/entity/WorkflowTask_entity/imageProcess.js</imageProcess>
<titlePlural>Tasks</titlePlural>
<titlePlural>workflow.WorkflowTask_entity.titlePlural</titlePlural>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......@@ -29,7 +29,7 @@
</entityField>
<entityField>
<name>NAME</name>
<title>Name</title>
<title>workflow.WorkflowTask_entity.NAME.title</title>
</entityField>
<entityField>
<name>PROCESSDEFINITION_ID</name>
......@@ -37,13 +37,13 @@
</entityField>
<entityField>
<name>PROCESSINSTANCE_ID</name>
<title>Workflow instance</title>
<title>workflow.WorkflowTask_entity.PROCESSINSTANCE_ID.title</title>
<linkedContext>WorkflowInstance</linkedContext>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/processinstance_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>CREATE_TIME</name>
<title>Creation date</title>
<title>workflow.WorkflowTask_entity.CREATE_TIME.title</title>
<contentType>DATE</contentType>
<state>READONLY</state>
</entityField>
......@@ -53,7 +53,7 @@
</entityParameter>
<entityActionField>
<name>completeTask</name>
<title>Complete task</title>
<title>workflow.WorkflowTask_entity.completeTask.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/completetask/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CHECK</iconId>
<stateProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/completetask/stateProcess.js</stateProcess>
......@@ -65,7 +65,7 @@
</entityParameter>
<entityField>
<name>USER</name>
<title>User</title>
<title>workflow.WorkflowTask_entity.USER.title</title>
</entityField>
<entityProvider>
<name>InstanceTasks</name>
......@@ -87,30 +87,30 @@
</entityParameter>
<entityField>
<name>DESCRIPTION</name>
<title>Description</title>
<title>workflow.WorkflowTask_entity.DESCRIPTION.title</title>
<contentType>HTML</contentType>
<state>READONLY</state>
</entityField>
<entityField>
<name>CATEGORY</name>
<title>Category</title>
<title>workflow.WorkflowTask_entity.CATEGORY.title</title>
<state>READONLY</state>
</entityField>
<entityField>
<name>ASSIGNEE</name>
<title>Responsible</title>
<title>workflow.WorkflowTask_entity.ASSIGNEE.title</title>
<consumer>Employees</consumer>
<displayValueProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/assignee/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>DUEDATE</name>
<title>Due</title>
<title>workflow.WorkflowTask_entity.DUEDATE.title</title>
<contentType>DATE</contentType>
<state>READONLY</state>
</entityField>
<entityField>
<name>OWNER</name>
<title>Owner</title>
<title>workflow.WorkflowTask_entity.OWNER.title</title>
<state>READONLY</state>
</entityField>
<entityField>
......@@ -118,7 +118,7 @@
</entityField>
<entityField>
<name>TARGET_ID</name>
<title>Link</title>
<title>workflow.WorkflowTask_entity.TARGET_ID.title</title>
<consumer>LinkedObject</consumer>
<linkedContextProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/target_id/linkedContextProcess.js</linkedContextProcess>
<state>READONLY</state>
......@@ -130,25 +130,25 @@
</entityParameter>
<entityActionField>
<name>claimTask</name>
<title>Claim task</title>
<title>workflow.WorkflowTask_entity.claimTask.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/claimtask/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CLIPBOARD_USER</iconId>
<stateProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/claimtask/stateProcess.js</stateProcess>
</entityActionField>
<entityField>
<name>ISACTIVE</name>
<title>Active</title>
<title>workflow.WorkflowTask_entity.ISACTIVE.title</title>
<contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/isactive/dropDownProcess.js</dropDownProcess>
</entityField>
<entityField>
<name>CLAIM_TIME</name>
<title>Claim date</title>
<title>workflow.WorkflowTask_entity.CLAIM_TIME.title</title>
<contentType>DATE</contentType>
</entityField>
<entityField>
<name>PRIORITY</name>
<title>Priority</title>
<title>workflow.WorkflowTask_entity.PRIORITY.title</title>
<state>READONLY</state>
</entityField>
<entityField>
......@@ -201,7 +201,7 @@
<children>
<entityActionField>
<name>completeMultipleTasks</name>
<title>Complete tasks</title>
<title>workflow.WorkflowTask_entity.completeMultipleTasks.title</title>
<onActionProcess>%aditoprj%/entity/WorkflowTask_entity/entityfields/tableactions/children/completemultipletasks/onActionProcess.js</onActionProcess>
<isObjectAction v="false" />
<selectionType>MULTI</selectionType>
......
import { result, translate } from "@aditosoftware/jdito-types";
result.object([
["true", translate.text("Yes")],
["false", translate.text("No")]
["true", translate.text("workflow.Yes")],
["false", translate.text("workflow.No")]
]);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment