[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kplato/plugins/scripting/scripts
From:       Dag Andersen <danders () get2net ! dk>
Date:       2008-06-27 11:15:29
Message-ID: 1214565329.426235.12969.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 825080 by danders:

Fix some mistakes/typos.


 M  +1 -1      busyinfoimport.py  
 M  +2 -2      resourcesimport.py  
 M  +3 -3      scripts.rc  


--- trunk/koffice/kplato/plugins/scripting/scripts/busyinfoimport.py #825079:825080
@@ -18,7 +18,7 @@
         self.dialog.setButtons("Ok|Cancel")
         self.dialog.setFaceType("List") #Auto Plain List Tree Tabbed
 
-        openpage = self.dialog.addPage("Save","Export Busy Info \
File","document-save") +        openpage = self.dialog.addPage("Open","Import Busy \
                Info File","document-open")
         self.openwidget = self.forms.createFileWidget(openpage, \
"kfiledialog:///kplatobusyinfoimportopen")  self.openwidget.setMode("Opening")
         self.openwidget.setFilter("*.rbi|Resource Busy Information\n*|All Files")
--- trunk/koffice/kplato/plugins/scripting/scripts/resourcesimport.py #825079:825080
@@ -14,13 +14,13 @@
         self.proj = KPlato.project()
         
         self.forms = Kross.module("forms")
-        self.dialog = self.forms.createDialog("Busy Information Import")
+        self.dialog = self.forms.createDialog("Resources Import")
         self.dialog.setButtons("Ok|Cancel")
         self.dialog.setFaceType("List") #Auto Plain List Tree Tabbed
 
         #TODO add options page ( import Calendars? Select calendars, Select \
resources... )  
-        openpage = self.dialog.addPage("Open","Import KPlato \
Resources","document-save") +        openpage = self.dialog.addPage("Open","KPlato \
                Resources","document-open")
         self.openwidget = self.forms.createFileWidget(openpage, \
"kfiledialog:///kplatresourcesimportopen")  self.openwidget.setMode("Opening")
         self.openwidget.setFilter("*.kplato|KPlato Project Files\n*|All Files")
--- trunk/koffice/kplato/plugins/scripting/scripts/scripts.rc #825079:825080
@@ -6,8 +6,8 @@
     <collection name="import" text="Import" comment="Import content">
         <script
                name="pyimportresources"
-               text="Import Resources from KPlato File"
-               comment="Python script to import resources from file"
+               text="Resources from KPlato File"
+               comment="Python script to import resources from project file"
                interpreter="python"
                file="extensions/resourcesimport.py" />
     </collection>
@@ -62,7 +62,7 @@
         The "samples" collection provides misc example scripts to demonstrate
         parts of the KPlato scripting functionality.
         //-->
-    <collection name="samples" text="Samples" comment="Samples to demonstrate \
scripting with KPlato" enabled="true"> +    <collection name="samples" text="Samples" \
comment="Samples to demonstrate scripting with KPlato" enabled="false">  <script
             name="pysampleproject"
             text="Print Project Information..."


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic