From 5c0a9573675792a0a0d20027e9d119975dc86b74 Mon Sep 17 00:00:00 2001 From: luz paz Date: Mon, 5 Jul 2021 19:09:24 -0400 Subject: [PATCH] Typo fixes in source documentation and comments Found using `codespell -q 3 -S *.ts,*.po,./scribus/third_party,./doc -L ba,dum,fo` --- OSX-package/linktools/ingest.py | 2 +- doc/de/scripterapi-textframes.html | 2 +- doc/en/WwImages.html | 2 +- doc/en/WwRenderframes.html | 4 ++-- doc/en/color6.html | 2 +- doc/en/config.html | 2 +- doc/en/configfiles.html | 2 +- doc/en/faq1.html | 2 +- doc/en/importbitmap1.html | 2 +- doc/en/importhints1.html | 2 +- doc/en/install.html | 2 +- doc/en/install2.html | 2 +- doc/en/install5.html | 4 ++-- doc/en/moncal.html | 2 +- doc/en/pagenumber.html | 2 +- doc/en/pdfexport4.html | 2 +- doc/en/pdflavor.html | 2 +- doc/en/pdfx3.html | 2 +- doc/en/psd.html | 4 ++-- doc/en/readme.html | 6 +++--- doc/en/renderframes.html | 4 ++-- doc/en/scribus-svg.html | 2 +- doc/en/scripter-extensions.html | 4 ++-- doc/en/scripter2.html | 2 +- doc/en/scripterapi-page.html | 2 +- doc/en/scripterapi-textframes.html | 2 +- doc/en/toolbox20.html | 2 +- doc/en/toolbox5.html | 2 +- doc/en/workspace1.html | 2 +- doc/it/scripterapi-ImageExport.html | 2 +- doc/it/scripterapi-textframes.html | 2 +- doc/it/translation_howto.html | 2 +- doc/ru/scripter2.html | 2 +- doc/ru/scripterapi-textframes.html | 2 +- resources/dicts/hyphen_readme | 2 +- resources/templates/template.de.xml | 2 +- scribus/guidesmodel.cpp | 2 +- .../plugins/fileloader/scribus13format/scribus13format.cpp | 6 +++--- .../fileloader/scribus150format/scribus150format.cpp | 2 +- scribus/plugins/import/idml_old/importidmlimpl.h | 2 +- scribus/plugins/picbrowser/picturebrowser.cpp | 4 ++-- scribus/plugins/scripter/api_document.cpp | 2 +- scribus/plugins/scripter/python/scripter_hooks.py | 2 +- scribus/plugins/scriptplugin/cmdtext.h | 2 +- scribus/plugins/scriptplugin/objprinter.cpp | 2 +- scribus/plugins/scriptplugin/scriptercore.cpp | 2 +- scribus/plugins/scriptplugin/scripts/Ligatursatz.py | 4 ++-- scribus/plugins/scriptplugin_py2x/cmdtext.h | 2 +- scribus/plugins/scriptplugin_py2x/objprinter.cpp | 2 +- scribus/plugins/scriptplugin_py2x/scriptercore.cpp | 2 +- scribus/plugins/scriptplugin_py2x/scripts/Ligatursatz.py | 4 ++-- scribus/scribus.cpp | 2 +- scribus/scribusdoc.cpp | 2 +- scribus/styles/linestyle.cpp | 2 +- scribus/text/textlayoutpainter.h | 2 +- scribus/ui/prefs_documentsections.cpp | 2 +- win32/msvc2015/Scribus-build-rules.targets | 2 +- win32/msvc2015/scribus-main/scribuspch.h | 2 +- win32/msvc2015/scribus-rtf/scribus-rtf-pch.h | 2 +- win32/msvc2017/Scribus-build-rules.targets | 2 +- win32/msvc2017/scribus-main/scribuspch.h | 2 +- win32/msvc2017/scribus-rtf/scribus-rtf-pch.h | 2 +- win32/msvc2019/Scribus-build-rules.targets | 2 +- win32/msvc2019/scribus-main/scribuspch.h | 2 +- win32/msvc2019/scribus-rtf/scribus-rtf-pch.h | 2 +- 65 files changed, 77 insertions(+), 77 deletions(-) diff --git a/OSX-package/linktools/ingest.py b/OSX-package/linktools/ingest.py index 83a0620445..71a9d07b2f 100755 --- a/OSX-package/linktools/ingest.py +++ b/OSX-package/linktools/ingest.py @@ -10,7 +10,7 @@ def usage(): Copies all dependent libraries and frameworks into the app bundle. System libraries (/usr/lib*, /System/Library) are not copied. - Fixes the dependencies in all executabels contained in bundle. + Fixes the dependencies in all executables contained in bundle. bundle: the path to the *.app bundle -x lib: dont move lib into the bundle. diff --git a/doc/de/scripterapi-textframes.html b/doc/de/scripterapi-textframes.html index e1db42d384..152658eb6b 100644 --- a/doc/de/scripterapi-textframes.html +++ b/doc/de/scripterapi-textframes.html @@ -194,7 +194,7 @@ is not given the currently selected item is used.

