Commit 5ccd6a4c authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Adding new marker types, adding translations

parent b6ecd343
......@@ -60,6 +60,16 @@ class MailTemplateService {
*/
const MARKER_TYPE_INTEGER = 'Integer';
/**
* @var string
*/
const MARKER_TYPE_ARRAY = 'Array';
/**
* @var string
*/
const MARKER_TYPE_OBJECT = 'Object';
/**
* @var array $registerArray
*/
......
......@@ -53,6 +53,10 @@
<source>From Name:</source>
<target>Absender Name:</target>
</trans-unit>
<trans-unit id="backend.mail_queue" approved="yes">
<source>Mail Queue</source>
<target>Mail Queue</target>
</trans-unit>
<trans-unit id="backend.marker" approved="yes">
<source>Marker</source>
<target>Marker</target>
......@@ -97,6 +101,10 @@
<source>Preview Email sent</source>
<target>Vorschau E-Mail wurde versendet</target>
</trans-unit>
<trans-unit id="backend.template_editor" approved="yes">
<source>Template Editor</source>
<target>Template Editor</target>
</trans-unit>
<trans-unit id="backend.template_path" approved="yes">
<source>Template Path:</source>
<target>Pfad:</target>
......
......@@ -42,6 +42,9 @@
<trans-unit id="backend.fromName">
<source>From Name:</source>
</trans-unit>
<trans-unit id="backend.mail_queue">
<source>Mail Queue</source>
</trans-unit>
<trans-unit id="backend.marker">
<source>Marker</source>
</trans-unit>
......@@ -75,6 +78,9 @@
<trans-unit id="backend.success_mail">
<source>Preview Email sent</source>
</trans-unit>
<trans-unit id="backend.template_editor">
<source>Template Editor</source>
</trans-unit>
<trans-unit id="backend.template_path">
<source>Template Path:</source>
</trans-unit>
......
......@@ -9,14 +9,14 @@
<f:be.menus.actionMenu>
<f:if condition="{mode} == 'queue'">
<f:then>
<sgm:be.menus.actionMenuItem label="MAILQUEUE"
<sgm:be.menus.actionMenuItem label="{f:translate(key:'backend.mail_queue')}"
controller="Queue"
action="index"
arguments="{selectedTemplate: templateKey, selectedExtension: extensionKey}"
additionalAttributes="{selected: 'selected'}" />
</f:then>
<f:else>
<sgm:be.menus.actionMenuItem label="MAILQUEUE"
<sgm:be.menus.actionMenuItem label="{f:translate(key:'backend.mail_queue')}"
controller="Queue"
action="index"
arguments="{selectedTemplate: templateKey, selectedExtension: extensionKey}" />
......@@ -24,14 +24,14 @@
</f:if>
<f:if condition="{mode} == 'editor'">
<f:then>
<sgm:be.menus.actionMenuItem label="TEMPLATE EDITOR"
<sgm:be.menus.actionMenuItem label="{f:translate(key:'backend.template_editor')}"
controller="Mail"
action="index"
arguments="{selectedTemplate: templateKey, selectedExtension: extensionKey}"
additionalAttributes="{selected: 'selected'}" />
</f:then>
<f:else>
<sgm:be.menus.actionMenuItem label="TEMPLATE EDITOR"
<sgm:be.menus.actionMenuItem label="{f:translate(key:'backend.template_editor')}"
controller="Mail"
action="index"
arguments="{selectedTemplate: templateKey, selectedExtension: extensionKey}" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment