diff options
author | Andras Timar <timar@fsf.hu> | 2011-03-08 22:48:09 +0100 |
---|---|---|
committer | Andras Timar <timar@fsf.hu> | 2011-03-08 22:53:50 +0100 |
commit | 9849827a5b8e9c2189f236b452a58eaae95668c6 (patch) | |
tree | d168c3b5ed3cc000a75efd9a2bae1fa38fc9ad24 /l10ntools/source/srciter.cxx | |
parent | 1acfb268fdcd18894f04216983fda863f8f6f75e (diff) |
adapt localize to LibreOffice directory structure
Diffstat (limited to 'l10ntools/source/srciter.cxx')
-rw-r--r-- | l10ntools/source/srciter.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx index eb5d78f775af..6ec75336cf52 100644 --- a/l10ntools/source/srciter.cxx +++ b/l10ntools/source/srciter.cxx @@ -70,7 +70,9 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory ) static rtl::OUString WCARD4 ( RTL_CONSTASCII_USTRINGPARAM("common") ); static rtl::OUString WCARD5 ( RTL_CONSTASCII_USTRINGPARAM("unxmac") ); static rtl::OUString WCARD6 ( RTL_CONSTASCII_USTRINGPARAM("unxubt") ); - static rtl::OUString WCARD7 ( RTL_CONSTASCII_USTRINGPARAM(".svn") ); + static rtl::OUString WCARD7 ( RTL_CONSTASCII_USTRINGPARAM(".git") ); + static rtl::OUString WCARD8 ( RTL_CONSTASCII_USTRINGPARAM("clone") ); + static rtl::OUString WCARD9 ( RTL_CONSTASCII_USTRINGPARAM("install") ); if( sDirName.indexOf( WCARD1 , 0 ) > -1 || @@ -79,7 +81,9 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory ) sDirName.indexOf( WCARD4 , 0 ) > -1 || sDirName.indexOf( WCARD5 , 0 ) > -1 || sDirName.indexOf( WCARD6 , 0 ) > -1 || - sDirName.indexOf( WCARD7 , 0 ) > -1 + sDirName.indexOf( WCARD7 , 0 ) > -1 || + sDirName.indexOf( WCARD8 , 0 ) > -1 || + sDirName.indexOf( WCARD9 , 0 ) > -1 ) return; //printf("**** %s \n", OUStringToOString( sDirName , RTL_TEXTENCODING_UTF8 , sDirName.getLength() ).getStr() ); |