diff --git a/src/Pluf/Translation/TemplateExtractor.php b/src/Pluf/Translation/TemplateExtractor.php index 7ac1dac..e278d01 100644 --- a/src/Pluf/Translation/TemplateExtractor.php +++ b/src/Pluf/Translation/TemplateExtractor.php @@ -380,7 +380,7 @@ class Pluf_Translation_TemplateExtractor if ($type == T_AS) { $afterAs = true; } - if ($type == T_STRING && $inDot) { + if ($inDot) { $result .= $str; } elseif ($type == T_VARIABLE) { $result .= '$t->_vars[\''.substr($str, 1).'\']';