setPDFBookmark(...)
setPDFBookmark("toggle", ["name"]) -

Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. If "name" is not given the currently selected item is used.

+

Sets whether (toggle = 1) the text frame "name" is a bookmark or not. If "name" is not given the currently selected item is used.

May raise WrongFrameTypeError if the target frame is not a text frame

setText(...)
diff --git a/doc/en/WwImages.html b/doc/en/WwImages.html index ed795155af..ab9e82584d 100755 --- a/doc/en/WwImages.html +++ b/doc/en/WwImages.html @@ -99,7 +99,7 @@ distorted. You should find the combination of scaling to frame size (proportional) and then Adjust Frame to Image from the Context Menu very useful for making a frame exactly the right size for your image.

The PDF Compression section tells us that you can now specify per-frame values.

The Image Effects button brings up its dialog, which allows you to apply some selected imaging manipulation, such as adjusting Brightness or Contrast, Blurring, and so on.

-Image Properties Pallette +Image Properties Palette

If you see this warning triangle in the lower right corner of your frame, it indicates that the image resolution is below 144 DPI, or whatever you have set as your minimum value in the Preflight Verifier settings in File > Preferences or File > Document Settings. This is strictly a warning.

diff --git a/doc/en/WwRenderframes.html b/doc/en/WwRenderframes.html index 94c0e72293..d21bdd56c1 100755 --- a/doc/en/WwRenderframes.html +++ b/doc/en/WwRenderframes.html @@ -98,7 +98,7 @@ in the LaTeX XML configuration file. Since there are almost no limits as to the

A blue “X” in the Render Frame along with an error message will then indicate that no content could be rendered:

Additional Notes

-

If you look at the Context Menu for Render Frames, you will get the impression that they are image frames. In a sense, that’s correct, as you can change the preview settings for Render Frames or update the content. There is, however, a major difference: As said above, the markup text ist stored within a Scribus file, and the rendered content is always created “on the fly.” Each time you open a Scribus file that contains a Render Frame, Scribus will run the program that’s necessary to render the content and create a temporary image file which will then be loaded into the frame. This is why Render Frames aren’t listed in Extras > Manage Images.

+

If you look at the Context Menu for Render Frames, you will get the impression that they are image frames. In a sense, that’s correct, as you can change the preview settings for Render Frames or update the content. There is, however, a major difference: As said above, the markup text is stored within a Scribus file, and the rendered content is always created “on the fly.” Each time you open a Scribus file that contains a Render Frame, Scribus will run the program that’s necessary to render the content and create a temporary image file which will then be loaded into the frame. This is why Render Frames aren’t listed in Extras > Manage Images.

This behavior has some consequences. While you can use a Scribus file with images on another computer by using File > Collect for Output and copying the resulting archive to another machine, Render Frames require the presence of the used software on this machine. Moreover, the feature might not work between different operating systems, because the command-line options can be different.

Another limitation is that you can’t apply any image effects to Render Frames.

@@ -113,7 +113,7 @@ and copying the resulting archive to another machine, Render Frames require the

<editorsettings description="Gnuplot" icon="gnuplot.png"> This line sets the description of the program, as well as the icon for the drop-down list in the Render Frame Editor. It must be stored in the same directory as the XML file. You can use PNG, XPM and SVG icons.

<executable command="gnuplot"> This is the command-line call of the program. You can only use software that can work on the command-line. Also, the program needs to be able to create output in either PNG, PDF or EPS format. By default, Scribus uses the command-line options for Linux/UNIX systems.

