Project

General

Profile

Actions

Bug #79551

closed

Takes care of localization of tt_content_defValues

Added by Eric Chavaillaz almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2017-01-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

If I set a tt_content_defValues in the TypoScript configuration with a value localizable, the controller of the new content elements do not take care of it.

Thanks

Actions #1

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51469

Actions #2

Updated by Eric Chavaillaz almost 8 years ago

To answer Tymoteusz on Gerrit, an example of use case.

If I set this in my TypoScript configuration something like this:

mod.wizards.newContentElement.wizardItems.plugins.elements.plugins_tx_myext_pi1 {
    iconIdentifier = content-plugin-myext-pi1
    title = LLL:EXT:myext/Resources/Private/Language/locallang_pi.xlf:pi_wizard_title
    description = LLL:EXT:myext/Resources/Private/Language/locallang_pi.xlf:pi_wizard_description
    tt_content_defValues {
        CType = list
        header = LLL:EXT:myext/Resources/Private/Language/locallang_pi.xlf:pi_wizard_title
        list_type = myext_pi1
    }
}

The value of the title is localized, so the behaviour is fine, but the default value for the header will not be translated (the value will be LLL:EXT:myext/Resources/Private/Language/locallang_pi.xlf:pi_wizard_title)

So the patch fix this case. I don't think it is really a feature, but if you consider like this, I can change my patch.

Thanks

Actions #3

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51469

Actions #4

Updated by Benni Mack almost 8 years ago

  • Target version changed from 8.6 to 8 LTS
Actions #5

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52051

Actions #6

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF