View Issue Details

IDProjectCategoryView StatusLast Update
0016772ScribusGeneralpublic2023-05-29 18:56
Reporterluzpaz Assigned Tojghali  
PrioritylowSeveritytrivialReproducibilityN/A
Status closedResolutionfixed 
Product Version1.6.0.svn 
Fixed in Version1.6.0.svn 
Summary0016772: Fix various typos
DescriptionFound via `codespell -q 3 -S *.ts,*.po,./scribus/third_party,./doc,./ChangeLog,./codegen/cheetah,./resources/templates/template.de.xml,./resources/templates/template.es.xml,./resources/unicodemap/unicodenameslist.txt,./resources/loremipsum -L ba,dum,fo,nd,pres,te`
TagsNo tags attached.
PatchYes

Activities

luzpaz

2022-03-12 19:12

reporter  

scribus-typos.patch (8,478 bytes)   
From 9564e8b9bb3918a88b55009e4ebfaf75f07ff673 Mon Sep 17 00:00:00 2001
From: luz paz <luzpaz@users.noreply.github.com>
Date: Sat, 12 Mar 2022 14:08:02 -0500
Subject: [PATCH] Fix various typos

Found via `codespell -q 3 -S *.ts,*.po,./scribus/third_party,./doc,./ChangeLog,./codegen/cheetah,./resources/templates/template.de.xml,./resources/templates/template.es.xml,./resources/unicodemap/unicodenameslist.txt,./resources/loremipsum  -L ba,dum,fo,nd,pres,te`
---
 resources/translations/CMakeLists.txt              |  2 +-
 scribus/plugins/barcodegenerator/barcode.ps        |  8 ++++----
 scribus/plugins/gettext/xtgim/xtgscanner.cpp       |  2 +-
 scribus/plugins/import/ps/import.prolog            |  2 +-
 scribus/plugins/scripter/doc/ChangeLog             |  4 ++--
 .../plugins/scriptplugin/scripts/Ligatursatz.py    |  2 +-
 .../scriptplugin_py2x/scripts/Ligatursatz.py       |  2 +-
 .../scriptplugin_py2x/scripts/importcsv2table.py   | 14 +++++++-------
 scribus/transaction.h                              |  2 +-
 scribus/ui/loremipsum.h                            |  2 +-
 10 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/resources/translations/CMakeLists.txt b/resources/translations/CMakeLists.txt
index 30a32018c..e5dcb0d50 100644
--- a/resources/translations/CMakeLists.txt
+++ b/resources/translations/CMakeLists.txt
@@ -16,7 +16,7 @@ foreach(TS_FILEPATH ${SCRIBUS_TS_FILES})
 	get_filename_component(TS_FILENAME ${TS_FILEPATH} NAME)
 	string(REGEX MATCH "\\.([0-9a-zA-Z_]*)\\." LANGSTR ${TS_FILENAME})
 	string(REPLACE "." ""  LANGSTR ${LANGSTR})
-	#append ts_filename to get the file name, appent ts_filepath to get the full path
+	#append ts_filename to get the file name, append ts_filepath to get the full path
 	if(WANT_GUI_LANG)
 		foreach(WANTED_LANG ${WANT_GUI_LANG})
 			if(LANGSTR STREQUAL WANTED_LANG)
diff --git a/scribus/plugins/barcodegenerator/barcode.ps b/scribus/plugins/barcodegenerator/barcode.ps
index 7da6e5db5..b52e46430 100644
--- a/scribus/plugins/barcodegenerator/barcode.ps
+++ b/scribus/plugins/barcodegenerator/barcode.ps
@@ -6347,7 +6347,7 @@ begin
         } if
     } if
    
