Skip to content
Snippets Groups Projects
Commit 1eea102a authored by Simon Leipold's avatar Simon Leipold
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1059069][Rollen - Aktionen usw nur teilweise übersetzt]

parent 755665f0
No related branches found
No related tags found
No related merge requests found
......@@ -24,26 +24,31 @@
<name>ACTION_VIEW</name>
<title>View</title>
<contentType>IMAGE</contentType>
<titleProcess>%aditoprj%/entity/PermissionOverview_entity/entityfields/action_view/titleProcess.js</titleProcess>
</entityField>
<entityField>
<name>ACTION_CREATE</name>
<title>Create</title>
<contentType>IMAGE</contentType>
<titleProcess>%aditoprj%/entity/PermissionOverview_entity/entityfields/action_create/titleProcess.js</titleProcess>
</entityField>
<entityField>
<name>ACTION_READ</name>
<title>Read</title>
<contentType>IMAGE</contentType>
<titleProcess>%aditoprj%/entity/PermissionOverview_entity/entityfields/action_read/titleProcess.js</titleProcess>
</entityField>
<entityField>
<name>ACTION_UPDATE</name>
<title>Update</title>
<contentType>IMAGE</contentType>
<titleProcess>%aditoprj%/entity/PermissionOverview_entity/entityfields/action_update/titleProcess.js</titleProcess>
</entityField>
<entityField>
<name>ACTION_DELETE</name>
<title>Delete</title>
<contentType>IMAGE</contentType>
<titleProcess>%aditoprj%/entity/PermissionOverview_entity/entityfields/action_delete/titleProcess.js</titleProcess>
</entityField>
<entityField>
<name>CONDTYPE</name>
......
import("system.result");
// avoid translation via titleProcess
result.string("Create");
import("system.result");
// avoid translation via titleProcess
result.string("Delete");
import("system.result");
// avoid translation via titleProcess
result.string("Read");
import("system.result");
// avoid translation via titleProcess
result.string("Update");
import("system.result");
// avoid translation via titleProcess
result.string("View");
import("system.result");
import("system.vars");
import("system.translate");
if (vars.exists("$param.RoleTitle_param") && vars.get("$param.RoleTitle_param")) {
result.string("Entity");
result.string(translate.text("Entity"));
} else if (vars.exists("$param.EntityTitle_param") && vars.get("$param.EntityTitle_param")) {
result.string("Role");
result.string(translate.text("Role"));
}
\ 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