Commit Graph

1472 Commits

Author SHA1 Message Date
Anonymous
ebc106a492 Translated using Weblate (Galician)
Currently translated at 40.9% (108 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/gl/
2021-09-14 16:57:04 +02:00
Anonymous
e03f7d9471 Translated using Weblate (Indonesian)
Currently translated at 52.6% (139 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/
2021-09-14 16:57:04 +02:00
Anonymous
11ddef945c Translated using Weblate (Greek)
Currently translated at 9.4% (25 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/el/
2021-09-14 16:57:04 +02:00
Anonymous
e5ee5d9206 Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.0% (0 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/nb_NO/
2021-09-14 16:57:04 +02:00
Anonymous
b97a1ebd97 Translated using Weblate (Chinese (Traditional))
Currently translated at 77.6% (205 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hant/
2021-09-14 16:57:04 +02:00
Anonymous
38b1268389 Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 55.3% (146 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hant_HK/
2021-09-14 16:57:04 +02:00
Anonymous
2037cb3832 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (263 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hans/
2021-09-14 16:57:04 +02:00
Anonymous
2528289330 Translated using Weblate (Swedish)
Currently translated at 45.0% (119 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sv/
2021-09-14 16:57:04 +02:00
Anonymous
25981028cb Translated using Weblate (Serbian (sr_SP))
Currently translated at 44.6% (118 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sr_SP/
2021-09-14 16:57:04 +02:00
Anonymous
8d1fee00df Translated using Weblate (Slovak)
Currently translated at 95.4% (252 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/sk/
2021-09-14 16:57:04 +02:00
Anonymous
6993fc16c9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.6% (263 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/pt_BR/
2021-09-14 16:57:04 +02:00
Anonymous
2f32ad0598 Translated using Weblate (Polish)
Currently translated at 95.0% (251 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/pl/
2021-09-14 16:57:03 +02:00
Anonymous
17e2e9834f Translated using Weblate (Korean)
Currently translated at 50.3% (133 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ko/
2021-09-14 16:57:03 +02:00
Anonymous
9a466143f5 Translated using Weblate (Georgian)
Currently translated at 35.9% (95 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ka/
2021-09-14 16:57:03 +02:00
Anonymous
7c176af56c Translated using Weblate (Japanese)
Currently translated at 77.2% (204 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ja/
2021-09-14 16:57:03 +02:00
Anonymous
77fedd706f Translated using Weblate (Hungarian)
Currently translated at 95.4% (252 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/hu/
2021-09-14 16:57:03 +02:00
Anonymous
2290c3b802 Translated using Weblate (French)
Currently translated at 83.7% (221 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fr/
2021-09-14 16:57:03 +02:00
Anonymous
00c844b83c Translated using Weblate (Basque)
Currently translated at 95.4% (252 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/eu/
2021-09-14 16:57:03 +02:00
Anonymous
e5a4216455 Translated using Weblate (Spanish)
Currently translated at 45.8% (121 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/es/
2021-09-14 16:57:03 +02:00
Anonymous
70b479f32a Translated using Weblate (German)
Currently translated at 99.6% (263 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/
2021-09-14 16:57:03 +02:00
Anonymous
23572e37a5 Translated using Weblate (Czech)
Currently translated at 63.6% (168 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/cs/
2021-09-14 16:57:03 +02:00
Anonymous
fba1c46c30 Translated using Weblate (Catalan)
Currently translated at 66.6% (176 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ca/
2021-09-14 16:57:03 +02:00
borgmanJeremy
fdccba5a2f Merge pull request #1898 from weblate/weblate-flameshot-flameshot
Translations update from Weblate
2021-09-14 09:53:56 -05:00
Hosted Weblate
f420ddcfa0 Merge remote-tracking branch 'origin/master' 2021-09-14 16:53:21 +02:00
Weblate (bot)
02c5514fc7 Translations update from Weblate (#1896)
* Translated using Weblate (Spanish)

Currently translated at 45.8% (121 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/es/

* Translated using Weblate (French)

Currently translated at 83.7% (221 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fr/

* Translated using Weblate (Persian)

Currently translated at 78.7% (208 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 78.7% (208 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 82.9% (219 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 82.9% (219 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 89.0% (235 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 89.0% (235 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 92.0% (243 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 92.0% (243 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 93.9% (248 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Persian)

Currently translated at 93.9% (248 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Italian)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/it/

* Translated using Weblate (Hebrew)

Currently translated at 88.2% (233 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

* Translated using Weblate (Persian)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fa/

* Translated using Weblate (Hebrew)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

Co-authored-by: borgman.jeremy <borgman.jeremy@pm.me>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
Co-authored-by: Eshagh Shahedany <eshagh094@gmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2021-09-14 09:07:12 -05:00
Haris Gušić
e0cd397dc1 Make m_context.selection synced with m_selection (#1894) 2021-09-14 08:16:03 -05:00
Hosted Weblate
9240c756ca Merge remote-tracking branch 'origin/master' 2021-09-14 15:11:18 +02:00
Haris Gušić
aca0db963b Color grabber zoom preview (#1869)
* Add ColorGrabWidget

The new widget aims to decouple color grabbing from the SidePanelWidget.

* Refactor SidePanelWidget to use ColorGrabWidget

- All color grabbing functionality is now moved to ColorGrabWidget
- SidePanelWidget now uses a more organized sigslot approach
- Removed QColorPickingEventFilter

* Fix bug and complete implementation

Timer not yet implemented.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add 0.5s timer

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix failing builds

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add hex color editor

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add right mouse button instant preview

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Make zoom widget toggle-able

* Implement OverlayMessage class

* Make Right click do the same as Space

* Unzoom widget when mouse leaves it

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix some small issues

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Toggle panel when grabbing color

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Show with timer even if magnifier active

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Reduce timer delay

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix OverlayMessage bug

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-13 09:09:25 -05:00
Haris Gušić
327e42d842 Fix drag behavior of Tool Settings button (#1891)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-13 09:09:02 -05:00
Mehrad Mahmoudian
eb52d7a9ad fix the KDE Plasma shortcut DBus calls (#1887) 2021-09-13 08:14:29 -05:00
Haris Gušić
d13501cea8 Fix FLAMESHOT_DEBUG_CAPTURE cmake option (#1888)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-13 08:14:01 -05:00
borgmanJeremy
c3dd1ce5e6 Added cmake option for debugger mode (#1885) 2021-09-11 13:45:51 -05:00
Haris Gušić
9147d4ea03 Implement tool thickness via keyboard (#1882)
* Implement changing tool size by keyboard

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix very poor performance when changing thickness

* Make thickness get saved to config

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-11 12:57:43 -05:00
Yurii Puchkov
23cf19308b The "copy to clipboard" button keeps the margin of the selected annotation #1879 (#1881)
Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-09-11 12:55:13 -05:00
Haris Gušić
accfeee022 Fix debug option for capture mode (#1884)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-11 12:54:38 -05:00
Haris Gušić
d8d428f568 Move TYPE_INVERT to bottom of enum (#1880)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-09-10 09:04:47 -05:00
James Tai
ec70df1067 Fix edit buttons appearing inside selection (#1856)
* Fix edit buttons appearing inside selection

* Reformat files
2021-09-01 06:48:19 -05:00
crackcat
df20c7ec8f Add a tool to take an inverted screenshot (#1849)
* Add invert tool to build commands

* Add icons for invert tool

* Integrate invert tool

* Add shortcut for invert tool

* Add invert tool

* Add translation for invert tool

* Run clang-format

* Update tool to invert a region instead of everything

* Update shortcut for invert tool

* Update button order of inverter and counter

* Update translations for invert tool

* Run clang-format

* Revert "Update translations for invert tool"

This reverts commit c1fd5a162be6c64b26790d53eab3749b3a124bcf.

* Revert "Add translation for invert tool"

This reverts commit b0c1da5f36e844fa8b5f1492f5f507d85bb7aa7b.

* Update drawSearchArea to match pixelate

* Update invert icon to one from Material Design

Co-authored-by: crackcat <>
2021-09-01 06:45:20 -05:00
Haris Gušić
29c7a5f781 Fix selection bug introduced in ac3e9189 (#1860)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-31 15:00:58 -05:00
Haris Gušić
e4f067b86d Fix wrong default config export path (#1848)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-30 11:11:52 -05:00
Haris Gušić
d54a515574 Make CLI and GUI version info match (#1853)
`flameshot --version` now includes the git commit hash, same as the
About window.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-30 08:39:59 -05:00
Ahmed Zetao Yang
69a43fb791 fix: rpm spec file adjustments (#1851)
* fix bogus date in %changelog
* add check for metainfo & desktop
2021-08-30 08:39:17 -05:00
Karl Horky
b779752841 Add macOS + Windows global hotkeys (#1845)
Closes https://github.com/flameshot-org/flameshot/issues/1593
2021-08-30 08:38:47 -05:00
Haris Gušić
b4c6778a56 Fall back to default shortcuts (#1843)
* Fall back to default keyboard shortcuts

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add missing shortcuts and clean up

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Remove obsolete method ConfigHandler::shortcuts

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-24 12:57:22 -05:00
Soc Virnyl S. Estela
4b26b28493 Update docs on wlroots based Wayland compositors (#1832)
* Update docs on wlroots based Wayland compositors

* Add note about clipboard bugs
2021-08-24 10:29:20 -05:00
Haris Gušić
ac3e918960 Some tweaks to the capture GUI (#1841)
* Don't show buttons if selection is inactive

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Move tool creates new selection if not visible

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Make thickness adjustment methods uniform

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Hide  cursor while changing thickness

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-24 10:28:48 -05:00
Haris Gušić
22c9ea1f47 Do not interpret empty --path as current dir (#1838)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-24 10:27:44 -05:00
Haris Gušić
41ca51bc10 Improve screenshot path handling (#1815)
* Make --path work correctly with relative paths

Relative paths are taken relative to the working directory of the calling
command, not relative to the daemon's working directory.

* Allow file paths in --path and refactor

* Remove some redundancy

These actions are already performed in the respective functions in
FlameshotDBusAdapter.

* Tweak --path error checker a bit more

* Rework FileNameHandler and update references

The class now has a much simpler interface.

- Screenshot paths are now universally determined by the function
  properScreenshotPath
- Some unreferenced methods have been removed
- The documentation of properScreenshotPath documents the changes well.

* Add crude tests for --path

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix failing build on Windows

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Add a test for invalid path

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Make tests clearer

Thanks to @mmahmoudian for his review and contribution.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fix bug in properScreenshotPath

Auto-numeration did not work when the screenshot was automatically
saved when copied to clipboard.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Fall back to default pictures location

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Revert "Remove some redundancy"

This was not redundancy. I had actually introduced a bug with this.

This reverts commit 011ef737564892e494518443e6b80ccf3d286ae1.

* Change default path only on interactive save

Previously, the default save path was changed every time a screenshot
was saved. Now, that only happens when it gets saved from the GUI.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Change --path help text

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Allow other image formats

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-20 13:10:12 -05:00
Haris Gušić
584bcd7f6c Add --clipboard to gui subcommand (#1829)
* Add --clipboard to gui subcommand

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>

* Prevent duplicate notification

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
2021-08-20 13:09:06 -05:00
Ahmed Zetao Yang
39afd66650 chore(CI): update linux distrubitions (#1825)
* feat(CI): build packages for debian 11

* chore(CI): update linux distrubitions

* remove fedora 32
2021-08-19 16:09:55 -05:00