mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:56:56 +01:00
[FEATURE] Add TestimonialController.indexAction.
This commit is contained in:
parent
1dec243b02
commit
3bdff176e7
3 changed files with 33 additions and 40 deletions
20
Resources/Private/Language/de.locallang.xlf
Normal file
20
Resources/Private/Language/de.locallang.xlf
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
|
<xliff version="1.0">
|
||||||
|
<file source-language="en" datatype="plaintext" original="messages" date="2013-11-05T11:24:27Z" product-name="tea">
|
||||||
|
<header/>
|
||||||
|
<body>
|
||||||
|
<trans-unit id="heading.testimonials">
|
||||||
|
<source>This is what our satisfied customers have to say:</source>
|
||||||
|
<target>Das sagen unsere zufriedenen Kunden:</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="testimonials.cups.and.date">
|
||||||
|
<source>%1$u cups on</source>
|
||||||
|
<target>%1$u Tassen am</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="date-and-time-format">
|
||||||
|
<source>Y-m-d H:i</source>
|
||||||
|
<target>d.m.Y H:i</target>
|
||||||
|
</trans-unit>
|
||||||
|
</body>
|
||||||
|
</file>
|
||||||
|
</xliff>
|
|
@ -1,49 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<xliff version="1.0">
|
<xliff version="1.0">
|
||||||
<file source-language="en" datatype="plaintext" original="messages" date="2013-11-01T21:35:43Z" product-name="tea">
|
<file source-language="en" datatype="plaintext" original="messages" date="2013-11-05T11:24:27Z" product-name="tea">
|
||||||
<header/>
|
<header/>
|
||||||
<body>
|
<body>
|
||||||
<trans-unit id="tx_tea_domain_model_teabeverage">
|
<trans-unit id="heading.testimonials">
|
||||||
<source>Tea beverage</source>
|
<source>This is what our satisfied customers have to say:</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="tx_tea_domain_model_teabeverage.size">
|
<trans-unit id="testimonials.cups.and.date">
|
||||||
<source>size</source>
|
<source>%1$u cups on</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="tx_tea_domain_model_teabeverage.type">
|
<trans-unit id="date-and-time-format">
|
||||||
<source>type</source>
|
<source>Y-m-d H:i</source>
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_teabeverage.additions">
|
|
||||||
<source>additions</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_teabeverage.testimonials">
|
|
||||||
<source>testimonials</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_teatype">
|
|
||||||
<source>Tea type</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_teatype.title">
|
|
||||||
<source>title</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_teatype.caffeinated">
|
|
||||||
<source>caffeinated</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_addition">
|
|
||||||
<source>addition</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_addition.title">
|
|
||||||
<source>title</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_testimonial">
|
|
||||||
<source>Testimonial</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_testimonial.date_of_posting">
|
|
||||||
<source>date of posting</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_testimonial.number_of_consumed_cups">
|
|
||||||
<source>number of consumed cups</source>
|
|
||||||
</trans-unit>
|
|
||||||
<trans-unit id="tx_tea_domain_model_testimonial.text">
|
|
||||||
<source>text</source>
|
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
|
|
|
@ -3,6 +3,12 @@ if (!defined('TYPO3_MODE')) {
|
||||||
die ('Access denied.');
|
die ('Access denied.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||||
|
'OliverKlee.' . $_EXTKEY,
|
||||||
|
'Tea',
|
||||||
|
'Tea'
|
||||||
|
);
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Tea example');
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Tea example');
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_teabeverage', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_teabeverage.xlf');
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_tea_domain_model_teabeverage', 'EXT:tea/Resources/Private/Language/locallang_csh_tx_tea_domain_model_teabeverage.xlf');
|
||||||
|
|
Loading…
Reference in a new issue