Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_mail
Commits
5ccd6a4c
Commit
5ccd6a4c
authored
Feb 21, 2017
by
Torsten Oppermann
Browse files
[TASK] Adding new marker types, adding translations
parent
b6ecd343
Changes
4
Hide whitespace changes
Inline
Side-by-side
Classes/Service/MailTemplateService.php
View file @
5ccd6a4c
...
...
@@ -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
*/
...
...
Resources/Private/Language/de.locallang.xlf
View file @
5ccd6a4c
...
...
@@ -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>
...
...
Resources/Private/Language/locallang.xlf
View file @
5ccd6a4c
...
...
@@ -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>
...
...
Resources/Private/Layouts/Default.html
View file @
5ccd6a4c
...
...
@@ -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}"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment