[BUGFIX] Fluid BytesViewHelper: use translated units 97/38497/12
authorMichael Oehlhof <typo3@oehlhof.de>
Mon, 6 Apr 2015 15:18:25 +0000 (17:18 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 20 Jun 2015 12:30:50 +0000 (14:30 +0200)
commit8b42c96e004ebfd26944b79c33f54e47c5cb7330
tree2833bd5a30e217b8352e771613eda889c6cd0b43
parented1b7f8bcca3885c4905c31a113b635564aefd38
[BUGFIX] Fluid BytesViewHelper: use translated units

The units are moved from a constant to a localization file,
to make it possible to translate the units.

Resolves: #62454
Releases: master
Change-Id: I57a8fd2a060173fd9acbe30e3e3c716efd3c3fd9
Reviewed-on: http://review.typo3.org/38497
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid/Classes/ViewHelpers/Format/BytesViewHelper.php
typo3/sysext/fluid/Resources/Private/Language/locallang.xlf
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/BytesViewHelperTest.php