Author: mhutch
Date: 2008-01-14 15:28:24 -0500 (Mon, 14 Jan 2008)
New Revision: 92900

Modified:
   branches/monodevelop/extras/BooBinding/1.0/ChangeLog
   branches/monodevelop/extras/BooBinding/1.0/Gui/ShellTextView.boo
   branches/monodevelop/extras/BooBinding/1.0/po/cs.po
   
branches/monodevelop/extras/BooBinding/1.0/templates/BooGtkSharpWindow.xft.xml
   
branches/monodevelop/extras/BooBinding/1.0/templates/BooLibraryProject.xpt.xml
Log:
2008-01-11  Michael Hutchinson <[EMAIL PROTECTED]> 

        * Gui/ShellTextView.boo: Use PropertyService.ConfigPath instead of
          hardcoding config location.
        * templates/BooLibraryProject.xpt.xml: Use CodeDOM to generate class 
file.
          Fixes "Bug 350626 - Boo templates syntactically incorrect".

2008-01-02  Michael Hutchinson <[EMAIL PROTECTED]> 

        * templates/BooGtkSharpWindow.xft.xml: Use ${EscapedIdentifier} instead 
of
          ${Name} so that classes/files can be named as language keywords.

2007-12-29 David Makovsk?\195?\189 (Yakeen) <[EMAIL PROTECTED]>

        * po/cs.po: updated translation



Modified: branches/monodevelop/extras/BooBinding/1.0/ChangeLog
===================================================================
--- branches/monodevelop/extras/BooBinding/1.0/ChangeLog        2008-01-14 
20:10:28 UTC (rev 92899)
+++ branches/monodevelop/extras/BooBinding/1.0/ChangeLog        2008-01-14 
20:28:24 UTC (rev 92900)
@@ -1,3 +1,19 @@
+2008-01-11  Michael Hutchinson <[EMAIL PROTECTED]> 
+
+       * Gui/ShellTextView.boo: Use PropertyService.ConfigPath instead of
+         hardcoding config location.
+       * templates/BooLibraryProject.xpt.xml: Use CodeDOM to generate class 
file.
+         Fixes "Bug 350626 - Boo templates syntactically incorrect".
+
+2008-01-02  Michael Hutchinson <[EMAIL PROTECTED]> 
+
+       * templates/BooGtkSharpWindow.xft.xml: Use ${EscapedIdentifier} instead 
of
+         ${Name} so that classes/files can be named as language keywords.
+
+2007-12-29 David Makovský (Yakeen) <[EMAIL PROTECTED]>
+
+        * po/cs.po: updated translation
+
 2007-12-17  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * Gui/ShellTextView.boo: Track api changes.

Modified: branches/monodevelop/extras/BooBinding/1.0/Gui/ShellTextView.boo
===================================================================
--- branches/monodevelop/extras/BooBinding/1.0/Gui/ShellTextView.boo    
2008-01-14 20:10:28 UTC (rev 92899)
+++ branches/monodevelop/extras/BooBinding/1.0/Gui/ShellTextView.boo    
2008-01-14 20:28:24 UTC (rev 92900)
@@ -94,11 +94,10 @@
                self.ModifyFont(Model.Properties.Font)
 
                # FIXME: Put the project file somewhere other than /tmp
-               monodevelopConfigDir = System.IO.Path.Combine 
(Environment.GetFolderPath (Environment.SpecialFolder.Personal), 
".config/MonoDevelop/")
-               shellProjectFile = System.IO.Path.Combine 
(monodevelopConfigDir, "${Model.LanguageName}-shell-project.mdp")
+               shellProjectFile = System.IO.Path.Combine 
(MonoDevelop.Core.PropertyService.ConfigPath, 
"${Model.LanguageName}-shell-project.mdp")
 
                // 'touch' the file so the MD parsing foo sees it as existing.
-               _fakeFileName = System.IO.Path.Combine (monodevelopConfigDir, 
"shell-dummy-file.${Model.MimeTypeExtension}")
+               _fakeFileName = System.IO.Path.Combine 
(MonoDevelop.Core.PropertyService.ConfigPath, 
"shell-dummy-file.${Model.MimeTypeExtension}")
                if not System.IO.File.Exists (_fakeFileName):
                        _fileInfo  = System.IO.File.Create (_fakeFileName)
                        _fileInfo.Close ()

Modified: branches/monodevelop/extras/BooBinding/1.0/po/cs.po
===================================================================
--- branches/monodevelop/extras/BooBinding/1.0/po/cs.po 2008-01-14 20:10:28 UTC 
(rev 92899)
+++ branches/monodevelop/extras/BooBinding/1.0/po/cs.po 2008-01-14 20:28:24 UTC 
(rev 92900)
@@ -6,16 +6,18 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: monodevelop 0.9\n"
+"Project-Id-Version: MonoDevelop Boo Addin\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: \n"
-"PO-Revision-Date: 2007-07-29 22:21+0100\n"
+"PO-Revision-Date: 2007-12-23 22:59+0100\n"
 "Last-Translator: David Makovský (Yakeen) <[EMAIL PROTECTED]>\n"
 "Language-Team: Czech <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+"X-Poedit-Language: Czech\n"
+"X-Poedit-Country: CZECH REPUBLIC\n"
 
 #: ../templates/BooGtkSharpProject.xpt.xml:7
 msgid "Gtk# Project"
@@ -55,108 +57,105 @@
 
 #: ../templates/EmptyBooProject.xpt.xml:11
 msgid "Creates an empty Boo solution."