-    % Concatinate fields
+    % Concatenate fields
     /binval [
         linkage {1} {0} ifelse 
         method {48 sub} forall
@@ -17846,7 +17846,7 @@ begin
     % Recompose the secondary parity codewords
     /secchk [ 0 1 scodes 1 sub { dup secochk exch get exch secechk exch get } for ] def
 
-    % Concatinate the data into final codewords
+    % Concatenate the data into final codewords
     /codewords [
         pri aload pop 
         pri 10 rscodes aload pop
@@ -18358,7 +18358,7 @@ begin
             /cwf msgbits m bpcw add 1 sub 1 getinterval def  % Last bit
             cwb allzero {/cwf (1) def /m m 1 sub def} if     % Flip last bit to avoid zeros
             cwb allones {/cwf (0) def /m m 1 sub def} if     % Flip last bit to avoid ones
-            % Concatinate the bits 
+            % Concatenate the bits 
             12 string dup 0 cwb putinterval 
             dup bpcw 1 sub cwf putinterval
             0 bpcw getinterval
@@ -22473,7 +22473,7 @@ begin
         } if
     } if
 
-    % Concatinate fields
+    % Concatenate fields
     /bits [
         cdf aload pop
         gpf aload pop
diff --git a/scribus/plugins/gettext/xtgim/xtgscanner.cpp b/scribus/plugins/gettext/xtgim/xtgscanner.cpp
index 80ec6d6f8..653b21422 100755
--- a/scribus/plugins/gettext/xtgim/xtgscanner.cpp
+++ b/scribus/plugins/gettext/xtgim/xtgscanner.cpp
@@ -607,7 +607,7 @@ void XtgScanner::setXPresOwn()
 {
 
 	m_unsupported.insert(m_token+')');
-	//All these tags are unsupported in Scribus, so just ignoring them till we find close paranthesis
+	//All these tags are unsupported in Scribus, so just ignoring them till we find close parenthesis
 	while (lookAhead() != QChar(')'))
 		m_textIndex=m_textIndex+1;
 	m_textIndex=m_textIndex+1;//Ignore )
diff --git a/scribus/plugins/import/ps/import.prolog b/scribus/plugins/import/ps/import.prolog
index 759d2ff97..7fe01eb39 100644
--- a/scribus/plugins/import/ps/import.prolog
+++ b/scribus/plugins/import/ps/import.prolog
@@ -254,7 +254,7 @@ currentpagedevice /HWResolution get aload pop
 	exch pop
 } bind def
 
-% Code for reading patters is currently commented out, as it
+% Code for reading patterns is currently commented out, as it
 % doesn't seem to work correctly.
 % /makepattern { % dict matrix  makepattern patterndict
 % %/makepattern =
diff --git a/scribus/plugins/scripter/doc/ChangeLog b/scribus/plugins/scripter/doc/ChangeLog
index 3bdd5c49f..1fe52723f 100644
--- a/scribus/plugins/scripter/doc/ChangeLog
+++ b/scribus/plugins/scripter/doc/ChangeLog
@@ -325,7 +325,7 @@
 	* CMakeLists.txt, api_example.cpp, api_example.h, api_prefs.cpp,
 	  api_prefs.h, pythonize.cpp, pythonize.h, scripterng.cpp,
 	  scripterng.h, scripterngimpl.cpp, scripterngimpl.h: Added
-	  copyright header and fixed indention with astyle
+	  copyright header and fixed indentation with astyle
 	  Forgot to add api_document to CMakeLists
 
 2008-08-06 15:15  henning
@@ -461,7 +461,7 @@
 2008-06-10 00:13  henning
 
 	* README, scripterngimpl.cpp: added README document and unified
-	  some indentions
+	  some indentations
 
 2008-06-09 22:21  henning
 
diff --git a/scribus/plugins/scriptplugin/scripts/Ligatursatz.py b/scribus/plugins/scriptplugin/scripts/Ligatursatz.py
index 68cfc134a..0870f8ed5 100644
--- a/scribus/plugins/scriptplugin/scripts/Ligatursatz.py
+++ b/scribus/plugins/scriptplugin/scripts/Ligatursatz.py
@@ -263,7 +263,7 @@ class GermanLigatureSupport:
         uppercase ẞ to lowercase ß. I think the
         only relevant application of this “one-to-many
         mapping” for the german language is the sharp
-        s. As the patter is generated for
+        s. As the pattern is generated for
         both (normal german with ß and swiss
         german without ß but with ss), this “one-to-many
         folding” is not necessary. A simple
diff --git a/scribus/plugins/scriptplugin_py2x/scripts/Ligatursatz.py b/scribus/plugins/scriptplugin_py2x/scripts/Ligatursatz.py
index 4a97d086e..2b37af998 100644
--- a/scribus/plugins/scriptplugin_py2x/scripts/Ligatursatz.py
+++ b/scribus/plugins/scriptplugin_py2x/scripts/Ligatursatz.py
@@ -263,7 +263,7 @@ class GermanLigatureSupport:
         uppercase ẞ to lowercase ß. I think the
         only relevant application of this “one-to-many
         mapping” for the german language is the sharp
-        s. As the patter is generated for
+        s. As the pattern is generated for
         both (normal german with ß and swiss
         german without ß but with ss), this “one-to-many
         folding” is not necessary. A simple
diff --git a/scribus/plugins/scriptplugin_py2x/scripts/importcsv2table.py b/scribus/plugins/scriptplugin_py2x/scripts/importcsv2table.py
index cff845829..b987998c9 100644
--- a/scribus/plugins/scriptplugin_py2x/scripts/importcsv2table.py
+++ b/scribus/plugins/scriptplugin_py2x/scripts/importcsv2table.py
@@ -79,13 +79,13 @@ except ImportError,err:
 
 #########################
 # YOUR IMPORTS GO HERE  #
-#########################
-import csv
-
-#get information about the area where the bale should be drawn
-def getPosition():
-    if scribus.selectionCount() == 1:
-        areaname = scribus.getSelectedObject()
+#########################
+import csv
+
+#get information about the area where the table should be drawn
+def getPosition():
+    if scribus.selectionCount() == 1:
+        areaname = scribus.getSelectedObject()
         position= scribus.getPosition(areaname)
         vpos = position[1]
         hpos = position[0]
diff --git a/scribus/transaction.h b/scribus/transaction.h
index e442e7cb9..f80eeae2d 100644
--- a/scribus/transaction.h
+++ b/scribus/transaction.h
@@ -93,7 +93,7 @@ public:
 	virtual void markFailed();
 
 	/**
-		Reset underlyng transaciton data
+		Reset underlying transaction data
 	 */
 	virtual void reset();
 
diff --git a/scribus/ui/loremipsum.h b/scribus/ui/loremipsum.h
index 3e0e30547..b0044510e 100644
--- a/scribus/ui/loremipsum.h
+++ b/scribus/ui/loremipsum.h
@@ -49,7 +49,7 @@ class SCRIBUS_API LoremParser
 {
 public:
 	/*! parse a XML file with given name
-	\param filename string fith the file name with full/relative path */
+	\param filename string of the file name with full/relative path */
 	LoremParser(const QString& filename);
 	~LoremParser(){};
 
-- 
2.35.1

scribus-typos.patch (8,478 bytes)   

jghali

2022-03-12 22:07

administrator   ~0049600

Applied, thanks!

Issue History

Date Modified Username Field Change
2022-03-12 19:12 luzpaz New Issue
2022-03-12 19:12 luzpaz File Added: scribus-typos.patch
2022-03-12 22:07 jghali Assigned To => jghali
2022-03-12 22:07 jghali Status new => resolved
2022-03-12 22:07 jghali Resolution open => fixed
2022-03-12 22:07 jghali Fixed in Version => 1.6.0.svn
2022-03-12 22:07 jghali Note Added: 0049600
2023-05-29 18:56 cbradney Status resolved => closed