Project

General

Profile

Actions

Task #82453

closed

Extbase LocalizationUtility error feedback and logic can be improved

Added by Claus Due over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2017-09-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Two things should be done:

1. Early return should be done if $key is empty (won't matter if $extensionName or others are passed in this case - empty key equals null return value)
2. Failure to format with vsprintf should output a gentle message about the translation failure which includes the original string and the number of arguments being passed for easy comparison of marker and parameter counts.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #84149: Avoid associative array to be used in LocalizationUtilityClosed2018-03-06

Actions
Actions

Also available in: Atom PDF