Project

General

Profile

Actions

Bug #29490

closed

Hardcoded labels are cleared by language class

Added by Andreas Wolf about 13 years ago. Updated about 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2011-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The method sL() in typo3/sysext/lang/lang.php returns an empty string for hardcoded labels. As this is officially supported according to our documentation (see e.g. the description of TCA type "select" in "TYPO3 Core API"), this is a bug and should be changed.

The error was introduced by commit 1526d4de ([TASK] Language handling: splitLabels and locallang.php should be removed).


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #26519: Language handling: splitLabels and locallang.php should be removedClosedBenni Mack2011-04-29

Actions
Actions #1

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change I393ff8bca3df19718d84987cdec0834687c09b17 has been pushed to the review server.
It is available at http://review.typo3.org/4771

Actions #2

Updated by Andreas Wolf about 13 years ago

  • Status changed from Accepted to Under Review

How to test: $GLOBALS['lang']->sL('something'); should return something, it returns an empty string without the patch.

Actions #3

Updated by Andreas Wolf about 13 years ago

  • Status changed from Under Review to Rejected

Has already been fixed in recent master versions.

Actions

Also available in: Atom PDF