diff options
author | Andras Timar <atimar@suse.com> | 2011-12-12 18:59:03 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-12-13 08:43:59 +0100 |
commit | c0b0cbe1a7ce5e71de57aa3908441026dedccaab (patch) | |
tree | 5cf73a5848edcfc1c584cedeb581b683397443a7 | |
parent | 2d5e44f5899d2f90c025e146508a5424d77b813a (diff) |
exclude wntgcc* directories from searching for translatable files
-rw-r--r-- | l10ntools/source/srciter.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx index 4b89c65db1b6..c3e4988e3d2c 100644 --- a/l10ntools/source/srciter.cxx +++ b/l10ntools/source/srciter.cxx @@ -64,6 +64,7 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory ) static rtl::OUString WCARD7 ( RTL_CONSTASCII_USTRINGPARAM(".git") ); static rtl::OUString WCARD8 ( RTL_CONSTASCII_USTRINGPARAM("clone") ); static rtl::OUString WCARD9 ( RTL_CONSTASCII_USTRINGPARAM("install") ); + static rtl::OUString WCARDA ( RTL_CONSTASCII_USTRINGPARAM("wntgcc") ); if( sDirName.indexOf( WCARD1 , 0 ) > -1 || @@ -76,7 +77,8 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory ) #ifndef WNT sDirName.indexOf( WCARD8 , 0 ) > -1 || #endif - sDirName.indexOf( WCARD9 , 0 ) > -1 + sDirName.indexOf( WCARD9 , 0 ) > -1 || + sDirName.indexOf( WCARDA , 0 ) > -1 ) return; //printf("**** %s \n", OUStringToOString( sDirName , RTL_TEXTENCODING_UTF8 , sDirName.getLength() ).getStr() ); |