Author: mkrueger
Date: 2007-10-12 05:17:12 -0400 (Fri, 12 Oct 2007)
New Revision: 87387

Modified:
   trunk/monodevelop/Extras/MonoDevelop.Gettext/ChangeLog
   
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs
   
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
Log:
* MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs,
  MonoDevelop.Gettext/TranslationProject.cs: Applied changes that
  were neccassary for to the new FileService.

Modified: trunk/monodevelop/Extras/MonoDevelop.Gettext/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Gettext/ChangeLog      2007-10-12 
09:16:32 UTC (rev 87386)
+++ trunk/monodevelop/Extras/MonoDevelop.Gettext/ChangeLog      2007-10-12 
09:17:12 UTC (rev 87387)
@@ -1,3 +1,9 @@
+2007-10-12  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs,
+         MonoDevelop.Gettext/TranslationProject.cs: Applied changes that were
+         neccassary for to the new FileService.
+
 2007-09-21  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Gettext.addin.xml: Bump MD version.

Modified: 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
===================================================================
--- 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
      2007-10-12 09:16:32 UTC (rev 87386)
+++ 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
      2007-10-12 09:17:12 UTC (rev 87387)
@@ -164,7 +164,7 @@
                }
                public void AddTranslationStrings (Translation translation, 
string fileName, List<TranslationProject.MatchLocation> matches)
                {
-                       string relativeFileName = 
MonoDevelop.Core.Runtime.FileService.AbsoluteToRelativePath 
(this.BaseDirectory, fileName);
+                       string relativeFileName = 
MonoDevelop.Core.FileService.AbsoluteToRelativePath (this.BaseDirectory, 
fileName);
                        string poFileName = GetFileName (translation);
                        if (!catalogs.ContainsKey (poFileName))
                                catalogs[poFileName] = new Catalog (poFileName);

Modified: 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs
===================================================================
--- 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs
     2007-10-12 09:16:32 UTC (rev 87386)
+++ 
trunk/monodevelop/Extras/MonoDevelop.Gettext/MonoDevelop.Gettext.NodeBuilders/TranslationNodeBuilder.cs
     2007-10-12 09:17:12 UTC (rev 87387)
@@ -117,7 +117,7 @@
                                if (yes) {
                                        string fileName = Path.Combine 
(project.BaseDirectory, translation.FileName);
                                        if (File.Exists (fileName)) {
-                                               Runtime.FileService.DeleteFile 
(fileName);
+                                               FileService.DeleteFile 
(fileName);
                                        }
                                        
                                        project.RemoveTranslation 
(translation.IsoCode);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to