<imagefile extension=".png"/> Here you tell the editor which file format it has to expect from the external program.

-

<highlighter> </highlighter> This part is mainly interesting for programmers, as it allows for the creation of indvidual syntax highlighting schemes by using Regular Expressions. For further information see: http://docs.kde.org/kde3/en/kdeutils/KRegExpEditor/index.html and http://doc.trolltech.com/4.4/qregexp.html.

+

<highlighter> </highlighter> This part is mainly interesting for programmers, as it allows for the creation of individual syntax highlighting schemes by using Regular Expressions. For further information see: http://docs.kde.org/kde3/en/kdeutils/KRegExpEditor/index.html and http://doc.trolltech.com/4.4/qregexp.html.

<empty-frame-text> Here you can enter sample text in the markup language of the program you want to use, for instance:

plot sin(x), (cos(x))**2

<preamble> If the markup language you want to use requires a preamble, you can enter it here. It will not be displayed in the editor.

diff --git a/doc/en/color6.html b/doc/en/color6.html index 24f8bb0b47..69f9106fbd 100644 --- a/doc/en/color6.html +++ b/doc/en/color6.html @@ -61,7 +61,7 @@

Baumann System Prase

Paul Baumann, Aue, Sachsen

-

Color type: n/a; Vendor color reference: n/a
“Baumanns Neue Farbtonkarte, System Prase” is an older color system, developed by the painter Otto Prase, which was published for the first time in 1912 by the Saxonian paint manufacturer Baumann. It includes the colors and their mixtures, as well as many informations about color and chromatics and serves as the foundation for many modern color systems.

+

Color type: n/a; Vendor color reference: n/a
“Baumanns Neue Farbtonkarte, System Prase” is an older color system, developed by the painter Otto Prase, which was published for the first time in 1912 by the Saxonian paint manufacturer Baumann. It includes the colors and their mixtures, along with a lot of information about color and chromatics. It serves as the foundation for many modern color systems.

1372

CMYK

Yes

diff --git a/doc/en/config.html b/doc/en/config.html index 5c35b49343..22c48e2061 100644 --- a/doc/en/config.html +++ b/doc/en/config.html @@ -9,7 +9,7 @@

Scribus Configuration

A complex and feature-rich program like Scribus can't suit everybody's needs with a single configuration, especially if one considers that it also works on many different platforms. As Scribus grew over time, it was inevitable that users asked for more and more options to customize Scribus to suit their personal preferences/requirements. As a result, Scribus has become one of the most configurable DTP programs. Nevertheless, there will always be users for whom Scribus isn't configurable enough and others who don't want to be bothered with dozens of adjustable screws.

-

This part of the Online Help is intended to describe what you can adjust, but also to show what can be safely ignored in most cases. Please note that editorial decisions had to be made in cases of overlaps between “setup” and “usage” (e.g. color palette managament) or a special case like color management, which is complex enough to justify a separate chapter. The chapter will also attempt to help you set up other parts of your system to get the most out of Scribus.

+

This part of the Online Help is intended to describe what you can adjust, but also to show what can be safely ignored in most cases. Please note that editorial decisions had to be made in cases of overlaps between “setup” and “usage” (e.g. color palette management) or a special case like color management, which is complex enough to justify a separate chapter. The chapter will also attempt to help you set up other parts of your system to get the most out of Scribus.

diff --git a/doc/en/configfiles.html b/doc/en/configfiles.html index eb8efa7ec9..b87f551935 100644 --- a/doc/en/configfiles.html +++ b/doc/en/configfiles.html @@ -15,7 +15,7 @@

In the 1.5.x versions of Scribus, these locations have changed, at least in Linux. Even before the change, different operating systems had different schemes.

Linux

-

There are two places where you can look for these files when you are using Linux. The first is in your home directory, something like /home/username, which we'll abbreviate as $HOME. There are directories which are normally hidden from view, so if you are using a file manager you may have to select a setting such as Show Hidden Files. What you wnat to locate is $HOME/.config/scribus/. Inside this directory, you should find the following:

+

There are two places where you can look for these files when you are using Linux. The first is in your home directory, something like /home/username, which we'll abbreviate as $HOME. There are directories which are normally hidden from view, so if you are using a file manager you may have to select a setting such as Show Hidden Files. What you want to locate is $HOME/.config/scribus/. Inside this directory, you should find the following: