Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Not an Issue
-
Affects Version/s: 1.9.3
-
Fix Version/s: 1.9.4
-
Component/s: Zend_Translate
-
Labels:None
Description
source: Zend/Translate/Adapter.php
code:
if (strpos($directory, DIRECTORY_SEPARATOR . $this->_options['ignore']) !== false) {
// ignore files matching first characters from option 'ignore' and all files below
continue;
}
bug on win platform, because project uses tmx scan and this folder:
d:\.work\...\languages
resolution:
DIRECTORY_SEPARATOR to '/'
or
if ($this->_options['ignore'] != '') {}
Any why should this code be unlogic ?
Simply look into the manual to know how this option works. Just because you don't read, it does not mean that it does not work as expected.
Manual: http://framework.zend.com/manual/en/zend.translate.additional.html