Author: lluis
Date: 2008-02-18 12:56:33 -0500 (Mon, 18 Feb 2008)
New Revision: 96087

Modified:
   branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/ChangeLog
   
branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
Log:
2008-02-18  Lluis Sanchez Gual <[EMAIL PROTECTED]> 

        * MonoDevelop.Gettext/TranslationProject.cs: Include .po files in the 
list
          of exportable files of the project. Fixes bug #362567.



Modified: branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/ChangeLog      
2008-02-18 17:53:25 UTC (rev 96086)
+++ branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/ChangeLog      
2008-02-18 17:56:33 UTC (rev 96087)
@@ -1,3 +1,8 @@
+2008-02-18  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Gettext/TranslationProject.cs: Include .po files in the 
list
+         of exportable files of the project. Fixes bug #362567.
+
 2008-01-25  Michael Hutchinson <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Gettext.addin.xml, 
MonoDevelop.Gettext/RegexFileScanner.cs,

Modified: 
branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
===================================================================
--- 
branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
      2008-02-18 17:53:25 UTC (rev 96086)
+++ 
branches/monodevelop/main/1.0/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/TranslationProject.cs
      2008-02-18 17:56:33 UTC (rev 96087)
@@ -31,6 +31,7 @@
 using System.CodeDom.Compiler;
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
+using System.Collections.Specialized;
 using System.IO;
 using System.Text;
 using System.Text.RegularExpressions;
@@ -91,6 +92,14 @@
                        isDirty = true;
                }
                
+               protected override StringCollection OnGetExportFiles ()
+               {
+                       StringCollection col = base.OnGetExportFiles ();
+                       foreach (Translation tr in translations)
+                               col.Add (tr.PoFile);
+                       return col;
+               }
+               
                public TranslationProjectInformation GetProjectInformation 
(CombineEntry entry, bool force)
                {
                        foreach (TranslationProjectInformation info in 
this.projectInformations) {

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

Reply via email to