From 04b57e4957bce031390babab2601e26620875c90 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 28 Jun 2022 09:25:08 -0400 Subject: [PATCH] Fix typos (#2705) Found via `codespell -q 3 -S *.ts,./external` --- .github/workflows/Windows-pack.yml | 2 +- README.md | 2 +- docs/ReleaseNotes_11.0.md | 2 +- docs/ReleaseNotes_12.0.md | 2 +- packaging/macos/update_package.sh | 2 +- scripts/upload_services/transferwee.py | 4 ++-- src/utils/systemnotification.cpp | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Windows-pack.yml b/.github/workflows/Windows-pack.yml index 3704b8e6d6..a84866813d 100644 --- a/.github/workflows/Windows-pack.yml +++ b/.github/workflows/Windows-pack.yml @@ -125,7 +125,7 @@ jobs: working-directory: build shell: pwsh run: | - # Chocolately made thier own package called cpack and its first in the path. This is a hack since we are only using cmake's cpack, doesnt seem to be required after a CI update + # Chocolately made their own package called cpack and its first in the path. This is a hack since we are only using cmake's cpack, doesn't seem to be required after a CI update #Remove-Item C:\ProgramData\Chocolatey\bin\cpack.exe If ($env:TYPE -eq "installer") { diff --git a/README.md b/README.md index 9c7135f811..8883c09da2 100755 --- a/README.md +++ b/README.md @@ -379,7 +379,7 @@ After following all those steps above, `flameshot` will open without problems in ### Tray icon -**Note** that for the Flameshot icon to appear in your tray area, you should have a systray software installed. This is especially true for users who use minimal [window managers](https://wiki.archlinux.org/index.php/window_manager) such as [dwm](https://dwm.suckless.org/). In some [Desktop Environment](https://wiki.archlinux.org/index.php/Desktop_environment) installations (e.g Gnome), the systray might be missing and you can install an application or plugin (e.g [Gnome shell extension](https://extensions.gnome.org/extension/1503/tray-icons/)) to add the systray to your setup. It has been [reported](https://github.com/flameshot-org/flameshot/issues/1009#issuecomment-700781081)) that icon of some softwares, including Flameshot, does not show in [gnome-shell-extension-appindicator](https://github.com/ubuntu/gnome-shell-extension-appindicator). +**Note** that for the Flameshot icon to appear in your tray area, you should have a systray software installed. This is especially true for users who use minimal [window managers](https://wiki.archlinux.org/index.php/window_manager) such as [dwm](https://dwm.suckless.org/). In some [Desktop Environment](https://wiki.archlinux.org/index.php/Desktop_environment) installations (e.g Gnome), the systray might be missing and you can install an application or plugin (e.g [Gnome shell extension](https://extensions.gnome.org/extension/1503/tray-icons/)) to add the systray to your setup. It has been [reported](https://github.com/flameshot-org/flameshot/issues/1009#issuecomment-700781081)) that icon of some software, including Flameshot, does not show in [gnome-shell-extension-appindicator](https://github.com/ubuntu/gnome-shell-extension-appindicator). Alternatively, in case you don't want to have a systray, you can always call Flameshot from the terminal. See [Usage section](#usage). diff --git a/docs/ReleaseNotes_11.0.md b/docs/ReleaseNotes_11.0.md index 85feb734aa..802725e9fd 100644 --- a/docs/ReleaseNotes_11.0.md +++ b/docs/ReleaseNotes_11.0.md @@ -29,7 +29,7 @@ We will be in beta for 1-2 weeks depending on what kind of issues are found and

-- The sidebar now shows the hexidecimal color value when the color picker is used: +- The sidebar now shows the hexadecimal color value when the color picker is used:

- The about screen lists system information and allows you to copy this for easy access in bug submission forms. diff --git a/docs/ReleaseNotes_12.0.md b/docs/ReleaseNotes_12.0.md index 2903403fc1..88a83ddf41 100644 --- a/docs/ReleaseNotes_12.0.md +++ b/docs/ReleaseNotes_12.0.md @@ -66,7 +66,7 @@ This is the beta for the version 12.0 release. We will be in beta for about a we - Fix alignment bug and applied many clang format warnings by @borgmanJeremy in https://github.com/flameshot-org/flameshot/pull/2448 - fix the --print-geometry for zsh by @mmahmoudian in https://github.com/flameshot-org/flameshot/pull/2437 - fix bug on macos with save dialog by @borgmanJeremy in https://github.com/flameshot-org/flameshot/pull/2379 -- allow numpad numers to resize and fix text artifacting on large resize by @borgmanJeremy in https://github.com/flameshot-org/flameshot/pull/2386 +- allow numpad numbers to resize and fix text artifacting on large resize by @borgmanJeremy in https://github.com/flameshot-org/flameshot/pull/2386 - Zooming in/out happens at different speed by @AndreaMarangoni in https://github.com/flameshot-org/flameshot/pull/2378 - fix: arrow tool glitches by @UnkwUsr in https://github.com/flameshot-org/flameshot/pull/2395 - Fix double click by @borgmanJeremy in https://github.com/flameshot-org/flameshot/pull/2432 diff --git a/packaging/macos/update_package.sh b/packaging/macos/update_package.sh index d4f4f97405..24736d4d2b 100755 --- a/packaging/macos/update_package.sh +++ b/packaging/macos/update_package.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "Change the permision of .dmg file" +echo "Change the permission of .dmg file" hdiutil convert "flameshot.dmg" -format UDRW -o "flameshot_rw.dmg" echo "Mount it and save the device" diff --git a/scripts/upload_services/transferwee.py b/scripts/upload_services/transferwee.py index 09de00ca03..27e261f1ff 100644 --- a/scripts/upload_services/transferwee.py +++ b/scripts/upload_services/transferwee.py @@ -115,7 +115,7 @@ def download_url(url: str) -> str: def _file_unquote(file: str) -> str: """Given a URL encoded file unquote it. - All occurences of `\', `/' and `../' will be ignored to avoid possible + All occurrences of `\', `/' and `../' will be ignored to avoid possible directory traversals. """ return urllib.parse.unquote(file).replace('../', '').replace('/', '').replace('\\', '') @@ -300,7 +300,7 @@ def upload(files: List[str], message: str = '', sender: str = None, Also accepts optional parameters: - `message': message used as a description of the transfer - `sender': email address used to receive an ACK if the upload is - successfull. For every download by the recipients an email + successful. For every download by the recipients an email will be also sent - `recipients': list of email addresses of recipients. When the upload succeed every recipients will receive an email with a link diff --git a/src/utils/systemnotification.cpp b/src/utils/systemnotification.cpp index f593464a9a..903bf4cdac 100644 --- a/src/utils/systemnotification.cpp +++ b/src/utils/systemnotification.cpp @@ -14,7 +14,7 @@ // work-around for snap, which cannot install icons into // the system folder, so instead the absolute path to the -// icon (saved somwhere in /snap/flameshot/...) is passed +// icon (saved somewhere in /snap/flameshot/...) is passed #ifndef FLAMESHOT_ICON #define FLAMESHOT_ICON "flameshot" #endif