r21062 by gpittman -

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 5 22:05:55 UTC 2016


Author: gpittman
Date: Sat Mar  5 22:05:55 2016
New Revision: 21062

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21062
Log:
Fixed typos in various sample scripts

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/color2csv.py
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/csv2color.py

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21062&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py	Sat Mar  5 22:05:55 2016
@@ -11,17 +11,17 @@
 CHANGELOGS
 Original script is quotes.py or autoquotes.py
 9 oct 2013 :
-The algorythm has been slightly changed for determining
+The algorithm has been slightly changed for determining
 whether a quote is opening or closing
 + it provides the choice for the type of space to add :
-none or non breaking or thin or non breaking thin
-+ spaces are only aded when not allready there...
+none or non-breaking or thin or non-breaking thin
++ spaces are only added when not already there...
 + a french version of the dialogs is included
 25 oct 2013 :
-choice to change the spaces for allready existing correct doublequotes
-if 'none' is choosen, then existing spaces inside double quotes are deleted
-+ take into account allready existing doublequotes for the correct choice open / close of next dquote
-+ warning if some open/close unconsistency is detected
+choice to change the spaces for already existing correct doublequotes
+if 'none' is chosen, then existing spaces inside double quotes are deleted
++ take into account already existing doublequotes for the correct choice open / close of next dquote
++ warning if some open/close inconsistency is detected
 for example in « texte " suite »
 
 LIMITS
@@ -42,7 +42,7 @@
 Detected errors shut down the script with an appropriate message.
 A dialog then asks what is your choice as for spaces.
 Follow indications and answer 0, 1, 2 or 3 
-Another dialog asks wether you want the script to manage 
+Another dialog asks whether you want the script to manage 
 existing correct doublequotes.
 
 
@@ -346,4 +346,4 @@
                         icon=scribus.ICON_NONE,button1=scribus.BUTTON_OK)
 else:
     scribus.messageBox("Done", 'Successfully ran script\n'+str(nbchange)+' replacements have occurred' + debugmessage, # Change this message to your liking
-                        icon=scribus.ICON_NONE,button1=scribus.BUTTON_OK)
+                        icon=scribus.ICON_NONE,button1=scribus.BUTTON_OK)

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21062&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py	Sat Mar  5 22:05:55 2016
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 """ This is a simple 'Calendar creation wizard' for Scribus. It's a fully
-rewritten Calender.py from Scribus examples. Enjoy.
+rewritten Calendar.py from Scribus examples. Enjoy.
 
 DESCRIPTION & USAGE:
 This script needs Tkinter. It will create a GUI with available options

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/color2csv.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21062&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/color2csv.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/color2csv.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/color2csv.py	Sat Mar  5 22:05:55 2016
@@ -5,7 +5,7 @@
 
 Export Scribus Colors to CSV
 
-color2csv.py allows a user to export  the colors of a given scribus document in a csv file. The file will be a text file with comma seperated values in the following format:
+color2csv.py allows a user to export  the colors of a given scribus document in a csv file. The file will be a text file with comma separated values in the following format:
 "colorname", c,m,y,k 
 
 If there is a document opened in scribus, color2csv uses this document as color source.
@@ -110,7 +110,7 @@
         
         #@TODO: optimize path checking
         if filename !="":
-            if os.path.exists(filename): #make shure we don't accidentaly overwrite existing files
+            if os.path.exists(filename): #make sure we don't accidentally overwrite existing files
                 answer= scribus.messageBox("color2csv", "File already exists! \n do you want to overwrite it?",  icon=scribus.ICON_WARNING,  button1=scribus.BUTTON_YES,  button2=scribus.BUTTON_ABORT)
                 if answer == scribus.BUTTON_YES:
                     writeColorCsvFile(filename,  cols)

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/csv2color.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21062&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/csv2color.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/csv2color.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/csv2color.py	Sat Mar  5 22:05:55 2016
@@ -6,14 +6,14 @@
 Import Colors from a CSV file to Scribus
 
 csv2color.py allows a user to import colors from a given csv file into a scribus document. 
-The file must be a text file with comma seperated values in the following format:
+The file must be a text file with comma separated values in the following format:
 
 "colorname", c,m,y,k 
 
 There must be a document opend in scribus where the colors can be defined in. 
 If the csv contanins one or more color names that already exist in the document, the colors will be imported with a `*` as prefix.
 
-This script is especially helpfull if you want to use CMYK color representations of color systems like HKS, Pantone or RAL in Scribus. Lots of such CMYK translation tables can be found on the Web. 
+This script is especially helpful if you want to use CMYK color representations of color systems like HKS, Pantone or RAL in Scribus. Lots of such CMYK translation tables can be found on the Web. 
 One can easily copy such a table into a text file, save it in the obove described format and import it into a scribus document.
 
 Use color2csv to export the colors from a scribus document into a csv file.




More information about the scribus-commit mailing list