From f36ab43e7043760adf2a8fcf66287d72d9eaccc2 Mon Sep 17 00:00:00 2001 From: Boyuan Yang <073plan@gmail.com> Date: Tue, 9 Jan 2018 20:58:11 +0800 Subject: [PATCH] Fix typos found by codespell (#70) --- README.md | 4 ++-- dbus/org.dharkael.Flameshot.xml | 2 +- docs/desktopEntry/package/flameshot-config.desktop | 2 +- docs/desktopEntry/package/flameshot-init.desktop | 2 +- docs/desktopEntry/package/flameshot.desktop | 2 +- src/capture/widget/buttonhandler.cpp | 2 +- src/cli/commandlineparser.cpp | 2 +- src/main.cpp | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4f0bc044..cfc675db 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ In order to generate the makefile installing in `/usr` instead of in `/usr/local If you want to install in a custom directory you can define the `BASEDIR` variable. **Example**: -You whant to install Flameshot in ~/myBuilds/test. You would execute the following to do so: +You want to install Flameshot in ~/myBuilds/test. You would execute the following to do so: `qmake CONFIG+=packaging BASEDIR=~/myBuilds/test && make install` ### Runtime Dependencies @@ -200,7 +200,7 @@ I improve Flameshot in my free time because I want to create something good for If you want you can donate some bucks [here](https://www.paypal.me/lupoDharkael). ## Acknowledgment -I really appreciate those who have shown interest in the early develpment process: +I really appreciate those who have shown interest in the early development process: - [Cosmo](https://github.com/philpem) - [XerTheSquirrel](https://github.com/XerTheSquirrel) - [The members of Sugus GNU/Linux](https://github.com/SUGUS-GNULinux) diff --git a/dbus/org.dharkael.Flameshot.xml b/dbus/org.dharkael.Flameshot.xml index 9842d4c8..5bfd1b6a 100644 --- a/dbus/org.dharkael.Flameshot.xml +++ b/dbus/org.dharkael.Flameshot.xml @@ -9,7 +9,7 @@ @id: identificator of the call. Open the user interface used to capture the screen. Sends a captureTaken signal with the raw image after closing the GUI - due to a capture taken. It could send a captureFailed signal if the screenshot cant be retrieved. + due to a capture taken. It could send a captureFailed signal if the screenshot can't be retrieved. --> diff --git a/docs/desktopEntry/package/flameshot-config.desktop b/docs/desktopEntry/package/flameshot-config.desktop index ab60dfdd..95218159 100644 --- a/docs/desktopEntry/package/flameshot-config.desktop +++ b/docs/desktopEntry/package/flameshot-config.desktop @@ -3,7 +3,7 @@ Name=Configure Flameshot Name[es]=Configurar Flameshot GenericName=Screenshot tool GenericName[es]=Herramienta de captura de pantalla -Comment=Powerfull yet simple to use screenshot software. +Comment=Powerful yet simple to use screenshot software. Comment[es]=Potente pero simple de usar software de capturas. Exec=flameshot config Icon=flameshot diff --git a/docs/desktopEntry/package/flameshot-init.desktop b/docs/desktopEntry/package/flameshot-init.desktop index 3d7dd1ae..2ae5847e 100644 --- a/docs/desktopEntry/package/flameshot-init.desktop +++ b/docs/desktopEntry/package/flameshot-init.desktop @@ -3,7 +3,7 @@ Name=Launch Flameshot Name[es]=Iniciar Flameshot GenericName=Screenshot tool GenericName[es]=Herramienta de captura de pantalla -Comment=Powerfull yet simple to use screenshot software. +Comment=Powerful yet simple to use screenshot software. Comment[es]=Potente pero simple de usar software de capturas. Exec=flameshot Icon=flameshot diff --git a/docs/desktopEntry/package/flameshot.desktop b/docs/desktopEntry/package/flameshot.desktop index 95b3e986..77f46e6f 100644 --- a/docs/desktopEntry/package/flameshot.desktop +++ b/docs/desktopEntry/package/flameshot.desktop @@ -3,7 +3,7 @@ Name=Take graphical screenshot Name[es]=Tomar captura gráfica GenericName=Screen capture tool GenericName[es]=Herramienta de captura de pantalla -Comment=Powerfull yet simple to use screenshot software. +Comment=Powerful yet simple to use screenshot software. Comment[es]=Potente pero simple de usar software de capturas. Exec=flameshot gui Icon=flameshot diff --git a/src/capture/widget/buttonhandler.cpp b/src/capture/widget/buttonhandler.cpp index fd087971..1507e28f 100644 --- a/src/capture/widget/buttonhandler.cpp +++ b/src/capture/widget/buttonhandler.cpp @@ -69,7 +69,7 @@ size_t ButtonHandler::size() const { return m_vectorButtons.size(); } -// UpdatePosition updates the position of the buttons arround the +// UpdatePosition updates the position of the buttons around the // selection area. Ignores the sides blocked by the end of the screen. // When the selection is too small it works on a virtual selection with // the original in the center. diff --git a/src/cli/commandlineparser.cpp b/src/cli/commandlineparser.cpp index 49ed385e..307dcb32 100644 --- a/src/cli/commandlineparser.cpp +++ b/src/cli/commandlineparser.cpp @@ -65,7 +65,7 @@ QString optionsToString(const QList &options, } dashedOptionList << joinedDashedOptions; } - // check the lenght of the arguments + // check the length of the arguments for (auto const &arg: arguments) { if(arg.name().length() > size) size = arg.name().length(); diff --git a/src/main.cpp b/src/main.cpp index 740f9276..dfc22863 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) { CommandLineParser parser; // Add description parser.setDescription( - "Powerfull yet simple to use screenshot software."); + "Powerful yet simple to use screenshot software."); parser.setGeneralErrorMessage("See 'flameshot --help'."); // Arguments CommandArgument fullArgument("full", "Capture the entire desktop.");