-msgstr "Vytvoří prázdný Boo projekt."
+msgstr "Vytvoří prázdnou Boo sestavu."
 
 #: ../Gui/ShellTextView.boo:195
 msgid "Copy Script"
-msgstr ""
+msgstr "Kopírovat skript"
 
 #: ../Gui/ShellTextView.boo:199
 msgid "Save Script As ..."
-msgstr ""
+msgstr "Uložit skript jako..."
 
 #: ../Gui/ShellTextView.boo:203
 msgid "Load Project Assemblies (forces shell reset)"
-msgstr ""
+msgstr "Načíst assembly projektu (vynutí si reset konzole)"
 
 #: ../Gui/ShellTextView.boo:210
-#, fuzzy
 msgid "Reset Shell"
-msgstr "Konzole Boo"
+msgstr "Reset konzole"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:42
 msgid "Enable debug"
-msgstr ""
+msgstr "Zapnout ladění"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:43
 msgid "Enable ducky mode"
-msgstr ""
+msgstr "Zapnout ducky mód"
 
-#: ../Gui/OptionPanels/CodeCompilationPanel.boo:88 ../BooBinding.addin.xml:50
+#: ../Gui/OptionPanels/CodeCompilationPanel.boo:88 ../BooBinding.addin.xml:52
 msgid "Code Generation"
 msgstr "Vytváření kódu"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:89
 msgid "Output Path"
-msgstr ""
+msgstr "Cesta výstupu"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:93
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:100
 msgid "Output Assembly"
-msgstr ""
+msgstr "Výstup kompilace"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:95
 msgid "Warnings and Compiler Options"
-msgstr ""
+msgstr "Varování a volby kopilátoru"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:97
 msgid "Compiler"
-msgstr ""
+msgstr "Kompilátor"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:98
 msgid "Culture"
-msgstr ""
+msgstr "Kultura"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:106
 msgid "Executable"
-msgstr ""
+msgstr "Program"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:110
-#, fuzzy
 msgid "Library"
-msgstr "Boo knihovna"
+msgstr "Knihovna"
 
 #: ../Gui/OptionPanels/CodeCompilationPanel.boo:114
 msgid "Executable with GUI"
-msgstr ""
+msgstr "Program s GUI"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:50
-#, fuzzy
 msgid "General Options"
-msgstr "Vytváření kódu"
+msgstr "Obecná nastavení"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:52
 msgid "Automatically indent new lines in code blocks"
-msgstr ""
+msgstr "Automaticky odsazovat nové řádky do bloků"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:53
 msgid "Shell reset clears scollback"
-msgstr ""
+msgstr "Reset konzole smaže paměť rolování"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:54
 msgid "Shell reset clears command history"
-msgstr ""
+msgstr "Reset konzole smaže historii příkazů"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:55
 msgid "Load project assemblies after building them (Causes shell reset)"
-msgstr ""
+msgstr "Načíst assembly projektu po jejich sestavení (vynutí si reset konzole)"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:56
 msgid "Font"
-msgstr ""
+msgstr "Písmo"
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:57
 msgid "Use default monospace font"
-msgstr ""
+msgstr "Použít implicitní písmo monospace "
 
 #: ../Gui/OptionPanels/GeneralShellPanel.boo:58
 msgid "Use custom font:"
-msgstr ""
+msgstr "Použít vlastní písmo:"
 
-#: ../BooBinding.addin.xml:28
+#: ../BooBinding.addin.xml:30
 msgid "Boo Files"
 msgstr "Soubory Boo (*.boo)"
 
-#: ../BooBinding.addin.xml:80 ../BooBinding.addin.xml:88
+#: ../BooBinding.addin.xml:82 ../BooBinding.addin.xml:90
 msgid "Boo Shell"
 msgstr "Konzole Boo"

Modified: 
branches/monodevelop/extras/BooBinding/1.0/templates/BooGtkSharpWindow.xft.xml
===================================================================
--- 
branches/monodevelop/extras/BooBinding/1.0/templates/BooGtkSharpWindow.xft.xml  
    2008-01-14 20:10:28 UTC (rev 92899)
+++ 
branches/monodevelop/extras/BooBinding/1.0/templates/BooGtkSharpWindow.xft.xml  
    2008-01-14 20:28:24 UTC (rev 92900)
@@ -18,9 +18,9 @@
 import System
 import Gtk
 
-class ${Name}(Window):
+class ${EscapedIdentifier}(Window):
        def constructor():
-               super("${Name}")
+               super("${EscapedIdentifier}")
 ]]></File>
        </TemplateFiles>
        

Modified: 
branches/monodevelop/extras/BooBinding/1.0/templates/BooLibraryProject.xpt.xml
===================================================================
--- 
branches/monodevelop/extras/BooBinding/1.0/templates/BooLibraryProject.xpt.xml  
    2008-01-14 20:10:28 UTC (rev 92899)
+++ 
branches/monodevelop/extras/BooBinding/1.0/templates/BooLibraryProject.xpt.xml  
    2008-01-14 20:28:24 UTC (rev 92900)
@@ -24,11 +24,7 @@
                <Project name = "${ProjectName}" directory = ".">
                        <Options Target = "Library" />
                        <Files>
-                               <File name="MyClass.boo"><![CDATA[import System
-class MyClass :
-       def constructor :
-               // Add code here
-               ]]></File>
+                               <FileTemplateReference TemplateID="EmptyClass" 
name="MyClass.boo" />
                        </Files>
 
                </Project>

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

Reply via email to