summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-06-06 15:24:48 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-06-06 15:24:48 +0000
commitc0447088ab531ad3baa448c462308affd10bfc84 (patch)
treec60641c2a7848591cef560b69a248fa8290d4814 /transex3
parent2934e2dd60d0112ddbc5a802047540d156fc3e96 (diff)
INTEGRATION: CWS mmw02 (1.29.28); FILE MERGED
2005/06/01 13:32:56 ihi 1.29.28.1: #123272# migrationanalysis projects gets german translation via localize.sdf
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/export2.cxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/transex3/source/export2.cxx b/transex3/source/export2.cxx
index 72bf6712e72c..5257b591aed2 100644
--- a/transex3/source/export2.cxx
+++ b/transex3/source/export2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: export2.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: kz $ $Date: 2005-01-13 19:16:55 $
+ * last change: $Author: hr $ $Date: 2005-06-06 16:24:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -321,6 +321,19 @@ void Export::RemoveUTF8ByteOrderMarkerFromFile( const ByteString &rFilename ){
}
if( aFileIn.IsOpen() ) aFileIn.Close();
}
+
+// Merge it into source code!
+bool Export::isMergingGermanAllowed( const ByteString& rPrj ){
+ ByteString sFile = GetEnv( "SRC_ROOT" ) ;
+ sFile.Append("/");
+ sFile.Append( rPrj );
+ sFile.Append("/prj/l10n");
+#ifdef WNT
+ sFile.SearchAndReplaceAll('/','\\');
+#endif
+ DirEntry aFlagfile( sFile );
+ return !aFlagfile.Exists();
+}
/*****************************************************************************/
void Export::UnquotHTML( ByteString &rString )
/*****************************************************************************/