Bug #35041 ยป 35041.diff

Andreas Wolf, 2012-03-20 15:23

View differences:

Classes/ViewHelpers/TranslateViewHelper.php
103 103
		} else {
104 104
			$translation = $this->translator->translateById($id, $arguments, $quantity, $localeObject, $source, $package);
105 105
			if ($translation === $id) {
106
				return $originalLabel;
106
				return ($originalLabel === NULL) ? $id : $originalLabel;
107 107
			} else {
108 108
				return $translation;
109 109
			}
    (1-1/1)