From c229bf6e5c71293fd46505503e1beee1c85181e8 Mon Sep 17 00:00:00 2001 From: reportxx <84130654+reportxx@users.noreply.github.com> Date: Sun, 3 Oct 2021 08:38:05 +0000 Subject: [PATCH] Fix typos Fix mostly capitalizations. Please review so that I didn't make any changes that cause something bad. --- resources/calibre-portable.bat | 72 +++++++++++++++++----------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/resources/calibre-portable.bat b/resources/calibre-portable.bat index 682ab5d866..934c75b24f 100644 --- a/resources/calibre-portable.bat +++ b/resources/calibre-portable.bat @@ -2,14 +2,14 @@ REM Calibre-Portable.bat REM ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ REM -REM Batch File to start a Calibre configuration on Windows +REM Batch File to start a calibre configuration on Windows REM giving explicit control of the location of: -REM - Calibre Program Files -REM - Calibre Library Files -REM - Calibre Config Files -REM - Calibre Metadata database -REM - Calibre Source files -REM - Calibre Temp Files +REM - calibre program files +REM - calibre library files +REM - calibre config files +REM - calibre metadata database +REM - calibre source files +REM - calibre temp files REM By setting the paths correctly it can be used to run: REM - A "portable calibre" off a USB stick. REM - A network installation with local metadata database @@ -22,14 +22,14 @@ REM this batch file). This can structure can also be used REM when running of a local hard disk if you want to get the REM level of control this batch file provides. REM - Calibre2 Location of program files -REM - CalibreConfig Location of Configuration files -REM - CalibreLibrary Location of Books and metadata -REM - CalibreSource Location of Calibre Source files (Optional) +REM - CalibreConfig Location of configuration files +REM - CalibreLibrary Location of books and metadata +REM - CalibreSource Location of calibre source files (Optional) REM REM This batch file is designed so that if you create the recommended REM folder structure then it can be used 'as is' without modification. REM -REM More information on the Environment Variables used by Calibre can +REM More information on the environment variables used by calibre can REM be found at: REM https://manual.calibre-ebook.com/customize.html#environment-variables REM @@ -43,7 +43,7 @@ REM file for Linux systems REM ------------------------------------- -REM Set up Calibre Config folder +REM Set up calibre config folder REM REM This is where user specific settings REM are stored. @@ -56,9 +56,9 @@ IF EXIST CalibreConfig ( REM -------------------------------------------------------------- -REM Specify Location of ebooks +REM Specify location of ebooks REM -REM Location where Book files are located +REM Location where book files are located REM Either set explicit path, or if running from a USB stick REM a relative path can be used to avoid need to know the REM drive letter of the USB stick. @@ -81,13 +81,13 @@ REM -------------------------------------------------------------- REM Specify Location of metadata database (optional) REM REM Location where the metadata.db file is located. If not set -REM the same location as Books files will be assumed. This. +REM the same location as book files will be assumed. This. REM option is typically set to get better performance when the -REM Library is on a (slow) network drive. Putting the metadata.db +REM library is on a (slow) network drive. Putting the metadata.db REM file locally then makes gives a big performance improvement. REM REM NOTE. If you use this option, then the ability to switch -REM libraries within Calibre will be disabled. Therefore +REM libraries within calibre will be disabled. Therefore REM you do not want to set it if the metadata.db file REM is at the same location as the book files. REM @@ -100,18 +100,18 @@ IF EXIST %cd%\CalibreMetadata\metadata.db ( SET CALIBRE_OVERRIDE_DATABASE_PATH=%cd%\CalibreMetadata\metadata.db ECHO DATABASE: %cd%\CalibreMetadata\metadata.db ECHO ' - ECHO ***CAUTION*** Library Switching will be disabled + ECHO ***CAUTION*** Library switching will be disabled ECHO ' ) ) REM -------------------------------------------------------------- -REM Specify Location of source (optional) +REM Specify location of source (optional) REM -REM It is easy to run Calibre from source +REM It is easy to run calibre from source REM Just set the environment variable to where the source is located REM When running from source the GUI will have a '*' after the version. -REM number that is displayed at the bottom of the Calibre main screen. +REM number that is displayed at the bottom of the calibre main screen. REM REM More information on setting up a development environment can REM be found at: @@ -127,10 +127,10 @@ IF EXIST CalibreSource\src ( REM -------------------------------------------------------------- -REM Specify Location of calibre Windows binaries (optional) +REM Specify location of calibre Windows binaries (optional) REM -REM To avoid needing Calibre to be set in the search path, ensure -REM that Calibre Program Files is current directory when starting. +REM To avoid needing calibre to be set in the search path, ensure +REM that calibre program files is current directory when starting. REM The following test falls back to using search path . REM This folder can be populated by copying the Calibre2 folder from REM an existing installation or by installing direct to here. @@ -148,14 +148,14 @@ IF EXIST %cd%\Calibre2 ( REM -------------------------------------------------------------- -REM Location of Calibre Temporary files (optional) +REM Location of calibre temporary files (optional) REM -REM Calibre creates a lot of temporary files while running -REM In theory these are removed when Calibre finishes, but +REM calibre creates a lot of temporary files while running +REM In theory these are removed when calibre finishes, but REM in practise files can be left behind (particularly if REM any errors occur). Using this option allows some REM explicit clean-up of these files. -REM If not set Calibre uses the normal system TEMP location +REM If not set calibre uses the normal system TEMP location REM -------------------------------------------------------------- SET CALIBRE_TEMP_DIR=%TEMP%\CALIBRE_TEMP @@ -170,9 +170,9 @@ SET TEMP=%CALIBRE_TEMP_DIR% REM -------------------------------------------------------------- -REM Set the Interface language (optional) +REM Set the interface language (optional) REM -REM If not set Calibre uses the language set in Preferences +REM If not set calibre uses the language set in preferences REM -------------------------------------------------------------- SET CALIBRE_OVERRIDE_LANG=EN @@ -180,7 +180,7 @@ ECHO INTERFACE LANGUAGE: %CALIBRE_OVERRIDE_LANG% REM ---------------------------------------------------------- REM The following gives a chance to check the settings before -REM starting Calibre. It can be commented out if not wanted. +REM starting calibre. It can be commented out if not wanted. REM ---------------------------------------------------------- ECHO ' @@ -192,16 +192,16 @@ REM -------------------------------------------------------- REM Start up the calibre program. REM REM The use of 'belownormal' priority helps keep the system -REM responsive while Calibre is running. Within Calibre itself +REM responsive while calibre is running. Within calibre itself REM the background processes should be set to run with 'low' priority. REM Using the START command starts up Calibre in a separate process. -REM If used without /WAIT option it launches Calibre and contines batch file. +REM If used without /WAIT option it launches calibre and contines batch file. REM normally this would simply run off the end and close the Command window. -REM Use with /WAIT to wait until Calibre completes to run a task on exit +REM Use with /WAIT to wait until calibre completes to run a task on exit REM -------------------------------------------------------- -ECHO "Starting up Calibre" +ECHO "Starting up calibre" ECHO OFF ECHO %cd% -START /belownormal Calibre --with-library "%CALIBRE_LIBRARY_DIRECTORY%" +START /belownormal calibre --with-library "%CALIBRE_LIBRARY_DIRECTORY%"