Compare commits

..

278 Commits

Author SHA1 Message Date
aa746721f0
i18n: update ts files 2024-11-07 00:15:59 +08:00
42e3d4c691
feat: animation pause and manually step to next frame
Resolve: https://github.com/BLumia/pineapple-pictures/issues/85
2024-11-06 20:28:39 +08:00
Weblate (bot)
a993437983
i18n: Translations update from Hosted Weblate (#133)
* Translated using Weblate (Korean)

Currently translated at 100.0% (152 of 152 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (157 of 157 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (157 of 157 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Italian)

Currently translated at 100.0% (157 of 157 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/

---------

Co-authored-by: VenusGirl <VenusGirl@outlook.com>
Co-authored-by: Sabri Ünal <yakushabb@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2024-11-06 20:27:31 +08:00
8cce48e6b0
feat: check conflict shortcuts before saving 2024-11-03 00:46:21 +08:00
d0bdc71cf5
chore: shortcut-related code tweaks 2024-11-02 09:32:51 +08:00
2071e82e1d
i18n: update ts files 2024-10-31 00:01:08 +08:00
b2f10b9193
chore: fix ubuntu 22.04 build ...again 2024-10-30 00:15:47 +08:00
9eb91dedf9
chore: fix ubuntu 22.04 build 2024-10-30 00:05:49 +08:00
6f3c30fc5b
chore: fix qmake build 2024-10-29 23:44:48 +08:00
3eade9c3cf
feat: support custom shortcut for existing actions
Resolve https://github.com/BLumia/pineapple-pictures/issues/128

Actually also https://github.com/BLumia/pineapple-pictures/issues/72
but not sure why that one is now a 404 page.
2024-10-29 23:28:27 +08:00
fad7a668e3
fix: not able to load translations 2024-10-27 13:49:24 +08:00
c68e82c7c8
chore: update release info to 0.8.2 2024-10-27 00:06:40 +08:00
7e04ba84eb
chore(CI): msvc build with libavif 2024-10-26 15:18:54 +08:00
29355c7fc1
fix: actual proper fix for 471a3b1 2024-10-22 21:35:50 +08:00
Weblate (bot)
95f85374cf
i18n: Translations update from Hosted Weblate (#125)
* Translated using Weblate (Japanese)

Currently translated at 98.6% (149 of 151 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

* Translated using Weblate (Italian)

Currently translated at 100.0% (152 of 152 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (152 of 152 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

---------

Co-authored-by: mmahhi <mmahhi@users.noreply.hosted.weblate.org>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-10-22 00:38:29 +08:00
471a3b15ef
fix: incorrect config location
This caused by the setting singleton instance (actually,
QStandardPath::writableLocation) was used before QApplication
was constructed, resulting it doesn't know the application
name. So we manually append the name to the path...
2024-10-21 22:27:57 +08:00
5d2ddc199a
chore(CI): bump msvc build to use Qt 6.8.0 2024-10-12 19:57:27 +08:00
fa0b86a995 chore: fix incorrect syntax of COPY command in msvc-cmake-build.
- Fix incorrect syntax of COPY which cause we fail to copy LICENSE in final distribution package.
- Add workflow_dispatch condition in workflow files to allow manual trigger.
2024-10-12 14:25:28 +08:00
b880406474
i18n: update ts files 2024-10-11 00:30:13 +08:00
470a29c38c
feat: option to use light checkerboard by default 2024-10-10 22:58:11 +08:00
3a5ead8cc2
fix(CI): qmake build 2024-09-17 19:48:03 +08:00
4dd3f22d88
chore: make use of CMake project version 2024-09-17 19:28:05 +08:00
3a4ea573f6
fix(dist): add last release info to AppStream 2024-09-16 10:56:10 +08:00
d574018a8e
CI: bump dependencies version 2024-08-24 15:33:27 +08:00
Weblate (bot)
ae0f11c153
i18n: Translations update from Hosted Weblate (#124)
* Translated using Weblate (Spanish)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Turkish)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

* Translated using Weblate (Italian)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/

* Translated using Weblate (Japanese)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: mmahhi <mmahhi@users.noreply.hosted.weblate.org>
2024-08-24 15:29:57 +08:00
2bca7bd691
fix: move to trash not reload current item 2024-07-31 20:21:10 +08:00
c2226ef5c7
chore: update translation strings 2024-07-31 19:41:51 +08:00
3596f9eac4 fix: window title not updated in some cases 2024-07-30 23:25:34 +08:00
a6e31a2c4d
feat: cli argument to list supported image formats 2024-07-28 16:16:20 +08:00
cd01a05f23
chore: sync playlistmanager changes 2024-07-28 16:14:14 +08:00
f32cb998ae
fix: crash caused by urlByIndex() with invalid model index
Also save a QVariant convert for QUrl
2024-07-21 00:52:32 +08:00
eb2e2e93f9
refactor(playlist): playlist itself as model
This could make state management easier, and also make it reusable
just in case we need to attach the playlist to a view.
2024-07-20 23:18:42 +08:00
4a095a0cfd
chore: add jfif to supported formats 2024-07-20 13:53:29 +08:00
zhongyic00
d01297043e fix: playlist filter should consider plugins
setAutoLoadFilterSuffix with formats dynammically got from QImageReader, fix https://github.com/BLumia/pineapple-pictures/issues/120
2024-07-20 13:36:03 +08:00
Weblate (bot)
ae257ea567
i18n: Translations update from Hosted Weblate (#119)
* Translated using Weblate (Japanese)
* Translated using Weblate (Norwegian Bokmål)

Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

---------

Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: ovl-1 <ovl-002@mailinator.com>
2024-07-20 13:04:55 +08:00
edb1a84601
chore(CI): msvc build also build with exiv2 2024-07-13 15:59:13 +08:00
0436dfab39
chore: add FUNDING.yml 2024-07-07 13:43:28 +08:00
Weblate (bot)
87ed730891
chore: Make transifex CI happy
Since the actual translation content didn't change at all.
2024-07-07 13:39:54 +08:00
85d6762828
chore: remove vendored FindLibExiv2.cmake 2024-07-06 18:46:08 +08:00
a6360d5e66
CI(msvc): clean before deploy and use newer qt 2024-07-06 16:38:45 +08:00
a217ce9ee8
CI(msvc): switch to Qt 6 and CMake 2024-07-06 15:23:33 +08:00
9fe3aca774
chore: release 0.8.0 2024-06-29 14:33:26 +08:00
c636b14af8
chore: temporary limit svg support to Tiny 1.2-only 2024-06-28 18:40:50 +08:00
f8587020d7 chore(CMake): make use of qt_add_translations 2024-06-28 18:39:16 +08:00
495ff31518
fix(CI): cinst no longer available, also use Qt 6.7 2024-06-28 12:38:49 +08:00
Weblate (bot)
2671b6061d
i18n: Translations update from Hosted Weblate (#116)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (147 of 147 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Added translation using Weblate (Spanish)

* Translated using Weblate (Spanish)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/es/

---------

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2024-06-28 12:33:14 +08:00
d52f22c0de chore(CI): add ubuntu 24.04 build 2024-05-18 00:22:55 +08:00
471f6b9f32
chore: update README and project file tweaks 2024-04-28 00:12:44 +08:00
2a30cc0dd3
fix(CI): build with macos-latest M1 runner 2024-04-27 13:24:49 +08:00
8435fa0a9d
chore: update README 2024-04-25 23:19:54 +08:00
99252ab732
chore(CI): skip tls and networkinformation qt plugin 2024-04-20 16:59:50 +08:00
7ec4420eaf
chore(UI): add icon for properties action
I didn't add this icon because QTBUG-124085, and since I fixed that
issue (and also since we won't use Qt 6.7.0 for Windows build), let's
add the icon back ;)
2024-04-20 13:53:44 +08:00
a83cc61148
fix: incorrect header include position 2024-04-19 00:48:28 +08:00
e0fda8f3b0
feat: support move image file to trash
Resolve: BLumia/pineapple-pictures#42
2024-04-15 01:16:00 +08:00
Weblate (bot)
37cfdad799
i18n: Translated using Weblate (Japanese) (#114)
Currently translated at 100.0% (144 of 144 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

Co-authored-by: mmahhi <masa10suda@gmail.com>
2024-04-15 01:14:31 +08:00
370e64f192
chore(AppStream): add id for developer tag 2024-04-14 20:07:10 +08:00
d27f94bc4d
chore: release 0.7.4 2024-04-12 20:25:07 +08:00
be20c3d389
chore: use Qt 6 by default 2024-04-05 14:07:29 +08:00
6145925283
feat: add some icons for corresponding menu actions 2024-04-03 19:56:46 +08:00
bba4863853
chore: hello again, 2024! 2024-03-17 00:05:04 +08:00
a459dc2be6
i18n: update AppStream metainfo translation
...and translators.html
2024-03-17 00:02:52 +08:00
Weblate (bot)
f1da25f766
i18n: Translations update from Hosted Weblate (#111)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Turkish)

---------

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
2024-03-15 15:11:18 +08:00
0e8370c39a
chore(CI): bump workflow and dependencies version 2024-02-16 13:33:10 +08:00
a452ea2644
chore: hello 2024 2024-02-16 11:58:32 +08:00
2fc6c59a30
chore: update translators.html 2023-12-10 16:06:31 +08:00
67e6eac520
i18n: update AppStream metainfo translations 2023-12-10 16:01:11 +08:00
Weblate (bot)
710d633678
i18n: Translations update from Hosted Weblate (#110)
* Added translation using Weblate (Ukrainian)
* Added translation using Weblate (Japanese)

---------

Co-authored-by: volkov <d2oo1dle2x@gmail.com>
Co-authored-by: mmahhi <masa10suda@gmail.com>
2023-12-10 14:43:42 +08:00
Weblate (bot)
23f160221b
i18n: Translations update from Hosted Weblate (#106)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Japanese)
* Translated using Weblate (Indonesian)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/

---------

Co-authored-by: volkov <d2oo1dle2x@gmail.com>
Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
2023-11-28 12:51:53 +08:00
rewine
2d718b013b chore: use std::as_const() instead of qAsConst
Waring: constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<QString>; typename std::add_const<_Tp>::type = const QList<QString>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
2023-11-27 09:36:07 +08:00
19de914046
fix(CI): disable some options when building karchive 2023-11-26 01:41:39 +08:00
1aa9674179
fix(CI): add NEWS file to REUSE dep5 config file 2023-11-26 00:59:53 +08:00
fd5929bc47
chore: add NEWS file and update AppStream metainfo file 2023-10-24 19:12:25 +08:00
6158dfa630
chore: prepare release for 0.7.3 2023-10-22 23:47:13 +08:00
Weblate (bot)
9300f7812f
Translations update from Hosted Weblate (#102)
* Translated using Weblate (Italian)
* Translated using Weblate (Spanish)
* Translated using Weblate (Dutch)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/it/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
2023-10-22 23:39:15 +08:00
9677fed3f2
i18n: tweak the copywriting for 'Keep transformation', update ts files 2023-10-15 17:42:46 +08:00
7634c6db2b
chore: update translators.html 2023-10-15 17:32:01 +08:00
Weblate (bot)
438103587a
Translations update from Hosted Weblate (#101)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (142 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

* Translated using Weblate (Korean)

Currently translated at 100.0% (142 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/

---------

Co-authored-by: mmahhi <masa10suda@gmail.com>
Co-authored-by: VenusGirl <VenusGirl@outlook.com>
2023-10-15 17:27:50 +08:00
6e5bde68d8
feat: add "Keep transformation" to menu
This could be helpful when viewing a gallery with similar size, which
need to apply same transformation to the view. E.g. When viewing a batch
of pixel image sprite assets, the view might need to be zoomed to clearly
view the detail of the image.

Other use-case can be seen at the linked issue below.

https://github.com/BLumia/pineapple-pictures/issues/87
https://github.com/BLumia/pineapple-pictures/issues/89
2023-10-15 17:12:46 +08:00
27be83184e
chore: update appstream info 2023-09-29 14:09:43 +08:00
e79b5d3448
i18n: update appstream metadata 2023-08-27 00:29:26 +08:00
Weblate (bot)
f420a61077
Translations update from Hosted Weblate (#98)
* Added translation using Weblate (Dutch)

* Added translation using Weblate (Russian)

---------

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
2023-08-27 00:18:31 +08:00
e927708f78
i18n: better approach to load translations 2023-08-26 23:39:34 +08:00
248f889cb3
i18n: update translators.html and appstream metadata 2023-08-26 23:38:27 +08:00
Weblate (bot)
ecfaf7f02b
Translations update from Hosted Weblate (#97)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 86.6% (123 of 142 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Added translation using Weblate (Dutch)

* Added translation using Weblate (Russian)

* Translated using Weblate (Dutch)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (7 of 7 strings)

Translation: pineapple-pictures/AppStream Metadata
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/appstream-metadata/ru/

---------

Co-authored-by: ovl-1 <ovl-002@mailinator.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
2023-08-26 23:09:33 +08:00
116d24087a
CI(Windows): updated to use zlib 1.3 2023-08-22 20:34:33 +08:00
32fc6735bd
i18n: add translation support for AppStream metadata 2023-08-22 19:48:30 +08:00
c5a5d07f50
chore: update translators.html 2023-08-14 23:09:59 +08:00
Weblate (bot)
eea7b24f6e
Translations update from Hosted Weblate (#94)
* Translated using Weblate (Dutch)
* Translated using Weblate (Russian)
* Translated using Weblate (Ukrainian)
* Translated using Weblate (Spanish)
* Added translation using Weblate (Italian)
* Translated using Weblate (Turkish)
* Translated using Weblate (Italian)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/

---------

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
2023-08-14 23:03:59 +08:00
67762b357d
fix(Qt6): don't set image allocation limit
User might needs to load large image which isn't corrupted, see GH-28
for example. This restores Qt 5's default behavior.
2023-08-13 21:06:33 +08:00
d80c661c66
fix: app icon install location and file name under Linux 2023-07-31 08:27:32 +08:00
0e1ec979cf
fix: make appstream-util validate happy 2023-07-30 23:59:57 +08:00
ee3198f448
chore: add content rating and one release info to AppStream data for flatpak package submission 2023-07-30 23:25:30 +08:00
0c78d3668b
chore: add screenshots to AppStream data for flatpak package submission 2023-07-30 16:40:25 +08:00
4c2af150a6
fix: use win32api to get application location 2023-07-28 21:18:37 +08:00
9a9f61ae2f
i18n: update ts files 2023-07-15 19:54:41 +08:00
0e1635e0e7
feat: add hidpi rounding policy option to setting dialog 2023-07-10 01:07:01 +08:00
d4ded92734
feat: add option to avoid reset transform when switching between images
It's not enabled for now so it's not available to end-users.
2023-07-09 15:40:15 +08:00
f96da17e78
build(ci): bump Qt 6 version for Windows build 2023-07-05 23:43:45 +08:00
1431f2b9d0
chore(AppStream): add launchable and developer info to metainfo.xml 2023-06-28 22:11:30 +08:00
7db7cfd85a
fix: config file location under Linux should contain app name 2023-06-27 00:37:59 +08:00
1e3d68df1c fix: disable resizing and moving in maximized or fullscreen window 2023-06-24 16:43:31 +08:00
6fc9534184
refactor(FramelessWindow): use Qt API for window resizing (#81)
No longer use Win32API for window resizing. This should work under all platforms that support window resizing.
2023-06-24 14:37:54 +08:00
6f28878837
feat: add tif and tiff to auto load suffix list
Issue: https://github.com/BLumia/pineapple-pictures/issues/88
2023-06-19 00:12:22 +08:00
c51ec4bd5d
fix: avoid hard-code the size of the settings dialog 2023-06-18 22:55:55 +08:00
a29a1806a3
chore: avoid using deprecated function in qt6 builds 2023-06-06 00:15:43 +08:00
c69483eff1
chore: bump and support exiv2 version 0.28.0
0.27.x is still supported for now.
2023-06-04 21:58:16 +08:00
edceac754f
chore: remove trivial macro from CMakeLists 2023-06-04 13:50:34 +08:00
6a992f4c1f
feat: able to show file name in window title 2023-05-29 23:59:45 +08:00
5aeb0f821f
chore!: drop Qt version lower than 5.15.2 2023-05-21 00:36:24 +08:00
235e50439f
chore: update translators.html 2023-05-11 18:45:07 +08:00
Weblate (bot)
ae931c8c51
Translations update from Hosted Weblate (#83)
* Translated using Weblate (Korean)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ko/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/uk/

---------

Co-authored-by: VenusGirl <VenusGirl@outlook.com>
Co-authored-by: Dan <denqwerta@gmail.com>
2023-05-11 18:39:10 +08:00
3b279fca6a
fix: allow right click on animated image 2023-05-01 19:10:39 +08:00
a55e873c48
fix: window resizing not working under Qt 6
This is a workaround solution for QTBUG-112356. See the following
discussion for details. Thanks @yyc12345 from GitHub for finding
the cause of the issue.

Related: https://github.com/BLumia/pineapple-pictures/pull/81
2023-04-16 20:00:51 +08:00
20e028a643
chore: update translators.html 2023-04-08 16:32:20 +08:00
Weblate (bot)
777589e2dc
Translations update from Hosted Weblate (#78)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/zh_Hans/

* Translated using Weblate (Russian)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (137 of 137 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

---------

Co-authored-by: Black Cat <blackcat1838s@outlook.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Percy Hong <doraemonworldx@gmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-04-08 16:26:30 +08:00
c7727d233e
chore(CI): add Qt 6 build, other minor updates 2023-03-25 19:50:29 +08:00
e8722c687a
i18n: update ts files 2023-03-23 00:06:40 +08:00
2e2cbd40fa
feat: add two new exif property support 2023-03-22 23:10:02 +08:00
aa1e1b12ac
CI(Windows): bump dependencies version 2023-03-18 14:33:44 +08:00
c6a7032d73
build(CMake): also support build with Qt6 2023-02-19 01:04:58 +08:00
e472000507
fix(CI): AppleClang build failed fix 2023-02-15 19:09:09 +08:00
b11ea43ee5
fix: crash if unusual xmp tag used when open property dlg 2023-02-15 00:04:10 +08:00
bf89476421
chore: bump copyright year 2023-02-14 23:13:23 +08:00
Weblate (bot)
e03a6e6c34
Translations update from Hosted Weblate (#77)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

---------

Co-authored-by: Black Cat <blackcat1838s@outlook.com>
Co-authored-by: Génesis Toxical <tamaramartinez@outlook.com>
2023-02-12 13:03:13 +08:00
24f10168dc
chore: update translators.html 2023-02-04 17:49:07 +08:00
Weblate (bot)
09dfbb0630
Translations update from Hosted Weblate (#76)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

---------

Co-authored-by: Génesis Toxical <tamaramartinez@outlook.com>
Co-authored-by: Black Cat <blackcat1838s@outlook.com>
2023-01-30 18:51:26 +08:00
69f3d9920a
fix(ci): use kf5 branch for kdelibs 2023-01-28 19:37:16 +08:00
Gary Wang
dfc0571fbe
chore: update translators.html 2022-11-12 14:48:31 +08:00
Weblate (bot)
62f80b1cbc
Translations update from Hosted Weblate (#73)
* Added translation using Weblate (Punjabi (Pakistan))
* Translated using Weblate (Punjabi (Pakistan))

Currently translated at 40.0% (54 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/pa_PK/

Co-authored-by: bgo-eiu <huyaqoob+toolforge@gmail.com>
2022-11-12 14:35:11 +08:00
Gary Wang
d1fbf64011
fix: proper check for filemanager1 dbus 2022-11-01 20:58:48 +08:00
Gary Wang
51e49ab8a8
chore: add fallback in case filemanager1 dbus failed 2022-10-30 12:01:58 +08:00
Gary Wang
de394389e9
fix: select item no longer work via filemanager1 dbus 2022-10-30 01:55:45 +08:00
Gary Wang
5534753786
fix(ci): bump zlib version 2022-10-29 23:41:07 +08:00
Gary Wang
b83de962cb
feat: open folder will also select file on linux 2022-10-29 23:35:30 +08:00
Allan Nordhøy
a24c246fc7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.8% (120 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/
2022-10-29 15:51:19 +08:00
Gary Wang
8347028871
fix: blurry when raster image scaled down 2022-10-06 14:24:11 +08:00
Gary Wang
1cc5480f7d chore: update translators.html 2022-10-02 11:25:00 +08:00
Weblate (bot)
4fecf2da84
Translations update from Hosted Weblate (#66)
* Added translation using Weblate (Catalan)

* Translated using Weblate (Spanish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (Catalan)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ca/

Co-authored-by: Toni Estévez <toni.estevez@gmail.com>
2022-10-01 00:20:30 +08:00
Gary Wang
d535dedf60
fix: image blurry on Hi-DPI devices 2022-09-30 00:24:04 +08:00
Chris Xiong
cc7d58d4ec fix: proper svg icon rendering on hidpi screen. 2022-09-29 19:06:51 +08:00
Gary Wang
756d0be32f
chore: update translators.html 2022-08-28 14:45:10 +08:00
Génesis Toxical
24f1c4e6d8 Translated using Weblate (Spanish)
Currently translated at 80.7% (109 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/
2022-08-28 14:40:17 +08:00
Gary Wang
8b007bbc3e
CI(windows): bump dependencies version 2022-08-17 00:40:51 +08:00
Weblate (bot)
ec0427a153
Translations update from Hosted Weblate (#62)
* Translated using Weblate (French)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (Japanese)

Currently translated at 20.0% (27 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ja/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
Co-authored-by: Gary Wang <wzc782970009@gmail.com>
2022-08-14 13:48:38 +08:00
Gary Wang
0bbf148af6
i18n: initial uncompleted Japanese translation 2022-08-07 18:43:18 +08:00
Gary Wang
93d1ca928e
chore: allow Meta+Up to maximize under Windows with Qt 6 2022-06-25 23:52:35 +08:00
Gary Wang
56e5f078c7
feat: add REUSE license check 2022-06-19 16:33:29 +08:00
Gary Wang
814068fa34
chore: add license headers for REUSE license check 2022-06-19 16:17:47 +08:00
Maxime Leroy
9f2e004951 Translated using Weblate (French)
Currently translated at 99.2% (134 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/
2022-06-19 13:16:01 +08:00
Gary Wang
75da5e8ca5
chore: use const reference for a lambda slot 2022-06-04 17:09:12 +08:00
Gary Wang
b033370d8e
build: link user32.lib when build with QMake and MSVC (#59)
* build(msvc): add test for qmake build with msvc under windows
* fix(msvc): should link user32.lib under windows
* Update README.md
2022-05-29 01:06:00 +08:00
Gary Wang
a2d8a0cd12
chore: Update CI link in README.md 2022-05-15 13:48:16 +08:00
Gary Wang
ea588211fc
chore: update translators.html 2022-05-13 00:04:07 +08:00
Weblate (bot)
f09e5c8349
Translations update from Hosted Weblate (#54)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

* Translated using Weblate (Russian)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (German)

Currently translated at 100.0% (135 of 135 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/de/

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: sal0max <msal.coding@gmail.com>
2022-05-12 00:20:56 +08:00
Gary Wang
25c27e080d
CI: add Ubuntu 22.04 build (#55)
* CI: add Ubuntu 22.04 build

* fix: job name cannot contain dot
2022-05-11 19:56:03 +08:00
Gary Wang
6bea81f6b8
update ts files 2022-04-13 00:05:06 +08:00
Gary Wang
b5d723017a
i18n: strings for the default window size option 2022-04-13 00:03:37 +08:00
Gary Wang
d645c0f3be
chore: comment out an option since string not localized 2022-04-04 01:14:02 +08:00
Gary Wang
4babf20427
fix(ci): update zlib url 2022-04-03 19:18:26 +08:00
Gary Wang
6270910e12
fix: caching scaled image to avoid lagging when panning large image 2022-04-03 19:08:14 +08:00
Gary Wang
c9dadcbcad
refactor: use QMetaEnum 2022-03-12 10:35:23 +08:00
Gary Wang
432266a6f0 feat: option for set window startup size 2022-03-11 16:22:44 +08:00
Weblate (bot)
5674230c4c
Translations update from Hosted Weblate (#51)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (132 of 132 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (132 of 132 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (French)

Currently translated at 100.0% (132 of 132 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2022-03-05 12:23:31 +08:00
Gary Wang
6accd06864
i18n: update ts files 2022-02-09 00:16:44 +08:00
Gary Wang
0bf8e380de
i18n: update copywriting for copyright description 2022-02-09 00:12:37 +08:00
Gary Wang
d51eb796b9
i18n: copywriting for show in directory feature 2022-02-09 00:05:22 +08:00
Gary Wang
9e1b10831a feat: open containing folder 2022-02-01 17:19:36 +08:00
Gary Wang
00168a34f0 ci(windows): update dependencies version 2022-01-21 17:12:17 +08:00
Gary Wang
d7028b5515 Update translators.html 2022-01-17 23:33:59 +08:00
Gary Wang
052d23be60 fix: display system-native path separators 2022-01-14 13:05:11 +08:00
Weblate (bot)
9f4c9c7376
Translations update from Hosted Weblate (#47)
* Added translation using Weblate (Turkish)

* Translated using Weblate (Turkish)

Currently translated at 100.0% (127 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/tr/

Co-authored-by: E-Akcaer <gurbetcii_@hotmail.com>
2022-01-09 11:52:49 +08:00
Gary Wang
82eb53208e Update translators.html 2021-12-19 00:14:02 +08:00
Weblate (bot)
a6c08f32e5
Translations update from Hosted Weblate (#39)
* Translated using Weblate (French)

Currently translated at 88.1% (112 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (127 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2021-12-18 00:50:24 +08:00
Gary Wang
c6b78597e8 shortcuts: left/right for prev/next image, hide open action from menu 2021-12-17 13:36:20 +08:00
Gary Wang
f202bb58f4 feat: new action for open a dialog to select image files 2021-11-25 22:54:37 +08:00
Gary Wang
560ece0f2f Update README.md 2021-11-24 23:55:22 +08:00
Gary Wang
3f327f94dc fix: mouse back should show previous image 2021-10-08 22:24:55 +08:00
Gary Wang
7a1816cbac fix: do mouse gallery navigation on btn release 2021-10-08 19:31:19 +08:00
Gary Wang
3a442b35f6 feat: support forward/back button on mouse for image navigation 2021-10-08 14:06:18 +08:00
Gary Wang
a4416cd77c chore: initial Qt6 build support 2021-10-02 19:58:13 +08:00
Gary Wang
26c4c8871d fix(bottombar): disable border style if no focus on it 2021-09-30 01:41:20 +08:00
Gary Wang
c6d0a4e508 fix: should be able to see tab focus white box in bottom bar
But actually trigger action for widget under focus need to press
the spacebar in Qt, but we already use spacebar for quit app, so
it might be actually useful once we got a proper shortcut setting
thing.
2021-09-27 18:59:03 +08:00
Gary Wang
b994d3e381 ci: bump dependency version 2021-08-09 00:05:30 +08:00
Gary Wang
c0b9d7c21d add new language file to qmake project file 2021-08-06 00:19:24 +08:00
Gary Wang
fcd5e2cb84 fix: disable auto fit after clicking actual size button 2021-08-04 19:30:12 +08:00
Gary Wang
64fa580131 Update translators.html 2021-08-03 19:13:20 +08:00
Weblate (bot)
24e259cb8b
Translations update from Weblate (#33)
* Added translation using Weblate (Indonesian)

* Translated using Weblate (Russian)

Currently translated at 98.4% (125 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Indonesian)

Currently translated at 5.5% (7 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/id/

* Translated using Weblate (Russian)

Currently translated at 100.0% (127 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Indonesian)

Currently translated at 62.2% (79 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/id/

* Translated using Weblate (Russian)

Currently translated at 100.0% (127 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

Co-authored-by: liimee <alt3753.7@gmail.com>
Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Andrey <andrey@mailbox.org>
2021-08-03 19:01:18 +08:00
Gary Wang
e8e7940abe fix: no longer display resolution info for image that not supported such info 2021-07-23 17:45:35 +08:00
Gary Wang
c5e48d07ed
misc: update image url used in README 2021-07-15 14:05:16 +08:00
Weblate (bot)
328800a153
Translations update from Weblate (#32)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.5% (115 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (127 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Sinhala)

Currently translated at 46.4% (59 of 127 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/si/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: HelaBasa <R45XvezA@protonmail.ch>
2021-07-14 12:43:24 +08:00
Gary Wang
950e91a7cf
Update README.md 2021-07-13 00:28:41 +08:00
Gary Wang
7d2816e544 chore: hide two actions that not ready to be in release 2021-07-10 17:07:35 +08:00
Gary Wang
6b2db55b84 fix: now always copy original pixmap 2021-07-06 13:25:53 +08:00
Gary Wang
a400dcaeb1 i18n: update ts files 2021-07-04 01:27:29 +08:00
Gary Wang
62f485006f feat: display more image metadata 2021-07-04 01:23:13 +08:00
Gary Wang
066b8458f4 chore: use utf8 for decoding metadata value 2021-07-03 00:28:36 +08:00
Gary Wang
c9e3274188 chore: use QToolButton instead of QPushButton for bottom bar 2021-07-02 00:06:23 +08:00
Gary Wang
e20562cf16 fix: prev and next arrow not vertically centered in some case 2021-07-01 22:43:11 +08:00
Gary Wang
7a0ed5bd56 fix: zoom out and then reset scale will display a mosaic image 2021-06-28 19:10:08 +08:00
Gary Wang
3f9fa65edd ui: rework all action icons 2021-06-26 21:44:38 +08:00
Gary Wang
36c54addce fix: use a workaround to avoid pixelated when zoomed out
GH-31
2021-06-20 14:59:48 +08:00
Gary Wang
4c07a89ca3 chore: tweak fit-in-view menu action behavior 2021-06-07 14:16:42 +08:00
Gary Wang
635199b85b feat: add fit-in-view action 2021-06-04 13:53:47 +08:00
Gary Wang
3e51cd5603 fix(CI): QT_PLUGIN_INSTALL_DIR is deprecated, use KDE_INSTALL_QTPLUGINDIR instead 2021-05-29 10:44:12 +08:00
Gary Wang
71e8df3107 fix: memory leak when switching between animated image files 2021-05-21 00:06:37 +08:00
Gary Wang
8b86fb1434 fix: use metainfo.xml suffix instead of appdata.xml
resolve: GH-30
2021-05-19 01:11:41 +08:00
Gary Wang
038d04b3da feat: fit by width
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
2021-05-14 00:10:08 +08:00
Gary Wang
69802a433e fix: navigator view not get updated in some edge case
Signed-off-by: Gary Wang <wzc782970009@gmail.com>
2021-05-12 13:55:04 +08:00
Gary Wang
e4d54e85e2 Update README.md 2021-05-01 09:58:26 +08:00
Weblate (bot)
b12328f41e
Translations update from Weblate (#29)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.9% (110 of 121 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (121 of 121 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (121 of 121 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-04-29 00:00:58 +08:00
Gary Wang
6acafc77b4 feat: add exif copyright info and gif frame count to property dialog
also fix some letter case issue in original copywriting.
2021-04-17 00:50:59 +08:00
Weblate (bot)
fa4b49ddf7
Translations update from Weblate (#27)
* Translated using Weblate (Norwegian Bokmål)

Currently translated at 91.4% (107 of 117 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (117 of 117 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

* Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Heimen Stoffels <vistausss@outlook.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-04-17 00:12:18 +08:00
Gary Wang
8ae93ac4ae fix: should show any animated image than just gif 2021-04-15 00:00:18 +08:00
Gary Wang
52a7883dbf ci(build): use the install/strip target instead of CMAKE_CXX_FLAGS_RELEASE 2021-04-08 13:18:02 +08:00
Gary Wang
8c05969c18 fix: get rid of wrong tr() usage 2021-04-06 22:11:09 +08:00
Gary Wang
8d80f263b0 feat: add default shortcuts for some actions 2021-04-05 23:21:15 +08:00
Gary Wang
114e7359cd misc: don't call parent method since we don't need 2021-04-04 11:17:44 +08:00
Gary Wang
622938ac23 fix: always rotate according to current viewport state 2021-03-29 22:43:37 +08:00
Gary Wang
e1324d901c fix: always flip according to current viewport state 2021-03-27 22:22:04 +08:00
Gary Wang
483bb07b09 chore: keep flipping state while rotation and etc. 2021-03-25 23:05:50 +08:00
Gary Wang
cd94f1a84c ci(windows): switch to x64 build 2021-03-21 01:19:13 +08:00
Gary Wang
6a9e5e80d0 feat: basic image flip support 2021-03-19 23:13:22 +08:00
Gary Wang
deed477d49 fix(build): build with qmake
...and also fix missing translation strings caused by broken qmake
project file.
2021-03-14 01:12:28 +08:00
Gary Wang
a98b69eb6c Update README.md 2021-03-13 14:53:31 +08:00
Gary Wang
f7cc22a032 i18n: update ts files, restructure folder hierarchy 2021-03-13 14:50:53 +08:00
Weblate (bot)
05f808a26d
Translations update from Weblate (#26)
* Translated using Weblate (Russian)

Currently translated at 100.0% (116 of 116 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 92.2% (107 of 116 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Added translation using Weblate (Sinhala)

* Translated using Weblate (Sinhala)

Currently translated at 1.7% (2 of 116 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/si/

* Translated using Weblate (Sinhala)

Currently translated at 56.0% (65 of 116 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/si/

Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: HelaBasa <R45XvezA@protonmail.ch>
2021-03-13 14:09:30 +08:00
Gary Wang
7e7c36ea72 ci(mac): build with 5.15.2 explicitly 2021-03-09 21:41:51 +08:00
Gary Wang
6d460a27d7 fix: build with lower Qt version 2021-03-01 13:24:03 +08:00
Gary Wang
552d0fe072 fix: compat for older Qt (lower than 5.13) 2021-03-01 13:11:17 +08:00
Gary Wang
b146150528 feat: Shift+Click to use color-inverted checkerboard 2021-03-01 00:44:50 +08:00
Gary Wang
aecc3cf163 i18n: update ts files 2021-02-26 01:01:24 +08:00
Gary Wang
9c460f2ede chore: add webp to default image queue filter list 2021-02-26 00:57:12 +08:00
Gary Wang
6316431dcc i18n: update translator list and AppStream copywriting 2021-02-26 00:32:41 +08:00
Weblate (bot)
713057412f
Translations update from Weblate (#24)
* Translated using Weblate (Russian)

Currently translated at 100.0% (114 of 114 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Added translation using Weblate (Dutch)

* Translated using Weblate (Dutch)

Currently translated at 100.0% (114 of 114 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nl/

Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Heimen Stoffels <vistausss@outlook.com>
2021-02-26 00:13:23 +08:00
Gary Wang
7a69bb2fa2 partially revert 50170eb for the maximize shortcut on Windows
Since the workaround actually doesn't work, so we
remain the old behavior unchanged.
2021-02-19 19:22:50 +08:00
Gary Wang
50170eb4aa feat: shortcuts for zoom in and out
This also fix maximize shortcut on Windows.
2021-02-19 00:04:15 +08:00
Gary Wang
858c9e0ccf chore: add max zoom-in scale limit (1000x) 2021-02-18 20:03:23 +08:00
Gary Wang
2b4bbc91a7 fix: should now be able to show property dialog for all supported files 2021-02-09 14:19:09 +08:00
Gary Wang
2b51194143 i18n: update translator list 2021-02-04 13:13:55 +08:00
Weblate (bot)
356fc6f670
Translations update from Weblate (#23)
* Added translation using Weblate (Japanese)

* Translated using Weblate (Russian)

Currently translated at 100.0% (114 of 114 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 92.1% (105 of 114 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

* Deleted translation using Weblate (Japanese)

Co-authored-by: Gary Wang <wzc782970009@gmail.com>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-02-04 13:00:10 +08:00
Gary Wang
a9ce8b0154 fix: add missing return for canPaste check 2021-01-24 00:47:42 +08:00
Gary Wang
1449844fdd fix: avoid create menu actions everytime when trigger context menu.
fix the minor memory leak issue, also bring some possibility to
implement custom keybinding.

And oops I also did another feature in this commit..
Now we are able to set mouse wheel behavior in config dialog.
2021-01-24 00:07:58 +08:00
Weblate (bot)
b3011f47e4
Translations update from Weblate (#22)
* Translated using Weblate (French)

Currently translated at 100.0% (111 of 111 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (German)

Currently translated at 97.2% (108 of 111 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (111 of 111 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
2021-01-20 00:15:51 +08:00
Gary Wang
9b1b125d01 fix: also move the windows include for windows build 2021-01-10 15:23:49 +08:00
Gary Wang
6d8f353602 fix: some clazy checks 2021-01-10 14:57:01 +08:00
Gary Wang
4d8d98b2ff feat: display some GPS information from EXIF metadata 2021-01-04 19:06:12 +08:00
Weblate (bot)
e658fb20a9
Translations update from Weblate (#18)
* Added translation using Weblate (Spanish)

* Translated using Weblate (Spanish)

Currently translated at 17.1% (18 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/es/

* Translated using Weblate (French)

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/de/

* Translated using Weblate (Russian)

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/zh_Hans/

Co-authored-by: William(ѕ)ⁿ <600699d5-d2ad-4cfc-a1b3-fca4d102afea@anonaddy.me>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Sergey Shornikov <sergey0000000000@gmail.com>
Co-authored-by: Percy Hong <doraemonworldx@gmail.com>
2021-01-04 18:57:04 +08:00
Gary Wang
3abc16d3ff chore: no longer based on QMainWindow
Since most of the features that QMainWindow offered will never be
used in this program. We don't need a statusbar, a menubar, etc.
2020-12-29 23:28:21 +08:00
Gary Wang
dc17e1d0b1 fix: install() path for asset file, add ts files for .pro file 2020-12-25 13:53:57 +08:00
Gary Wang
7782ed0e23 chore: adjust dir structure, add translator name list 2020-12-25 13:36:34 +08:00
Gary Wang
b50b69e9b8 property-dialog: hide a section if it's empty 2020-12-23 22:19:30 +08:00
Gary Wang
44d04e98e5 ci(windows): also build AOM av1 decoder for libavif 2020-12-22 16:16:16 +08:00
Gary Wang
1ec8b188d4 ci(Windows): build libavif for kimageformats to add avif format support 2020-12-22 14:21:52 +08:00
Gary Wang
5bf4fe98a4 fix(ci): perform apt update before install package for ubuntu build 2020-12-17 13:56:34 +08:00
Gary Wang
01443d5ad4 chore: remove the wsl workaround since Qt 5.15.2 fixed the issue 2020-12-17 13:04:33 +08:00
Weblate (bot)
50457a7fc4
Translations update from Weblate (#15)
* Added translation using Weblate (Norwegian Bokmål)

* Translated using Weblate (French)

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (105 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/de/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 89.5% (94 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/nb_NO/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
2020-12-16 20:37:48 +08:00
Gary Wang
8d61235db7
CI: Windows build now build with Qt 5.15.2 and MinGW 8.1.0 (#17)
* ci: bump Qt version to Qt 5.15.2
* don't build expat example for expat
* set CC and CXX variable
* use VS2019 image with MinGW compiler
2020-12-16 20:23:26 +08:00
Gary Wang
41b478ddaf Update README.md 2020-12-14 13:21:30 +08:00
Weblate (bot)
754e26cdf7
i18n: Translations update from Weblate (#14)
* Added translation using Weblate (French)

* Added translation using Weblate (German)

* Added translation using Weblate (Russian)

* Translated using Weblate (French)

Currently translated at 99.0% (104 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/fr/

* Translated using Weblate (German)

Currently translated at 31.4% (33 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/de/

* Translated using Weblate (Russian)

Currently translated at 70.4% (74 of 105 strings)

Translation: pineapple-pictures/Application
Translate-URL: https://hosted.weblate.org/projects/pineapple-pictures/application/ru/

Co-authored-by: K. Herbert <herbert.ka@mailo.com>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
2020-12-14 13:11:04 +08:00
Gary Wang
7a19d41aeb
fix(ci): Update macos.yml to use the most recent install-qt-action (#11) 2020-11-19 12:29:08 +08:00
Percy Hong
338aa646b9 feat(ci): try install deb in ubuntu ci 2020-11-18 11:17:02 +08:00
Percy Hong
5080a499ea feat(ci): enable ci at pull request 2020-11-18 11:17:02 +08:00
Percy Hong
5e81556c56 fix: lost comma in cmake depends 2020-11-18 11:17:02 +08:00
Gary Wang
2366e4426e fix(ci): use Release build for libexiv and libexpat 2020-11-17 00:11:01 +08:00
Gary Wang
13de9bdc4c feat: some other exiv metadata for display 2020-11-17 00:09:21 +08:00
Gary Wang
e97dfe3a10
Fix windows ci build (#9)
* Update appveyor.yml
2020-11-16 13:19:15 +08:00
Gary Wang
daab55e5a2 i18n: zh_CN translation for newly added strings 2020-11-16 00:52:19 +08:00
Gary Wang
819cd3a8f5 ci: don't install ECM for ubuntu 20.04 build
and also try to build libexiv for appveyor ci
2020-11-16 00:33:50 +08:00
Gary Wang
08f1ab570c build: vendor FindLibExiv2.cmake from ECM 2020-11-15 20:28:05 +08:00
Gary Wang
5705f02636 feat: use libexiv2 to obtain more image metadata 2020-11-15 19:53:47 +08:00
Gary Wang
8c152dc862 chore: adjusted the project directory structure 2020-11-05 14:12:58 +08:00
Gary Wang
1066fa45ea feat: more useful information from property dialog 2020-11-04 00:16:37 +08:00
Gary Wang
71c38c8e96 feat: simple property dialog 2020-11-01 13:03:53 +08:00
Gary Wang
95fd0f881c fix: should tell user if image read failed 2020-11-01 13:02:46 +08:00
Gary Wang
0a9ea1982b fix: MSVC build warning in bottombuttongroup.cpp 2020-10-29 00:17:48 +08:00
Gary Wang
0dfbb45238 misc: minor tweaks with the app icon 2020-10-28 23:56:11 +08:00
Gary Wang
7e7825760a
license: wrong license descripted in appdata.xml file
Fixes #8
2020-10-24 09:39:42 +08:00
Gary Wang
203274a522 feat: try using QWindow::startSystemMove() under Qt 5.15+ 2020-10-16 01:00:11 +08:00
116 changed files with 21894 additions and 4035 deletions

2
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,2 @@
ko_fi: blumia
custom: ["https://blumia.itch.io/pineapple-pictures"]

View File

@ -1,6 +1,6 @@
name: macOS CI name: macOS CI
on: [push] on: [push, pull_request]
jobs: jobs:
build: build:
@ -8,10 +8,12 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v4
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2.2.1 uses: jurplel/install-qt-action@v3
with:
version: '6.4.2'
- name: Run a qt project - name: Run a qt project
run: | run: |
cmake ./ cmake ./ -DPREFER_QT_5=OFF
make make

15
.github/workflows/reuse-check.yml vendored Normal file
View File

@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
name: REUSE Compliance Check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2

View File

@ -1,24 +1,52 @@
name: Ubuntu 20.04 CI name: Ubuntu CI
on: [push] on: [push, pull_request]
jobs: jobs:
build: ubuntu-22-04-build:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v4
- name: Get build dept. - name: Get build dept.
run: sudo apt install cmake qtbase5-dev libqt5svg5-dev qttools5-dev run: |
- name: Build it sudo apt update
run: | sudo apt install cmake qtbase5-dev libqt5svg5-dev qttools5-dev libexiv2-dev
mkdir build - name: Build it
cd build run: |
cmake ../ mkdir build
make cd build
cpack -G DEB cmake ../ -DPREFER_QT_5=ON
- uses: actions/upload-artifact@v2 make
with: cpack -G DEB
name: ubuntu-20.04-deb-package - name: Try install it
path: build/*.deb run: |
cd build
sudo apt install ./*.deb
- uses: actions/upload-artifact@v4
with:
name: ubuntu-22.04-deb-package
path: build/*.deb
ubuntu-24-04-build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Get build dept.
run: |
sudo apt update
sudo apt install cmake qt6-base-dev qt6-svg-dev qt6-tools-dev libexiv2-dev
- name: Build it
run: |
mkdir build
cd build
cmake ../ -DPREFER_QT_5=OFF
make
cpack -G DEB
- name: Try install it
run: |
cd build
sudo apt install ./*.deb
- uses: actions/upload-artifact@v4
with:
name: ubuntu-24.04-deb-package
path: build/*.deb

125
.github/workflows/windows.yml vendored Normal file
View File

@ -0,0 +1,125 @@
name: Windows CI
on: [push, pull_request, workflow_dispatch]
jobs:
msvc-qmake-build:
strategy:
matrix:
include:
- qt_ver: '6.8.0'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
arch: ${{ matrix.aqt_arch }}
version: ${{ matrix.qt_ver }}
modules: 'qtimageformats'
- name: Build
shell: cmd
run: |
set VS=${{ matrix.vs }}
set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
call %VCVARS% ${{ matrix.msvc_arch }}
qmake pineapple-pictures.pro
nmake
nmake clean
windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation release\ppic.exe
- uses: actions/upload-artifact@v4
with:
name: "windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-qmake-package"
path: release/*
msvc-cmake-build:
strategy:
matrix:
include:
- qt_ver: '6.8.0'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
arch: ${{ matrix.aqt_arch }}
version: ${{ matrix.qt_ver }}
modules: 'qtimageformats'
- name: Build
shell: cmd
run: |
:: ------ env ------
set PWD=%cd%
set VS=${{ matrix.vs }}
set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
call %VCVARS% ${{ matrix.msvc_arch }}
:: ------ dep ------
set CMAKE_PREFIX_PATH=%PWD%/dependencies_bin
mkdir dependencies_src
:: ===== exiv2 =====
curl -fsSL -o exiv2_bin.zip https://github.com/Exiv2/exiv2/releases/download/v0.28.3/exiv2-0.28.3-2019msvc64.zip
7z x exiv2_bin.zip -y
ren .\exiv2-0.28.3-2019msvc64 dependencies_bin
:: ===== zlib =====
curl -fsSL -o zlib_src.zip https://zlib.net/zlib131.zip
7z x zlib_src.zip -y -o"dependencies_src"
ren .\dependencies_src\zlib-1.3.1 zlib || goto :error
cmake ./dependencies_src/zlib -Bbuild_dependencies/zlib -DCMAKE_INSTALL_PREFIX="dependencies_bin" || goto :error
cmake --build build_dependencies/zlib --config Release --target=install || goto :error
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_6_2.zip
:: ===== AOM for libavif AVI decoding support =====
git clone -q -b v3.10.0 --depth 1 https://aomedia.googlesource.com/aom dependencies_src/aom
cmake ./dependencies_src/aom -Bbuild_dependencies/aom -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DAOM_TARGET_CPU=generic -DENABLE_TESTS=OFF -DENABLE_TESTDATA=OFF -DENABLE_TOOLS=OFF -DENABLE_EXAMPLES=0 || goto :error
cmake --build build_dependencies/aom --config Release --target=install || goto :error
:: ===== libavif =====
curl -fsSL -o libavif-v1_1_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.1.1.zip
7z x libavif-v1_1_1.zip -y -o"dependencies_src"
ren .\dependencies_src\libavif-1.1.1 libavif || goto :error
cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_LIBYUV=ON
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
:: ===== expat =====
7z x expat_src.zip -y -o"dependencies_src"
ren .\dependencies_src\libexpat-R_2_6_2 expat || goto :error
cmake ./dependencies_src/expat/expat -Bbuild_dependencies/expat -DCMAKE_INSTALL_PREFIX="dependencies_bin" || goto :error
cmake --build build_dependencies/expat --config Release --target=install || goto :error
:: ===== ECM =====
git clone -q https://invent.kde.org/frameworks/extra-cmake-modules.git dependencies_src/extra-cmake-modules
cmake .\dependencies_src\extra-cmake-modules -Bbuild_dependencies/extra-cmake-modules -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DBUILD_TESTING=OFF || goto :error
cmake --build build_dependencies/extra-cmake-modules --config Release --target=install || goto :error
:: ===== KArchive =====
git clone -q https://invent.kde.org/frameworks/karchive.git dependencies_src/karchive
cmake .\dependencies_src\karchive -Bbuild_dependencies/karchive -DWITH_LIBZSTD=OFF -DWITH_BZIP2=OFF -DWITH_LIBLZMA=OFF -DCMAKE_INSTALL_PREFIX="dependencies_bin" || goto :error
cmake --build build_dependencies/karchive --config Release --target=install || goto :error
:: ===== KImageFormats =====
git clone -q https://invent.kde.org/frameworks/kimageformats.git dependencies_src/kimageformats
cmake .\dependencies_src\kimageformats -Bbuild_dependencies/kimageformats -DKDE_INSTALL_QTPLUGINDIR=%QT_ROOT_DIR%\plugins || goto :error
cmake --build build_dependencies/kimageformats --config Release --target=install || goto :error
:: ------ app ------
cmake -Bbuild . -DCMAKE_INSTALL_PREFIX="%PWD%\build\"
cmake --build build --config Release
cmake --build build --config Release --target=install
:: ------ pkg ------
windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe
robocopy ./dependencies_bin/bin build/bin *.dll
if ErrorLevel 8 (exit /B 1)
copy LICENSE build\bin
exit /B 0
- uses: actions/upload-artifact@v4
with:
name: "windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-cmake-package"
path: build/bin/*

5
.gitignore vendored
View File

@ -1,8 +1,13 @@
# User files # User files
*.user *.user
*.user.*
# Translation files # Translation files
*.qm *.qm
*.mo
# Generic Build Dir # Generic Build Dir
[Bb]uild/ [Bb]uild/
# IDE/Editor config folders
.vscode/

28
.reuse/dep5 Normal file
View File

@ -0,0 +1,28 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Pineapple Pictures
Source: https://github.com/BLumia/pineapple-pictures
# Config files
Files: .gitignore appveyor.yml .github/*
Copyright: None
License: CC0-1.0
# README, resource files and Metadata files
Files: README*.md NEWS assets/*.rc assets/*.qrc dist/*
Copyright: None
License: CC0-1.0
# Translation files
# See assets/plain/translators.html for a list of translators
Files: app/translations/*.ts assets/plain/translators.html
Copyright: Translators from hosted.weblate.org
License: MIT
# Assets
Files: assets/icons/*.svg
Copyright: 2022 Gary Wang
License: MIT
Files: assets/icons/app-icon.*
Copyright: 2020 Lovelyblack
License: MIT

View File

@ -1,45 +1,96 @@
project (pineapple-pictures) # SPDX-FileCopyrightText: 2022 - 2024 Gary Wang <git@blumia.net>
#
# SPDX-License-Identifier: MIT
cmake_minimum_required (VERSION 3.9.5) cmake_minimum_required (VERSION 3.9.5)
project(pineapple-pictures VERSION 0.8.2.1) # don't forget to update NEWS file and AppStream metadata.
include (GNUInstallDirs) include (GNUInstallDirs)
include (FeatureSummary) include (FeatureSummary)
option (EXIV2_METADATA_SUPPORT "Better image metadata support via libexiv2" ON)
option (PREFER_QT_5 "Prefer to use Qt 5" OFF)
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_AUTOMOC ON) set (CMAKE_AUTOMOC ON)
set (CMAKE_AUTORCC ON) set (CMAKE_AUTORCC ON)
set (QT_MINIMUM_VERSION "5.10")
find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Widgets Svg LinguistTools) if (PREFER_QT_5)
find_package(QT NAMES Qt5 REQUIRED COMPONENTS Core)
else ()
find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
endif ()
if (${QT_VERSION_MAJOR} EQUAL "5")
set (QT_MINIMUM_VERSION "5.15.2")
else ()
set (QT_MINIMUM_VERSION "6.4")
endif ()
find_package(Qt${QT_VERSION_MAJOR} ${QT_MINIMUM_VERSION} REQUIRED
COMPONENTS Widgets Svg LinguistTools
OPTIONAL_COMPONENTS DBus
)
if (${QT_VERSION_MAJOR} EQUAL "6")
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} ${QT_MINIMUM_VERSION} CONFIG REQUIRED SvgWidgets)
endif ()
if (EXIV2_METADATA_SUPPORT)
find_package(Exiv2)
set_package_properties(Exiv2 PROPERTIES
URL "https://www.exiv2.org"
DESCRIPTION "image metadata support"
TYPE OPTIONAL
PURPOSE "Bring better image metadata support"
)
endif ()
set (PPIC_CPP_FILES set (PPIC_CPP_FILES
main.cpp app/main.cpp
mainwindow.cpp app/framelesswindow.cpp
graphicsview.cpp app/mainwindow.cpp
graphicsscene.cpp app/actionmanager.cpp
bottombuttongroup.cpp app/graphicsview.cpp
navigatorview.cpp app/graphicsscene.cpp
opacityhelper.cpp app/bottombuttongroup.cpp
toolbutton.cpp app/navigatorview.cpp
settings.cpp app/opacityhelper.cpp
settingsdialog.cpp app/toolbutton.cpp
aboutdialog.cpp app/settings.cpp
app/settingsdialog.cpp
app/aboutdialog.cpp
app/metadatamodel.cpp
app/metadatadialog.cpp
app/exiv2wrapper.cpp
app/playlistmanager.cpp
app/shortcutedit.cpp
) )
set (PPIC_HEADER_FILES set (PPIC_HEADER_FILES
mainwindow.h app/framelesswindow.h
graphicsview.h app/mainwindow.h
graphicsscene.h app/actionmanager.h
bottombuttongroup.h app/graphicsview.h
navigatorview.h app/graphicsscene.h
opacityhelper.h app/bottombuttongroup.h
toolbutton.h app/navigatorview.h
settings.h app/opacityhelper.h
settingsdialog.h app/toolbutton.h
aboutdialog.h app/settings.h
app/settingsdialog.h
app/aboutdialog.h
app/metadatamodel.h
app/metadatadialog.h
app/exiv2wrapper.h
app/playlistmanager.h
app/shortcutedit.h
) )
set (PPIC_QRC_FILES set (PPIC_QRC_FILES
resources.qrc assets/resources.qrc
) )
set (PPIC_RC_FILES set (PPIC_RC_FILES
@ -49,32 +100,57 @@ set (PPIC_RC_FILES
set (EXE_NAME ppic) set (EXE_NAME ppic)
# Translation # Translation
file (GLOB PPIC_TS_FILES languages/*.ts) file (GLOB PPIC_TS_FILES app/translations/*.ts)
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES}) set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
qt5_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
if (WIN32) if (WIN32)
list(APPEND PPIC_RC_FILES pineapple-pictures.rc) list(APPEND PPIC_RC_FILES assets/pineapple-pictures.rc)
endif () endif ()
add_executable (${EXE_NAME} add_executable (${EXE_NAME} WIN32
${PPIC_HEADER_FILES} ${PPIC_HEADER_FILES}
${PPIC_CPP_FILES} ${PPIC_CPP_FILES}
${PPIC_QRC_FILES} ${PPIC_QRC_FILES}
${PPIC_RC_FILES} ${PPIC_RC_FILES}
${PPIC_QM_FILES}
) )
target_link_libraries (${EXE_NAME} Qt5::Widgets Qt5::Svg) if (${QT_VERSION_MAJOR} EQUAL "6")
qt_add_translations(${EXE_NAME} TS_FILES ${PPIC_TS_FILES} QM_FILES_OUTPUT_VARIABLE PPIC_QM_FILES)
else()
qt_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
endif()
target_sources(${EXE_NAME} PRIVATE ${PPIC_QM_FILES})
target_link_libraries (${EXE_NAME} Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Svg)
if (${QT_VERSION_MAJOR} EQUAL "6")
target_link_libraries (${EXE_NAME} Qt::SvgWidgets)
endif ()
if (Exiv2_FOUND)
if(NOT TARGET Exiv2::exiv2lib AND TARGET exiv2lib)
# for exiv2 0.27.x
add_library(Exiv2::exiv2lib ALIAS exiv2lib)
endif()
target_link_libraries (${EXE_NAME}
Exiv2::exiv2lib
)
target_compile_definitions(${EXE_NAME} PRIVATE
HAVE_EXIV2_VERSION="${Exiv2_VERSION}"
)
endif ()
if (TARGET Qt5::DBus OR TARGET Qt6::DBus)
target_link_libraries (${EXE_NAME}
Qt${QT_VERSION_MAJOR}::DBus
)
target_compile_definitions(${EXE_NAME} PRIVATE
HAVE_QTDBUS
)
endif()
# Extra build settings # Extra build settings
if (WIN32) if (WIN32)
set_property (
TARGET ${EXE_NAME}
PROPERTY WIN32_EXECUTABLE true
)
target_compile_definitions(${EXE_NAME} PRIVATE target_compile_definitions(${EXE_NAME} PRIVATE
FLAG_PORTABLE_MODE_SUPPORT=1 FLAG_PORTABLE_MODE_SUPPORT=1
) )
@ -105,6 +181,7 @@ macro (ppic_set_version_via_describe _describe_long)
endmacro () endmacro ()
# Version setup # Version setup
target_compile_definitions(${EXE_NAME} PRIVATE PPIC_VERSION_STRING="${CMAKE_PROJECT_VERSION}")
if (EXISTS "${CMAKE_SOURCE_DIR}/.git") if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
find_package(Git) find_package(Git)
set_package_properties(Git PROPERTIES TYPE OPTIONAL PURPOSE "Determine exact build version.") set_package_properties(Git PROPERTIES TYPE OPTIONAL PURPOSE "Determine exact build version.")
@ -122,34 +199,20 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
endif () endif ()
endif () endif ()
# Helper macros for install settings
macro (ppic_convert_to_relative_path _var)
# Make sure _var is a relative path
if (IS_ABSOLUTE "${${_var}}")
file (RELATIVE_PATH ${_var} "${CMAKE_INSTALL_PREFIX}" "${${_var}}")
endif ()
endmacro ()
# Install settings # Install settings
if (WIN32) if (WIN32)
# FIXME: try to avoid install to a "bin" subfolder under windows... # TODO: try to avoid install to a "bin" subfolder under windows...
# when fixed, don't forget to update the CI config file... # when fixed, don't forget to update the CI config file...
set (BIN_INSTALL_DIR "") # seems useless, don't know why...
elseif (UNIX) elseif (UNIX)
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX /usr) set(CMAKE_INSTALL_PREFIX /usr)
endif () endif ()
set (BIN_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}") # relative, usually "bin"
ppic_convert_to_relative_path(BIN_INSTALL_DIR)
set (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}") # "lib" or "lib64"
ppic_convert_to_relative_path(LIB_INSTALL_DIR)
# install icon # install icon
install ( install (
FILES icons/app-icon.svg FILES assets/icons/app-icon.svg
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/48x48/apps" DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps"
RENAME pineapple-pictures.svg RENAME net.blumia.pineapple-pictures.svg
) )
# install shortcut # install shortcut
@ -160,15 +223,15 @@ elseif (UNIX)
# install app metadata file for appstream (and some other stuff using this metadata like snapcraft) # install app metadata file for appstream (and some other stuff using this metadata like snapcraft)
install ( install (
FILES dist/appstream/net.blumia.pineapple-pictures.appdata.xml FILES dist/appstream/net.blumia.pineapple-pictures.metainfo.xml
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo"
) )
endif() endif()
set (INSTALL_TARGETS_DEFAULT_ARGS set (INSTALL_TARGETS_DEFAULT_ARGS
RUNTIME DESTINATION ${BIN_INSTALL_DIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${LIB_INSTALL_DIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT Devel ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Devel
) )
install ( install (
@ -190,6 +253,8 @@ install (
DESTINATION ${QM_FILE_INSTALL_DIR} DESTINATION ${QM_FILE_INSTALL_DIR}
) )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
# CPACK: General Settings # CPACK: General Settings
set (CPACK_GENERATOR "TBZ2") set (CPACK_GENERATOR "TBZ2")
set (CPACK_PACKAGE_NAME "pineapple-pictures") set (CPACK_PACKAGE_NAME "pineapple-pictures")
@ -202,7 +267,7 @@ elseif (APPLE)
# ... # ...
elseif (UNIX) elseif (UNIX)
set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}") set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5svg5") set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins") set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins")
endif() endif()

121
LICENSES/CC0-1.0.txt Normal file
View File

@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

9
LICENSES/MIT.txt Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

86
NEWS Normal file
View File

@ -0,0 +1,86 @@
Version 0.8.2.1
~~~~~~~~~~~~~
Released: 2024-10-27
Bugfixes:
* Cannot load translations caused by a change in 0.8.2
Version 0.8.2
~~~~~~~~~~~~~
Released: 2024-10-26
Features:
* New option to allow use light-color checkerboard by default
Contributors:
albanobattistella, mmahhi, gallegonovato
Version 0.8.1
~~~~~~~~~~~~~
Released: 2024-08-25
Features:
* New command line option to list all supported formats
Contributors:
albanobattistella, mmahhi, ovl-1, gallegonovato, Oğuz Ersen
Version 0.8.0
~~~~~~~~~~~~~
Released: 2024-06-29
Features:
* Support move image file to trash
Contributors:
albanobattistella, mmahhi, gallegonovato, Oğuz Ersen
Version 0.7.4
~~~~~~~~~~~~~
Released: 2024-04-04
Features:
* Add some icons for corresponding menu actions
Contributors:
Reza Almanda, mmahhi, Oğuz Ersen, volkov, Сергій
Version 0.7.3
~~~~~~~~~~~~~
Released: 2023-10-24
Features:
* Add "Keep transformation" to menu
Contributors:
mmahhi, VenusGirl, albanobattistella, gallegonovato, Heimen Stoffels
Version 0.7.2
~~~~~~~~~~~~~
Released: 2023-08-27
Features:
* Add an option in setting dialog to tweak the High-DPI scaling rounding policy (might only works in Qt 6 build)
Bugfixes:
* Remove image size limit for Qt 6 build
* Fix application icon install location under Linux
Contributors:
Heimen Stoffels, Andrey, Dan, gallegonovato, albanobattistella, Sabri Ünal
Version 0.7.1
~~~~~~~~~~~~~
Released: 2023-07-08
Features:
* TIF and TIFF format files in the same folder will now be automatedly added to the gallery
* Built-in window resizing now also supports Linux desktop. (macOS might also works as well)
Bugfixes:
* Settings dialog will automatedly use a suitable size instead of a hard-coded one
* Fix default configuration file location under Linux. (was `~/.config/config.ini`, now it's `~/.config/Pineapple Pictures/config.ini`)
Contributors:
yyc12345

151
README.md
View File

@ -1,67 +1,84 @@
Yet another image viewer. Yet another image viewer.
|CI|Build Status| |CI|Build Status|
|---|---| |---|---|
|Windows Build|[![Windows build status](https://ci.appveyor.com/api/projects/status/dbd8clww3cit6oa0/branch/master?svg=true)](https://ci.appveyor.com/project/BLumia/pineapplepictures/branch/master)| |Windows Build|[![Windows build status](https://ci.appveyor.com/api/projects/status/dbd8clww3cit6oa0/branch/master?svg=true)](https://ci.appveyor.com/project/BLumia/pineapplepictures/branch/master)|
|macOS Build|![macOS CI](https://github.com/BLumia/pineapple-pictures/workflows/macOS%20CI/badge.svg)| |macOS Build|[![macOS CI](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml/badge.svg)](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml)|
|Ubuntu 20.04 Build|![Ubuntu 20.04 CI](https://github.com/BLumia/pineapple-pictures/workflows/Ubuntu%2020.04%20CI/badge.svg)| |Ubuntu Build|[![Ubuntu CI](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml)|
![Pineapple Pictures - Main Window](https://repository-images.githubusercontent.com/211888654/21fb6300-269f-11ea-8e85-953e5d57da44) ![Pineapple Pictures - Main Window](https://repository-images.githubusercontent.com/211888654/e8697600-e370-11eb-9b2a-b71e05262954)
## Get it! ## Summary
- [GitHub Release Page](https://github.com/BLumia/pineapple-pictures/releases) Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, HDR, AVIF and some other frequently used image formats files quickly and easily, and also provide a Stay-on-Top window setting that allows you pin the window so you can use it to pin a reference image at the top and then you can work with other software.
- Archlinux AUR: [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
## Get it!
## Build it manually:
### Maintained by the original author
Current state, we need:
- [GitHub Release Page](https://github.com/BLumia/pineapple-pictures/releases)
- `cmake`: as the build system. - [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- `qt5` with `qt5-svg` and `qt5-tools`: since the app is using Qt. - Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
- [Itch.io Store](https://blumia.itch.io/pineapple-pictures)
Then we can build it with any proper c++ compiler like g++ or msvc.
### Maintained by contributors / curtain distro's package maintainers
Building it just requires normal cmake building steps:
- Debian (since bullseye) or Ubuntu (since 21.04): `sudo apt install pineapple-pictures`
``` bash - Nix / NixOS: [pineapple-pictures](https://search.nixos.org/packages?channel=unstable&show=pineapple-pictures&from=0&size=50&sort=relevance&type=packages&query=pineapple-pictures) (maintained by @wineee)
$ mkdir build && cd build
$ cmake .. ## Help Translation!
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.
``` [Translate this project on Weblate!](https://hosted.weblate.org/projects/pineapple-pictures/)
After that, a `ppic` executable file will be available to use. You can also optionally install it by using the target `install` (or simply `make install` in case you are using Makefile). After the build process, you can also use `cpack` to make a package. ## Build it manually:
Image formats supports rely on Qt's imageformats plugins, just get the plugins you need from your distro's package manager will be fine. For Windows user, you may need build and install the imageformats plugin manually, read the content below. Current state, we need:
### Linux - `cmake`: as the build system.
- `qt6` with `qt6-svg` and `qt6-tools`: since the app is using Qt.
Just normal build process as other program will be fine. Nothing special ;) - `libexiv2`: able to display more image metadata. (optional, but recommended)
For Archlinux there are also a [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pineapple-pictures-git) you can use. Then we can build it with any proper c++ compiler like g++ or msvc.
For packaging to debian-based distro, the `CMakeLists.txt` provides some cpack configurations for generating a `.deb` package. After the build process, use `cpack -G DEB` to generate the package. You can also take `.github/workflows/ubuntu.yml` as a reference. Building it just requires normal cmake building steps:
For this project, `DEB` is the only supported cpack generator in current state, feel free to submit a PR if you like improving `cpack` support for this project. ``` bash
$ mkdir build && cd build
### Windows $ cmake ..
$ cmake --build . # or simply using `make` if you are using Makefile as the cmake generator.
The normal build steps for Linux is also applied to Windows, but since Windows doesn't have a decent package manager, so if you need any other image formats support other than the supported formats which Qt provided, you need to get and build these imageformats plugins manually and vendor it. It's optional and can be skipped if you don't need extra image formats support. ```
For the Windows binary I provided, kimageformats plugin is used (for formats like kra, xcf, psd and etc.). You can take `appveyor.yml` as a reference to learn what I did when building the Windows binary. After that, a `ppic` executable file will be available to use. You can also optionally install it by using the target `install` (or simply `make install` in case you are using Makefile). After the build process, you can also use `cpack` to make a package.
[KDE Craft](https://community.kde.org/Craft) environment also can be used to build and package this program. I did also created a blueprint for building this project, but since I don't have a CI to run KDE Craft build, the blueprint repo are not provided here. Maybe sometimes later. The project will try to build with `exiv2` when it's available at build time, if you would like to build the project without `exiv2`, pass `-DEXIV2_METADATA_SUPPORT=OFF` to `cmake`. The project will also not use `exiv2` if it's not found, the `EXIV2_METADATA_SUPPORT` option can be useful if you have `exiv2` but specifically don't want to use it.
### macOS Image formats supports rely on Qt's imageformats plugins, just get the plugins you need from your distro's package manager will be fine. For Windows user, you may need build and install the imageformats plugin manually, read the content below.
I don't have a mac, so no support at all. There is also a GitHub Action (see `.github/workflows/macos.yml`) running macOS build though so at least it can build. Feel free to submit a PR if you would like to give some love to the macOS build ;P > [!NOTE]
> Although there is a `pineapple-pictures.pro` file which can be used for QMake build, it's only for testing purpose and it doesn't have `exiv2` support included. Using QMake to build this project is NOT supported, please use CMake if possible.
## Help Translation!
### Linux
[Translate this project on Transifex!](https://www.transifex.com/blumia/pineapple-pictures/)
Just normal build process as other program will be fine. Nothing special ;)
Feel free to open up an issue to request a new language to translate.
For Archlinux there are also a [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pineapple-pictures-git) you can use.
## License
For packaging to debian-based distro, the `CMakeLists.txt` provides some cpack configurations for generating a `.deb` package. After the build process, use `cpack -G DEB` to generate the package. You can also take `.github/workflows/ubuntu.yml` as a reference.
This program released under MIT license
For this project, `DEB` is the only supported cpack generator in current state, feel free to submit a PR if you like improving `cpack` support for this project.
### Windows
The normal build steps for Linux is also applied to Windows, but since Windows doesn't have a decent package manager, so if you need any other image formats support other than the supported formats which Qt provided, you need to get and build these imageformats plugins manually and vendor it. It's optional and can be skipped if you don't need extra image formats support.
For the Windows binary I provided, kimageformats plugin is used (for formats like kra, xcf, psd and etc.). You can take `appveyor.yml` as a reference to learn what I did when building the Windows binary.
[KDE Craft](https://community.kde.org/Craft) environment also can be used to build and package this program. I did also created a blueprint for building this project that you can found it at [here](https://github.com/BearKidsTeam/craft-shmooprint-bkt). It's not the way I used to create the release binary, but still worth trying.
### macOS
I don't have a mac, so no support at all. There is also a GitHub Action (see `.github/workflows/macos.yml`) running macOS build though so at least it can build. Feel free to submit a PR if you would like to give some love to the macOS build ;P
## License
Pineapple Pictures as a whole is licensed under MIT license. Individual files may have a different, but compatible license.

View File

@ -1,67 +1,85 @@
简单轻量的跨平台看图工具。 简单轻量的跨平台看图工具。
|CI|构建状态| |CI|构建状态|
|---|---| |---|---|
|Windows Build|[![Windows build status](https://ci.appveyor.com/api/projects/status/dbd8clww3cit6oa0/branch/master?svg=true)](https://ci.appveyor.com/project/BLumia/pineapplepictures/branch/master)| |Windows Build|[![Windows build status](https://ci.appveyor.com/api/projects/status/dbd8clww3cit6oa0/branch/master?svg=true)](https://ci.appveyor.com/project/BLumia/pineapplepictures/branch/master)|
|macOS Build|![macOS CI](https://github.com/BLumia/pineapple-pictures/workflows/macOS%20CI/badge.svg)| |macOS Build|[![macOS CI](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml/badge.svg)](https://github.com/BLumia/pineapple-pictures/actions/workflows/macos.yml)|
|Ubuntu 20.04 Build|![Ubuntu 20.04 CI](https://github.com/BLumia/pineapple-pictures/workflows/Ubuntu%2020.04%20CI/badge.svg)| |Ubuntu Build|[![Ubuntu CI](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/BLumia/pineapple-pictures/actions/workflows/ubuntu.yml)|
![Pineapple Pictures - Main Window](https://repository-images.githubusercontent.com/211888654/21fb6300-269f-11ea-8e85-953e5d57da44) ![Pineapple Pictures - Main Window](https://repository-images.githubusercontent.com/211888654/e8697600-e370-11eb-9b2a-b71e05262954)
## 立即获取! ## 简介
- [GitHub Release 页面](https://github.com/BLumia/pineapple-pictures/releases) | [gitee 发布页面](https://gitee.com/blumia/pineapple-pictures/releases) 菠萝看图是一个轻量图像查看器,允许你简单快捷的查看 JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, HDR, AVIF 等常用格式的图像文件,并提供了置顶窗口的选项以便你在使用其它软件时也可以将参考图片固定在顶端。
- Archlinux AUR: [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
## 立即获取!
## 手动构建步骤:
### 由原作者维护
当前状态,我们需要先确保如下依赖可用:
- [GitHub Release 页面](https://github.com/BLumia/pineapple-pictures/releases) | [gitee 发布页面](https://gitee.com/blumia/pineapple-pictures/releases)
- `cmake`: 我们所使用的构建系统 - [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- 包含 `qt5-svg``qt5-tools` 组件的 `qt5`: 此应用基于 Qt - Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
- [Itch.io 商店](https://blumia.itch.io/pineapple-pictures)
然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了 - Flatpak (于 FlatHub): [net.blumia.pineapple-pictures](https://flathub.org/apps/net.blumia.pineapple-pictures) *([我应当使用 flatpak 版吗?](https://github.com/BLumia/pineapple-pictures/wiki/Container%E2%80%90based-Packaging-Solutions-Support))*
构建过程就是常规的 CMake 应用构建过程: ### 由贡献者/对应发行版的打包人员维护
``` bash - Debian (自 bullseye 起) 或 Ubuntu (自 21.04 起): `sudo apt install pineapple-pictures`
$ mkdir build && cd build - Nix / NixOS: [pineapple-pictures](https://search.nixos.org/packages?channel=unstable&show=pineapple-pictures&from=0&size=50&sort=relevance&type=packages&query=pineapple-pictures) (由 [@wineee](https://github.com/wineee) 维护)
$ cmake ..
$ cmake --build . # 如果你使用 Makefile 作为 CMake 生成器,也可以直接简单的使用 `make` ## 帮助翻译!
```
[在 Weblate 上帮助此项目翻译到更多语言!](https://hosted.weblate.org/projects/pineapple-pictures/)
完毕后,一个名为 `ppic` 的可执行程序即会被生成以供使用。您也可以选择通过使用 CMake 生成的 `install` 目标继续将其安装到您的设备上(假设您使用 Makefile即可执行 `make install` 来进行安装)。构建步骤完毕后,您也可以使用 `cpack` 来对应用程序进行打包。
## 手动构建步骤:
此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。
当前状态,我们需要先确保如下依赖可用:
### Linux
- `cmake`: 我们所使用的构建系统
常规的构建步骤即可完成构建,不需要额外的处理步骤 ;) - 包含 `qt6-svg``qt6-tools` 组件的 `qt6`: 此应用基于 Qt
- `libexiv2`: 用以获取和显示更多的图像元信息(可选,推荐)
对于 Archlinux 发行版的用户,这里还有一个 [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pineapple-pictures-git) 可供使用和参考。
然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了
对于在基于 debian 的发行版中进行打包的需求, `CMakeLists.txt` 已经提供了一些基本的 cpack 配置以便生成一个有效的 `.deb` 软件包。在构建步骤完毕后,使用 `cpack -G DEB` 即可生成 DEB 软件包。您也可以参考 `.github/workflows/ubuntu.yml` 来查看当前正在使用的 CI 配置是如何进行打包的。
构建过程就是常规的 CMake 应用构建过程:
目前,`DEB` 是当前唯一受到直接支持的 cpack 生成目标。若希望为此项目添加其它的 cpack 目标支持,欢迎发起合并请求。
``` bash
### Windows $ mkdir build && cd build
$ cmake ..
上述的构建步骤在 Windows 中也适用,但由于 Windows 中不具备类如大多 Linux 发行版中所提供的方便的软件包管理机制,故如果您需要任何 Qt 官方支持之外的图像格式例如 psdxcfkra 等格式的支持,你就可能需要自行获取并构建对应的 imageformats 插件,并在您最终生成的可执行文件中一并提供这些插件。若您不需要这些额外的图像格式支持,这个步骤也可以直接跳过。 $ cmake --build . # 如果你使用 Makefile 作为 CMake 生成器,也可以直接简单的使用 `make`
```
我们所提供的预编译好的 Windows 程序包含了 kimageformats 插件来提供额外kra, xcf, psd 等)格式的支持。您可以参考 `appveyor.yml` 来查看我们是如何构建并打包 Windows 可执行程序的。
完毕后,一个名为 `ppic` 的可执行程序即会被生成以供使用。您也可以选择通过使用 CMake 生成的 `install` 目标继续将其安装到您的设备上(假设您使用 Makefile即可执行 `make install` 来进行安装)。构建步骤完毕后,您也可以使用 `cpack` 来对应用程序进行打包。
[KDE Craft](https://community.kde.org/Craft) 环境也可以被用来构建此应用程序。我也创建了一个蓝图来进行此项目的构建和打包。但由于暂时并未配置 CI 部署此环境来进行 KDE Craft 环境下的构建,故对应的蓝图仓库也尚未公开提供,或许后续会开放出来。
`exiv2` 在构建时可用时,此项目将尝试使用其进行构建,若您不希望使用 `exiv2`,请传递 `-DEXIV2_METADATA_SUPPORT=OFF` 参数给 `cmake`。此项目在找不到 `exiv2` 时并不会使用 `exiv2``EXIV2_METADATA_SUPPORT` 选项可供尽管存在可用的 `exiv2` 但您明确不希望启用其支持时使用。
### macOS
此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。
由于我没有 mac 设备,故 macOS 暂时不受任何支持。不过我们目前有一个 GitHub Action 来执行 macOS 环境下的构建(见 `.github/workflows/macos.yml`)所以至少 macOS 下是可以顺利进行构建的。如果您想完善对 macOS 的支持,也欢迎您创建合并请求 ;P
> [!NOTE]
## 帮助翻译! > 尽管存在一个可用于 QMake 构建的 `pineapple-pictures.pro` 文件,但其仅供简单测试所用且其并不包含 `exiv2` 支持。使用 QMake 构建此项目是 **不受支持** 的,请尽可能考虑使用 CMake。
[在 Transifex 上帮助此项目翻译到更多语言!](https://www.transifex.com/blumia/pineapple-pictures/) ### Linux
若 Transifex 上没有您所希望进行翻译的语言,请通过 Issue 的形式告诉我。 常规的构建步骤即可完成构建,不需要额外的处理步骤 ;)
## 许可协议 对于 Archlinux 发行版的用户,这里还有一个 [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pineapple-pictures-git) 可供使用和参考。
此项目使用 MIT 协议进行发布。 对于在基于 debian 的发行版中进行打包的需求, `CMakeLists.txt` 已经提供了一些基本的 cpack 配置以便生成一个有效的 `.deb` 软件包。在构建步骤完毕后,使用 `cpack -G DEB` 即可生成 DEB 软件包。您也可以参考 `.github/workflows/ubuntu.yml` 来查看当前正在使用的 CI 配置是如何进行打包的。
目前,`DEB` 是当前唯一受到直接支持的 cpack 生成目标。若希望为此项目添加其它的 cpack 目标支持,欢迎发起合并请求。
### Windows
上述的构建步骤在 Windows 中也适用,但由于 Windows 中不具备类如大多 Linux 发行版中所提供的方便的软件包管理机制,故如果您需要任何 Qt 官方支持之外的图像格式例如 psdxcfkra 等格式的支持,你就可能需要自行获取并构建对应的 imageformats 插件,并在您最终生成的可执行文件中一并提供这些插件。若您不需要这些额外的图像格式支持,这个步骤也可以直接跳过。
我们所提供的预编译好的 Windows 程序包含了 kimageformats 插件来提供额外kra, xcf, psd 等)格式的支持。您可以参考 `appveyor.yml` 来查看我们是如何构建并打包 Windows 可执行程序的。
[KDE Craft](https://community.kde.org/Craft) 环境也可以被用来构建此应用程序。我也创建了一个蓝图来进行此项目的构建和打包,可参见[这里](https://github.com/BearKidsTeam/craft-shmooprint-bkt)。尽管这不是我用于构建发布二进制所使用的方案,但仍值得一试。
### macOS
由于我没有 mac 设备,故 macOS 暂时不受任何支持。不过我们目前有一个 GitHub Action 来执行 macOS 环境下的构建(见 `.github/workflows/macos.yml`)所以至少 macOS 下是可以顺利进行构建的。如果您想完善对 macOS 的支持,也欢迎您创建合并请求 ;P
## 许可协议
菠萝看图整体使用 MIT 协议进行发布。项目所随的部分源文件可能具备不同但与之兼容的许可协议。

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "aboutdialog.h" #include "aboutdialog.h"
#include <QAbstractButton> #include <QAbstractButton>
@ -8,6 +12,7 @@
#include <QApplication> #include <QApplication>
#include <QLabel> #include <QLabel>
#include <QPushButton> #include <QPushButton>
#include <QFile>
AboutDialog::AboutDialog(QWidget *parent) AboutDialog::AboutDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
@ -21,30 +26,40 @@ AboutDialog::AboutDialog(QWidget *parent)
{ {
this->setWindowTitle(tr("About")); this->setWindowTitle(tr("About"));
QStringList helpStr { const QStringList helpStr {
QStringLiteral("<p>%1</p>").arg(tr("Launch application with image file path as argument to load the file.")), QStringLiteral("<p>%1</p>").arg(tr("Launch application with image file path as argument to load the file.")),
QStringLiteral("<p>%1</p>").arg(tr("Drag and drop image file onto the window is also supported.")), QStringLiteral("<p>%1</p>").arg(tr("Drag and drop image file onto the window is also supported.")),
QStringLiteral("<p>%1</p>").arg(tr("None of the operations in this application will alter the pictures on disk.")),
QStringLiteral("<p>%1</p>").arg(tr("Context menu option explanation:")), QStringLiteral("<p>%1</p>").arg(tr("Context menu option explanation:")),
QStringLiteral("<ul>"), QStringLiteral("<ul>"),
QStringLiteral("<li><b>%1</b>:<br/>%2</li>").arg( // blumia: Chain two arg() here since it seems lupdate will remove one of them if we use
QCoreApplication::translate("MainWindow", "Stay on top"), // the old `arg(QCoreApp::translate(), tr())` way, but it's worth to mention
this->tr("Make window stay on top of all other windows.") // `arg(QCoreApp::translate(), this->tr())` works, but lupdate will complain about the usage.
), QStringLiteral("<li><b>%1</b>:<br/>%2</li>")
QStringLiteral("<li><b>%1</b>:<br/>%2</li>").arg( .arg(QCoreApplication::translate("MainWindow", "Stay on top"))
QCoreApplication::translate("MainWindow", "Protected mode"), .arg(tr("Make window stay on top of all other windows.")),
this->tr("Avoid close window accidentally. (eg. by double clicking the window)") QStringLiteral("<li><b>%1</b>:<br/>%2</li>")
), .arg(QCoreApplication::translate("MainWindow", "Protected mode"))
.arg(tr("Avoid close window accidentally. (eg. by double clicking the window)")),
QStringLiteral("<li><b>%1</b>:<br/>%2</li>")
.arg(QCoreApplication::translate("MainWindow", "Keep transformation", "The 'transformation' means the flip/rotation status that currently applied to the image view"))
.arg(tr("Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.")),
QStringLiteral("</ul>") QStringLiteral("</ul>")
}; };
QStringList aboutStr { const QStringList aboutStr {
QStringLiteral("<center><img width='128' height='128' src=':/icons/app-icon.svg'/><br/>"), QStringLiteral("<center><img width='128' height='128' src=':/icons/app-icon.svg'/><br/>"),
qApp->applicationDisplayName(), qApp->applicationDisplayName(),
(QStringLiteral("<br/>") + tr("Version: %1").arg(
#ifdef GIT_DESCRIBE_VERSION_STRING #ifdef GIT_DESCRIBE_VERSION_STRING
(QStringLiteral("<br/>") + tr("Version: %1").arg(GIT_DESCRIBE_VERSION_STRING)), GIT_DESCRIBE_VERSION_STRING
#else
qApp->applicationVersion()
#endif // GIT_DESCRIBE_VERSION_STRING #endif // GIT_DESCRIBE_VERSION_STRING
)),
QStringLiteral("<hr/>"), QStringLiteral("<hr/>"),
tr("Copyright (c) 2020 %1").arg(QStringLiteral("<a href='https://github.com/BLumia'>@BLumia</a>")), tr("Copyright (c) %1 %2", "%1 is year, %2 is the name of copyright holder(s)")
.arg(QStringLiteral("2024"), QStringLiteral("<a href='https://github.com/BLumia'>@BLumia</a>")),
QStringLiteral("<br/>"), QStringLiteral("<br/>"),
tr("Logo designed by %1").arg(QStringLiteral("<a href='https://github.com/Lovelyblack'>@Lovelyblack</a>")), tr("Logo designed by %1").arg(QStringLiteral("<a href='https://github.com/Lovelyblack'>@Lovelyblack</a>")),
QStringLiteral("<hr/>"), QStringLiteral("<hr/>"),
@ -53,22 +68,26 @@ AboutDialog::AboutDialog(QWidget *parent)
QStringLiteral("</center>") QStringLiteral("</center>")
}; };
QStringList specialThanksStr { QFile translaterHtml(":/plain/translators.html");
bool canOpenFile = translaterHtml.open(QIODevice::ReadOnly);
const QByteArray & translatorList = canOpenFile ? translaterHtml.readAll() : QByteArrayLiteral("");
const QStringList specialThanksStr {
QStringLiteral("<h1 align='center'>%1</h1><a href='%2'>%3</a><p>%4</p>").arg( QStringLiteral("<h1 align='center'>%1</h1><a href='%2'>%3</a><p>%4</p>").arg(
tr("Contributors"), tr("Contributors"),
QStringLiteral("https://github.com/BLumia/pineapple-pictures/graphs/contributors"), QStringLiteral("https://github.com/BLumia/pineapple-pictures/graphs/contributors"),
tr("List of contributors on GitHub"), tr("List of contributors on GitHub"),
tr("Thanks to all people who contributed to this project.") tr("Thanks to all people who contributed to this project.")
), ),
#if 0
QStringLiteral("<h1 align='center'>%1</h1><p>%2</p>").arg( QStringLiteral("<h1 align='center'>%1</h1><p>%2</p>%3").arg(
tr("Translators"), tr("Translators"),
tr("I would like to thank the following people who volunteered to translate this application.") tr("I would like to thank the following people who volunteered to translate this application."),
), translatorList
#endif )
}; };
QStringList licenseStr { const QStringList licenseStr {
QStringLiteral("<h1 align='center'><b>%1</b></h1>").arg(tr("Your Rights")), QStringLiteral("<h1 align='center'><b>%1</b></h1>").arg(tr("Your Rights")),
QStringLiteral("<p>%1</p><p>%2</p><ul><li>%3</li><li>%4</li><li>%5</li><li>%6</li></ul>").arg( QStringLiteral("<p>%1</p><p>%2</p><ul><li>%3</li><li>%4</li><li>%5</li><li>%6</li></ul>").arg(
tr("%1 is released under the MIT License."), // %1 tr("%1 is released under the MIT License."), // %1
@ -82,9 +101,9 @@ AboutDialog::AboutDialog(QWidget *parent)
QStringLiteral("<hr/><pre>%2</pre>") QStringLiteral("<hr/><pre>%2</pre>")
}; };
QString mitLicense(QStringLiteral(R"(Expat/MIT License const QString mitLicense(QStringLiteral(R"(Expat/MIT License
Copyright (c) 2020 BLumia Copyright (c) 2024 BLumia
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@ -105,10 +124,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
)")); )"));
QStringList thirdPartyLibsStr { const QStringList thirdPartyLibsStr {
QStringLiteral("<h1 align='center'><b>%1</b></h1>").arg(tr("Third-party Libraries used by %1")), QStringLiteral("<h1 align='center'><b>%1</b></h1>").arg(tr("Third-party Libraries used by %1")),
tr("%1 is built on the following free software libraries:"), tr("%1 is built on the following free software libraries:", "Free as in freedom"),
QStringLiteral("<ul>"), QStringLiteral("<ul>"),
#ifdef HAVE_EXIV2_VERSION
QStringLiteral("<li><a href='%1'>%2</a>: %3</li>").arg("https://www.exiv2.org/", "Exiv2", "GPLv2"),
#endif // EXIV2_VERSION
QStringLiteral("<li><a href='%1'>%2</a>: %3</li>").arg("https://www.qt.io/", "Qt", "GPLv2 + GPLv3 + LGPLv2.1 + LGPLv3"), QStringLiteral("<li><a href='%1'>%2</a>: %3</li>").arg("https://www.qt.io/", "Qt", "GPLv2 + GPLv3 + LGPLv2.1 + LGPLv3"),
QStringLiteral("</ul>") QStringLiteral("</ul>")
}; };
@ -123,7 +145,7 @@ SOFTWARE.
m_licenseTextEdit->setText(licenseStr.join('\n').arg(qApp->applicationDisplayName(), mitLicense)); m_licenseTextEdit->setText(licenseStr.join('\n').arg(qApp->applicationDisplayName(), mitLicense));
m_3rdPartyLibsTextEdit->setText(thirdPartyLibsStr.join('\n').arg(QStringLiteral("<i>%1</i>")).arg(qApp->applicationDisplayName())); m_3rdPartyLibsTextEdit->setText(thirdPartyLibsStr.join('\n').arg(QStringLiteral("<i>%1</i>").arg(qApp->applicationDisplayName())));
m_3rdPartyLibsTextEdit->setOpenExternalLinks(true); m_3rdPartyLibsTextEdit->setOpenExternalLinks(true);
m_tabWidget->addTab(m_helpTextEdit, tr("&Help")); m_tabWidget->addTab(m_helpTextEdit, tr("&Help"));

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef ABOUTDIALOG_H #ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H #define ABOUTDIALOG_H

163
app/actionmanager.cpp Normal file
View File

@ -0,0 +1,163 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "actionmanager.h"
#include "mainwindow.h"
#include <QGuiApplication>
#include <QSvgRenderer>
#include <QPainter>
#define ICON_NAME(name)\
QStringLiteral(":/icons/" #name ".svg")
#define ACTION_NAME(s) QStringLiteral(STRIFY(s))
#define STRIFY(s) #s
ActionManager::ActionManager()
{
}
ActionManager::~ActionManager()
{
}
QIcon ActionManager::loadHidpiIcon(const QString &resp, QSize sz)
{
QSvgRenderer r(resp);
QPixmap pm = QPixmap(sz * qApp->devicePixelRatio());
pm.fill(Qt::transparent);
QPainter p(&pm);
r.render(&p);
pm.setDevicePixelRatio(qApp->devicePixelRatio());
return QIcon(pm);
}
void ActionManager::setupAction(MainWindow *mainWindow)
{
auto create_action = [] (QWidget *w, QAction **a, QString i, QString an, bool iconFromTheme = false) {
*a = new QAction(w);
if (!i.isNull())
(*a)->setIcon(iconFromTheme ? QIcon::fromTheme(i) : ActionManager::loadHidpiIcon(i));
(*a)->setObjectName(an);
w->addAction(*a);
};
#define CREATE_NEW_ICON_ACTION(w, a, i) create_action(w, &a, ICON_NAME(i), ACTION_NAME(a))
CREATE_NEW_ICON_ACTION(mainWindow, actionActualSize, zoom-original);
CREATE_NEW_ICON_ACTION(mainWindow, actionToggleMaximize, view-fullscreen);
CREATE_NEW_ICON_ACTION(mainWindow, actionZoomIn, zoom-in);
CREATE_NEW_ICON_ACTION(mainWindow, actionZoomOut, zoom-out);
CREATE_NEW_ICON_ACTION(mainWindow, actionToggleCheckerboard, view-background-checkerboard);
CREATE_NEW_ICON_ACTION(mainWindow, actionRotateClockwise, object-rotate-right);
#undef CREATE_NEW_ICON_ACTION
#define CREATE_NEW_ACTION(w, a) create_action(w, &a, QString(), ACTION_NAME(a))
#define CREATE_NEW_THEMEICON_ACTION(w, a, i) create_action(w, &a, QLatin1String(STRIFY(i)), ACTION_NAME(a), true)
CREATE_NEW_ACTION(mainWindow, actionRotateCounterClockwise);
CREATE_NEW_ACTION(mainWindow, actionPrevPicture);
CREATE_NEW_ACTION(mainWindow, actionNextPicture);
CREATE_NEW_ACTION(mainWindow, actionTogglePauseAnimation);
CREATE_NEW_ACTION(mainWindow, actionAnimationNextFrame);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionOpen, document-open);
CREATE_NEW_ACTION(mainWindow, actionHorizontalFlip);
CREATE_NEW_ACTION(mainWindow, actionFitInView);
CREATE_NEW_ACTION(mainWindow, actionFitByWidth);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionCopyPixmap, edit-copy);
CREATE_NEW_ACTION(mainWindow, actionCopyFilePath);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionPaste, edit-paste);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionTrash, edit-delete);
CREATE_NEW_ACTION(mainWindow, actionToggleStayOnTop);
CREATE_NEW_ACTION(mainWindow, actionToggleProtectMode);
CREATE_NEW_ACTION(mainWindow, actionToggleAvoidResetTransform);
CREATE_NEW_ACTION(mainWindow, actionSettings);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionHelp, system-help);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionLocateInFileManager, system-file-manager);
CREATE_NEW_THEMEICON_ACTION(mainWindow, actionProperties, document-properties);
CREATE_NEW_ACTION(mainWindow, actionQuitApp);
#undef CREATE_NEW_ACTION
#undef CREATE_NEW_THEMEICON_ACTION
retranslateUi(mainWindow);
QMetaObject::connectSlotsByName(mainWindow);
}
void ActionManager::retranslateUi(MainWindow *mainWindow)
{
Q_UNUSED(mainWindow);
actionOpen->setText(QCoreApplication::translate("MainWindow", "&Open...", nullptr));
actionActualSize->setText(QCoreApplication::translate("MainWindow", "Actual size", nullptr));
actionToggleMaximize->setText(QCoreApplication::translate("MainWindow", "Toggle maximize", nullptr));
actionZoomIn->setText(QCoreApplication::translate("MainWindow", "Zoom in", nullptr));
actionZoomOut->setText(QCoreApplication::translate("MainWindow", "Zoom out", nullptr));
actionToggleCheckerboard->setText(QCoreApplication::translate("MainWindow", "Toggle Checkerboard", nullptr));
actionRotateClockwise->setText(QCoreApplication::translate("MainWindow", "Rotate right", nullptr));
actionRotateCounterClockwise->setText(QCoreApplication::translate("MainWindow", "Rotate left", nullptr));
actionPrevPicture->setText(QCoreApplication::translate("MainWindow", "Previous image", nullptr));
actionNextPicture->setText(QCoreApplication::translate("MainWindow", "Next image", nullptr));
actionTogglePauseAnimation->setText(QCoreApplication::translate("MainWindow", "Pause/Resume Animation", nullptr));
actionAnimationNextFrame->setText(QCoreApplication::translate("MainWindow", "Animation Go to Next Frame", nullptr));
actionHorizontalFlip->setText(QCoreApplication::translate("MainWindow", "Flip &Horizontally", nullptr));
actionFitInView->setText(QCoreApplication::translate("MainWindow", "Fit to view", nullptr));
actionFitByWidth->setText(QCoreApplication::translate("MainWindow", "Fit to width", nullptr));
actionCopyPixmap->setText(QCoreApplication::translate("MainWindow", "Copy P&ixmap", nullptr));
actionCopyFilePath->setText(QCoreApplication::translate("MainWindow", "Copy &File Path", nullptr));
actionPaste->setText(QCoreApplication::translate("MainWindow", "&Paste", nullptr));
actionTrash->setText(QCoreApplication::translate("MainWindow", "Move to Trash", nullptr));
actionToggleStayOnTop->setText(QCoreApplication::translate("MainWindow", "Stay on top", nullptr));
actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr));
actionToggleAvoidResetTransform->setText(QCoreApplication::translate("MainWindow", "Keep transformation", "The 'transformation' means the flip/rotation status that currently applied to the image view"));
actionSettings->setText(QCoreApplication::translate("MainWindow", "Configure...", nullptr));
actionHelp->setText(QCoreApplication::translate("MainWindow", "Help", nullptr));
#ifdef Q_OS_WIN
actionLocateInFileManager->setText(
QCoreApplication::translate(
"MainWindow", "Show in File Explorer",
"File Explorer is the name of explorer.exe under Windows"
)
);
#else
actionLocateInFileManager->setText(QCoreApplication::translate("MainWindow", "Show in directory", nullptr));
#endif // Q_OS_WIN
actionProperties->setText(QCoreApplication::translate("MainWindow", "Properties", nullptr));
actionQuitApp->setText(QCoreApplication::translate("MainWindow", "Quit", nullptr));
}
void ActionManager::setupShortcuts()
{
actionOpen->setShortcut(QKeySequence::Open);
actionActualSize->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_0));
actionZoomIn->setShortcut(QKeySequence::ZoomIn);
actionZoomOut->setShortcut(QKeySequence::ZoomOut);
actionPrevPicture->setShortcuts({
QKeySequence(Qt::Key_PageUp),
QKeySequence(Qt::Key_Left),
});
actionNextPicture->setShortcuts({
QKeySequence(Qt::Key_PageDown),
QKeySequence(Qt::Key_Right),
});
actionHorizontalFlip->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_R));
actionCopyPixmap->setShortcut(QKeySequence::Copy);
actionPaste->setShortcut(QKeySequence::Paste);
actionTrash->setShortcut(QKeySequence::Delete);
actionHelp->setShortcut(QKeySequence::HelpContents);
actionSettings->setShortcut(QKeySequence::Preferences);
actionProperties->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_I));
actionQuitApp->setShortcuts({
QKeySequence(Qt::Key_Space),
QKeySequence(Qt::Key_Escape)
});
}

58
app/actionmanager.h Normal file
View File

@ -0,0 +1,58 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef ACTIONMANAGER_H
#define ACTIONMANAGER_H
#include <QAction>
class MainWindow;
class ActionManager
{
public:
ActionManager();
~ActionManager();
void setupAction(MainWindow * mainWindow);
void retranslateUi(MainWindow *MainWindow);
void setupShortcuts();
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32));
public:
QAction *actionOpen;
QAction *actionActualSize;
QAction *actionToggleMaximize;
QAction *actionZoomIn;
QAction *actionZoomOut;
QAction *actionToggleCheckerboard;
QAction *actionRotateClockwise;
QAction *actionRotateCounterClockwise;
QAction *actionPrevPicture;
QAction *actionNextPicture;
QAction *actionTogglePauseAnimation;
QAction *actionAnimationNextFrame;
QAction *actionHorizontalFlip;
QAction *actionFitInView;
QAction *actionFitByWidth;
QAction *actionCopyPixmap;
QAction *actionCopyFilePath;
QAction *actionPaste;
QAction *actionTrash;
QAction *actionToggleStayOnTop;
QAction *actionToggleProtectMode;
QAction *actionToggleAvoidResetTransform;
QAction *actionSettings;
QAction *actionHelp;
QAction *actionLocateInFileManager;
QAction *actionProperties;
QAction *actionQuitApp;
};
#endif // ACTIONMANAGER_H

59
app/bottombuttongroup.cpp Normal file
View File

@ -0,0 +1,59 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "bottombuttongroup.h"
#include "opacityhelper.h"
#include <functional>
#include <QToolButton>
#include <QVBoxLayout>
#include <QDebug>
BottomButtonGroup::BottomButtonGroup(const std::vector<QAction *> &actionList, QWidget *parent)
: QGroupBox (parent)
, m_opacityHelper(new OpacityHelper(this))
{
QHBoxLayout * mainLayout = new QHBoxLayout(this);
mainLayout->setSizeConstraint(QLayout::SetFixedSize);
this->setLayout(mainLayout);
this->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
this->setStyleSheet("BottomButtonGroup {"
"border: 1px solid gray;"
"border-top-left-radius: 10px;"
"border-top-right-radius: 10px;"
"border-style: none;"
"background-color:rgba(0,0,0,120)"
"}"
"QToolButton {"
"background:transparent;"
"}"
"QToolButton:!focus {"
"border-style: none;"
"}");
auto newActionBtn = [this](QAction * action) -> QToolButton * {
QToolButton * btn = new QToolButton(this);
btn->setDefaultAction(action);
btn->setIconSize(QSize(32, 32));
btn->setFixedSize(40, 40);
return btn;
};
for (QAction * action : actionList) {
addButton(newActionBtn(action));
}
}
void BottomButtonGroup::setOpacity(qreal opacity, bool animated)
{
m_opacityHelper->setOpacity(opacity, animated);
}
void BottomButtonGroup::addButton(QAbstractButton *button)
{
layout()->addWidget(button);
updateGeometry();
}

View File

@ -1,6 +1,12 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef BOTTOMBUTTONGROUP_H #ifndef BOTTOMBUTTONGROUP_H
#define BOTTOMBUTTONGROUP_H #define BOTTOMBUTTONGROUP_H
#include <vector>
#include <QAbstractButton> #include <QAbstractButton>
#include <QGroupBox> #include <QGroupBox>
@ -9,19 +15,11 @@ class BottomButtonGroup : public QGroupBox
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit BottomButtonGroup(QWidget *parent = nullptr); explicit BottomButtonGroup(const std::vector<QAction *> & actionList, QWidget *parent = nullptr);
void setOpacity(qreal opacity, bool animated = true); void setOpacity(qreal opacity, bool animated = true);
void addButton(QAbstractButton *button); void addButton(QAbstractButton *button);
signals:
void resetToOriginalBtnClicked();
void toggleWindowMaximum();
void zoomInBtnClicked();
void zoomOutBtnClicked();
void toggleCheckerboardBtnClicked();
void rotateRightBtnClicked();
private: private:
OpacityHelper * m_opacityHelper; OpacityHelper * m_opacityHelper;
}; };

138
app/exiv2wrapper.cpp Normal file
View File

@ -0,0 +1,138 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "exiv2wrapper.h"
#ifdef HAVE_EXIV2_VERSION
#include <exiv2/exiv2.hpp>
#else // HAVE_EXIV2_VERSION
namespace Exiv2 {
class Image {};
}
#endif // HAVE_EXIV2_VERSION
#include <sstream>
#include <QFile>
#include <QDebug>
Exiv2Wrapper::Exiv2Wrapper()
{
}
Exiv2Wrapper::~Exiv2Wrapper()
{
}
#ifdef HAVE_EXIV2_VERSION // stupid AppleClang...
template<typename Collection, typename Iterator>
void Exiv2Wrapper::cacheSection(Collection collection)
{
const Collection& exifData = collection;
Iterator it = exifData.begin(), end = exifData.end();
for (; it != end; ++it) {
QString key = QString::fromUtf8(it->key().c_str());
if (it->tagName().substr(0, 2) == "0x") continue;
// We might get exceptions like "No namespace info available for XMP prefix `Item'"
// when trying to get tagLabel() data from a Xmpdatum if the tag is not common-used.
// We don't care for those rare tags so let's just use a try-cache...
try {
QString label = QString::fromLocal8Bit(it->tagLabel().c_str());
std::ostringstream stream;
stream << *it;
QString value = QString::fromUtf8(stream.str().c_str());
m_metadataValue.insert(key, value);
m_metadataLabel.insert(key, label);
qDebug() << key << label << value;
#if EXIV2_TEST_VERSION(0, 28, 0)
} catch (Exiv2::Error & err) {
#else // 0.27.x
} catch (Exiv2::AnyError & err) {
#endif // EXIV2_TEST_VERSION(0, 28, 0)
qWarning() << "Error loading key" << key << ":" << err.what();
}
}
}
#endif // HAVE_EXIV2_VERSION
bool Exiv2Wrapper::load(const QString &filePath)
{
#ifdef HAVE_EXIV2_VERSION
QByteArray filePathByteArray = QFile::encodeName(filePath);
try {
m_exivImage.reset(Exiv2::ImageFactory::open(filePathByteArray.constData()).release());
m_exivImage->readMetadata();
} catch (const Exiv2::Error& error) {
m_errMsg = QString::fromUtf8(error.what());
return false;
}
return true;
#else // HAVE_EXIV2_VERSION
Q_UNUSED(filePath);
return false;
#endif // HAVE_EXIV2_VERSION
}
void Exiv2Wrapper::cacheSections()
{
#ifdef HAVE_EXIV2_VERSION
if (m_exivImage->checkMode(Exiv2::mdExif) & Exiv2::amRead) {
cacheSection<Exiv2::ExifData, Exiv2::ExifData::const_iterator>(m_exivImage->exifData());
}
if (m_exivImage->checkMode(Exiv2::mdIptc) & Exiv2::amRead) {
cacheSection<Exiv2::IptcData, Exiv2::IptcData::const_iterator>(m_exivImage->iptcData());
}
if (m_exivImage->checkMode(Exiv2::mdXmp) & Exiv2::amRead) {
cacheSection<Exiv2::XmpData, Exiv2::XmpData::const_iterator>(m_exivImage->xmpData());
}
// qDebug() << m_metadataValue;
// qDebug() << m_metadataLabel;
#endif // HAVE_EXIV2_VERSION
}
QString Exiv2Wrapper::comment() const
{
#ifdef HAVE_EXIV2_VERSION
return m_exivImage->comment().c_str();
#else // HAVE_EXIV2_VERSION
return QString();
#endif // HAVE_EXIV2_VERSION
}
QString Exiv2Wrapper::label(const QString &key) const
{
return m_metadataLabel.value(key);
}
QString Exiv2Wrapper::value(const QString &key) const
{
return m_metadataValue.value(key);
}
QString Exiv2Wrapper::XmpValue(const QString &rawValue)
{
QString ignored;
return Exiv2Wrapper::XmpValue(rawValue, ignored);
}
QString Exiv2Wrapper::XmpValue(const QString &rawValue, QString &language)
{
if (rawValue.size() > 6 && rawValue.startsWith(QLatin1String("lang=\""))) {
int pos = rawValue.indexOf('"', 6);
if (pos != -1) {
language = rawValue.mid(6, pos - 6);
return (rawValue.mid(pos + 2));
}
}
language.clear();
return rawValue;
}

43
app/exiv2wrapper.h Normal file
View File

@ -0,0 +1,43 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef EXIV2WRAPPER_H
#define EXIV2WRAPPER_H
#include <memory>
#include <QString>
#include <QMap>
namespace Exiv2 {
class Image;
}
class Exiv2Wrapper
{
public:
Exiv2Wrapper();
~Exiv2Wrapper();
bool load(const QString& filePath);
void cacheSections();
QString comment() const;
QString label(const QString & key) const;
QString value(const QString & key) const;
static QString XmpValue(const QString &rawValue);
static QString XmpValue(const QString &rawValue, QString & language);
private:
std::unique_ptr<Exiv2::Image> m_exivImage;
QMap<QString, QString> m_metadataValue;
QMap<QString, QString> m_metadataLabel;
QString m_errMsg;
template<typename Collection, typename Iterator>
void cacheSection(Collection collection);
};
#endif // EXIV2WRAPPER_H

147
app/framelesswindow.cpp Normal file
View File

@ -0,0 +1,147 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
// SPDX-FileCopyrightText: 2023 Tad Young <yyc12321@outlook.com>
//
// SPDX-License-Identifier: MIT
#include "framelesswindow.h"
#include <QMouseEvent>
#include <QHoverEvent>
#include <QApplication>
#include <QVBoxLayout>
#include <QWindow>
FramelessWindow::FramelessWindow(QWidget *parent)
: QWidget(parent)
, m_centralLayout(new QVBoxLayout(this))
, m_oldCursorShape(Qt::ArrowCursor)
, m_oldEdges()
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowMinMaxButtonsHint);
#else
// There is a bug in Qt 5 that will make pressing Meta+Up cause the app
// fullscreen under Windows, see QTBUG-91226 to learn more.
// The bug seems no longer exists in Qt 6 (I only tested it under Qt 6.3.0).
this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
this->setMouseTracking(true);
this->setAttribute(Qt::WA_Hover, true);
this->installEventFilter(this);
m_centralLayout->setContentsMargins(QMargins());
}
void FramelessWindow::setCentralWidget(QWidget *widget)
{
if (m_centralWidget) {
m_centralLayout->removeWidget(m_centralWidget);
m_centralWidget->deleteLater();
}
m_centralLayout->addWidget(widget);
m_centralWidget = widget;
}
void FramelessWindow::installResizeCapture(QObject* widget)
{
widget->installEventFilter(this);
}
bool FramelessWindow::eventFilter(QObject* o, QEvent* e)
{
switch (e->type()) {
case QEvent::HoverMove:
{
QWidget* wg = qobject_cast<QWidget*>(o);
if (wg != nullptr)
return mouseHover(static_cast<QHoverEvent*>(e), wg);
break;
}
case QEvent::MouseButtonPress:
return mousePress(static_cast<QMouseEvent*>(e));
}
return QWidget::eventFilter(o, e);
}
bool FramelessWindow::mouseHover(QHoverEvent* event, QWidget* wg)
{
if (!isMaximized() && !isFullScreen()) {
QWindow* win = window()->windowHandle();
Qt::Edges edges = this->getEdgesByPos(wg->mapToGlobal(event->oldPos()), win->frameGeometry());
// backup & restore cursor shape
if (edges && !m_oldEdges)
// entering the edge. backup cursor shape
m_oldCursorShape = win->cursor().shape();
if (!edges && m_oldEdges)
// leaving the edge. restore cursor shape
win->setCursor(m_oldCursorShape);
// save the latest edges status
m_oldEdges = edges;
// show resize cursor shape if cursor is within border
if (edges) {
win->setCursor(this->getCursorByEdge(edges, Qt::ArrowCursor));
return true;
}
}
return false;
}
bool FramelessWindow::mousePress(QMouseEvent* event)
{
if (event->buttons() & Qt::LeftButton && !isMaximized() && !isFullScreen()) {
QWindow* win = window()->windowHandle();
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
Qt::Edges edges = this->getEdgesByPos(event->globalPosition().toPoint(), win->frameGeometry());
#else
Qt::Edges edges = this->getEdgesByPos(event->globalPos(), win->frameGeometry());
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
if (edges) {
win->startSystemResize(edges);
return true;
}
}
return false;
}
Qt::CursorShape FramelessWindow::getCursorByEdge(const Qt::Edges& edges, Qt::CursorShape default_cursor)
{
if ((edges == (Qt::TopEdge | Qt::LeftEdge)) || (edges == (Qt::RightEdge | Qt::BottomEdge)))
return Qt::SizeFDiagCursor;
else if ((edges == (Qt::TopEdge | Qt::RightEdge)) || (edges == (Qt::LeftEdge | Qt::BottomEdge)))
return Qt::SizeBDiagCursor;
else if (edges & (Qt::TopEdge | Qt::BottomEdge))
return Qt::SizeVerCursor;
else if (edges & (Qt::LeftEdge | Qt::RightEdge))
return Qt::SizeHorCursor;
else
return default_cursor;
}
Qt::Edges FramelessWindow::getEdgesByPos(const QPoint gpos, const QRect& winrect)
{
const int borderWidth = 8;
Qt::Edges edges;
int x = gpos.x() - winrect.x();
int y = gpos.y() - winrect.y();
if (x < borderWidth)
edges |= Qt::LeftEdge;
if (x > (winrect.width() - borderWidth))
edges |= Qt::RightEdge;
if (y < borderWidth)
edges |= Qt::TopEdge;
if (y > (winrect.height() - borderWidth))
edges |= Qt::BottomEdge;
return edges;
}

39
app/framelesswindow.h Normal file
View File

@ -0,0 +1,39 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef FRAMELESSWINDOW_H
#define FRAMELESSWINDOW_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QVBoxLayout;
QT_END_NAMESPACE
class FramelessWindow : public QWidget
{
Q_OBJECT
public:
explicit FramelessWindow(QWidget *parent = nullptr);
void setCentralWidget(QWidget * widget);
void installResizeCapture(QObject* widget);
protected:
bool eventFilter(QObject *o, QEvent *e) override;
bool mouseHover(QHoverEvent* event, QWidget* wg);
bool mousePress(QMouseEvent* event);
private:
Qt::Edges m_oldEdges;
Qt::CursorShape m_oldCursorShape;
Qt::CursorShape getCursorByEdge(const Qt::Edges& edges, Qt::CursorShape default_cursor);
Qt::Edges getEdgesByPos(const QPoint pos, const QRect& winrect);
QVBoxLayout * m_centralLayout = nullptr;
QWidget * m_centralWidget = nullptr; // just a pointer, doesn't take the ownership.
};
#endif // FRAMELESSWINDOW_H

207
app/graphicsscene.cpp Normal file
View File

@ -0,0 +1,207 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "graphicsscene.h"
#include <QGraphicsSceneMouseEvent>
#include <QMimeData>
#include <QDebug>
#include <QGraphicsItem>
#include <QUrl>
#include <QGraphicsSvgItem>
#include <QSvgRenderer>
#include <QMovie>
#include <QPainter>
class PGraphicsPixmapItem : public QGraphicsPixmapItem
{
public:
PGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent = nullptr)
: QGraphicsPixmapItem(pixmap, parent)
{}
enum { Type = UserType + 1 };
int type() const override { return Type; }
void setScaleHint(float scaleHint) {
m_scaleHint = scaleHint;
}
const QPixmap & scaledPixmap(float scaleHint) {
if (qFuzzyCompare(scaleHint, m_cachedScaleHint)) return m_cachedPixmap;
QSizeF resizedScale(boundingRect().size());
resizedScale *= scaleHint;
QPixmap && sourcePixmap = pixmap();
m_cachedPixmap = sourcePixmap.scaled(
resizedScale.toSize() * sourcePixmap.devicePixelRatioF(),
Qt::KeepAspectRatio,
Qt::SmoothTransformation);
m_cachedScaleHint = scaleHint;
return m_cachedPixmap;
}
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QWidget *widget) override
{
if (transformationMode() == Qt::FastTransformation) {
return QGraphicsPixmapItem::paint(painter, option, widget);
} else {
// painter->setRenderHints(QPainter::Antialiasing);
painter->drawPixmap(QRectF(offset(), boundingRect().size()).toRect(),
scaledPixmap(m_scaleHint));
}
}
private:
float m_scaleHint = 1;
float m_cachedScaleHint = -1;
QPixmap m_cachedPixmap;
};
class PGraphicsMovieItem : public QGraphicsItem
{
public:
PGraphicsMovieItem(QGraphicsItem *parent = nullptr) : QGraphicsItem(parent) {}
enum { Type = UserType + 2 };
int type() const override { return Type; }
void setMovie(QMovie* movie) {
if (m_movie) m_movie->disconnect();
m_movie.reset(movie);
m_movie->connect(m_movie.data(), &QMovie::updated, [this](){
this->update();
});
}
QRectF boundingRect() const override {
if (m_movie) { return m_movie->frameRect(); }
else { return QRectF(); }
}
void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) override {
if (m_movie) {
painter->drawPixmap(m_movie->frameRect(), m_movie->currentPixmap(), m_movie->frameRect());
}
}
inline QMovie * movie() const {
return m_movie.data();
}
private:
QScopedPointer<QMovie> m_movie;
};
GraphicsScene::GraphicsScene(QObject *parent)
: QGraphicsScene(parent)
{
showText(tr("Drag image here"));
}
GraphicsScene::~GraphicsScene()
{
}
void GraphicsScene::showImage(const QPixmap &pixmap)
{
this->clear();
PGraphicsPixmapItem * pixmapItem = new PGraphicsPixmapItem(pixmap);
this->addItem(pixmapItem);
pixmapItem->setShapeMode(QGraphicsPixmapItem::BoundingRectShape);
m_theThing = pixmapItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showText(const QString &text)
{
this->clear();
QGraphicsTextItem * textItem = this->addText(text);
textItem->setDefaultTextColor(QColor("White"));
m_theThing = textItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showSvg(const QString &filepath)
{
this->clear();
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem();
QSvgRenderer * render = new QSvgRenderer(svgItem);
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
// Qt 6.7.0's SVG support is terrible caused by huge memory usage, see QTBUG-124287
// Qt 6.7.1's is somewhat better, memory issue seems fixed, but still laggy when zoom in
// Anyway let's disable it for now.
render->setOptions(QtSvg::Tiny12FeaturesOnly);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
render->load(filepath);
svgItem->setSharedRenderer(render);
this->addItem(svgItem);
m_theThing = svgItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showAnimated(const QString &filepath)
{
this->clear();
PGraphicsMovieItem * animatedItem = new PGraphicsMovieItem();
QMovie * movie = new QMovie(filepath);
movie->start();
animatedItem->setMovie(movie);
this->addItem(animatedItem);
m_theThing = animatedItem;
this->setSceneRect(m_theThing->boundingRect());
}
bool GraphicsScene::trySetTransformationMode(Qt::TransformationMode mode, float scaleHint)
{
PGraphicsPixmapItem * pixmapItem = qgraphicsitem_cast<PGraphicsPixmapItem *>(m_theThing);
if (pixmapItem) {
pixmapItem->setTransformationMode(mode);
pixmapItem->setScaleHint(scaleHint);
return true;
}
return false;
}
bool GraphicsScene::togglePauseAnimation()
{
PGraphicsMovieItem * animatedItem = qgraphicsitem_cast<PGraphicsMovieItem *>(m_theThing);
if (animatedItem) {
animatedItem->movie()->setPaused(animatedItem->movie()->state() != QMovie::Paused);
return true;
}
return false;
}
bool GraphicsScene::skipAnimationFrame(int delta)
{
PGraphicsMovieItem * animatedItem = qgraphicsitem_cast<PGraphicsMovieItem *>(m_theThing);
if (animatedItem) {
const int frameCount = animatedItem->movie()->frameCount();
const int currentFrame = animatedItem->movie()->currentFrameNumber();
const int targetFrame = (currentFrame + delta) % frameCount;
animatedItem->movie()->setPaused(true);
return animatedItem->movie()->jumpToFrame(targetFrame);
}
return false;
}
QPixmap GraphicsScene::renderToPixmap()
{
PGraphicsPixmapItem * pixmapItem = qgraphicsitem_cast<PGraphicsPixmapItem *>(m_theThing);
if (pixmapItem) {
return pixmapItem->pixmap();
}
QPixmap pixmap(sceneRect().toRect().size());
pixmap.fill(Qt::transparent);
QPainter p(&pixmap);
render(&p, sceneRect());
return pixmap;
}

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef GRAPHICSSCENE_H #ifndef GRAPHICSSCENE_H
#define GRAPHICSSCENE_H #define GRAPHICSSCENE_H
@ -13,14 +17,17 @@ public:
void showImage(const QPixmap &pixmap); void showImage(const QPixmap &pixmap);
void showText(const QString &text); void showText(const QString &text);
void showSvg(const QString &filepath); void showSvg(const QString &filepath);
void showGif(const QString &filepath); void showAnimated(const QString &filepath);
bool trySetTransformationMode(Qt::TransformationMode mode); bool trySetTransformationMode(Qt::TransformationMode mode, float scaleHint);
bool togglePauseAnimation();
bool skipAnimationFrame(int delta = 1);
QPixmap renderToPixmap(); QPixmap renderToPixmap();
private: private:
QGraphicsItem * m_theThing; QGraphicsItem * m_theThing = nullptr;
}; };
#endif // GRAPHICSSCENE_H #endif // GRAPHICSSCENE_H

367
app/graphicsview.cpp Normal file
View File

@ -0,0 +1,367 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "graphicsview.h"
#include "graphicsscene.h"
#include "settings.h"
#include <QDebug>
#include <QMouseEvent>
#include <QScrollBar>
#include <QMimeData>
#include <QImageReader>
#include <QStyleOptionGraphicsItem>
GraphicsView::GraphicsView(QWidget *parent)
: QGraphicsView (parent)
{
setDragMode(QGraphicsView::ScrollHandDrag);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
setStyleSheet("background-color: rgba(0, 0, 0, 220);"
"border-radius: 3px;");
setAcceptDrops(false);
setCheckerboardEnabled(false);
connect(horizontalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
connect(verticalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
}
void GraphicsView::showFileFromPath(const QString &filePath)
{
emit navigatorViewRequired(false, transform());
if (filePath.endsWith(".svg")) {
showSvg(filePath);
} else {
QImageReader imageReader(filePath);
imageReader.setAutoTransform(true);
imageReader.setDecideFormatFromContent(true);
#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
imageReader.setAllocationLimit(0);
#endif //QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
// Since if the image format / plugin does not support this feature, imageFormat() will returns an invalid format.
// So we cannot use imageFormat() and check if it returns QImage::Format_Invalid to detect if we support the file.
// QImage::Format imageFormat = imageReader.imageFormat();
if (imageReader.format().isEmpty()) {
showText(tr("File is not a valid image"));
} else if (imageReader.supportsAnimation() && imageReader.imageCount() > 1) {
showAnimated(filePath);
} else if (!imageReader.canRead()) {
showText(tr("Image data is invalid or currently unsupported"));
} else {
QPixmap && pixmap = QPixmap::fromImageReader(&imageReader);
if (pixmap.isNull()) {
showText(tr("Image data is invalid or currently unsupported"));
} else {
pixmap.setDevicePixelRatio(devicePixelRatioF());
showImage(pixmap);
}
}
}
}
void GraphicsView::showImage(const QPixmap &pixmap)
{
resetTransform();
scene()->showImage(pixmap);
displayScene();
}
void GraphicsView::showImage(const QImage &image)
{
resetTransform();
scene()->showImage(QPixmap::fromImage(image));
displayScene();
}
void GraphicsView::showText(const QString &text)
{
resetTransform();
scene()->showText(text);
displayScene();
}
void GraphicsView::showSvg(const QString &filepath)
{
resetTransform();
scene()->showSvg(filepath);
displayScene();
}
void GraphicsView::showAnimated(const QString &filepath)
{
resetTransform();
scene()->showAnimated(filepath);
displayScene();
}
GraphicsScene *GraphicsView::scene() const
{
return qobject_cast<GraphicsScene*>(QGraphicsView::scene());
}
void GraphicsView::setScene(GraphicsScene *scene)
{
return QGraphicsView::setScene(scene);
}
qreal GraphicsView::scaleFactor() const
{
return QStyleOptionGraphicsItem::levelOfDetailFromTransform(transform());
}
void GraphicsView::resetTransform()
{
if (!m_avoidResetTransform) {
QGraphicsView::resetTransform();
}
}
void GraphicsView::zoomView(qreal scaleFactor)
{
m_enableFitInView = false;
scale(scaleFactor, scaleFactor);
applyTransformationModeByScaleFactor();
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
}
// This is always according to user's view.
// the direction of the rotation will NOT be clockwise because the y-axis points downwards.
void GraphicsView::rotateView(bool clockwise)
{
resetScale();
QTransform tf(0, clockwise ? 1 : -1, 0,
clockwise ? -1 : 1, 0, 0,
0, 0, 1);
tf = transform() * tf;
setTransform(tf);
}
void GraphicsView::flipView(bool horizontal)
{
QTransform tf(horizontal ? -1 : 1, 0, 0,
0, horizontal ? 1 : -1, 0,
0, 0, 1);
tf = transform() * tf;
setTransform(tf);
// Ensure the navigation view is also flipped.
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
}
void GraphicsView::resetScale()
{
setTransform(resetScale(transform()));
applyTransformationModeByScaleFactor();
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
}
void GraphicsView::fitInView(const QRectF &rect, Qt::AspectRatioMode aspectRadioMode)
{
QGraphicsView::fitInView(rect, aspectRadioMode);
applyTransformationModeByScaleFactor();
}
void GraphicsView::fitByOrientation(Qt::Orientation ori, bool scaleDownOnly)
{
resetScale();
QRectF viewRect = this->viewport()->rect().adjusted(2, 2, -2, -2);
QRectF imageRect = transform().mapRect(sceneRect());
qreal ratio;
if (ori == Qt::Horizontal) {
ratio = viewRect.width() / imageRect.width();
} else {
ratio = viewRect.height() / imageRect.height();
}
if (scaleDownOnly && ratio > 1) ratio = 1;
scale(ratio, ratio);
centerOn(imageRect.top(), 0);
m_enableFitInView = false;
applyTransformationModeByScaleFactor();
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
}
void GraphicsView::displayScene()
{
if (m_avoidResetTransform) {
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
return;
}
if (isSceneBiggerThanView()) {
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
m_enableFitInView = true;
}
bool GraphicsView::isSceneBiggerThanView() const
{
if (!isThingSmallerThanWindowWith(transform())) {
return true;
} else {
return false;
}
}
// Automately do fit in view when viewport(window) smaller than image original size.
void GraphicsView::setEnableAutoFitInView(bool enable)
{
m_enableFitInView = enable;
}
bool GraphicsView::avoidResetTransform() const
{
return m_avoidResetTransform;
}
void GraphicsView::setAvoidResetTransform(bool avoidReset)
{
m_avoidResetTransform = avoidReset;
}
inline double zeroOrOne(double number)
{
return qFuzzyIsNull(number) ? 0 : (number > 0 ? 1 : -1);
}
// Note: this only works if we only have 90 degree based rotation
// and no shear/translate.
QTransform GraphicsView::resetScale(const QTransform & orig)
{
return QTransform(zeroOrOne(orig.m11()), zeroOrOne(orig.m12()),
zeroOrOne(orig.m21()), zeroOrOne(orig.m22()),
orig.dx(), orig.dy());
}
void GraphicsView::toggleCheckerboard(bool invertCheckerboardColor)
{
setCheckerboardEnabled(!m_checkerboardEnabled, invertCheckerboardColor);
}
void GraphicsView::mousePressEvent(QMouseEvent *event)
{
if (shouldIgnoreMousePressMoveEvent(event)) {
event->ignore();
// blumia: return here, or the QMouseEvent event transparency won't
// work if we set a QGraphicsView::ScrollHandDrag drag mode.
return;
}
return QGraphicsView::mousePressEvent(event);
}
void GraphicsView::mouseMoveEvent(QMouseEvent *event)
{
if (shouldIgnoreMousePressMoveEvent(event)) {
event->ignore();
}
return QGraphicsView::mouseMoveEvent(event);
}
void GraphicsView::mouseReleaseEvent(QMouseEvent *event)
{
if (event->button() == Qt::ForwardButton || event->button() == Qt::BackButton) {
event->ignore();
} else {
QGraphicsItem *item = itemAt(event->pos());
if (!item) {
event->ignore();
}
}
return QGraphicsView::mouseReleaseEvent(event);
}
void GraphicsView::wheelEvent(QWheelEvent *event)
{
event->ignore();
// blumia: no need for calling parent method.
}
void GraphicsView::resizeEvent(QResizeEvent *event)
{
if (m_enableFitInView) {
bool originalSizeSmallerThanWindow = isThingSmallerThanWindowWith(resetScale(transform()));
if (originalSizeSmallerThanWindow && scaleFactor() >= 1) {
// no longer need to do fitInView()
// but we leave the m_enableFitInView value unchanged in case
// user resize down the window again.
} else if (originalSizeSmallerThanWindow && scaleFactor() < 1) {
resetScale();
} else {
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
} else {
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), transform());
}
return QGraphicsView::resizeEvent(event);
}
bool GraphicsView::isThingSmallerThanWindowWith(const QTransform &transform) const
{
return rect().size().expandedTo(transform.mapRect(sceneRect()).size().toSize())
== rect().size();
}
bool GraphicsView::shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const
{
if (event->buttons() == Qt::NoButton) {
return true;
}
QGraphicsItem *item = itemAt(event->pos());
if (!item) {
return true;
}
if (isThingSmallerThanWindowWith(transform())) {
return true;
}
return false;
}
void GraphicsView::setCheckerboardEnabled(bool enabled, bool invertColor)
{
m_checkerboardEnabled = enabled;
bool isLightCheckerboard = Settings::instance()->useLightCheckerboard() ^ invertColor;
if (m_checkerboardEnabled) {
// Prepare background check-board pattern
QPixmap tilePixmap(0x20, 0x20);
tilePixmap.fill(isLightCheckerboard ? QColor(220, 220, 220, 170) : QColor(35, 35, 35, 170));
QPainter tilePainter(&tilePixmap);
constexpr QColor color(45, 45, 45, 170);
constexpr QColor invertedColor(210, 210, 210, 170);
tilePainter.fillRect(0, 0, 0x10, 0x10, isLightCheckerboard ? invertedColor : color);
tilePainter.fillRect(0x10, 0x10, 0x10, 0x10, isLightCheckerboard ? invertedColor : color);
tilePainter.end();
setBackgroundBrush(tilePixmap);
} else {
setBackgroundBrush(Qt::transparent);
}
}
void GraphicsView::applyTransformationModeByScaleFactor()
{
if (this->scaleFactor() < 1) {
scene()->trySetTransformationMode(Qt::SmoothTransformation, this->scaleFactor());
} else {
scene()->trySetTransformationMode(Qt::FastTransformation, this->scaleFactor());
}
}

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef GRAPHICSVIEW_H #ifndef GRAPHICSVIEW_H
#define GRAPHICSVIEW_H #define GRAPHICSVIEW_H
@ -11,13 +15,13 @@ class GraphicsView : public QGraphicsView
public: public:
GraphicsView(QWidget *parent = nullptr); GraphicsView(QWidget *parent = nullptr);
void showFileFromUrl(const QUrl &url, bool requestGallery = false); void showFileFromPath(const QString &filePath);
void showImage(const QPixmap &pixmap); void showImage(const QPixmap &pixmap);
void showImage(const QImage &image); void showImage(const QImage &image);
void showText(const QString &text); void showText(const QString &text);
void showSvg(const QString &filepath); void showSvg(const QString &filepath);
void showGif(const QString &filepath); void showAnimated(const QString &filepath);
GraphicsScene * scene() const; GraphicsScene * scene() const;
void setScene(GraphicsScene *scene); void setScene(GraphicsScene *scene);
@ -26,19 +30,27 @@ public:
void resetTransform(); void resetTransform();
void zoomView(qreal scaleFactor); void zoomView(qreal scaleFactor);
void rotateView(bool clockwise = true);
void flipView(bool horizontal = true);
void resetScale(); void resetScale();
void rotateView(qreal rotateAngel);
void fitInView(const QRectF &rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio); void fitInView(const QRectF &rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio);
void fitByOrientation(Qt::Orientation ori = Qt::Horizontal, bool scaleDownOnly = false);
void checkAndDoFitInView(bool markItOnAnyway = true); void displayScene();
bool isSceneBiggerThanView() const;
void setEnableAutoFitInView(bool enable = true);
bool avoidResetTransform() const;
void setAvoidResetTransform(bool avoidReset);
static QTransform resetScale(const QTransform & orig);
signals: signals:
void navigatorViewRequired(bool required, qreal angle); void navigatorViewRequired(bool required, QTransform transform);
void viewportRectChanged(); void viewportRectChanged();
void requestGallery(const QString &filePath);
public slots: public slots:
void toggleCheckerboard(); void toggleCheckerboard(bool invertCheckerboardColor = false);
private: private:
void mousePressEvent(QMouseEvent * event) override; void mousePressEvent(QMouseEvent * event) override;
@ -47,20 +59,18 @@ private:
void wheelEvent(QWheelEvent *event) override; void wheelEvent(QWheelEvent *event) override;
void resizeEvent(QResizeEvent *event) override; void resizeEvent(QResizeEvent *event) override;
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
void dropEvent(QDropEvent *event) override;
bool isThingSmallerThanWindowWith(const QTransform &transform) const; bool isThingSmallerThanWindowWith(const QTransform &transform) const;
bool shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const; bool shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const;
void setCheckerboardEnabled(bool enabled); void setCheckerboardEnabled(bool enabled, bool invertColor = false);
void applyTransformationModeByScaleFactor(); void applyTransformationModeByScaleFactor();
void resetWithScaleAndRotate(qreal scaleFactor, qreal rotateAngle); // Consider switch to 3 state for "no fit", "always fit" and "fit when view is smaller"?
// ... or even more? e.g. "fit/snap width" things...
// Currently it's "no fit" when it's false and "fit when view is smaller" when it's true.
bool m_enableFitInView = false; bool m_enableFitInView = false;
bool m_avoidResetTransform = false;
bool m_checkerboardEnabled = false; bool m_checkerboardEnabled = false;
qreal m_rotateAngle = 0; bool m_useLightCheckerboard = false;
}; };
#endif // GRAPHICSVIEW_H #endif // GRAPHICSVIEW_H

72
app/main.cpp Normal file
View File

@ -0,0 +1,72 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "mainwindow.h"
#include "playlistmanager.h"
#include "settings.h"
#include <QApplication>
#include <QCommandLineParser>
#include <QDir>
#include <QTranslator>
#include <QUrl>
// QM_FILE_INSTALL_DIR should be defined from the CMakeLists file.
#ifndef QM_FILE_INSTALL_DIR
#define QM_FILE_INSTALL_DIR ":/i18n/"
#endif // QM_FILE_INSTALL_DIR
int main(int argc, char *argv[])
{
QCoreApplication::setApplicationName("Pineapple Pictures");
QCoreApplication::setApplicationVersion(PPIC_VERSION_STRING);
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior());
QApplication a(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps);
#endif
QTranslator translator;
QString qmDir;
#ifdef _WIN32
qmDir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath("translations");
#else
qmDir = QT_STRINGIFY(QM_FILE_INSTALL_DIR);
#endif
if (translator.load(QLocale(), QLatin1String("PineapplePictures"), QLatin1String("_"), qmDir)) {
QCoreApplication::installTranslator(&translator);
}
QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
// commandline options
QCommandLineOption supportedImageFormats(QStringLiteral("supported-image-formats"), QCoreApplication::translate("main", "List supported image format suffixes, and quit program."));
// parse commandline arguments
QCommandLineParser parser;
parser.addOption(supportedImageFormats);
parser.addPositionalArgument("File list", QCoreApplication::translate("main", "File list."));
parser.addHelpOption();
parser.process(a);
if (parser.isSet(supportedImageFormats)) {
fputs(qPrintable(MainWindow::supportedImageFormats().join(QChar('\n'))), stdout);
::exit(EXIT_SUCCESS);
}
MainWindow w;
w.show();
QStringList urlStrList = parser.positionalArguments();
QList<QUrl> && urlList = PlaylistManager::convertToUrlList(urlStrList);
if (!urlList.isEmpty()) {
w.showUrls(urlList);
}
w.initWindowSize();
return QApplication::exec();
}

895
app/mainwindow.cpp Normal file
View File

@ -0,0 +1,895 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "mainwindow.h"
#include "settings.h"
#include "toolbutton.h"
#include "bottombuttongroup.h"
#include "graphicsview.h"
#include "navigatorview.h"
#include "graphicsscene.h"
#include "settingsdialog.h"
#include "aboutdialog.h"
#include "metadatamodel.h"
#include "metadatadialog.h"
#include "actionmanager.h"
#include "playlistmanager.h"
#include <QMouseEvent>
#include <QMovie>
#include <QDebug>
#include <QGraphicsTextItem>
#include <QApplication>
#include <QStyle>
#include <QScreen>
#include <QMenu>
#include <QShortcut>
#include <QClipboard>
#include <QMimeData>
#include <QWindow>
#include <QFile>
#include <QTimer>
#include <QFileDialog>
#include <QStandardPaths>
#include <QStringBuilder>
#include <QProcess>
#include <QDesktopServices>
#include <QMessageBox>
#ifdef HAVE_QTDBUS
#include <QDBusInterface>
#include <QDBusConnectionInterface>
#endif // HAVE_QTDBUS
MainWindow::MainWindow(QWidget *parent)
: FramelessWindow(parent)
, m_am(new ActionManager)
, m_pm(new PlaylistManager(this))
{
if (Settings::instance()->stayOnTop()) {
this->setWindowFlag(Qt::WindowStaysOnTopHint);
}
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setMinimumSize(350, 330);
this->setWindowIcon(QIcon(":/icons/app-icon.svg"));
this->setMouseTracking(true);
this->setAcceptDrops(true);
m_pm->setAutoLoadFilterSuffixes(supportedImageFormats());
m_fadeOutAnimation = new QPropertyAnimation(this, "windowOpacity");
m_fadeOutAnimation->setDuration(300);
m_fadeOutAnimation->setStartValue(1);
m_fadeOutAnimation->setEndValue(0);
m_floatUpAnimation = new QPropertyAnimation(this, "geometry");
m_floatUpAnimation->setDuration(300);
m_floatUpAnimation->setEasingCurve(QEasingCurve::OutCirc);
m_exitAnimationGroup = new QParallelAnimationGroup(this);
m_exitAnimationGroup->addAnimation(m_fadeOutAnimation);
m_exitAnimationGroup->addAnimation(m_floatUpAnimation);
connect(m_exitAnimationGroup, &QParallelAnimationGroup::finished,
this, &QWidget::close);
GraphicsScene * scene = new GraphicsScene(this);
m_graphicsView = new GraphicsView(this);
m_graphicsView->setScene(scene);
this->setCentralWidget(m_graphicsView);
m_gv = new NavigatorView(this);
m_gv->setFixedSize(220, 160);
m_gv->setScene(scene);
m_gv->setMainView(m_graphicsView);
m_gv->fitInView(m_gv->sceneRect(), Qt::KeepAspectRatio);
connect(m_graphicsView, &GraphicsView::navigatorViewRequired,
this, [ = ](bool required, const QTransform & tf){
m_gv->setTransform(GraphicsView::resetScale(tf));
m_gv->fitInView(m_gv->sceneRect(), Qt::KeepAspectRatio);
m_gv->setVisible(required);
m_gv->updateMainViewportRegion();
});
connect(m_graphicsView, &GraphicsView::viewportRectChanged,
m_gv, &NavigatorView::updateMainViewportRegion);
m_closeButton = new ToolButton(true, m_graphicsView);
m_closeButton->setIconSize(QSize(32, 32));
m_closeButton->setFixedSize(QSize(50, 50));
m_closeButton->setIconResourcePath(":/icons/window-close.svg");
connect(m_closeButton, &QAbstractButton::clicked,
this, &MainWindow::closeWindow);
m_prevButton = new ToolButton(false, m_graphicsView);
m_prevButton->setIconSize(QSize(75, 75));
m_prevButton->setIconResourcePath(":/icons/go-previous.svg");
m_prevButton->setVisible(false);
m_prevButton->setOpacity(0, false);
m_nextButton = new ToolButton(false, m_graphicsView);
m_nextButton->setIconSize(QSize(75, 75));
m_nextButton->setIconResourcePath(":/icons/go-next.svg");
m_nextButton->setVisible(false);
m_nextButton->setOpacity(0, false);
connect(m_prevButton, &QAbstractButton::clicked,
this, &MainWindow::galleryPrev);
connect(m_nextButton, &QAbstractButton::clicked,
this, &MainWindow::galleryNext);
m_am->setupAction(this);
m_bottomButtonGroup = new BottomButtonGroup({
m_am->actionActualSize,
m_am->actionToggleMaximize,
m_am->actionZoomIn,
m_am->actionZoomOut,
m_am->actionToggleCheckerboard,
m_am->actionRotateClockwise
}, this);
m_bottomButtonGroup->setOpacity(0, false);
m_gv->setOpacity(0, false);
m_closeButton->setOpacity(0, false);
connect(m_pm, &PlaylistManager::totalCountChanged, this, [this](int galleryFileCount) {
m_prevButton->setVisible(galleryFileCount > 1);
m_nextButton->setVisible(galleryFileCount > 1);
});
connect(m_pm->model(), &PlaylistModel::modelReset, this, std::bind(&MainWindow::galleryCurrent, this, false, false));
connect(m_pm, &PlaylistManager::currentIndexChanged, this, std::bind(&MainWindow::galleryCurrent, this, true, false));
QShortcut * fullscreenShorucut = new QShortcut(QKeySequence(QKeySequence::FullScreen), this);
connect(fullscreenShorucut, &QShortcut::activated,
this, &MainWindow::toggleFullscreen);
centerWindow();
QTimer::singleShot(0, this, [this](){
m_am->setupShortcuts();
Settings::instance()->applyUserShortcuts(this);
});
// allow some mouse events can go through these widgets for resizing window.
installResizeCapture(m_closeButton);
installResizeCapture(m_graphicsView);
installResizeCapture(m_graphicsView->viewport());
installResizeCapture(m_gv);
installResizeCapture(m_gv->viewport());
}
MainWindow::~MainWindow()
{
}
void MainWindow::showUrls(const QList<QUrl> &urls)
{
if (!urls.isEmpty()) {
m_graphicsView->showFileFromPath(urls.first().toLocalFile());
m_pm->loadPlaylist(urls);
} else {
m_graphicsView->showText(tr("File url list is empty"));
return;
}
m_gv->fitInView(m_gv->sceneRect(), Qt::KeepAspectRatio);
}
void MainWindow::initWindowSize()
{
switch (Settings::instance()->initWindowSizeBehavior()) {
case Settings::WindowSizeBehavior::Auto:
adjustWindowSizeBySceneRect();
break;
case Settings::WindowSizeBehavior::Maximized:
showMaximized();
break;
default:
adjustWindowSizeBySceneRect();
break;
}
}
void MainWindow::adjustWindowSizeBySceneRect()
{
if (m_pm->totalCount() < 1) return;
QSize sceneSize = m_graphicsView->sceneRect().toRect().size();
QSize sceneSizeWithMargins = sceneSize + QSize(130, 125);
if (m_graphicsView->scaleFactor() < 1 || size().expandedTo(sceneSizeWithMargins) != size()) {
// if it scaled down by the resize policy:
QSize screenSize = qApp->screenAt(QCursor::pos())->availableSize();
if (screenSize.expandedTo(sceneSize) == screenSize) {
// we can show the picture by increase the window size.
QSize finalSize = (screenSize.expandedTo(sceneSizeWithMargins) == screenSize) ?
sceneSizeWithMargins : screenSize;
// We have a very reasonable sizeHint() value ;P
this->resize(finalSize.expandedTo(this->sizeHint()));
// We're sure the window can display the whole thing with 1:1 scale.
// The old window size may cause fitInView call from resize() and the
// above resize() call won't reset the scale back to 1:1, so we
// just call resetScale() here to ensure the thing is no longer scaled.
m_graphicsView->resetScale();
centerWindow();
} else {
// toggle maximum
showMaximized();
}
}
}
// can be empty if it is NOT from a local file.
QUrl MainWindow::currentImageFileUrl() const
{
return m_pm->urlByIndex(m_pm->curIndex());
}
void MainWindow::clearGallery()
{
m_pm->setPlaylist({});
}
void MainWindow::galleryPrev()
{
QModelIndex index = m_pm->previousIndex();
if (index.isValid()) {
m_pm->setCurrentIndex(index);
m_graphicsView->showFileFromPath(m_pm->localFileByIndex(index));
}
}
void MainWindow::galleryNext()
{
QModelIndex index = m_pm->nextIndex();
if (index.isValid()) {
m_pm->setCurrentIndex(index);
m_graphicsView->showFileFromPath(m_pm->localFileByIndex(index));
}
}
// Only use this to update minor information.
void MainWindow::galleryCurrent(bool showLoadImageHintWhenEmpty, bool reloadImage)
{
QModelIndex index = m_pm->curIndex();
if (index.isValid()) {
if (reloadImage) m_graphicsView->showFileFromPath(m_pm->localFileByIndex(index));
setWindowTitle(m_pm->urlByIndex(index).fileName());
} else if (showLoadImageHintWhenEmpty && m_pm->totalCount() <= 0) {
m_graphicsView->showText(QCoreApplication::translate("GraphicsScene", "Drag image here"));
}
}
QStringList MainWindow::supportedImageFormats()
{
QStringList formatFilters {
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
QStringLiteral("*.jfif")
#endif // QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
};
for (const QByteArray &item : QImageReader::supportedImageFormats()) {
formatFilters.append(QStringLiteral("*.") % QString::fromLocal8Bit(item));
}
return formatFilters;
}
void MainWindow::showEvent(QShowEvent *event)
{
updateWidgetsPosition();
return FramelessWindow::showEvent(event);
}
void MainWindow::enterEvent(QT_ENTER_EVENT *event)
{
m_bottomButtonGroup->setOpacity(1);
m_gv->setOpacity(1);
m_closeButton->setOpacity(1);
m_prevButton->setOpacity(1);
m_nextButton->setOpacity(1);
return FramelessWindow::enterEvent(event);
}
void MainWindow::leaveEvent(QEvent *event)
{
m_bottomButtonGroup->setOpacity(0);
m_gv->setOpacity(0);
m_closeButton->setOpacity(0);
m_prevButton->setOpacity(0);
m_nextButton->setOpacity(0);
return FramelessWindow::leaveEvent(event);
}
void MainWindow::mousePressEvent(QMouseEvent *event)
{
if (event->buttons() & Qt::LeftButton && !isMaximized()) {
m_clickedOnWindow = true;
m_oldMousePos = event->pos();
// qDebug() << m_oldMousePos << m_graphicsView->transform().m11()
// << m_graphicsView->transform().m22() << m_graphicsView->matrix().m12();
event->accept();
}
return FramelessWindow::mousePressEvent(event);
}
void MainWindow::mouseMoveEvent(QMouseEvent *event)
{
if (event->buttons() & Qt::LeftButton && m_clickedOnWindow && !isMaximized() && !isFullScreen()) {
if (!window()->windowHandle()->startSystemMove()) {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
move(event->globalPosition().toPoint() - m_oldMousePos);
#else
move(event->globalPos() - m_oldMousePos);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
}
event->accept();
}
return FramelessWindow::mouseMoveEvent(event);
}
void MainWindow::mouseReleaseEvent(QMouseEvent *event)
{
m_clickedOnWindow = false;
// It seems the forward/back mouse button won't generate a key event [1] so we can't use
// QShortcut or QKeySequence to indicate these shortcuts, so we do it here.
// Reference:
// [1]: https://codereview.qt-project.org/c/qt/qtbase/+/177475
if (event->button() == Qt::ForwardButton || event->button() == Qt::BackButton) {
event->button() == Qt::BackButton ? galleryPrev() : galleryNext();
event->accept();
}
return FramelessWindow::mouseReleaseEvent(event);
}
void MainWindow::mouseDoubleClickEvent(QMouseEvent *event)
{
// The forward/back mouse button can also used to trigger a mouse double-click event
// Since we use that for gallery navigation so we ignore these two buttons.
if (event->buttons() & Qt::ForwardButton || event->buttons() & Qt::BackButton) {
return;
}
switch (Settings::instance()->doubleClickBehavior()) {
case Settings::DoubleClickBehavior::Close:
quitAppAction();
event->accept();
break;
case Settings::DoubleClickBehavior::Maximize:
toggleMaximize();
event->accept();
break;
case Settings::DoubleClickBehavior::Ignore:
break;
}
// blumia: don't call parent constructor here, seems it will cause mouse move
// event get called even if we set event->accept();
// return QMainWindow::mouseDoubleClickEvent(event);
}
void MainWindow::wheelEvent(QWheelEvent *event)
{
QPoint numDegrees = event->angleDelta() / 8;
bool needWeelEvent = false, wheelUp = false;
bool actionIsZoom = event->modifiers().testFlag(Qt::ControlModifier)
|| Settings::instance()->mouseWheelBehavior() == Settings::MouseWheelBehavior::Zoom;
// NOTE: Only checking angleDelta since the QWheelEvent::pixelDelta() doc says
// pixelDelta() value is driver specific and unreliable on X11...
// We are not scrolling the canvas, just zoom in or out, so it probably
// doesn't matter here.
if (!numDegrees.isNull() && numDegrees.y() != 0) {
needWeelEvent = true;
wheelUp = numDegrees.y() > 0;
}
if (needWeelEvent) {
if (actionIsZoom) {
if (wheelUp) {
on_actionZoomIn_triggered();
} else {
on_actionZoomOut_triggered();
}
} else {
if (wheelUp) {
galleryPrev();
} else {
galleryNext();
}
}
event->accept();
} else {
FramelessWindow::wheelEvent(event);
}
}
void MainWindow::resizeEvent(QResizeEvent *event)
{
updateWidgetsPosition();
return FramelessWindow::resizeEvent(event);
}
void MainWindow::contextMenuEvent(QContextMenuEvent *event)
{
QMenu * menu = new QMenu;
QMenu * copyMenu = new QMenu(tr("&Copy"));
QUrl currentFileUrl = currentImageFileUrl();
QImage clipboardImage;
QUrl clipboardFileUrl;
QAction * copyPixmap = m_am->actionCopyPixmap;
QAction * copyFilePath = m_am->actionCopyFilePath;
copyMenu->setIcon(QIcon::fromTheme(QLatin1String("edit-copy")));
copyMenu->addAction(copyPixmap);
if (currentFileUrl.isValid()) {
copyMenu->addAction(copyFilePath);
}
QAction * paste = m_am->actionPaste;
QAction * trash = m_am->actionTrash;
QAction * stayOnTopMode = m_am->actionToggleStayOnTop;
stayOnTopMode->setCheckable(true);
stayOnTopMode->setChecked(stayOnTop());
QAction * protectedMode = m_am->actionToggleProtectMode;
protectedMode->setCheckable(true);
protectedMode->setChecked(m_protectedMode);
QAction * avoidResetTransform = m_am->actionToggleAvoidResetTransform;
avoidResetTransform->setCheckable(true);
avoidResetTransform->setChecked(m_graphicsView->avoidResetTransform());
QAction * toggleSettings = m_am->actionSettings;
QAction * helpAction = m_am->actionHelp;
QAction * propertiesAction = m_am->actionProperties;
#if 0
menu->addAction(m_am->actionOpen);
#endif // 0
if (copyMenu->actions().count() == 1) {
menu->addActions(copyMenu->actions());
} else {
menu->addMenu(copyMenu);
}
if (canPaste()) {
menu->addAction(paste);
}
menu->addSeparator();
menu->addAction(m_am->actionHorizontalFlip);
#if 0
menu->addAction(m_am->actionFitInView);
menu->addAction(m_am->actionFitByWidth);
#endif // 0
menu->addSeparator();
menu->addAction(stayOnTopMode);
menu->addAction(protectedMode);
menu->addAction(avoidResetTransform);
menu->addSeparator();
menu->addAction(toggleSettings);
menu->addAction(helpAction);
if (currentFileUrl.isValid()) {
menu->addSeparator();
if (currentFileUrl.isLocalFile()) {
menu->addAction(trash);
menu->addAction(m_am->actionLocateInFileManager);
}
menu->addAction(propertiesAction);
}
menu->exec(mapToGlobal(event->pos()));
menu->deleteLater();
copyMenu->deleteLater();
return FramelessWindow::contextMenuEvent(event);
}
void MainWindow::dragEnterEvent(QDragEnterEvent *event)
{
if (event->mimeData()->hasUrls() || event->mimeData()->hasImage() || event->mimeData()->hasText()) {
event->acceptProposedAction();
} else {
event->ignore();
}
return FramelessWindow::dragEnterEvent(event);
}
void MainWindow::dragMoveEvent(QDragMoveEvent *event)
{
Q_UNUSED(event)
}
void MainWindow::dropEvent(QDropEvent *event)
{
event->acceptProposedAction();
const QMimeData * mimeData = event->mimeData();
if (mimeData->hasUrls()) {
const QList<QUrl> &urls = mimeData->urls();
if (urls.isEmpty()) {
m_graphicsView->showText(tr("File url list is empty"));
} else {
showUrls(urls);
}
} else if (mimeData->hasImage()) {
QImage img = qvariant_cast<QImage>(mimeData->imageData());
QPixmap pixmap = QPixmap::fromImage(img);
if (pixmap.isNull()) {
m_graphicsView->showText(tr("Image data is invalid"));
} else {
m_graphicsView->showImage(pixmap);
}
} else if (mimeData->hasText()) {
m_graphicsView->showText(mimeData->text());
} else {
m_graphicsView->showText(tr("Not supported mimedata: %1").arg(mimeData->formats().first()));
}
}
void MainWindow::centerWindow()
{
this->setGeometry(
QStyle::alignedRect(
Qt::LeftToRight,
Qt::AlignCenter,
this->size(),
qApp->screenAt(QCursor::pos())->geometry()
)
);
}
void MainWindow::closeWindow()
{
QRect windowRect(this->geometry());
m_floatUpAnimation->setStartValue(windowRect);
m_floatUpAnimation->setEndValue(windowRect.adjusted(0, -80, 0, 0));
m_floatUpAnimation->setStartValue(QRect(this->geometry().x(), this->geometry().y(), this->geometry().width(), this->geometry().height()));
m_floatUpAnimation->setEndValue(QRect(this->geometry().x(), this->geometry().y()-80, this->geometry().width(), this->geometry().height()));
m_exitAnimationGroup->start();
}
void MainWindow::updateWidgetsPosition()
{
m_closeButton->move(width() - m_closeButton->width(), 0);
m_prevButton->move(25, (height() - m_prevButton->sizeHint().height()) / 2);
m_nextButton->move(width() - m_nextButton->sizeHint().width() - 25,
(height() - m_prevButton->sizeHint().height()) / 2);
m_bottomButtonGroup->move((width() - m_bottomButtonGroup->width()) / 2,
height() - m_bottomButtonGroup->height());
m_gv->move(width() - m_gv->width(), height() - m_gv->height());
}
void MainWindow::toggleProtectedMode()
{
m_protectedMode = !m_protectedMode;
m_closeButton->setVisible(!m_protectedMode);
m_prevButton->setVisible(!m_protectedMode);
m_nextButton->setVisible(!m_protectedMode);
}
void MainWindow::toggleStayOnTop()
{
setWindowFlag(Qt::WindowStaysOnTopHint, !stayOnTop());
show();
}
void MainWindow::toggleAvoidResetTransform()
{
m_graphicsView->setAvoidResetTransform(!m_graphicsView->avoidResetTransform());
}
bool MainWindow::stayOnTop() const
{
return windowFlags().testFlag(Qt::WindowStaysOnTopHint);
}
bool MainWindow::canPaste() const
{
const QMimeData * clipboardData = QApplication::clipboard()->mimeData();
if (clipboardData->hasImage()) {
return true;
} else if (clipboardData->hasText()) {
QString clipboardText(clipboardData->text());
if (clipboardText.startsWith("PICTURE:")) {
QString maybeFilename(clipboardText.mid(8));
if (QFile::exists(maybeFilename)) {
return true;
}
}
}
return false;
}
void MainWindow::quitAppAction(bool force)
{
if (!m_protectedMode || force) {
closeWindow();
}
}
void MainWindow::toggleFullscreen()
{
if (isFullScreen()) {
showNormal();
} else {
showFullScreen();
}
}
void MainWindow::toggleMaximize()
{
if (isMaximized()) {
showNormal();
} else {
showMaximized();
}
}
QSize MainWindow::sizeHint() const
{
return QSize(710, 530);
}
void MainWindow::on_actionOpen_triggered()
{
QStringList picturesLocations = QStandardPaths::standardLocations(QStandardPaths::PicturesLocation);
QUrl pictureUrl = picturesLocations.isEmpty() ? QUrl::fromLocalFile(picturesLocations.first())
: QUrl::fromLocalFile(QDir::homePath());
QList<QUrl> urls(QFileDialog::getOpenFileUrls(this, QString(), pictureUrl));
if (!urls.isEmpty()) {
showUrls(urls);
}
}
void MainWindow::on_actionActualSize_triggered()
{
m_graphicsView->resetScale();
m_graphicsView->setEnableAutoFitInView(false);
}
void MainWindow::on_actionToggleMaximize_triggered()
{
toggleMaximize();
}
void MainWindow::on_actionZoomIn_triggered()
{
if (m_graphicsView->scaleFactor() < 1000) {
m_graphicsView->zoomView(1.25);
}
}
void MainWindow::on_actionZoomOut_triggered()
{
m_graphicsView->zoomView(0.8);
}
void MainWindow::on_actionHorizontalFlip_triggered()
{
m_graphicsView->flipView();
}
void MainWindow::on_actionFitInView_triggered()
{
m_graphicsView->fitInView(m_gv->sceneRect(), Qt::KeepAspectRatio);
m_graphicsView->setEnableAutoFitInView(m_graphicsView->scaleFactor() <= 1);
}
void MainWindow::on_actionFitByWidth_triggered()
{
m_graphicsView->fitByOrientation();
}
void MainWindow::on_actionCopyPixmap_triggered()
{
QClipboard *cb = QApplication::clipboard();
cb->setPixmap(m_graphicsView->scene()->renderToPixmap());
}
void MainWindow::on_actionCopyFilePath_triggered()
{
QUrl currentFileUrl(currentImageFileUrl());
if (currentFileUrl.isValid()) {
QClipboard *cb = QApplication::clipboard();
cb->setText(currentFileUrl.toLocalFile());
}
}
void MainWindow::on_actionPaste_triggered()
{
QImage clipboardImage;
QUrl clipboardFileUrl;
const QMimeData * clipboardData = QApplication::clipboard()->mimeData();
if (clipboardData->hasImage()) {
QVariant imageVariant(clipboardData->imageData());
if (imageVariant.isValid()) {
clipboardImage = qvariant_cast<QImage>(imageVariant);
}
} else if (clipboardData->hasText()) {
QString clipboardText(clipboardData->text());
if (clipboardText.startsWith("PICTURE:")) {
QString maybeFilename(clipboardText.mid(8));
if (QFile::exists(maybeFilename)) {
clipboardFileUrl = QUrl::fromLocalFile(maybeFilename);
}
}
}
if (!clipboardImage.isNull()) {
setWindowTitle(tr("Image From Clipboard"));
m_graphicsView->showImage(clipboardImage);
clearGallery();
} else if (clipboardFileUrl.isValid()) {
m_graphicsView->showFileFromPath(clipboardFileUrl.toLocalFile());
m_pm->loadPlaylist(clipboardFileUrl);
}
}
void MainWindow::on_actionTrash_triggered()
{
QModelIndex index = m_pm->curIndex();
if (!m_pm->urlByIndex(index).isLocalFile()) return;
QFile file(m_pm->localFileByIndex(index));
QFileInfo fileInfo(file.fileName());
QMessageBox::StandardButton result = QMessageBox::question(this, tr("Move to Trash"),
tr("Are you sure you want to move \"%1\" to recycle bin?").arg(fileInfo.fileName()));
if (result == QMessageBox::Yes) {
bool succ = file.moveToTrash();
if (!succ) {
QMessageBox::warning(this, "Failed to move file to trash",
tr("Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation."));
} else {
m_pm->removeAt(index);
galleryCurrent(true, true);
}
}
}
void MainWindow::on_actionToggleCheckerboard_triggered()
{
// TODO: is that okay to do this since we plan to support custom shortcuts?
m_graphicsView->toggleCheckerboard(QGuiApplication::queryKeyboardModifiers().testFlag(Qt::ShiftModifier));
}
void MainWindow::on_actionRotateClockwise_triggered()
{
m_graphicsView->rotateView();
m_graphicsView->displayScene();
m_gv->setVisible(false);
}
void MainWindow::on_actionRotateCounterClockwise_triggered()
{
m_graphicsView->rotateView(false);
m_graphicsView->displayScene();
m_gv->setVisible(false);
}
void MainWindow::on_actionPrevPicture_triggered()
{
galleryPrev();
}
void MainWindow::on_actionNextPicture_triggered()
{
galleryNext();
}
void MainWindow::on_actionTogglePauseAnimation_triggered()
{
m_graphicsView->scene()->togglePauseAnimation();
}
void MainWindow::on_actionAnimationNextFrame_triggered()
{
m_graphicsView->scene()->skipAnimationFrame(1);
}
void MainWindow::on_actionToggleStayOnTop_triggered()
{
toggleStayOnTop();
}
void MainWindow::on_actionToggleProtectMode_triggered()
{
toggleProtectedMode();
}
void MainWindow::on_actionToggleAvoidResetTransform_triggered()
{
toggleAvoidResetTransform();
}
void MainWindow::on_actionSettings_triggered()
{
SettingsDialog * sd = new SettingsDialog(this);
sd->exec();
sd->deleteLater();
}
void MainWindow::on_actionHelp_triggered()
{
AboutDialog * ad = new AboutDialog(this);
ad->exec();
ad->deleteLater();
}
void MainWindow::on_actionProperties_triggered()
{
QUrl currentFileUrl = currentImageFileUrl();
if (!currentFileUrl.isValid()) return;
MetadataModel * md = new MetadataModel();
md->setFile(currentFileUrl.toLocalFile());
MetadataDialog * ad = new MetadataDialog(this);
ad->setMetadataModel(md);
ad->exec();
ad->deleteLater();
}
void MainWindow::on_actionLocateInFileManager_triggered()
{
QUrl currentFileUrl = currentImageFileUrl();
if (!currentFileUrl.isValid()) return;
QFileInfo fileInfo(currentFileUrl.toLocalFile());
if (!fileInfo.exists()) return;
QUrl && folderUrl = QUrl::fromLocalFile(fileInfo.absolutePath());
#ifdef Q_OS_WIN
QProcess::startDetached("explorer", QStringList() << "/select," << QDir::toNativeSeparators(fileInfo.absoluteFilePath()));
#elif defined(Q_OS_LINUX) and defined(HAVE_QTDBUS)
// Use https://www.freedesktop.org/wiki/Specifications/file-manager-interface/ if possible
const QDBusConnectionInterface * dbusIface = QDBusConnection::sessionBus().interface();
if (!dbusIface || !dbusIface->isServiceRegistered(QLatin1String("org.freedesktop.FileManager1"))) {
QDesktopServices::openUrl(folderUrl);
return;
}
QDBusInterface fm1Iface(QStringLiteral("org.freedesktop.FileManager1"),
QStringLiteral("/org/freedesktop/FileManager1"),
QStringLiteral("org.freedesktop.FileManager1"));
fm1Iface.setTimeout(1000);
fm1Iface.callWithArgumentList(QDBus::Block, "ShowItems", {
QStringList{currentFileUrl.toString()},
QString()
});
if (fm1Iface.lastError().isValid()) {
QDesktopServices::openUrl(folderUrl);
}
#else
QDesktopServices::openUrl(folderUrl);
#endif // Q_OS_WIN
}
void MainWindow::on_actionQuitApp_triggered()
{
quitAppAction(false);
}

132
app/mainwindow.h Normal file
View File

@ -0,0 +1,132 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "framelesswindow.h"
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
#include <QPushButton>
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
typedef QEnterEvent QT_ENTER_EVENT;
#else
typedef QEvent QT_ENTER_EVENT;
#endif // QT_VERSION_CHECK(6, 0, 0)
QT_BEGIN_NAMESPACE
class QGraphicsOpacityEffect;
class QGraphicsView;
QT_END_NAMESPACE
class ActionManager;
class PlaylistManager;
class ToolButton;
class GraphicsView;
class NavigatorView;
class BottomButtonGroup;
class MainWindow : public FramelessWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override;
void showUrls(const QList<QUrl> &urls);
void initWindowSize();
void adjustWindowSizeBySceneRect();
QUrl currentImageFileUrl() const;
void clearGallery();
void galleryPrev();
void galleryNext();
void galleryCurrent(bool showLoadImageHintWhenEmpty, bool reloadImage);
static QStringList supportedImageFormats();
protected slots:
void showEvent(QShowEvent *event) override;
void enterEvent(QT_ENTER_EVENT *event) override;
void leaveEvent(QEvent *event) override;
void mousePressEvent(QMouseEvent *event) override;
void mouseMoveEvent(QMouseEvent *event) override;
void mouseReleaseEvent(QMouseEvent *event) override;
void mouseDoubleClickEvent(QMouseEvent *event) override;
void wheelEvent(QWheelEvent *event) override;
void resizeEvent(QResizeEvent *event) override;
void contextMenuEvent(QContextMenuEvent *event) override;
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
void dropEvent(QDropEvent *event) override;
void centerWindow();
void closeWindow();
void updateWidgetsPosition();
void toggleProtectedMode();
void toggleStayOnTop();
void toggleAvoidResetTransform();
bool stayOnTop() const;
bool canPaste() const;
void quitAppAction(bool force = false);
void toggleFullscreen();
void toggleMaximize();
protected:
QSize sizeHint() const override;
private slots:
void on_actionOpen_triggered();
void on_actionActualSize_triggered();
void on_actionToggleMaximize_triggered();
void on_actionZoomIn_triggered();
void on_actionZoomOut_triggered();
void on_actionToggleCheckerboard_triggered();
void on_actionRotateClockwise_triggered();
void on_actionRotateCounterClockwise_triggered();
void on_actionPrevPicture_triggered();
void on_actionNextPicture_triggered();
void on_actionTogglePauseAnimation_triggered();
void on_actionAnimationNextFrame_triggered();
void on_actionHorizontalFlip_triggered();
void on_actionFitInView_triggered();
void on_actionFitByWidth_triggered();
void on_actionCopyPixmap_triggered();
void on_actionCopyFilePath_triggered();
void on_actionPaste_triggered();
void on_actionTrash_triggered();
void on_actionToggleStayOnTop_triggered();
void on_actionToggleProtectMode_triggered();
void on_actionToggleAvoidResetTransform_triggered();
void on_actionSettings_triggered();
void on_actionHelp_triggered();
void on_actionProperties_triggered();
void on_actionLocateInFileManager_triggered();
void on_actionQuitApp_triggered();
private:
ActionManager *m_am;
PlaylistManager *m_pm;
QPoint m_oldMousePos;
QPropertyAnimation *m_fadeOutAnimation;
QPropertyAnimation *m_floatUpAnimation;
QParallelAnimationGroup *m_exitAnimationGroup;
ToolButton *m_closeButton;
ToolButton *m_prevButton;
ToolButton *m_nextButton;
GraphicsView *m_graphicsView;
NavigatorView *m_gv;
BottomButtonGroup *m_bottomButtonGroup;
bool m_protectedMode = false;
bool m_clickedOnWindow = false;
};
#endif // MAINWINDOW_H

110
app/metadatadialog.cpp Normal file
View File

@ -0,0 +1,110 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "metadatadialog.h"
#include <QDialogButtonBox>
#include <QPainter>
#include <QStyledItemDelegate>
#include <QTreeView>
#include <QVBoxLayout>
#include <QHeaderView>
#include "metadatamodel.h"
class PropertyTreeView : public QTreeView
{
public:
explicit PropertyTreeView(QWidget* parent) : QTreeView(parent) {}
~PropertyTreeView() {}
protected:
void rowsInserted(const QModelIndex& parent, int start, int end) override
{
QTreeView::rowsInserted(parent, start, end);
if (!parent.isValid()) {
// we are inserting a section group
for (int row = start; row <= end; ++row) {
setupSection(row);
}
} else {
// we are inserting a property
setRowHidden(parent.row(), QModelIndex(), false);
}
}
void reset() override
{
QTreeView::reset();
if (model()) {
for (int row = 0; row < model()->rowCount(); ++row) {
setupSection(row);
}
}
}
private:
void setupSection(int row)
{
expand(model()->index(row, 0));
setFirstColumnSpanned(row, QModelIndex(), true);
setRowHidden(row, QModelIndex(), !model()->hasChildren(model()->index(row, 0)));
}
};
class PropertyTreeItemDelegate : public QStyledItemDelegate
{
public:
PropertyTreeItemDelegate(QObject* parent)
: QStyledItemDelegate(parent)
{}
protected:
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override
{
QStyleOptionViewItem opt = option;
if (!index.parent().isValid()) {
opt.font.setBold(true);
opt.features.setFlag(QStyleOptionViewItem::Alternate);
}
QStyledItemDelegate::paint(painter, opt, index);
}
};
MetadataDialog::MetadataDialog(QWidget *parent)
: QDialog(parent)
, m_treeView(new PropertyTreeView(this))
{
m_treeView->setRootIsDecorated(false);
m_treeView->setIndentation(0);
m_treeView->setItemDelegate(new PropertyTreeItemDelegate(m_treeView));
m_treeView->header()->resizeSection(0, sizeHint().width() / 2);
setWindowTitle(tr("Image Metadata"));
QDialogButtonBox * buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
setLayout(new QVBoxLayout);
layout()->addWidget(m_treeView);
layout()->addWidget(buttonBox);
connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::close);
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
}
MetadataDialog::~MetadataDialog()
{
}
void MetadataDialog::setMetadataModel(MetadataModel * model)
{
m_treeView->setModel(model);
}
QSize MetadataDialog::sizeHint() const
{
return QSize(520, 350);
}

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef METADATADIALOG_H #ifndef METADATADIALOG_H
#define METADATADIALOG_H #define METADATADIALOG_H

318
app/metadatamodel.cpp Normal file
View File

@ -0,0 +1,318 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "metadatamodel.h"
#include "exiv2wrapper.h"
#include <QDir>
#include <QDebug>
#include <QDateTime>
#include <QFileInfo>
#include <QImageReader>
MetadataModel::MetadataModel(QObject *parent)
: QAbstractItemModel(parent)
{
}
MetadataModel::~MetadataModel()
{
}
void MetadataModel::setFile(const QString &imageFilePath)
{
QFileInfo fileInfo(imageFilePath);
// It'll be fine if we don't re-use the image reader we pass to the graphics scene for now.
QImageReader imgReader(imageFilePath);
imgReader.setAutoTransform(true);
imgReader.setDecideFormatFromContent(true);
const QString & itemTypeString = tr("%1 File").arg(QString(imgReader.format().toUpper()));
const QString & sizeString = QLocale().formattedDataSize(fileInfo.size());
const QString & birthTimeString = QLocale().toString(fileInfo.birthTime(), QLocale::LongFormat);
const QString & lastModifiedTimeString = QLocale().toString(fileInfo.lastModified(), QLocale::LongFormat);
const QString & imageDimensionsString = imageSize(imgReader.size());
const QString & imageRatioString = imageSizeRatio(imgReader.size());
appendSection(QStringLiteral("Description"), tr("Description", "Section name."));
appendSection(QStringLiteral("Origin"), tr("Origin", "Section name."));
appendSection(QStringLiteral("Image"), tr("Image", "Section name."));
appendSection(QStringLiteral("Camera"), tr("Camera", "Section name."));
appendSection(QStringLiteral("AdvancedPhoto"), tr("Advanced photo", "Section name."));
appendSection(QStringLiteral("GPS"), tr("GPS", "Section name."));
appendSection(QStringLiteral("File"), tr("File", "Section name."));
if (imgReader.supportsOption(QImageIOHandler::Size)) {
appendProperty(QStringLiteral("Image"), QStringLiteral("Image.Dimensions"),
tr("Dimensions"), imageDimensionsString);
appendProperty(QStringLiteral("Image"), QStringLiteral("Image.SizeRatio"),
tr("Aspect ratio"), imageRatioString);
}
if (imgReader.supportsAnimation() && imgReader.imageCount() > 1) {
appendProperty(QStringLiteral("Image"), QStringLiteral("Image.FrameCount"),
tr("Frame count"), QString::number(imgReader.imageCount()));
}
appendProperty(QStringLiteral("File"), QStringLiteral("File.Name"),
tr("Name"), fileInfo.fileName());
appendProperty(QStringLiteral("File"), QStringLiteral("File.ItemType"),
tr("Item type"), itemTypeString);
appendProperty(QStringLiteral("File"), QStringLiteral("File.Path"),
tr("Folder path"), QDir::toNativeSeparators(fileInfo.path()));
appendProperty(QStringLiteral("File"), QStringLiteral("File.Size"),
tr("Size"), sizeString);
appendProperty(QStringLiteral("File"), QStringLiteral("File.CreatedTime"),
tr("Date created"), birthTimeString);
appendProperty(QStringLiteral("File"), QStringLiteral("File.LastModified"),
tr("Date modified"), lastModifiedTimeString);
Exiv2Wrapper wrapper;
if (wrapper.load(imageFilePath)) {
wrapper.cacheSections();
appendExivPropertyIfExist(wrapper, QStringLiteral("Description"),
QStringLiteral("Xmp.dc.title"), tr("Title"), true);
appendExivPropertyIfExist(wrapper, QStringLiteral("Description"),
QStringLiteral("Exif.Image.ImageDescription"), tr("Subject"), true);
appendExivPropertyIfExist(wrapper, QStringLiteral("Description"),
QStringLiteral("Exif.Image.Rating"), tr("Rating"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Description"),
QStringLiteral("Xmp.dc.subject"), tr("Tags"));
appendPropertyIfNotEmpty(QStringLiteral("Description"), QStringLiteral("Description.Comments"),
tr("Comments"), wrapper.comment());
appendExivPropertyIfExist(wrapper, QStringLiteral("Origin"),
QStringLiteral("Exif.Image.Artist"), tr("Authors"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Origin"),
QStringLiteral("Exif.Photo.DateTimeOriginal"), tr("Date taken"));
// FIXME: We may fetch the same type of metadata from different metadata collection.
// Current implementation is not pretty and may need to do a rework...
// appendExivPropertyIfExist(wrapper, QStringLiteral("Origin"),
// QStringLiteral("Xmp.xmp.CreatorTool"), tr("Program name"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Origin"),
QStringLiteral("Exif.Image.Software"), tr("Program name"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Origin"),
QStringLiteral("Exif.Image.Copyright"), tr("Copyright"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Image"),
QStringLiteral("Exif.Image.XResolution"), tr("Horizontal resolution"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Image"),
QStringLiteral("Exif.Image.YResolution"), tr("Vertical resolution"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Image"),
QStringLiteral("Exif.Image.ResolutionUnit"), tr("Resolution unit"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Image"),
QStringLiteral("Exif.Photo.ColorSpace"), tr("Colour representation"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Image.Make"), tr("Camera maker"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Image.Model"), tr("Camera model"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.FNumber"), tr("F-stop"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.ExposureTime"), tr("Exposure time"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.ISOSpeedRatings"), tr("ISO speed"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.ExposureBiasValue"), tr("Exposure bias"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.FocalLength"), tr("Focal length"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.MaxApertureValue"), tr("Max aperture"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.MeteringMode"), tr("Metering mode"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.SubjectDistance"), tr("Subject distance"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.Flash"), tr("Flash mode"));
appendExivPropertyIfExist(wrapper, QStringLiteral("Camera"),
QStringLiteral("Exif.Photo.FocalLengthIn35mmFilm"), tr("35mm focal length"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.LensModel"), tr("Lens model"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.Contrast"), tr("Contrast"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.BrightnessValue"), tr("Brightness"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.ExposureProgram"), tr("Exposure program"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.Saturation"), tr("Saturation"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.Sharpness"), tr("Sharpness"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.WhiteBalance"), tr("White balance"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.DigitalZoomRatio"), tr("Digital zoom"));
appendExivPropertyIfExist(wrapper, QStringLiteral("AdvancedPhoto"),
QStringLiteral("Exif.Photo.ExifVersion"), tr("EXIF version"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSLatitudeRef"), tr("Latitude reference"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSLatitude"), tr("Latitude"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSLongitudeRef"), tr("Longitude reference"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSLongitude"), tr("Longitude"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSAltitudeRef"), tr("Altitude reference"));
appendExivPropertyIfExist(wrapper, QStringLiteral("GPS"),
QStringLiteral("Exif.GPSInfo.GPSAltitude"), tr("Altitude"));
}
}
QString MetadataModel::imageSize(const QSize &size)
{
QString imageSize;
if (size.isValid()) {
imageSize = tr("%1 x %2").arg(QString::number(size.width()), QString::number(size.height()));
} else {
imageSize = QLatin1Char('-');
}
return imageSize;
}
int simplegcd(int a, int b) {
return b == 0 ? a : simplegcd(b, a % b);
}
QString MetadataModel::imageSizeRatio(const QSize &size)
{
if (!size.isValid()) {
return QStringLiteral("-");
}
int gcd = simplegcd(size.width(), size.height());
return tr("%1 : %2").arg(QString::number(size.width() / gcd), QString::number(size.height() / gcd));
}
bool MetadataModel::appendSection(const QString &sectionKey, QStringView sectionDisplayName)
{
if (m_sections.contains(sectionKey)) {
return false;
}
m_sections.append(sectionKey);
m_sectionProperties[sectionKey] = qMakePair<QString, QList<QString> >(sectionDisplayName.toString(), {});
return true;
}
bool MetadataModel::appendPropertyIfNotEmpty(const QString &sectionKey, const QString &propertyKey, const QString &propertyDisplayName, const QString &propertyValue)
{
if (propertyValue.isEmpty()) return false;
return appendProperty(sectionKey, propertyKey, propertyDisplayName, propertyValue);
}
bool MetadataModel::appendProperty(const QString &sectionKey, const QString &propertyKey, QStringView propertyDisplayName, QStringView propertyValue)
{
if (!m_sections.contains(sectionKey)) {
return false;
}
QList<QString> & propertyList = m_sectionProperties[sectionKey].second;
if (!propertyList.contains(propertyKey)) {
propertyList.append(propertyKey);
}
m_properties[propertyKey] = qMakePair<QString, QString>(propertyDisplayName.toString(), propertyValue.toString());
return true;
}
bool MetadataModel::appendExivPropertyIfExist(const Exiv2Wrapper &wrapper, const QString &sectionKey, const QString &exiv2propertyKey, const QString &propertyDisplayName, bool isXmpString)
{
const QString & value = wrapper.value(exiv2propertyKey);
if (!value.isEmpty()) {
appendProperty(sectionKey, exiv2propertyKey,
propertyDisplayName.isEmpty() ? wrapper.label(exiv2propertyKey) : propertyDisplayName,
isXmpString ? Exiv2Wrapper::XmpValue(value) : value);
return true;
}
return false;
}
QModelIndex MetadataModel::index(int row, int column, const QModelIndex &parent) const
{
if (!hasIndex(row, column, parent)) {
return QModelIndex();
}
if (!parent.isValid()) {
return createIndex(row, column, RowType::SectionRow);
} else {
// internalid param: row means nth section it belongs to.
return createIndex(row, column, RowType::PropertyRow + parent.row());
}
}
QModelIndex MetadataModel::parent(const QModelIndex &child) const
{
if (!child.isValid()) {
return QModelIndex();
}
if (child.internalId() == RowType::SectionRow) {
return QModelIndex();
} else {
return createIndex(child.internalId() - RowType::PropertyRow, 0, SectionRow);
}
}
int MetadataModel::rowCount(const QModelIndex &parent) const
{
if (!parent.isValid()) {
return m_sections.count();
}
if (parent.internalId() == RowType::SectionRow) {
const QString & sectionKey = m_sections[parent.row()];
return m_sectionProperties[sectionKey].second.count();
}
return 0;
}
int MetadataModel::columnCount(const QModelIndex &) const
{
// Always key(display name) and value.
return 2;
}
QVariant MetadataModel::data(const QModelIndex &index, int role) const
{
if (!index.isValid()) {
return QVariant();
}
if (role != Qt::DisplayRole) {
return QVariant();
}
if (index.internalId() == RowType::SectionRow) {
return (index.column() == 0) ? m_sectionProperties[m_sections[index.row()]].first
: QVariant();
} else {
int sectionIndex = index.internalId() - RowType::PropertyRow;
const QString & sectionKey = m_sections[sectionIndex];
const QList<QString> & propertyList = m_sectionProperties[sectionKey].second;
return (index.column() == 0) ? m_properties[propertyList[index.row()]].first
: m_properties[propertyList[index.row()]].second;
}
}
QVariant MetadataModel::headerData(int section, Qt::Orientation orientation, int role) const
{
if (orientation == Qt::Vertical || role != Qt::DisplayRole) {
return QVariant();
}
return section == 0 ? tr("Property") : tr("Value");
}

52
app/metadatamodel.h Normal file
View File

@ -0,0 +1,52 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef METADATAMODEL_H
#define METADATAMODEL_H
#include <QAbstractItemModel>
class Exiv2Wrapper;
class MetadataModel : public QAbstractItemModel
{
Q_OBJECT
public:
explicit MetadataModel(QObject *parent = nullptr);
~MetadataModel();
void setFile(const QString & imageFilePath);
static QString imageSize(const QSize &size);
static QString imageSizeRatio(const QSize &size);
bool appendSection(const QString & sectionKey, QStringView sectionDisplayName);
bool appendPropertyIfNotEmpty(const QString & sectionKey, const QString & propertyKey,
const QString & propertyDisplayName, const QString & propertyValue = QString());
bool appendProperty(const QString & sectionKey, const QString & propertyKey,
QStringView propertyDisplayName, QStringView propertyValue = QString());
bool appendExivPropertyIfExist(const Exiv2Wrapper & wrapper, const QString & sectionKey,
const QString & exiv2propertyKey, const QString & propertyDisplayName = QString(),
bool isXmpString = false);
private:
enum RowType : quintptr {
SectionRow,
PropertyRow,
};
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
QModelIndex parent(const QModelIndex &child) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex & = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
// [SECTION_KEY]
QList<QString> m_sections;
// {SECTION_KEY: (SECTION_DISPLAY_NAME, [PROPERTY_KEY])}
QMap<QString, QPair<QString, QList<QString> > > m_sectionProperties;
// {PROPERTY_KEY: (PROPERTY_DISPLAY_NAME, PROPERTY_VALUE)}
QMap<QString, QPair<QString, QString> > m_properties;
};
#endif // METADATAMODEL_H

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "navigatorview.h" #include "navigatorview.h"
#include "graphicsview.h" #include "graphicsview.h"
@ -32,6 +36,7 @@ void NavigatorView::updateMainViewportRegion()
{ {
if (m_mainView != nullptr) { if (m_mainView != nullptr) {
m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect())); m_viewportRegion = mapFromScene(m_mainView->mapToScene(m_mainView->rect()));
update();
} }
} }
@ -44,7 +49,7 @@ void NavigatorView::mousePressEvent(QMouseEvent *event)
update(); update();
} }
return QGraphicsView::mousePressEvent(event); event->accept();
} }
void NavigatorView::mouseMoveEvent(QMouseEvent *event) void NavigatorView::mouseMoveEvent(QMouseEvent *event)
@ -52,16 +57,17 @@ void NavigatorView::mouseMoveEvent(QMouseEvent *event)
if (m_mouseDown && m_mainView) { if (m_mouseDown && m_mainView) {
m_mainView->centerOn(mapToScene(event->pos())); m_mainView->centerOn(mapToScene(event->pos()));
update(); update();
event->accept();
} else {
event->ignore();
} }
return QGraphicsView::mouseMoveEvent(event);
} }
void NavigatorView::mouseReleaseEvent(QMouseEvent *event) void NavigatorView::mouseReleaseEvent(QMouseEvent *event)
{ {
m_mouseDown = false; m_mouseDown = false;
return QGraphicsView::mouseReleaseEvent(event); event->accept();
} }
void NavigatorView::wheelEvent(QWheelEvent *event) void NavigatorView::wheelEvent(QWheelEvent *event)

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef NAVIGATORVIEW_H #ifndef NAVIGATORVIEW_H
#define NAVIGATORVIEW_H #define NAVIGATORVIEW_H

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "opacityhelper.h" #include "opacityhelper.h"
#include <QGraphicsOpacityEffect> #include <QGraphicsOpacityEffect>

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef OPACITYHELPER_H #ifndef OPACITYHELPER_H
#define OPACITYHELPER_H #define OPACITYHELPER_H

255
app/playlistmanager.cpp Normal file
View File

@ -0,0 +1,255 @@
// SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
//
// SPDX-License-Identifier: MIT
#include "playlistmanager.h"
#include <QCollator>
#include <QDir>
#include <QFileInfo>
#include <QUrl>
PlaylistModel::PlaylistModel(QObject *parent)
: QAbstractListModel(parent)
{
}
PlaylistModel::~PlaylistModel()
{
}
void PlaylistModel::setPlaylist(const QList<QUrl> &urls)
{
beginResetModel();
m_playlist = urls;
endResetModel();
}
QModelIndex PlaylistModel::loadPlaylist(const QList<QUrl> & urls)
{
if (urls.isEmpty()) return QModelIndex();
if (urls.count() == 1) {
return loadPlaylist(urls.constFirst());
} else {
setPlaylist(urls);
return index(0);
}
}
QModelIndex PlaylistModel::loadPlaylist(const QUrl &url)
{
QFileInfo info(url.toLocalFile());
QDir dir(info.path());
QString && currentFileName = info.fileName();
if (dir.path() == m_currentDir) {
int idx = indexOf(url);
return idx == -1 ? appendToPlaylist(url) : index(idx);
}
QStringList entryList = dir.entryList(
m_autoLoadSuffixes,
QDir::Files | QDir::NoSymLinks, QDir::NoSort);
QCollator collator;
collator.setNumericMode(true);
std::sort(entryList.begin(), entryList.end(), collator);
QList<QUrl> playlist;
int idx = -1;
for (int i = 0; i < entryList.count(); i++) {
const QString & fileName = entryList.at(i);
const QString & oneEntry = dir.absoluteFilePath(fileName);
const QUrl & url = QUrl::fromLocalFile(oneEntry);
playlist.append(url);
if (fileName == currentFileName) {
idx = i;
}
}
if (idx == -1) {
idx = playlist.count();
playlist.append(url);
}
m_currentDir = dir.path();
setPlaylist(playlist);
return index(idx);
}
QModelIndex PlaylistModel::appendToPlaylist(const QUrl &url)
{
const int lastIndex = rowCount();
beginInsertRows(QModelIndex(), lastIndex, lastIndex);
m_playlist.append(url);
endInsertRows();
return index(lastIndex);
}
bool PlaylistModel::removeAt(int index)
{
if (index < 0 || index >= rowCount()) return false;
beginRemoveRows(QModelIndex(), index, index);
m_playlist.removeAt(index);
endRemoveRows();
return true;
}
int PlaylistModel::indexOf(const QUrl &url) const
{
return m_playlist.indexOf(url);
}
QUrl PlaylistModel::urlByIndex(int index) const
{
return m_playlist.value(index);
}
QStringList PlaylistModel::autoLoadFilterSuffixes() const
{
return m_autoLoadSuffixes;
}
QHash<int, QByteArray> PlaylistModel::roleNames() const
{
QHash<int, QByteArray> result = QAbstractListModel::roleNames();
result.insert(UrlRole, "url");
return result;
}
int PlaylistModel::rowCount(const QModelIndex &parent) const
{
return m_playlist.count();
}
QVariant PlaylistModel::data(const QModelIndex &index, int role) const
{
if (!index.isValid()) return QVariant();
switch (role) {
case Qt::DisplayRole:
return m_playlist.at(index.row()).fileName();
case UrlRole:
return m_playlist.at(index.row());
}
return QVariant();
}
PlaylistManager::PlaylistManager(QObject *parent)
: QObject(parent)
{
connect(&m_model, &PlaylistModel::rowsRemoved, this,
[this](const QModelIndex &, int, int) {
if (m_model.rowCount() <= m_currentIndex) {
setProperty("currentIndex", m_currentIndex - 1);
}
});
auto onRowCountChanged = [this](){
emit totalCountChanged(m_model.rowCount());
};
connect(&m_model, &PlaylistModel::rowsInserted, this, onRowCountChanged);
connect(&m_model, &PlaylistModel::rowsRemoved, this, onRowCountChanged);
connect(&m_model, &PlaylistModel::modelReset, this, onRowCountChanged);
}
PlaylistManager::~PlaylistManager()
{
}
PlaylistModel *PlaylistManager::model()
{
return &m_model;
}
void PlaylistManager::setPlaylist(const QList<QUrl> &urls)
{
m_model.setPlaylist(urls);
}
QModelIndex PlaylistManager::loadPlaylist(const QList<QUrl> &urls)
{
QModelIndex idx = m_model.loadPlaylist(urls);
setProperty("currentIndex", idx.row());
return idx;
}
QModelIndex PlaylistManager::loadPlaylist(const QUrl &url)
{
QModelIndex idx = m_model.loadPlaylist(url);
setProperty("currentIndex", idx.row());
return idx;
}
int PlaylistManager::totalCount() const
{
return m_model.rowCount();
}
QModelIndex PlaylistManager::previousIndex() const
{
int count = totalCount();
if (count == 0) return QModelIndex();
return m_model.index(m_currentIndex - 1 < 0 ? count - 1 : m_currentIndex - 1);
}
QModelIndex PlaylistManager::nextIndex() const
{
int count = totalCount();
if (count == 0) return QModelIndex();
return m_model.index(m_currentIndex + 1 == count ? 0 : m_currentIndex + 1);
}
QModelIndex PlaylistManager::curIndex() const
{
return m_model.index(m_currentIndex);
}
void PlaylistManager::setCurrentIndex(const QModelIndex &index)
{
if (index.isValid() && index.row() >= 0 && index.row() < totalCount()) {
setProperty("currentIndex", index.row());
}
}
QUrl PlaylistManager::urlByIndex(const QModelIndex &index)
{
return m_model.urlByIndex(index.row());
}
QString PlaylistManager::localFileByIndex(const QModelIndex &index)
{
return urlByIndex(index).toLocalFile();
}
bool PlaylistManager::removeAt(const QModelIndex &index)
{
return m_model.removeAt(index.row());
}
void PlaylistManager::setAutoLoadFilterSuffixes(const QStringList &nameFilters)
{
m_model.setProperty("autoLoadFilterSuffixes", nameFilters);
}
QList<QUrl> PlaylistManager::convertToUrlList(const QStringList &files)
{
QList<QUrl> urlList;
for (const QString & str : std::as_const(files)) {
QUrl url = QUrl::fromLocalFile(str);
if (url.isValid()) {
urlList.append(url);
}
}
return urlList;
}

85
app/playlistmanager.h Normal file
View File

@ -0,0 +1,85 @@
// SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <QUrl>
#include <QAbstractListModel>
class PlaylistModel : public QAbstractListModel
{
Q_OBJECT
public:
enum PlaylistRole {
UrlRole = Qt::UserRole
};
Q_ENUM(PlaylistRole)
Q_PROPERTY(QStringList autoLoadFilterSuffixes MEMBER m_autoLoadSuffixes NOTIFY autoLoadFilterSuffixesChanged)
explicit PlaylistModel(QObject *parent = nullptr);
~PlaylistModel();
void setPlaylist(const QList<QUrl> & urls);
QModelIndex loadPlaylist(const QList<QUrl> & urls);
QModelIndex loadPlaylist(const QUrl & url);
QModelIndex appendToPlaylist(const QUrl & url);
bool removeAt(int index);
int indexOf(const QUrl & url) const;
QUrl urlByIndex(int index) const;
QStringList autoLoadFilterSuffixes() const;
QHash<int, QByteArray> roleNames() const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
signals:
void autoLoadFilterSuffixesChanged(QStringList suffixes);
private:
// model data
QList<QUrl> m_playlist;
// properties
QStringList m_autoLoadSuffixes = {};
// internal
QString m_currentDir;
};
class PlaylistManager : public QObject
{
Q_OBJECT
public:
Q_PROPERTY(int currentIndex MEMBER m_currentIndex NOTIFY currentIndexChanged)
Q_PROPERTY(QStringList autoLoadFilterSuffixes WRITE setAutoLoadFilterSuffixes)
Q_PROPERTY(PlaylistModel * model READ model CONSTANT)
explicit PlaylistManager(QObject *parent = nullptr);
~PlaylistManager();
PlaylistModel * model();
void setPlaylist(const QList<QUrl> & url);
Q_INVOKABLE QModelIndex loadPlaylist(const QList<QUrl> & urls);
Q_INVOKABLE QModelIndex loadPlaylist(const QUrl & url);
int totalCount() const;
QModelIndex previousIndex() const;
QModelIndex nextIndex() const;
QModelIndex curIndex() const;
void setCurrentIndex(const QModelIndex & index);
QUrl urlByIndex(const QModelIndex & index);
QString localFileByIndex(const QModelIndex & index);
bool removeAt(const QModelIndex & index);
void setAutoLoadFilterSuffixes(const QStringList &nameFilters);
static QList<QUrl> convertToUrlList(const QStringList & files);
signals:
void currentIndexChanged(int index);
void totalCountChanged(int count);
private:
int m_currentIndex = -1;
PlaylistModel m_model;
};

204
app/settings.cpp Normal file
View File

@ -0,0 +1,204 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "settings.h"
#include <QApplication>
#include <QStandardPaths>
#include <QDebug>
#include <QDir>
#include <QAction>
#include <QWidget>
#include <QKeySequence>
#include <QMetaEnum>
namespace QEnumHelper
{
template <typename E>
E fromString(const QString &text, const E defaultValue)
{
bool ok;
E result = static_cast<E>(QMetaEnum::fromType<E>().keyToValue(text.toUtf8(), &ok));
if (!ok) {
return defaultValue;
}
return result;
}
template <typename E>
QString toString(E value)
{
const int intValue = static_cast<int>(value);
return QString::fromUtf8(QMetaEnum::fromType<E>().valueToKey(intValue));
}
}
Settings *Settings::m_settings_instance = nullptr;
Settings *Settings::instance()
{
if (!m_settings_instance) {
m_settings_instance = new Settings;
}
return m_settings_instance;
}
bool Settings::stayOnTop()
{
return m_qsettings->value("stay_on_top", true).toBool();
}
bool Settings::useLightCheckerboard()
{
return m_qsettings->value("use_light_checkerboard", false).toBool();
}
Settings::DoubleClickBehavior Settings::doubleClickBehavior() const
{
QString result = m_qsettings->value("double_click_behavior", "Close").toString();
return QEnumHelper::fromString<DoubleClickBehavior>(result, DoubleClickBehavior::Close);
}
Settings::MouseWheelBehavior Settings::mouseWheelBehavior() const
{
QString result = m_qsettings->value("mouse_wheel_behavior", "Zoom").toString();
return QEnumHelper::fromString<MouseWheelBehavior>(result, MouseWheelBehavior::Zoom);
}
Settings::WindowSizeBehavior Settings::initWindowSizeBehavior() const
{
QString result = m_qsettings->value("init_window_size_behavior", "Auto").toString();
return QEnumHelper::fromString<WindowSizeBehavior>(result, WindowSizeBehavior::Auto);
}
Qt::HighDpiScaleFactorRoundingPolicy Settings::hiDpiScaleFactorBehavior() const
{
QString result = m_qsettings->value("hidpi_scale_factor_behavior", "PassThrough").toString();
return QEnumHelper::fromString<Qt::HighDpiScaleFactorRoundingPolicy>(result, Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
}
void Settings::setStayOnTop(bool on)
{
m_qsettings->setValue("stay_on_top", on);
m_qsettings->sync();
}
void Settings::setUseLightCheckerboard(bool light)
{
m_qsettings->setValue("use_light_checkerboard", light);
m_qsettings->sync();
}
void Settings::setDoubleClickBehavior(DoubleClickBehavior dcb)
{
m_qsettings->setValue("double_click_behavior", QEnumHelper::toString(dcb));
m_qsettings->sync();
}
void Settings::setMouseWheelBehavior(MouseWheelBehavior mwb)
{
m_qsettings->setValue("mouse_wheel_behavior", QEnumHelper::toString(mwb));
m_qsettings->sync();
}
void Settings::setInitWindowSizeBehavior(WindowSizeBehavior wsb)
{
m_qsettings->setValue("init_window_size_behavior", QEnumHelper::toString(wsb));
m_qsettings->sync();
}
void Settings::setHiDpiScaleFactorBehavior(Qt::HighDpiScaleFactorRoundingPolicy hidpi)
{
m_qsettings->setValue("hidpi_scale_factor_behavior", QEnumHelper::toString(hidpi));
m_qsettings->sync();
}
void Settings::applyUserShortcuts(QWidget *widget)
{
m_qsettings->beginGroup("shortcuts");
const QStringList shortcutNames = m_qsettings->allKeys();
for (const QString & name : shortcutNames) {
QList<QKeySequence> shortcuts = m_qsettings->value(name).value<QList<QKeySequence>>();
setShortcutsForAction(widget, name, shortcuts, false);
}
m_qsettings->endGroup();
}
bool Settings::setShortcutsForAction(QWidget *widget, const QString &objectName,
QList<QKeySequence> shortcuts, bool writeConfig)
{
QAction * targetAction = nullptr;
for (QAction * action : widget->actions()) {
if (action->objectName() == objectName) {
targetAction = action;
} else {
for (const QKeySequence & shortcut : std::as_const(shortcuts)) {
if (action->shortcuts().contains(shortcut)) {
return false;
}
}
}
}
if (targetAction) {
targetAction->setShortcuts(shortcuts);
}
if (targetAction && writeConfig) {
m_qsettings->beginGroup("shortcuts");
m_qsettings->setValue(objectName, QVariant::fromValue(shortcuts));
m_qsettings->endGroup();
m_qsettings->sync();
}
return true;
}
#if defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
#include <windows.h>
// QCoreApplication::applicationDirPath() parses the "applicationDirPath" from arg0, which...
// 1. rely on a QApplication object instance
// but we need to call QGuiApplication::setHighDpiScaleFactorRoundingPolicy() before QApplication get created
// 2. arg0 is NOT garanteed to be the path of execution
// see also: https://stackoverflow.com/questions/383973/is-args0-guaranteed-to-be-the-path-of-execution
// This function is here mainly for #1.
QString getApplicationDirPath()
{
WCHAR buffer[MAX_PATH];
GetModuleFileNameW(NULL, buffer, MAX_PATH);
QString appPath = QString::fromWCharArray(buffer);
return appPath.left(appPath.lastIndexOf('\\'));
}
#endif // defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
Settings::Settings()
: QObject(qApp)
{
QString configPath;
#if defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
QString portableConfigDirPath = QDir(getApplicationDirPath()).absoluteFilePath("data");
QFileInfo portableConfigDirInfo(portableConfigDirPath);
if (portableConfigDirInfo.exists() && portableConfigDirInfo.isDir() && portableConfigDirInfo.isWritable()) {
// we can use it.
configPath = portableConfigDirPath;
}
#endif // defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
if (configPath.isEmpty()) {
// Should be %LOCALAPPDATA%\<APPNAME> under Windows, ~/.config/<APPNAME> under Linux.
configPath = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
}
m_qsettings = new QSettings(QDir(configPath).absoluteFilePath("config.ini"), QSettings::IniFormat, this);
qRegisterMetaType<QList<QKeySequence>>();
}

63
app/settings.h Normal file
View File

@ -0,0 +1,63 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <QObject>
#include <QSettings>
class Settings : public QObject
{
Q_OBJECT
public:
enum DoubleClickBehavior {
Ignore,
Close,
Maximize,
};
Q_ENUM(DoubleClickBehavior)
enum MouseWheelBehavior {
Zoom,
Switch,
};
Q_ENUM(MouseWheelBehavior)
enum WindowSizeBehavior {
Auto,
Maximized,
};
Q_ENUM(WindowSizeBehavior)
static Settings *instance();
bool stayOnTop();
bool useLightCheckerboard();
DoubleClickBehavior doubleClickBehavior() const;
MouseWheelBehavior mouseWheelBehavior() const;
WindowSizeBehavior initWindowSizeBehavior() const;
Qt::HighDpiScaleFactorRoundingPolicy hiDpiScaleFactorBehavior() const;
void setStayOnTop(bool on);
void setUseLightCheckerboard(bool light);
void setDoubleClickBehavior(DoubleClickBehavior dcb);
void setMouseWheelBehavior(MouseWheelBehavior mwb);
void setInitWindowSizeBehavior(WindowSizeBehavior wsb);
void setHiDpiScaleFactorBehavior(Qt::HighDpiScaleFactorRoundingPolicy hidpi);
void applyUserShortcuts(QWidget * widget);
bool setShortcutsForAction(QWidget * widget, const QString & objectName,
QList<QKeySequence> shortcuts, bool writeConfig = true);
private:
Settings();
static Settings *m_settings_instance;
QSettings *m_qsettings;
signals:
public slots:
};

176
app/settingsdialog.cpp Normal file
View File

@ -0,0 +1,176 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "settingsdialog.h"
#include "settings.h"
#include "shortcutedit.h"
#include <QAction>
#include <QCheckBox>
#include <QComboBox>
#include <QFormLayout>
#include <QKeySequenceEdit>
#include <QScrollArea>
#include <QSplitter>
#include <QStringListModel>
#include <QMessageBox>
SettingsDialog::SettingsDialog(QWidget *parent)
: QDialog(parent)
, m_stayOnTop(new QCheckBox)
, m_useLightCheckerboard(new QCheckBox)
, m_doubleClickBehavior(new QComboBox)
, m_mouseWheelBehavior(new QComboBox)
, m_initWindowSizeBehavior(new QComboBox)
, m_hiDpiRoundingPolicyBehavior(new QComboBox)
{
this->setWindowTitle(tr("Settings"));
QHBoxLayout * mainLayout = new QHBoxLayout(this);
QTabWidget * settingsTabs = new QTabWidget(this);
mainLayout->addWidget(settingsTabs);
QWidget * settingsFormHolder = new QWidget;
QFormLayout * settingsForm = new QFormLayout(settingsFormHolder);
settingsTabs->addTab(settingsFormHolder, tr("Options"));
QSplitter * shortcutEditorSplitter = new QSplitter;
shortcutEditorSplitter->setOrientation(Qt::Vertical);
shortcutEditorSplitter->setChildrenCollapsible(false);
QScrollArea * shortcutScrollArea = new QScrollArea;
shortcutEditorSplitter->addWidget(shortcutScrollArea);
shortcutScrollArea->setWidgetResizable(true);
shortcutScrollArea->setMinimumHeight(200);
QWidget * shortcutsFormHolder = new QWidget;
QFormLayout * shortcutsForm = new QFormLayout(shortcutsFormHolder);
shortcutScrollArea->setWidget(shortcutsFormHolder);
settingsTabs->addTab(shortcutEditorSplitter, tr("Shortcuts"));
for (const QAction * action : parent->actions()) {
ShortcutEdit * shortcutEdit = new ShortcutEdit;
shortcutEdit->setObjectName(QLatin1String("shortcut_") + action->objectName());
shortcutEdit->setShortcuts(action->shortcuts());
shortcutsForm->addRow(action->text(), shortcutEdit);
connect(shortcutEdit, &ShortcutEdit::editButtonClicked, this, [=](){
if (shortcutEditorSplitter->count() == 1) shortcutEditorSplitter->addWidget(new QWidget);
ShortcutEditor * shortcutEditor = new ShortcutEditor(shortcutEdit);
shortcutEditor->setDescription(tr("Editing shortcuts for action \"%1\":").arg(action->text()));
QWidget * oldEditor = shortcutEditorSplitter->replaceWidget(1, shortcutEditor);
shortcutEditorSplitter->setSizes({shortcutEditorSplitter->height(), 1});
oldEditor->deleteLater();
});
connect(shortcutEdit, &ShortcutEdit::applyShortcutsRequested, this, [=](QList<QKeySequence> newShortcuts){
bool succ = Settings::instance()->setShortcutsForAction(parent, shortcutEdit->objectName().mid(9),
newShortcuts);
if (!succ) {
QMessageBox::warning(this, tr("Failed to set shortcuts"),
tr("Please check if shortcuts are duplicated with existing shortcuts."));
}
shortcutEdit->setShortcuts(action->shortcuts());
});
}
static QList< QPair<Settings::DoubleClickBehavior, QString> > _dc_options {
{ Settings::DoubleClickBehavior::Ignore, tr("Do nothing") },
{ Settings::DoubleClickBehavior::Close, tr("Close the window") },
{ Settings::DoubleClickBehavior::Maximize, tr("Toggle maximize") }
};
static QList< QPair<Settings::MouseWheelBehavior, QString> > _mw_options {
{ Settings::MouseWheelBehavior::Zoom, tr("Zoom in and out") },
{ Settings::MouseWheelBehavior::Switch, tr("View next or previous item") }
};
static QList< QPair<Settings::WindowSizeBehavior, QString> > _iws_options {
{ Settings::WindowSizeBehavior::Auto, tr("Auto size") },
{ Settings::WindowSizeBehavior::Maximized, tr("Maximized") }
};
static QList< QPair<Qt::HighDpiScaleFactorRoundingPolicy, QString> > _hidpi_options {
{ Qt::HighDpiScaleFactorRoundingPolicy::Round, tr("Round (Integer scaling)", "This option means round up for .5 and above") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Ceil, tr("Ceil (Integer scaling)", "This option means always round up") },
{ Qt::HighDpiScaleFactorRoundingPolicy::Floor, tr("Floor (Integer scaling)", "This option means always round down") },
{ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough, tr("Follow system (Fractional scaling)", "This option means don't round") }
};
QStringList dcbDropDown;
for (const QPair<Settings::DoubleClickBehavior, QString> & dcOption : _dc_options) {
dcbDropDown.append(dcOption.second);
}
QStringList mwbDropDown;
for (const QPair<Settings::MouseWheelBehavior, QString> & mwOption : _mw_options) {
mwbDropDown.append(mwOption.second);
}
QStringList iwsbDropDown;
for (const QPair<Settings::WindowSizeBehavior, QString> & iwsOption : _iws_options) {
iwsbDropDown.append(iwsOption.second);
}
QStringList hidpiDropDown;
for (const QPair<Qt::HighDpiScaleFactorRoundingPolicy, QString> & hidpiOption : _hidpi_options) {
hidpiDropDown.append(hidpiOption.second);
}
settingsForm->addRow(tr("Stay on top when start-up"), m_stayOnTop);
settingsForm->addRow(tr("Use light-color checkerboard"), m_useLightCheckerboard);
settingsForm->addRow(tr("Double-click behavior"), m_doubleClickBehavior);
settingsForm->addRow(tr("Mouse wheel behavior"), m_mouseWheelBehavior);
settingsForm->addRow(tr("Default window size"), m_initWindowSizeBehavior);
settingsForm->addRow(tr("HiDPI scale factor rounding policy"), m_hiDpiRoundingPolicyBehavior);
m_stayOnTop->setChecked(Settings::instance()->stayOnTop());
m_useLightCheckerboard->setChecked(Settings::instance()->useLightCheckerboard());
m_doubleClickBehavior->setModel(new QStringListModel(dcbDropDown));
Settings::DoubleClickBehavior dcb = Settings::instance()->doubleClickBehavior();
m_doubleClickBehavior->setCurrentIndex(static_cast<int>(dcb));
m_mouseWheelBehavior->setModel(new QStringListModel(mwbDropDown));
Settings::MouseWheelBehavior mwb = Settings::instance()->mouseWheelBehavior();
m_mouseWheelBehavior->setCurrentIndex(static_cast<int>(mwb));
m_initWindowSizeBehavior->setModel(new QStringListModel(iwsbDropDown));
Settings::WindowSizeBehavior iwsb = Settings::instance()->initWindowSizeBehavior();
m_initWindowSizeBehavior->setCurrentIndex(static_cast<int>(iwsb));
m_hiDpiRoundingPolicyBehavior->setModel(new QStringListModel(hidpiDropDown));
Qt::HighDpiScaleFactorRoundingPolicy hidpi = Settings::instance()->hiDpiScaleFactorBehavior();
for (int i = 0; i < _hidpi_options.count(); i++) {
if (_hidpi_options.at(i).first == hidpi) {
m_hiDpiRoundingPolicyBehavior->setCurrentIndex(i);
break;
}
}
connect(m_stayOnTop, &QCheckBox::stateChanged, this, [ = ](int state){
Settings::instance()->setStayOnTop(state == Qt::Checked);
});
connect(m_useLightCheckerboard, &QCheckBox::stateChanged, this, [ = ](int state){
Settings::instance()->setUseLightCheckerboard(state == Qt::Checked);
});
connect(m_doubleClickBehavior, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [ = ](int index){
Settings::instance()->setDoubleClickBehavior(_dc_options.at(index).first);
});
connect(m_mouseWheelBehavior, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [ = ](int index){
Settings::instance()->setMouseWheelBehavior(_mw_options.at(index).first);
});
connect(m_initWindowSizeBehavior, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [ = ](int index){
Settings::instance()->setInitWindowSizeBehavior(_iws_options.at(index).first);
});
connect(m_hiDpiRoundingPolicyBehavior, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [ = ](int index){
Settings::instance()->setHiDpiScaleFactorBehavior(_hidpi_options.at(index).first);
});
adjustSize();
setWindowFlag(Qt::WindowContextHelpButtonHint, false);
}
SettingsDialog::~SettingsDialog()
{
}

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef SETTINGSDIALOG_H #ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H #define SETTINGSDIALOG_H
@ -19,7 +23,11 @@ public slots:
private: private:
QCheckBox * m_stayOnTop = nullptr; QCheckBox * m_stayOnTop = nullptr;
QCheckBox * m_useLightCheckerboard = nullptr;
QComboBox * m_doubleClickBehavior = nullptr; QComboBox * m_doubleClickBehavior = nullptr;
QComboBox * m_mouseWheelBehavior = nullptr;
QComboBox * m_initWindowSizeBehavior = nullptr;
QComboBox * m_hiDpiRoundingPolicyBehavior = nullptr;
}; };
#endif // SETTINGSDIALOG_H #endif // SETTINGSDIALOG_H

133
app/shortcutedit.cpp Normal file
View File

@ -0,0 +1,133 @@
// SPDX-FileCopyrightText: 2024 Gary Wang <opensource@blumia.net>
//
// SPDX-License-Identifier: MIT
#include "shortcutedit.h"
#include <QLabel>
#include <QToolButton>
#include <QHBoxLayout>
#include <QFormLayout>
#include <QDialogButtonBox>
#include <QKeySequenceEdit>
ShortcutEditor::ShortcutEditor(ShortcutEdit * shortcutEdit, QWidget * parent)
: QWidget(parent)
, m_descriptionLabel(new QLabel)
, m_shortcutEdit(shortcutEdit)
, m_shortcutLayout(new QFormLayout)
{
Q_CHECK_PTR(m_shortcutEdit);
QDialogButtonBox * buttons = new QDialogButtonBox(QDialogButtonBox::Apply | QDialogButtonBox::Discard);
QVBoxLayout * layout = new QVBoxLayout(this);
layout->addWidget(m_descriptionLabel);
layout->addLayout(m_shortcutLayout);
layout->addWidget(buttons);
connect(buttons, &QDialogButtonBox::clicked, this, [=](QAbstractButton *button){
if ((QPushButton *)button == buttons->button(QDialogButtonBox::Apply)) {
applyShortcuts();
} else {
reloadShortcuts();
}
});
connect(shortcutEdit, &ShortcutEdit::shortcutsChanged, this, &ShortcutEditor::reloadShortcuts);
setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
reloadShortcuts();
}
ShortcutEditor::~ShortcutEditor()
{
}
void ShortcutEditor::setDescription(const QString &desc)
{
m_descriptionLabel->setText(desc);
}
void ShortcutEditor::reloadShortcuts()
{
if (!m_keySequenceEdits.isEmpty()) {
for (QKeySequenceEdit * keyseqEdit : m_keySequenceEdits) {
m_shortcutLayout->removeRow(keyseqEdit);
}
m_keySequenceEdits.clear();
}
QList<QKeySequence> shortcuts = m_shortcutEdit->shortcuts();
shortcuts.append(QKeySequence());
for (const QKeySequence & shortcut : shortcuts) {
QKeySequenceEdit * keyseqEdit = new QKeySequenceEdit(this);
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
keyseqEdit->setClearButtonEnabled(true);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
keyseqEdit->setMaximumSequenceLength(1);
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
keyseqEdit->setKeySequence(shortcut);
m_keySequenceEdits.append(keyseqEdit);
}
for (int i = 0; i < m_keySequenceEdits.count(); i++) {
m_shortcutLayout->addRow(tr("Shortcut #%1").arg(i + 1), m_keySequenceEdits.at(i));
}
}
void ShortcutEditor::applyShortcuts()
{
QList<QKeySequence> shortcuts;
for (const QKeySequenceEdit * keyseqEdit : m_keySequenceEdits) {
if (!keyseqEdit->keySequence().isEmpty() && !shortcuts.contains(keyseqEdit->keySequence())) {
shortcuts.append(keyseqEdit->keySequence());
}
}
emit m_shortcutEdit->applyShortcutsRequested(shortcuts);
}
// ----------------------------------------
ShortcutEdit::ShortcutEdit(QWidget *parent)
: QWidget(parent)
, m_shortcutsLabel(new QLabel(this))
, m_setShortcutButton(new QToolButton(this))
{
m_setShortcutButton->setText("...");
QHBoxLayout * layout = new QHBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
layout->addWidget(m_shortcutsLabel, 1);
layout->addWidget(m_setShortcutButton);
connect(this, &ShortcutEdit::shortcutsChanged, this, [=](){
QStringList shortcutTexts;
for (const QKeySequence & shortcut : m_shortcuts) {
shortcutTexts.append(shortcut.toString());
}
m_shortcutsLabel->setText(shortcutTexts.isEmpty() ? tr("No shortcuts") : shortcutTexts.join(", "));
m_shortcutsLabel->setDisabled(shortcutTexts.isEmpty());
});
connect(m_setShortcutButton, &QToolButton::clicked, this, &ShortcutEdit::editButtonClicked);
adjustSize();
}
ShortcutEdit::~ShortcutEdit()
{
}
QList<QKeySequence> ShortcutEdit::shortcuts() const
{
return m_shortcuts;
}
void ShortcutEdit::setShortcuts(const QList<QKeySequence> &shortcuts)
{
m_shortcuts = shortcuts;
emit shortcutsChanged();
}

55
app/shortcutedit.h Normal file
View File

@ -0,0 +1,55 @@
// SPDX-FileCopyrightText: 2024 Gary Wang <opensource@blumia.net>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <QWidget>
#include <QList>
#include <QKeySequence>
class QLabel;
class QFormLayout;
class QToolButton;
class QKeySequenceEdit;
class ShortcutEdit;
class ShortcutEditor : public QWidget
{
Q_OBJECT
public:
explicit ShortcutEditor(ShortcutEdit * shortcutEdit, QWidget * parent = nullptr);
~ShortcutEditor();
void setDescription(const QString & desc);
void reloadShortcuts();
void applyShortcuts();
private:
QLabel * m_descriptionLabel;
ShortcutEdit * m_shortcutEdit;
QFormLayout * m_shortcutLayout;
QList<QKeySequenceEdit *> m_keySequenceEdits;
};
class ShortcutEdit : public QWidget
{
Q_OBJECT
Q_PROPERTY(QList<QKeySequence> shortcuts MEMBER m_shortcuts WRITE setShortcuts NOTIFY shortcutsChanged)
public:
explicit ShortcutEdit(QWidget * parent = nullptr);
~ShortcutEdit();
QList<QKeySequence> shortcuts() const;
void setShortcuts(const QList<QKeySequence> &shortcuts);
signals:
void shortcutsChanged();
void editButtonClicked();
void applyShortcutsRequested(QList<QKeySequence> newShortcuts);
private:
QList<QKeySequence> m_shortcuts;
QLabel * m_shortcutsLabel;
QToolButton * m_setShortcutButton;
};

View File

@ -1,5 +1,10 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#include "toolbutton.h" #include "toolbutton.h"
#include "actionmanager.h"
#include "opacityhelper.h" #include "opacityhelper.h"
#include <QPainter> #include <QPainter>
@ -22,6 +27,11 @@ ToolButton::ToolButton(bool hoverColor, QWidget *parent)
setStyleSheet(qss); setStyleSheet(qss);
} }
void ToolButton::setIconResourcePath(const QString &iconp)
{
this->setIcon(ActionManager::loadHidpiIcon(iconp, this->iconSize()));
}
void ToolButton::setOpacity(qreal opacity, bool animated) void ToolButton::setOpacity(qreal opacity, bool animated)
{ {
m_opacityHelper->setOpacity(opacity, animated); m_opacityHelper->setOpacity(opacity, animated);

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
#ifndef TOOLBUTTON_H #ifndef TOOLBUTTON_H
#define TOOLBUTTON_H #define TOOLBUTTON_H
@ -9,6 +13,7 @@ class ToolButton : public QPushButton
Q_OBJECT Q_OBJECT
public: public:
ToolButton(bool hoverColor = false, QWidget * parent = nullptr); ToolButton(bool hoverColor = false, QWidget * parent = nullptr);
void setIconResourcePath(const QString &iconp);
public slots: public slots:
void setOpacity(qreal opacity, bool animated = true); void setOpacity(qreal opacity, bool animated = true);

View File

@ -0,0 +1,861 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ca_ES">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Quant a</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Inicia l&apos;aplicació amb el camí del fitxer de la imatge com a argument per carregar la imatge.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>També podeu arrossegar i deixar anar un fitxer d&apos;imatge a la finestra.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Cap de les operacions en aquesta aplicació alterarà els fitxers d&apos;imatge.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Explicació de les opcions del menú contextual:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Manté la finestra a sobre de totes les altres finestres.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Evita que es tanqui la finestra accidentalment (com ara en fer doble clic a la finestra)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versió: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logotip dissenyat por %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Creat amb Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Codi font</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Col·laboradors</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Llista de col·laboradors al GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Gràcies a totes les persones que han col·laborat en aquest projecte.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Traductors</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>M&apos;agradaria donar les gràcies a les persones següents per oferir-se a traduir aquesta aplicació.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 està construït sobre les biblioteques de programari lliure següents:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Especial agraïment</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Biblioteques de tercers</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Els vostres drets</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 es publica sota la llicència MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Aquesta llicència atorga a les persones diverses llibertats:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Sou lliure de fer servir %1 per a qualsevol propòsit</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Sou lliure de distribuir %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Podeu estudiar com funciona %1 i modificar-lo</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Podeu distribuir les versions modificades de %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>La llicència del MIT us garanteix aquesta llibertat. No és permès que ningú us la tregui.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Biblioteques de tercers que fa servir %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>Aj&amp;uda</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Quant a</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Llicència</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Arrossegueu una imatge aquí</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">La llista d&apos;ubicacions de fitxer és buida</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>El fitxer no és una imatge vàlida</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Les dades de la imatge no són vàlides o no són compatibles</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Les dades de la imatge no són vàlides</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">El tipus MIME no és compatible: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>La llista d&apos;ubicacions és buida</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Copia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Les dades de la imatge no són vàlides</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>El tipus MIME no és compatible: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Copia el &amp;mapa de píxels</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Copia el camí del &amp;fitxer</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Propietats</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Mantén a sobre</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Mode protegit</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Amplia</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Redueix</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Inverteix &amp;horitzontalment</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Enganxa</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Commuta el tauler d&apos;escacs</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Obre...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Mida real</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Commuta la maximització</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Commuta la maximització</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Imatge anterior</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Imatge següent</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Configura...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Ajuda</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostra al navegador de fitxers</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Mostra a la carpeta</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Surt</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Metadades de la imatge</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Origen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Imatge</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Fitxer</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Càmera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>Fitxer %1</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Descripció</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Foto avançada</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensions</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Relació d&apos;aspecte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Núm. d&apos;imatges</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Tipus d&apos;element</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Camí de la carpeta</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Mida</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Data de creació</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Data de modificació</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Títol</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Tema</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Valoració</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Etiquetes</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Comentaris</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Autors</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Data de la foto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Nom del programa</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Resolució horitzontal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Resolució vertical</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Unitat de resolució</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Representació del color</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Fabricant de la càmera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Model de la càmera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Relació focal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Temps d&apos;exposició</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Sensibilitat ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Compensació d&apos;exposició</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Distància focal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Obertura màxima</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Mode de mesura</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Mode del flaix</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Distància focal de 35 mm</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Model de lent</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Brillantor</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Programa d&apos;exposició</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Saturació</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Nitidesa</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Balanç de blancs</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Zoom digital</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Versió de l&apos;EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Referència de la latitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Latitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Referència de la longitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Longitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Referència de l&apos;altitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Altitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Propietat</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Valor</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Paràmetres</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>No facis res</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Tanca la finestra</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Commuta la maximització</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Amplia i redueix</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Mostra l&apos;element següent o l&apos;anterior</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Mida automàtica</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Maximitza</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Mantingues a sobre a l&apos;inici</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Comportament del doble clic</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Comportament de la roda del ratolí</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Mida de la finestra per defecte</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Llista de fitxers.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de_DE">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Über</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Starten Sie die Anwendung mit dem Bilddateipfad als Argument zum Laden der Datei.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Das Ziehen und Ablegen von Bilddateien in das Fenster wird ebenfalls unterstützt.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Keine der Änderungen in dieser Anwendung modifizieren die abgespeicherten Bilder.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Erklärung der Kontextmenüoptionen:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Sicher stellen, dass das Fenster über allen anderen Fenstern bleibt.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Es vermeiden, das Fenster versehentlich zu schließen. (z.B. durch Doppelklick auf das Fenster)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Version: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Copyright © 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo entworfen von %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Gemacht mit Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Quellcode</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Mitwirkenden</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Liste der Mitwirkenden auf GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Vielen Dank an alle, die zu diesem Projekt beigetragen haben.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Übersetzer</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Ich möchte den folgenden Personen danken, die sich freiwillig zur Übersetzung dieser Anwendung gemeldet haben.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 basiert auf den folgenden freien Softwarebibliotheken:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Besonderer Dank</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliotheken von Drittanbietern</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Ihre Rechte</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 wird unter der MIT-Lizenz veröffentlicht.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Diese Lizenz gewährt Menschen eine Reihe von Freiheiten:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Sie dürfen %1 für jeden Zweck verwenden</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Sie dürfen %1 verteilen</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Sie können untersuchen, wie %1 funktioniert, und es ändern</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Sie können geänderte Versionen von %1 verteilen</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Die MIT-Lizenz garantiert Ihnen diese Freiheit. Niemand darf es jemals wegnehmen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Von %1 verwendete Bibliotheken von Drittanbietern</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Über</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Lizenz</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Ziehen Sie das Bild hierher</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Die Datei-URL-Liste ist leer</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Datei ist kein gültiges Bild</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Bilddaten sind ungültig oder werden derzeit nicht unterstützt</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Bilddaten sind ungültig</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Nicht unterstützte Mimedaten: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Die Datei-URL-Liste ist leer</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Kopieren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Bilddaten sind ungültig</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Nicht unterstützte Mimedaten: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap kopieren</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>&amp;Dateipfad kopieren</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Eigenschaften</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Oben bleiben</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Geschützter Modus</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Hineinzoomen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Herauszoomen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>&amp;Horizontal spiegeln</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>%Einfügen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Schachbrettmuster umschalten</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Öffnen...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Tatsächliche Größe</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Maximieren umschalten</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Nach rechts drehen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Vorheriges Bild</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Nächstes Bild</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Konfigurieren&#xa0;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Hilfe</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Im Dateiexplorer zeigen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Im Verzeichnis zeigen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Beenden</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Bildmetadaten</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Ursprung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Bild</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Datei</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Fotoapparat</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1-Datei</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Beschreibung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Erweitertes Foto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Maße</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Seitenverhältnis</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Framezahl</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Name</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Objekttyp</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Ordnerpfad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Größe</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Datum erstellt</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Datum geändert</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Titel</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Betreff</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Bewertung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Tags</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Kommentare</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Autoren</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Datum genommen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Programmname</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Horizontale Auflösung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Vertikale Auflösung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Auflösungseinheit</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Farbdarstellung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Kamerahersteller</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Kameramodell</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Blendenzahl</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Belichtungszeit</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO-Geschwindigkeit</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Belichtungskorrektur</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Brennweite</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Maximale Blende</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Messmodus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Flash-Modus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>35&#xa0;mm Brennweite</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Objektivmodell</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Helligkeit</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Belichtungsprogramm</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Sättigung</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Schärfe</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Weißabgleich</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Digitaler Zoom</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF-Version</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Breitengradbezug</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Breitengrad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Längengradbezug</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Längengrad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Höhenbezug</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Höhe</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 × %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Eigenschaft</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Wert</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Nichts tun</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Fenster schließen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Maximieren umschalten</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Hinein- und Hinauszoomen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Zeige nächstes oder vorheriges Element</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Automatische Größe</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Maximiert</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Beim Start oben bleiben</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Doppelklickverhalten</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Mausradverhalten</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Standard-Fenstergröße</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Dateiliste.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es_ES">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Acerca de</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Inicia la aplicación con la ruta del archivo de la imagen como argumento para cargar la imagen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>También es posible arrastrar y soltar un archivo de imagen en la ventana.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Ninguna de las operaciones en esta aplicación alterará los archivos de imagen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Explicación de las opciones del menú contextual:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Mantiene la ventana encima de todas las demás ventanas.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Evita que se cierre la ventana accidentalmente (por ejemplo, al hacer doble clic en la ventana)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versión: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Derechos reservados (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo diseñado por %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Creado con Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Código fuente</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Colaboradores</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Lista de colaboradores en GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Gracias a todas las personas que han colaborado en este proyecto.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Traductores</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Me gustaría dar las gracias a las personas siguientes por ofrecerse a traducir esta aplicación.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 está construido sobre las bibliotecas de software libre siguientes:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>Agradecimiento &amp;especial</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliotecas de terceros</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Sus derechos</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Evita restablecer el estado de zoom/rotación/inversión que se aplicó a la vista de la imagen al cambiar entre las imágenes.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 se publica bajo la licencia MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Esta licencia otorga a las personas una serie de libertades:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Es libre de usar %1 para cualquier propósito</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Es libre de distribuir %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Puede estudiar cómo funciona %1 y modificarlo</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Puede distribuir versiones modificadas de %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>La licencia MIT le garantiza esta libertad. Nadie está autorizado a quitársela.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Bibliotecas de terceros usadas por %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>Ay&amp;uda</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Acerca de</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Licencia</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Arrastre una imagen aquí</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">La lista de ubicaciones está vacía</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>El archivo no es una imagen válida</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Los datos de la imagen no son válidos o no son compatibles</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Los datos de la imagen no son válidos</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">El tipo MIME no es compatible: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>La lista de ubicaciones está vacía</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Copiar</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Los datos de la imagen no son válidos</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>El tipo MIME no es compatible: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation>Imagen del portapapeles</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>¿Estás seguro de que quieres mover &quot;%1&quot; a la papelera de reciclaje?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation>Mover a la papelera ha fallado, puede deberse a un problema con los permisos de los archivos, una limitación del sistema de archivos o una limitación de la plataforma.</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Copiar &amp;mapa de píxeles</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Copiar &amp;ruta de archivo</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Propiedades</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Mantener encima</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Modo protegido</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Conservar la transformación</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Ampliar</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Reducir</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Voltear &amp;horizontalmente</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation>Para visualizar</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation>Ajustar al ancho</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Pegar</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Activar/desactivar el tablero de ajedrez</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Abrir...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Tamaño real</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Maximizar/desmaximizar</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Girar a la derecha</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation>Girar a la izquierda</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Imagen anterior</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Imagen siguiente</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation>Mover a la papelera</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Configurar...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Ayuda</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostrar en el Explorador de archivos</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Mostrar en la carpeta</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Salir</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Metadatos de la imagen</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Origen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Imagen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Archivo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Cámara</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>Archivo %1</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Descripción</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Foto avanzada</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensiones</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Relación de aspecto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Núm. de imágenes</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Nombre</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Tipo de elemento</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Ruta de la carpeta</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Tamaño</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Fecha de creación</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Fecha de modificación</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Título</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Tema</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Valoración</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Etiquetas</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Comentarios</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Autores</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Fecha en que se tomó</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Nombre del programa</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Resolución horizontal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Resolución vertical</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Unidad de resolución</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Representación del color</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Fabricante de la cámara</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Modelo de la cámara</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Relación focal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Tiempo de exposición</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Sensibilidad ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Compensación de exposición</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Distancia focal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Apertura máxima</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Modo de medición</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Distancia del sujeto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Modo del flash</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Distancia focal de 35 mm</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Modelo de la lente</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Contraste</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Brillo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Programa de exposición</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Saturación</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Nitidez</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Balance de blancos</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Zum digital</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Versión de EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Referencia de la latitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Latitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Referencia de la longitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Longitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Referencia de la altitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Altitud</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Propiedad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Valor</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Preferencias</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation>Opciones</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation>Atajos</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation>Editando atajos para la acción &quot;%1&quot;:</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>No hacer nada</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Cerrar la ventana</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Maximizar/desmaximizar</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Ampliar y reducir</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Mostrar el elemento siguiente/anterior</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Tamaño automático</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Maximizar</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Redondeo (escala de enteros)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Ceil (redondear enteros hacia arriba)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Floor (redondear enteros hacia abajo)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Redondeo (redondear los enteros)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Mantener encima al inicio</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation>Utilice un tablero de ajedrez de color claro</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Comportamiento del doble clic</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Comportamiento de la rueda del ratón</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Tamaño de la ventana por defecto</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>Política de redondeo del factor de escala HiDPI</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation>Sin atajos</translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation>Atajos #%1</translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation>Enumere las extensiones de formato de imagen admitidas y sal del programa.</translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Lista de archivos.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr_FR">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>À propos</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Lancer l&apos;application avec le chemin du fichier image comme argument pour charger le fichier.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Le glisser-déposer du fichier image sur la fenêtre est également pris en charge.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Aucun opération dans cette application ne modifiera les fichiers image.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Explication des options du menu contextuel&#xa0;:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Faire en sorte que la fenêtre reste au-dessus de toutes les autres fenêtres.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Éviter de fermer la fenêtre accidentellement. (par exemple en cliquant deux fois sur la fenêtre)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Version&#xa0;: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Copyright © 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo conçu par %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Fait avec Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Code source</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Contributeurs</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Liste des contributeurs sur GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Merci à toutes les personnes qui ont contribué à ce projet.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Traducteurs</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Je tiens à remercier les personnes suivantes qui se sont portées volontaires pour traduire cette application.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 est basé sur les bibliothèques de logiciels libres suivantes&#xa0;:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Remerciement spécial</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliothèques tierces</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Vos droits</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 est publié sous licence MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Cette licence accorde aux personnes un certain nombre de libertés&#xa0;:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Vous êtes libre d&apos;utiliser %1, dans n&apos;importe quel but</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Vous êtes libre de distribuer %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Vous pouvez étudier le fonctionnement de %1 et le modifier</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Vous pouvez distribuer des versions modifiées de %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>La licence MIT vous garantit cette liberté. Personne n&apos;est autorisé à l&apos;enlever.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Bibliothèques tierces utilisées par %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;À propos</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Licence</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Faites glisser l&apos;image ici</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">La liste des URL du fichier est vide</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Le fichier n&apos;est pas une image valide</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Les données d&apos;image ne sont pas valides ou ne sont actuellement pas prises en charge</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Les données d&apos;image ne sont pas valides</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Mimedata non pris en charge&#xa0;: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>La liste des URL de fichiers est vide</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Copier</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Les données d&apos;image ne sont pas valides</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Mimedata non pris en charge&#xa0;: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Copier P&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Copier le &amp;chemin du fichier</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Propriétés</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Rester en-haut</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Mode protégé</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Zoom avant</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Zoom arrière</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Retourner &amp;horizontalement</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>Co&amp;ller</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Dés/activer le damier</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Ouvrir...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Taille actuelle</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Dés/activer l&apos;agrandissement</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Pivoter vers la droite</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Image précédente</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Image suivant</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Configurer</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Aide</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Afficher dans le navigateur de fichiers</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Afficher dans le dossier</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Quitter</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Métadonnées d&apos;image</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Origine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Image</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Fichier</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Appareil photo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>Fichier %1</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Description</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Photo avancée</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensions</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Rapport d&apos;aspect</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Nombre d&apos;images</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Type d&apos;élément</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Chemin du dossier</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Taille</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Date créée</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Date modifiée</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Titre</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Sujet</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Évaluation</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Étiquettes</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Commentaires</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Auteurs</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Date prise</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Nom du programme</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Résolution horizontale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Résolution verticale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Unité de résolution</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Représentation des couleurs</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Fabricant de l&apos;appareil photo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Modèle d&apos;appareil photo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Nombre d&apos;ouverture</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Temps d&apos;exposition</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Vitesse ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Biais d&apos;exposition</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Distance focale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Ouverture maximale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Mode de mesure</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Mode flash</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Distance focale de 35&#xa0;mm</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Modèle d&apos;objectif</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Luminosité</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Programme d&apos;exposition</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Saturation</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Netteté</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Balance des blancs</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Zoom numérique</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Version EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Référence de latitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Latitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Référence de longitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Longitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Référence d&apos;altitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Altitude</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 × %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Propriété</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Valeur</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Ne rien faire</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Fermer la fenêtre</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Activer/désactiver l&apos;agrandissement</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Zoom avant et arrière</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Voir l&apos;élément suivant ou précédent</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Taille automatique</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Agrandi</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Rester en-haut lors du démarrage</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Comportement du double-clic</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Comportement de la molette de la souris</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Taille de la fenêtre par défaut</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Liste des fichiers.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="id_ID">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Tentang</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Luncurkan aplikasi dengan lokasi file gambar sebagai argumen untuk memuat file.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Tarik dan lepaskan gambar ke jendela juga didukung.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Semua operasi pada aplikasi ini tidak akan mengubah gambar pada diska.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Penjelasan opsi menu Context:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Buat jendela tetap di atas semua jendela lainnya.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Hindari penutupan jendela secara tidak sengaja (contoh dengan mengklik jendela dua kali)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versi: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Hak Cipta (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo didesain oleh %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Dibuat dengan Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Kode sumber</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Kontributor-kontributor</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Daftar kontributor di GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Terima kasih kepada semua orang yang telah berkontribusi ke proyek ini.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Penerjemah</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Saya ingin berterima kasih orang-orang berikut yang secara sukarela menerjemahkan aplikasi ini.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 dibangun dengan perpustakaan perangkat lunak bebas berikut:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Terima kasih</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp; Perpustakaan pihak ketiga</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Hak Anda</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Hindari mengatur ulang keadaan zoom/rotasi/flip yang diterapkan pada tampilan gambar saat beralih antara gambar.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Hak Cipta (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 diluncurkan di bawah lisensi MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Lisensi ini memberikan orang-orang beberapa kebebasan:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Anda bebas menggunakan %1, untuk tujuan apapun</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Anda bebas mendistribusikan %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Anda dapat mempelajari bagaimana cara %1 bekerja dan mengubahnya</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Anda dapat mendistribusikan versi %1 yang telah diubah</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Lisensi MIT menjamin kebebasan ini. Tidak ada yang pernah diizinkan untuk mengambilnya.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Perpustakaan pihak ketiga yang digunakan oleh %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Dukungan</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>Tentan&amp;g</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Lisensi</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Tarik gambar ke sini</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Daftar url file kosong</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>File bukan gambar yang valid</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Data gambar tidak valid atau belum didukung</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Data gambar tidak valid</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Tidak didukung mimedata: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Daftar url file kosong</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Salin</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Data gambar tidak valid</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Tidak didukung mimedata: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Salin P&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Salin &amp;Path Berkas</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Properti</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Tetap di atas</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Mode Terlindungi</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Simpan transformasi</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Perbesar</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Perkecil</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Putar Secara &amp;Horizontal</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Tempel</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Ukuran asli</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Putar ke kanan</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Konfigurasi...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Dukungan</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Keluar</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Metadata Gambar</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Gambar</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Berkas</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Kamera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 Berkas</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Keterangan</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Nama</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Jenis item</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Path folder</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Ukuran</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Tanggal dibuat</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Tanggal dimodifikasi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Judul</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Subyek</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Tag</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Komentar</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Penulis</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Tanggal diambil</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Nama program</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Hak cipta</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Resolusi horizontal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Resolusi vertikal</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation type="unfinished">Representasi warna</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Pembuat kamera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Model kamera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Model lensa</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Kecerahan</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Ketajaman</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Versi EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Properti</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Nilai</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Pengaturan</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Jangan lakukan apapun</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Tutup jendela</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Perbesar dan perkecil</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Lihat item berikutnya atau sebelumnya</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Daftar berkas.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it_IT">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Informazioni</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Avvia l&apos;applicazione con il percorso del file immagine come argomento per caricare il file.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>È supportato anche il trascinamento del file immagine sulla finestra.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Nessuna delle operazioni in questa applicazione altererà le immagini sul disco.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Spiegazione delle opzioni del menu contestuale:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Fai in modo che la finestra rimanga in cima a tutte le altre finestre.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Evitare di chiudere accidentalmente la finestra. (es. facendo doppio clic sulla finestra)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Evitare di reimpostare lo stato di zoom/rotazione/capovolgimento applicato alla visualizzazione dell&apos;immagine quando si passa da un&apos;immagine all&apos;altra.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versione: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo disegnato da %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Costruito con Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Codice sorgente</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Contributori</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Elenco dei contributori su GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Grazie a tutte le persone che hanno contribuito a questo progetto.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Traduttori</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Vorrei ringraziare le seguenti persone che si sono offerte volontarie per tradurre questa applicazione.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 si basa sulle seguenti librerie di software libero:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Ringraziamenti speciali</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Librerie di terze parti</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>I tuoi diritti</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 è rilasciato sotto licenza MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Questa licenza garantisce alle persone una serie di libertà:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Sei libero di usare %1, per qualsiasi scopo</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Sei libero di distribuire %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Puoi studiare come funziona %1 e cambiarlo</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Puoi distribuire versioni modificate di %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>La licenza MIT ti garantisce questa libertà. A nessuno è mai permesso portarlo via.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Librerie di terze parti utilizzate da %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Aiuto</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Informazioni</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Licenza</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Trascina qui l&apos;immagine</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">L&apos;elenco degli URL dei file è vuoto</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Il file non è un&apos;immagine valida</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>I dati dell&apos;immagine non sono validi o non sono attualmente supportati</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">I dati dell&apos;immagine non sono validi</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Dati mime non supportati: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>L&apos;elenco degli URL dei file è vuoto</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Copia</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>I dati dell&apos;immagine non sono validi</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Dati mime non supportati: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation>Immagine dagli appunti</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>Sei sicuro di voler spostare &quot;%1&quot; nel cestino?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation>Lo spostamento nel cestino non è riuscito, potrebbe essere causato da un problema di autorizzazione del file, da una limitazione del file system o da una limitazione della piattaforma.</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Copia P&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Copia &amp;Percorso file</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Proprietà</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Rimani in cima</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Modalità protetta</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Mantieni trasformazione</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Zoom avanti</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Zoom indietro</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Capovolgi &amp;Orizzontalmente</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation>Adatto alla visualizzazione</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation>Adatta alla larghezza</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Incolla</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Attiva/disattiva scacchiera</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Apri...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Dimensione reale</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Attiva massimizzazione</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Ruota a destra</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation>Ruota a sinistra</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Immagine precedente</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Immagine successiva</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation>Sposta nel cestino</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Configura...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Aiuto</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostra in Esplora file</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Mostra nella directory</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Esci</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Metadati dell&apos;immagine</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Origine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Immagine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>File</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Camera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 File</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Descrizione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Foto avanzata</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensioni</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Proporzioni</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Conteggio fotogrammi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Tipo di elemento</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Percorso cartella</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Dimensione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Data di creazione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Data di modifica</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Titolo</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Soggetto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Valutazione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Tag</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Commenti</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Autori</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Data scatto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Nome programma</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Risoluzione orizzontale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Risoluzione verticale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Unità di risoluzione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Rappresentazione del colore</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Produttore macchina fotografica</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Modello camera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>F-stop</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Tempo di esposizione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Velocità ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Bias d&apos;esposizione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Lunghezza focale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Massima apertura</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Modalità di misurazione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Distanza del soggetto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Modalità flash</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Lunghezza focale 35 mm</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Modello di lente</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Contrasto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Luminosità</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Programma di esposizione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Saturazione</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Nitidezza</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Bilanciamento del bianco</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Zoom digitale</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Versione EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Riferimento di latitudine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Latitudine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Riferimento di longitudine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Longitudine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Riferimento altimetrico</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Altitudine</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Proprietà</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Valore</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Impostazioni</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation>Opzioni</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation>Scorciatoie</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation>Modifica delle scorciatoie per l&apos;azione &quot;%1&quot;:</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Non fare nulla</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Chiudi la finestra</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Attiva massimizzazione</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Zoom avanti e indietro</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Visualizza l&apos;elemento successivo o precedente</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Dimensione automatica</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Massimizzato</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Round (ridimensionamento intero)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Ceil (ridimensionamento intero)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Floor (ridimensionamento intero)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Segui il sistema (scala frazionaria)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Rimani in cima quando si avvia</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation>Utilizzare scacchiera di colore chiaro</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Comportamento del doppio clic</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Comportamento della rotellina del mouse</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Dimensioni predefinite della finestra</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>Politica di arrotondamento del fattore di scala HiDPI</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation>Nessuna scorciatoia</translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation>Scorciatoia #%1</translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Immagini di Pineapple</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation>Elenca i suffissi dei formati immagine supportati e chiudi il programma.</translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Elenco file.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja_JP">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>()</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Qt %1 (%2) </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>GitHubでの貢献者リスト</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1MITライセンスのもとで公開されています</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>%1使</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>%1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>%1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MITライセンスは</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>%1使</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>(&amp;L)</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation></translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">URLリストがエンプティーです</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation></translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">mimedata: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>urlリストがエンプティーです</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>mimedata: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>%1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>(&amp;I)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>(&amp;O)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation></translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation></translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO速度</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>35mm </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIFバージョン</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 × %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation> ()</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation> ()</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation> ()</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation> ()</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>DPIスケーリングの四捨五入方法</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko_KR">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation> :</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation> . (: 창을 )</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation> // .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Qt %1(%2) </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation> </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>GitHub의 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 :</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation> (&amp;S)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation> (&amp;T)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation> </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation> (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation> %1 MIT .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation> :</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>%1() </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MIT . .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>(&amp;L)</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation> </translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished"> URL </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation> </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation> </translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished"> </translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished"> mimedata: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation> URL </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation> mimedata: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>&quot;%1&quot; ?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation> . , .</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Pixmap (&amp;I)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation> (&amp;F)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation> (&amp;H)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>(&amp;O)...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation></translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation> </translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>F-</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>35mm </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation> ( )</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation> ( )</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation> ( )</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation> ( )</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>HiDPI </translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation> </translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation> .</translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation> .</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nb_NO">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Om</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Kjør programmer ved å angi en filsti som argument for å laste inn filen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Å dra og slippe filen i vinduet støttes også.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Ingen av operasjonene i dette programmet vil endre bildet som det er lagret.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Forklaring av alternativer i bindeleddsmeny:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation> vinduet til å alltid ligge over andre vinduer.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Unngå lukking av vinduet ved feiltagelser (f.eks. ved dobbeltklikking av vinduet)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versjon: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Opphavsrett © 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo designet av %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Bygd med Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Kildekode</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Bidragsytere</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Liste over bidragsytere GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Takk til alle som har bidratt til prosjektet.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Oversettere</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Takk til følgende dugnadsoversettere.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation type="unfinished">%1 er bygd med følgende friprog-bibliotek:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Spesiell takk til</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Tredjepartslisenser</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Dine rettigheter</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Unngå å tilbakestille tilstanden for zoom/rotasjon/speilvending som ble brukt bildevisningen, når det skiftes mellom bilder.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished">Opphavsrett © %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 er MIT-lisensiert.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Lisensen gir den en rekke friheter:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Du kan bruke %1 som du vil</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Du kan dele %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Du kan se kildekoden til %1 og endre den</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Du kan distribuere endrede versjoner av %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MIT-lisensen garanterer deg disse frihetene.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Tredjepartsbibliotek brukt av %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Om</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Lisens</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Dra bilde hit</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Listen over filnettadresser er tom</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Filen er ikke et gyldig bilde</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Ugyldig bildedata, eller for tiden ustøttet</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Ugyldig bildedata</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Ustøttet MIME-data: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Listen over filnettadresser er ugyldig</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Kopier</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Ugyldig bildedata</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Ustøttet MIME-data: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>Er du sikker at du vil flytte &quot;%1&quot; til papirkurven?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation>Flytt til papirkurven mislyktes, det kan skyldes filtillatelsesproblem, filsystembegrensning eller plattformbegrensning.</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation type="unfinished">Kopier p&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Kopier &amp;filbane</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Behold øverst</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Beskyttet modus</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Behold transformasjon</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Førstørr</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Forminsk</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Speilvend &amp;horisontalt</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Lim inn</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished">Skru av/ rutemønster</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Åpne </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Faktisk størrelse</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Maksimering av/</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Roter til høyre</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Forrige bilde</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Neste bilde</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation>Flytt til papirkurven</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Sett opp </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Hjelp</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Vis i filutforsker</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation type="unfinished">Vis i mappe</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Avslutt</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Bilde-metadata</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Opprinnelse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Bilde</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Fil</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Kamera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1-fil</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Beskrivelse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Avansert bilde</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Dimensjoner</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Sideforhold</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation type="unfinished">Rammeantall</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Navn</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Elementstype</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Mappesti</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Størrelse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Dato opprettet</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Dato endret</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Tittel</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Emne</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Vurdering</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Etiketter</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Kommentarer</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Utviklere</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Dato tatt</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Programnavn</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Opphavsrett</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Vannrett oppløsning</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Loddrett oppløsning</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Oppløsningsenhet</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Fargerepresentasjon</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Kamerafabrikat</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Kameramodell</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Blenderåpning</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Eksponeringstid</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO-hastighet</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation type="unfinished">Eksponeringskorrigering</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Brennvidde</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation type="unfinished">Maks. blenderåpning</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation type="unfinished">Målingsmodus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Blitz-modus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation type="unfinished">35 mm-brennvidde</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Linsemodell</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Kontrast</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Lysstyrke</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation type="unfinished">Eksponeringsprogram</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Metning</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Skarphet</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Hvitbalanse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Digital forstørrelse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF-versjon</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Breddegradsreferanse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Breddegrad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Lengdegradsreferanse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Lengdegrad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Høydereferanse</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Høyde</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Egenskap</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Verdi</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Innstillinger</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Ikke gjør noe</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Lukk vinduet</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Maksimering av/</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Zoom inn og ut</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Vis neste eller forrige element</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation type="unfinished">Automatisk størrelse</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Maksimert</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Behold i forgrunnen ved oppstart</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Dobbeltklikksoppførsel</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Musehjulsoppførsel</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Forvalgt vindusstørrelse</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Filliste.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl_NL">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Over</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Start het programma met het opgegeven afbeeldingsbestandspad.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>U kunt tevens afbeeldingen naar het venster slepen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Geen van de handelingen in dit programma veranderen de afbeeldingen op de schijf.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Rechtermuisknopmenu-uitleg:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Houdt het venster boven andere vensters.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Voorkomt per ongeluk sluiten (bijv. door te dubbelklikken op het venster).</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Versie: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Copyright (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo gemaakt door %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Gebouwd met Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Broncode</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Bijdragers</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Lijst met bijdragers op GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Met dank aan alle personen die hebben bijgedragen aan dit project.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Vertalers</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Ik wil graag de volgende mensen bedanken die vrijwillig hebben bijgedragen aan vertalingen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 is gebouwd met de volgende vrijesoftwarebibliotheken:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Met dank aan</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>Ex&amp;terne bibliotheken</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Uw rechten</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Voorkom dat het zoomniveau, de draaiing en spiegeling worden hersteld na wisselen van afbeelding.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 is uitgebracht onder de MIT-licentie.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Deze licentie biedt een hoop vrijheden:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>U mag %1 gratis gebruiken, voor welk doeleinde dan ook</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>U mag %1 vrij verspreiden</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>U kunt bekijken hoe %1 werkt en aanpassingen doen</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>U mag aangepaste versie van %1 vrij verspreiden</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>De MIT-licentie garandeert u deze vrijheid, en niemand mag deze vrijheid wegnemen.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Door %1 gebruikte externe bibliotheken</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Hulp</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Over</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Licentie</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Sleep een afbeelding hierheen</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">De bestandspadlijst is leeg</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Het bestand is geen afbeelding</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>De afbeeldingsgegevens zijn beschadigd of worden niet ondersteund</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Beschadigde afbeeldingsgegevens</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Niet-ondersteunde mime-gegevens: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>De bestandspadlijst is leeg</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Kopiëren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Beschadigde afbeeldingsgegevens</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Niet-ondersteunde mime-gegevens: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap kopiëren</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>&amp;Bestandspad kopiëren</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Eigenschappen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Altijd bovenop</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Beschermde modus</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Bewerkingen onthouden</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Inzoomen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Uitzoomen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>&amp;Horizontaal spiegelen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Plakken</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Schaakbordpatroon aan/uit</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Openen</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Ware grootte</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Maximaliseren aan/uit</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Naar rechts draaien</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Vorige afbeelding</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Volgende afbeelding</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Instellen...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Hulp</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Tonen in bestandsbeheer</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Tonen in map</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Afsluiten</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Afbeeldingsmetagegevens</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Oorsprong</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Afbeelding</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Bestand</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Camera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1-bestand</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Omschrijving</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Uitgebreide foto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Afmetingen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Beeldverhouding</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Aantal frames</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Naam</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Soort item</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Bestandspad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Grootte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Gemaakt op</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Bewerkt op</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Naam</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Onderwerp</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Waardering</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Labels</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Opmerkingen</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Makers</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Genomen op</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Programmanaam</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Copyright</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Horizontale resolutie</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Verticale resolutie</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Resolutie-eenheid</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Kleurweergave</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Camerafabrikant</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Cameramodel</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Openingsverhouding</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Belichtingstijd</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO-snelheid</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Belichtingsvertekening</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Focale lengte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Max. opening</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Metermodus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Onderwerpafstand</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Flitsmodus</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>35mm focale lengte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Lensmodel</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Contrast</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Helderheid</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Belichtingsprogramma</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Verzadiging</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Scherpte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Witbalans</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Digitale zoom</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF-versie</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Breedtegraadverwijzing</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Breedtegraad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Lengtegraadverwijzing</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Lengtegraad</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Hoogteverwijzing</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Hoogte</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Eigenschap</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Waarde</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Instellingen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Niets doen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Venster sluiten</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Maximaliseren/Demaximaliseren</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>In-/Uitzoomen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Ga naar volgende of vorige item</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Automatische grootte</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Gemaximaliseerd</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Rond (geheel getal)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Keil (geheel getal)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Grond (geheel getal)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Systeeminstelling (fractionele schaal)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Automatisch altijd bovenop</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Dubbelklikgedrag</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Scrollwielgedrag</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Standaard vensterafmetingen</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>HiDPI-schaalfactor - afrondbeleid</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Afbeeldingen</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Bestandslijst.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,861 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pa_PK">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>بارے</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>سروت دا کوڈ</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>ترجمے والے</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>شکریئے</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>تیجی پارٹی سوفٹویر</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>مدد</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>بارے</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>لائیسنس</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>کاپی کرو</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>تصویر دا نقشہ کاپی کرو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>وشیشتاواں</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>سرکھیات سیٹنگ</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>وڈا کرو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>چھوٹا کرو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>لیٹویں اُلٹاؤ</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>پیسٹ کرو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>چیکبورڈ چالو بدلو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>کھُلھو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>اصلی اکار</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>ودھو ودھ بدلو</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>سجے گھنماؤ</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>پچھلی تصویر</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>اگلی تصویر</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>مدد</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>بند کرو</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>تصویر دا میٹاڈیٹا</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>تصویر</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>فائل</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>کیمرہ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>تفصیل</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>گیپیایس</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>ماپ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>ناں</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>قسم</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>فولڈر پاتھ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>اکار</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>بݨاوݨ دی تریخ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>سرلیکھ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>وِشا</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>ٹیگ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>ٹپݨیاں</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>لیکھک</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>لائیسنس</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>ایف سٹاپ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>چمک</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>سنترپتہ</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>تکھاپن</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>اکشانش</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>لمبکار</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>اُچائی</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>وشیشتا</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>مُل</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>سیٹنگاں</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation type="unfinished">ودھو ودھ بدلو</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>ودھ توں ودھ</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>О программе</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Запустите приложение, указав путь к файлу изображения в качестве аргумента для загрузки файла.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Также поддерживается перетаскивание файла изображения в окно.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Ни одна из операций в этом приложении не изменит изображения на диске.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Пояснение к параметрам контекстного меню:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Расположить окно поверх всех остальных окон.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Избегать случайного закрытия окна. (например, двойным щелчком по окну)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Версия: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Авторское право (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Логотип разработан %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Создано с использованием Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Исходный код</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Участники</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Список участников на GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Спасибо всем, кто внес свой вклад в этот проект.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Переводчики</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Я бы хотел поблагодарить следующих людей, которые приняли участие в переводе этого приложения.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 создан на следующих бесплатных библиотеках программного обеспечения:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Особая благодарность</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Сторонние библиотеки</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Ваши Права</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 выпущен под лицензией MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Эта лицензия дает людям ряд свобод:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Вы можете свободно использовать %1 для любых целей</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Вы можете свободно распространять %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Вы можете изучать, как работает %1, и изменять его</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Вы можете распространять измененные версии %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Лицензия MIT гарантирует вам эту свободу. Никому и никогда не разрешается забирать ее.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Сторонние библиотеки, используемые %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Помощь</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;О программе</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Лицензия</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Перетащите изображение сюда</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Список URL-адресов файлов пуст</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Файл не является допустимым изображением</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Параметры изображения недействительны или не поддерживаются в настоящее время</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Параметры изображения недействительны</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Неподдерживаемые mimedata: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Список URL-адресов файлов пуст</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Скопировать</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Параметры изображения недействительны</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Неподдерживаемые mimedata: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Скопировать P&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Скопировать &amp;путь к файлу</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Свойства</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Поверх всех окон</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Защищенный режим</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Увеличить</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Уменьшить</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Отразить по &amp;горизонтали</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Вставить</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Переключить фоновый рисунок</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Открыть...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Фактический размер</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Переключить окно</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Повернуть вправо</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Предыдущее изображение</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Следующее изображение</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Параметры...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Помощь</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Показать в проводнике</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Показать в папке</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Выход</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Метаданные изображения</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Происхождение</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Изображение</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Файл</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Камера</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 Файл</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Описание</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Расширенное фото</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Размеры</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Соотношение сторон</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Количество кадров</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Название</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Тип элемента</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Путь к папке</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Размер</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Дата создания</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Дата изменения</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Заголовок</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Тема</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Рейтинг</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Теги</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Комментарии</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Авторы</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Дата съемки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Название программы</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Авторские права</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Разрешение по горизонтали</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Разрешение по вертикали</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Единица разрешения</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Цветопередача</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Производитель камеры</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Модель камеры</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Величина диафрагмы</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Время экспозиции</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Чувствительность ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Смещение экспозиции</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Фокусное расстояние</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Максимальная апертура</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Режим измерения</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Расстояние до объекта</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Режим вспышки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Фокусное расстояние 35 мм</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Модель объектива</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Контраст</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Яркость</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Программа экспозиции</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Насыщенность</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Четкость</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Баланс белого</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Цифровое увеличение</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Версия EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Ссылка на широту</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Широта</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Ссылка на долготу</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Долгота</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Ссылка на высоту</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Высота</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Свойство</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Значение</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Параметры</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Ничего не делать</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Закрыть окно</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Переключить окно</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Увеличение и уменьшение масштаба</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Следующее или предыдущее изображение</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Авторазмер</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Максимизировать</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Round (целочисленное масштабирование)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Ceil (целочисленное масштабирование)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Floor (целочисленное масштабирование)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Следовать системе (дробное масштабирование)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Поверх всех окон при запуске</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Действие при двойном щелчке</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Действие колеса мыши</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Размер окна по умолчанию</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>Политика округления коэффициента масштабирования HiDPI</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Список файлов.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="si_LK">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished"> () 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation> </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation> .</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation> </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="obsolete"> ... (url) </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation> </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished"> </translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation> ... (url) </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation> %1</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation> </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation> </translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation> .</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="tr_TR">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Hakkında</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Dosyayı yüklemek için değişken olarak resim dosyası yolu ile uygulamayı çalıştır.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Pencere üzerine resim dosyası sürükle bırak ta destekleniyor.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Bu uygulamadaki işlemlerin hiçbiri diskteki resimleri değiştirmeyecektir.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>İçerik menüsü seçeneği ıklaması:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Pencereyi diğer tüm pencerelerin üzerinde tut.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Pencereyi yanlışlıkla kapatmaktan kaçın. (örn. pencereye çift tıklayarak)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Sürüm: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished">Telif hakkı (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo tasarımcısı: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Qt %1 (%2) ile inşa edilmiştir</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Kaynak kodu</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Katkıda bulunanlar</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Github üzerindeki katkı sağlayıcıların listesi</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Bu projeye katkı sağlayan herkese teşekkürler.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Çevirmenler</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Bu uygulamayı çevirmeye gönüllü olan aşağıdaki kişilere teşekkür etmek istiyorum.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 aşağıdaki özgür yazılım kitaplıkları üzerinde inşa edilmiştir:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>Özel %Teşekkürler</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>Üçüncü Par&amp;ti Kitaplıklar</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Haklarınız</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Resimler arasında geçiş yaparken resim görünümüne uygulanan yakınlaştırma/döndürme/çevirme durumu sıfırlanmasın.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Telif Hakkı (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1, MIT Lisansı altında sunulmuştur.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Bu lisans birkaç özgürlüğü kişilere veriyor:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>%1&apos;i herhangi bir amaç için kullanmakta özgürsünüz</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>%1&apos;i dağıtmakta özgürsünüz</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>%1&apos;in nasıl çalıştığıyla ilgili çalışabilir ve onu değiştirebilirsiniz</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>%1&apos;in değiştirilmiş sürümünü dağıtabilirsiniz</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MIT lisansı özgürlüğünüzü garanti eder. Hiç kimsenin özgürlüğünüzü sizden almasına bile izin verilmez.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>%1 tarafından kullanılan Üçüncü Parti Kitaplıklar</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Yardım</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>H&amp;akkında</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Lisans</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Resmi buraya sürükleyin</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Dosya URL listesi boş</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Dosya, geçerli bir resim değil</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Resim verisi geçersiz veya şuan desteklenmiyor</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Resim verisi geçersiz</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Desteklenmeyen dosya türü verisi: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Dosya URL listesi boş</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Kopyala</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Resim verisi geçersiz</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Desteklenmeyen dosya türü verisi: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation>Panodaki Resim</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>&quot;%1&quot; ögesini geri dönüşüm kutusuna taşımak istediğinizden emin misiniz?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation>Çöp kutusuna taşıma başarısız oldu, dosya izin sorunu, dosya sistemi sınırlaması veya platform sınırlamasından kaynaklanıyor olabilir.</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap&apos;i Kopyala</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>&amp;Dosya Yolunu Kopyala</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Özellikler</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Üstte tut</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Korumalı kip</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Dönüşümü koru</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Yaklaştır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Uzaklaştır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>&amp;Yatay Çevir</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation>Görünüme sığdır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation>Genişliğe sığdır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>Ya&amp;pıştır</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Damalı Ekrana Geç</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Gerçek boyut</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Tam boyuta geç</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Sağa döndür</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation>Sola döndür</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Önceki resim</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Sonraki resim</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation>Çöp Kutusuna Taşı</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Yapılandır...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Yardım</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Dosya Gezgini&apos;nde Göster</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Dizinde göster</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Çıkış</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Resim Üstverisi</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Köken</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Resim</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Dosya</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Kamera</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 Dosya</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>ıklama</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Gelişmiş foto</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Boyutlar</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>En boy oranı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Kare sayısı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Adı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Öge türü</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Klasör yolu</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Boyut</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Oluşturulma tarihi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Değiştirilme tarihi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Başlık</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Konu</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Değerlendirme</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Etiketler</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Yorumlar</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Sanatçılar</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Çekilme tarihi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Program adı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Telif Hakkı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Yatay çözünürlük</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Dikey çözünürlük</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Çözünürlük birimi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Renk sunumu</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Kamera üreticisi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Kamera modeli</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Diyafram</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Pozlama süresi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO hızı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Pozlama sapması</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Odak uzaklığı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Azami ıklık</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Ölçme kipi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Konu mesafesi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Flaş kipi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>35mm odak uzaklığı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Mercek modeli</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Karşıtlık</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Parlaklık</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Pozlama programı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Doygunluk</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Keskinlik</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Beyaz dengesi</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Dijital yakınlaştırma</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF sürümü</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Enlem kaynağı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Enlem</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Boylam kaynağı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Boylam</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Rakım kaynağı</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Rakım</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Özellik</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Değer</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Ayarlar</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation>Seçenekler</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation>Kısayollar</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation>&quot;%1&quot; için kısayol düzenleniyor:</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Hiçbir şey yapma</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Pencereyi kapat</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Tam boyuta geç</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Yaklaştır ve uzaklaştır</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Sonraki veya önceki ögeyi görüntüle</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Otomatik boyut</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Tam boyut</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Yuvarlak (Tamsayı ölçekleme)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Tavan (Tamsayı ölçekleme)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Kat (Tamsayı ölçekleme)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Sistemi takip et (Kesirli ölçekleme)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>ılışta pencerelerin üstünde kal</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation>ık renk dama tahtası kullan</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Çift tıklama davranışı</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Fare tekeri davranışı</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Öntanımlı pencere boyutu</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>HiDPI ölçek katsayısı yuvarlama ilkesi</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation>Kısayol yok</translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation>Kısayol #%1</translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Ananas Resimler</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation>Desteklenen resim biçimi son eklerini listele ve programdan çık.</translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Dosya list.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,873 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="uk_UA">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation>Про додаток</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation>Запустіть додаток, вказавши шлях до файлу зображення у якості аргументу для завантаження файлу.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation>Також підтримується перетягування файлу зображення у вікно.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Жодна з операцій у цьому додатку не змінить зображення на диску.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation>Пояснення пунктів контекстного меню:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>Зробити так, щоб вікно залишалося поверх усіх інших вікон.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Уникати випадкового закривання вікна. (Наприклад, подвійним клацанням по вікну.)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>Уникати скидання стану масштабування/обертання/гортання яке було застосовано до перегляду зображення при перемиканні зображень.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>Версія: %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Логотип розроблено %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>Побудований за допомогою Qt %1 (%2)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation>Джерельний код</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation>Учасники</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>Список учасників на GitHub</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation>Дякуємо всім, хто долучився до цього проєкту.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation>Перекладачі</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Я хотів би подякувати наступним людям, які прийняли участь у перекладі цього додатку.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 побудовано на наступних вільних бібліотеках:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>&amp;Особлива подяка</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>&amp;Сторонні бібліотеки</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation>Ваші права</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Авторське право (c) %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 випускається за ліцензією MIT.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation>Ця ліцензія надає людям низку свобод:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>Ви можете вільно використовувати %1 для будь-яких цілей</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation>Ви можете вільно розповсюджувати %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation>Ви можете вивчити, як працює %1, і змінити його</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation>Ви можете розповсюджувати змінені версії %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Ліцензія MIT гарантує вам цю свободу. Ніхто не має права її відбирати.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>Сторонні бібліотеки, що використовуються %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>&amp;Допомога</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>&amp;Про додаток</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>&amp;Ліцензія</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation>Перетягніть зображення сюди</translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished">Список URL-адрес файлів порожній</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation>Файл не є дійсним зображенням</translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation>Дані зображення недійсні або наразі не підтримуються</translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished">Дані зображення недійсні</translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished">Не підтримується mimedata: %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation>Список URL-адрес файлів порожній</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>&amp;Скопіювати</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation>Дані зображення недійсні</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation>Не підтримується mimedata: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>Скопіювати P&amp;ixmap</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>Скопіювати &amp;шлях до файлу</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation>Властивості</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation>Поверх всіх вікон</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation>Захищений режим</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Зберігати трансформацію</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation>Збільшити</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation>Зменшити</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>Перевернути по &amp;горизонталі</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>&amp;Вставити</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation>Перемкнути шахову дошку</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>&amp;Відкрити...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation>Фактичний розмір</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation>Перемкнути на максимум</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation>Перегорнути праворуч</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation>Попереднє зображення</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation>Наступне зображення</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>Налаштувати...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation>Допомога</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Показати у файловому провіднику</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation>Показати у теці</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>Вийти</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation>Метадані зображення</translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation>Походження</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation>Зображення</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation>Файл</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation>Камера</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 файл</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation>Опис</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation>Розширене фото</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation>Розміри</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation>Співвідношення сторін</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation>Кількість кадрів</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation>Імя</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation>Тип елемента</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation>Шлях до теки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation>Розмір</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation>Дата створення</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation>Дата зміни</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation>Назва</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation>Тема</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation>Рейтинг</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation>Мітки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation>Коментарі</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation>Автори</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation>Дата зйомки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation>Назва програми</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation>Авторське право</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation>Роздільна здатність по горизонталі</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation>Роздільна здатність по вертикалі</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation>Одиниця роздільної здатності</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation>Представлення кольору</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation>Виробник камери</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation>Модель камери</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation>Діафрагма (F)</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation>Час експозиції</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>Чутливість ISO</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation>Зсув експозиції</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation>Фокусна відстань</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation>Максимальна апертура</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation>Режим вимірювання</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation>Відстань до об&apos;єкта зйомки</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation>Режим спалаху</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation>Фокусна відстань 35 мм</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation>Модель об&apos;єктива</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation>Контраст</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation>Яскравість</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation>Програма експозиції</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation>Насиченість</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation>Різкість</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation>Баланс білого</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation>Цифровий зум</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>Версія EXIF</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation>Посилання на широту</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation>Широта</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation>Посилання на довготу</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation>Довгота</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation>Посилання на висоту над рівнем моря</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation>Висота над рівнем моря</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation>Власність</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation>Значення</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation>Налаштування</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation>Нічого не робити</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation>Закрити вікно</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation>Перемкнути на максимум</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation>Збільшення та зменшення</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation>Переглянути наступний або попередній елемент</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation>Автоматичний розмір</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation>Максимізувати</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation>Round (цілочисельне масштабування)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation>Ceil (цілочисельне масштабування)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation>Floor (цілочисельне масштабування)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation>Стежити за системою (дробове масштабування)</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation>Поверх всіх вікон під час запуску</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation>Поведінка при подвійному кліку</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation>Поведінка колеса миші</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation>Розмір вікна за замовчуванням</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>Політика округлення коефіцієнта HiDPI</translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation>Список файлів.</translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,877 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>AboutDialog</name>
<message>
<location filename="../aboutdialog.cpp" line="27"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="31"/>
<source>Drag and drop image file onto the window is also supported.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source>
<translation>使</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source>
<translation>: %1</translation>
</message>
<message>
<source>Copyright (c) 2020 %1</source>
<translation type="vanished"> (c) 2020 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source>
<translation>Logo %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source>
<translation>使 Qt %1 (%2) </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source>
<translation>GitHub </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment>
<translation>%1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="46"/>
<source>Avoid resetting the zoom/rotation/flip state that was applied to the image view when switching between images.</source>
<translation>//</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation> © %1 %2</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source>
<translation>%1 MIT </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source>
<translation></translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source>
<translation>使 %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source>
<translation> %1 </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation> MIT </translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source>
<translation>%1 使</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source>
<translation>(&amp;L)</translation>
</message>
</context>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source>
<translation></translation>
</message>
</context>
<context>
<name>GraphicsView</name>
<message>
<source>File url list is empty</source>
<translation type="vanished"> URL </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source>
<translation></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source>
<translation></translation>
</message>
<message>
<source>Image data is invalid</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Not supported mimedata: %1</source>
<translation type="vanished"> MimeData %1</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source>
<translation> URL </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="540"/>
<source>Image data is invalid</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="547"/>
<source>Not supported mimedata: %1</source>
<translation> MimeData %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="743"/>
<source>Image From Clipboard</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="761"/>
<source>Are you sure you want to move &quot;%1&quot; to recycle bin?</source>
<translation>%1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="766"/>
<source>Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation.</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<source>Copy P&amp;ixmap</source>
<translation>(&amp;I)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/>
<source>Stay on top</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Protected mode</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="120"/>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Keep transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Zoom in</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Pause/Resume Animation</source>
<translation>/</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="109"/>
<source>Animation Go to Next Frame</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="111"/>
<source>Flip &amp;Horizontally</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<source>Fit to view</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<source>Fit to width</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="116"/>
<source>&amp;Paste</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source>
<translation>(&amp;O)...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="760"/>
<location filename="../actionmanager.cpp" line="117"/>
<source>Move to Trash</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="121"/>
<source>Configure...</source>
<translation>...</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="122"/>
<source>Help</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source>
<translation>退</translation>
</message>
</context>
<context>
<name>MetadataDialog</name>
<message>
<location filename="../metadatadialog.cpp" line="84"/>
<source>Image Metadata</source>
<translation></translation>
</message>
</context>
<context>
<name>MetadataModel</name>
<message>
<location filename="../metadatamodel.cpp" line="41"/>
<source>Origin</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="42"/>
<source>Image</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="46"/>
<source>File</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="43"/>
<source>Camera</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source>
<translation>%1 </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="40"/>
<source>Description</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="44"/>
<source>Advanced photo</source>
<comment>Section name.</comment>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="45"/>
<source>GPS</source>
<comment>Section name.</comment>
<translation>GPS</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="50"/>
<source>Dimensions</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="52"/>
<source>Aspect ratio</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="56"/>
<source>Frame count</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="60"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="66"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="77"/>
<source>Title</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="79"/>
<source>Subject</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="81"/>
<source>Rating</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="83"/>
<source>Tags</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="85"/>
<source>Comments</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="88"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="90"/>
<source>Date taken</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="96"/>
<source>Program name</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="98"/>
<source>Copyright</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="101"/>
<source>Horizontal resolution</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="103"/>
<source>Vertical resolution</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="105"/>
<source>Resolution unit</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="107"/>
<source>Colour representation</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="116"/>
<source>Exposure time</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source>
<translation>ISO </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="122"/>
<source>Focal length</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="124"/>
<source>Max aperture</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="126"/>
<source>Metering mode</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="128"/>
<source>Subject distance</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="130"/>
<source>Flash mode</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source>
<translation> 35mm </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="135"/>
<source>Lens model</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="137"/>
<source>Contrast</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="139"/>
<source>Brightness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="141"/>
<source>Exposure program</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="143"/>
<source>Saturation</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="145"/>
<source>Sharpness</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="147"/>
<source>White balance</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="149"/>
<source>Digital zoom</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="151"/>
<source>EXIF version</source>
<translation>EXIF </translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="154"/>
<source>Latitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="156"/>
<source>Latitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="158"/>
<source>Longitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="160"/>
<source>Longitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="162"/>
<source>Altitude reference</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="164"/>
<source>Altitude</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source>
<translation>%1 x %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source>
<translation>%1 : %2</translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Property</source>
<translation></translation>
</message>
<message>
<location filename="../metadatamodel.cpp" line="317"/>
<source>Value</source>
<translation></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="37"/>
<source>Options</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="49"/>
<source>Shortcuts</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="59"/>
<source>Editing shortcuts for action &quot;%1&quot;:</source>
<translation>%1</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="68"/>
<source>Failed to set shortcuts</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="69"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="76"/>
<source>Do nothing</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="119"/>
<source>Use light-color checkerboard</source>
<translation>使</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="120"/>
<source>Double-click behavior</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source>
<translation>HiDPI </translation>
</message>
</context>
<context>
<name>ShortcutEdit</name>
<message>
<location filename="../shortcutedit.cpp" line="111"/>
<source>No shortcuts</source>
<translation></translation>
</message>
</context>
<context>
<name>ShortcutEditor</name>
<message>
<location filename="../shortcutedit.cpp" line="77"/>
<source>Shortcut #%1</source>
<translation> %1</translation>
</message>
</context>
<context>
<name>main</name>
<message>
<location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source>
<translation></translation>
</message>
<message>
<location filename="../main.cpp" line="46"/>
<source>List supported image format suffixes, and quit program.</source>
<translation>退</translation>
</message>
<message>
<location filename="../main.cpp" line="50"/>
<source>File list.</source>
<translation></translation>
</message>
</context>
</TS>

View File

@ -1,69 +1,166 @@
image:
- Visual Studio 2022
environment: environment:
CMAKE_INSTALL_ROOT: C:\projects\cmake CMAKE_INSTALL_PREFIX: C:\projects\cmake
ZLIB_ROOT: C:\projects\zlib LIBZ: C:\projects\zlib
LIBEXPAT: C:\projects\libexpat
LIBAVIF: C:\projects\libavif
LIBEXIV2: C:\projects\exiv2
PPKG: C:\projects\ppkg
matrix: matrix:
- build_name: mingw73_32_qt5_12_6 - job_name: mingw_64_qt6_7
QTPATH: C:\Qt\5.12.6\mingw73_32 QTDIR: C:\Qt\6.7\mingw_64
MINGW32: C:\Qt\Tools\mingw730_32 MINGW64: C:\Qt\Tools\mingw1120_64
KF_BRANCH: master
EXIV2_VERSION: "0.28.3"
EXIV2_CMAKE_OPTIONS: "-DEXIV2_ENABLE_BROTLI=OFF -DEXIV2_ENABLE_INIH=OFF -DEXIV2_BUILD_EXIV2_COMMAND=OFF"
PPIC_CMAKE_OPTIONS: "-DPREFER_QT_5=OFF"
WINDEPLOYQT_ARGS: "--verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --skip-plugin-types tls,networkinformation"
- job_name: mingw81_64_qt5_15_2
QTDIR: C:\Qt\5.15.2\mingw81_64
MINGW64: C:\Qt\Tools\mingw810_64
KF_BRANCH: kf5
EXIV2_VERSION: "0.27.7"
EXIV2_CMAKE_OPTIONS: "-DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_ENABLE_WIN_UNICODE=ON -DEXIV2_BUILD_EXIV2_COMMAND=OFF"
PPIC_CMAKE_OPTIONS: "-DPREFER_QT_5=ON"
WINDEPLOYQT_ARGS: "--verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler"
install: install:
- mkdir %CMAKE_INSTALL_ROOT% - mkdir %CMAKE_INSTALL_PREFIX%
- mkdir %ZLIB_ROOT% - mkdir %LIBZ%
- mkdir %LIBEXPAT%
- mkdir %LIBAVIF%
- mkdir %LIBEXIV2%
- mkdir %PPKG%
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive - git submodule update --init --recursive
- set PATH=%PATH%;%CMAKE_INSTALL_ROOT%;%QTPATH%\bin;%MINGW32%\bin - set PATH=%PATH%;%CMAKE_INSTALL_PREFIX%;%QTDIR%\bin;%MINGW64%\bin;%PPKG%
- set CC=%MINGW64%\bin\gcc.exe
- set CXX=%MINGW64%\bin\g++.exe
build_script: build_script:
# prepare # prepare
- mkdir 3rdparty - mkdir 3rdparty
- cinst ninja - choco install ninja
- cd %PPKG%
- curl -fsSL -o ppkg.exe https://github.com/BLumia/pineapple-package-manager/releases/latest/download/ppkg.exe
- cd %APPVEYOR_BUILD_FOLDER%
# download and install zlib for KArchive
- cd %LIBZ%
- curl -fsSL -o zlib131.zip https://zlib.net/zlib131.zip
- 7z x zlib131.zip -y
- cd zlib-1.3.1
- mkdir build
- cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX%
- cmake --build . --config Release
- cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER%
# install ECM so we can build KImageFormats # install ECM so we can build KImageFormats
- cd 3rdparty - cd 3rdparty
- git clone -q https://invent.kde.org/frameworks/extra-cmake-modules.git - git clone -b %KF_BRANCH% -q https://invent.kde.org/frameworks/extra-cmake-modules.git
- git rev-parse HEAD
- cd extra-cmake-modules - cd extra-cmake-modules
- cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% - cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DBUILD_TESTING=OFF
- cmake --build . - cmake --build .
- cmake --build . --target install - cmake --build . --target install
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# download and install zlib for KArchive # install AOM for libavif AV1 decoding support...
- cd %ZLIB_ROOT% - cd 3rdparty
- curl -fsS -o zlib128-dll.zip http://zlib.net/zlib128-dll.zip #- git clone -b v3.9.1 --depth 1 https://aomedia.googlesource.com/aom
- 7z e zlib128-dll.zip #- cd aom
#- mkdir build.aom
#- cd build.aom
#- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DAOM_TARGET_CPU=generic -DENABLE_TESTS=OFF -DENABLE_TESTDATA=OFF -DENABLE_TOOLS=OFF -DENABLE_EXAMPLES=0
#- cmake --build . --config Release
#- cmake --build . --config Release --target install/strip
- mkdir aom
- cd aom
- curl -fsSL -o ppkg-aom.zip https://sourceforge.net/projects/pineapple-package-manager/files/packages/mingw-w64-x86_64-windows/aom-3.9.1-2.zip
- ppkg ppkg-aom.zip
- 7z x ppkg-aom.zip LICENSE -y
- cd %APPVEYOR_BUILD_FOLDER%
# install libavif for avif format support of KImageFormats
- cd %LIBAVIF%
- curl -fsSL -o libavif-v1_1_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.1.1.zip
- 7z x libavif-v1_1_1.zip -y
- cd libavif-1.1.1
- mkdir build
- cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_LIBYUV=ON
- cmake --build . --config Release
- cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# install KArchive for kra format support of KImageFormats # install KArchive for kra format support of KImageFormats
- cd 3rdparty - cd 3rdparty
- git clone -q https://invent.kde.org/frameworks/karchive.git - git clone -b %KF_BRANCH% -q https://invent.kde.org/frameworks/karchive.git
- git rev-parse HEAD
- cd karchive - cd karchive
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% -DCMAKE_CXX_FLAGS_RELEASE="-s" -DCMAKE_MAKE_PROGRAM=mingw32-make -DZLIB_ROOT=%ZLIB_ROOT% - cmake .. -G "Ninja" -DWITH_LIBZSTD=OFF -DWITH_BZIP2=OFF -DWITH_LIBLZMA=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX%
# -DCMAKE_PREFIX_PATH=%CMAKE_INSTALL_ROOT%
- cmake --build . --config Release - cmake --build . --config Release
- cmake --build . --config Release --target install - cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER%
# build libexpat for libexiv2
- cd %LIBEXPAT%
- curl -fsSL -o R_2_6_2.zip https://github.com/libexpat/libexpat/archive/R_2_6_2.zip
- 7z x R_2_6_2.zip -y
- cd libexpat-R_2_6_2/expat/
- cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DEXPAT_BUILD_EXAMPLES=OFF -DEXPAT_BUILD_TESTS=OFF -DEXPAT_BUILD_TOOLS=OFF
- cmake --build . --target install/strip
- cd %APPVEYOR_BUILD_FOLDER%
# build libexiv2
- cd %LIBEXIV2%
- curl -fsSL -o v%EXIV2_VERSION%.zip https://github.com/Exiv2/exiv2/archive/v%EXIV2_VERSION%.zip
- 7z x v%EXIV2_VERSION%.zip -y
- cd exiv2-%EXIV2_VERSION%
- cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% %EXIV2_CMAKE_OPTIONS%
- cmake --build . --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# install KImageFormats # install KImageFormats
- cd 3rdparty - cd 3rdparty
- git clone -q https://invent.kde.org/frameworks/kimageformats.git - git clone -b %KF_BRANCH% -q https://invent.kde.org/frameworks/kimageformats.git
- git rev-parse HEAD
- cd kimageformats - cd kimageformats
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="-s" -DCMAKE_MAKE_PROGRAM=mingw32-make -DQT_PLUGIN_INSTALL_DIR=%QTPATH%\plugins - cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_QTPLUGINDIR=%QTDIR%\plugins
- cmake --build . --config Release - cmake --build . --config Release
- cmake --build . --config Release --target install - cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# finally... # finally...
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_INSTALL_PREFIX='%cd%' - cmake .. -G "Ninja" %PPIC_CMAKE_OPTIONS% -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%CMAKE_INSTALL_PREFIX% -DCMAKE_INSTALL_PREFIX='%cd%'
- mingw32-make - cmake --build . --config Release
- mingw32-make install - cmake --build . --config Release --target install/strip
# fixme: I don't know how to NOT make the binary installed to the ./bin/ folder... # fixme: I don't know how to NOT make the binary installed to the ./bin/ folder...
- cd bin - cd bin
- copy %APPVEYOR_BUILD_FOLDER%\LICENSE . - copy %APPVEYOR_BUILD_FOLDER%\LICENSE
- copy C:\projects\cmake\bin\libKF5Archive.dll . - copy %CMAKE_INSTALL_PREFIX%\bin\libaom.dll
- windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\ppic.exe - copy %CMAKE_INSTALL_PREFIX%\bin\libexpat-1.dll
- copy %CMAKE_INSTALL_PREFIX%\bin\libexiv2.dll
- copy %CMAKE_INSTALL_PREFIX%\bin\libavif.dll
- copy %CMAKE_INSTALL_PREFIX%\bin\libzlib.dll
- copy %CMAKE_INSTALL_PREFIX%\bin\libKF?Archive.dll
- windeployqt %WINDEPLOYQT_ARGS% .\ppic.exe
# copy 3rdparty licenses for the libs we vendored for windows...
- mkdir licenses
- cd licenses
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\aom\LICENSE License.aom.txt
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\karchive\LICENSES\LGPL-2.0-or-later.txt License.KArchive.txt
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\kimageformats\LICENSES\LGPL-2.1-or-later.txt License.kimageformats.txt
- copy %LIBEXPAT%\libexpat-R_2_6_2\expat\COPYING License.expat.txt
- copy %LIBAVIF%\libavif-1.1.1\LICENSE License.libavif.txt
- copy %LIBEXIV2%\exiv2-%EXIV2_VERSION%\COPYING License.exiv2.txt
# TODO: Qt, zlib
- cd ..
# for debug.. # for debug..
- tree /f - tree /f
- cd %APPVEYOR_BUILD_FOLDER%
- xcopy %CMAKE_INSTALL_PREFIX% .\cmake-prefix-copy /E /H /C /I
artifacts: artifacts:
- path: build\bin - path: build\bin
- path: cmake-prefix-copy

View File

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 212 KiB

1487
assets/icons/app-icon.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 44 KiB

15
assets/icons/go-next.svg Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 75 75" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
<g transform="matrix(1,0,0,1,-119,-102)">
<g id="go-next" transform="matrix(1.25,0,0,1.44231,119,-7.61538)">
<rect x="0" y="76" width="60" height="52" style="fill:none;"/>
<g transform="matrix(0.8,0,0,0.693333,0.260244,25.056)">
<circle cx="37.175" cy="110.977" r="33.175" style="fill-opacity:0.15;stroke:white;stroke-width:2px;"/>
</g>
<g id="path867" transform="matrix(0.8,0,0,0.693333,1.80436,76.0055)">
<path d="M31.578,26.175L42.911,37.508L31.578,48.809" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:2px;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 75 75" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
<g transform="matrix(1,0,0,1,-39,-102)">
<g id="go-previous" transform="matrix(1.25,0,0,1.44231,39,-7.61538)">
<rect x="0" y="76" width="60" height="52" style="fill:none;"/>
<g transform="matrix(0.8,0,0,0.693333,0.260244,25.056)">
<circle cx="37.175" cy="110.977" r="33.175" style="fill-opacity:0.15;stroke:white;stroke-width:2px;"/>
</g>
<g id="path867" transform="matrix(0.8,0,0,0.693333,-1.8205,76.0055)">
<path d="M43.442,26.175L32.109,37.508L43.442,48.809" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:2px;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,-74,-7.10543e-15)">
<g id="object-rotate-right" transform="matrix(1,0,0,1,74,7.10543e-15)">
<rect x="0" y="0" width="32" height="32" style="fill:none;"/>
<g transform="matrix(1,0,0,1,-1,-0.275147)">
<g transform="matrix(1,0,0,1,-74,-7.10543e-15)">
<path d="M100,18C100,22.967 95.967,27 91,27C86.033,27 82,22.967 82,18C82,13.033 86.033,9 91,9" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(0.984136,-0.177418,0.177418,0.984136,-74.2676,16.4198)">
<path d="M89,13L93,9L89,5" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,0,-37)">
<g id="view-background-checkerboard" transform="matrix(1,0,0,1,0,37)">
<rect x="0" y="0" width="32" height="32" style="fill:none;"/>
<g id="rect814" transform="matrix(0.964431,0,0,0.907545,0.187581,-988.266)">
<rect x="6.027" y="1095.56" width="10.369" height="11.019" style="fill:white;fill-opacity:0.87;"/>
</g>
<g id="rect814-4" transform="matrix(0.984615,0,0,0.898704,-0.143354,-978.502)">
<rect x="16.396" y="1106.6" width="10.156" height="11.127" style="fill:white;fill-opacity:0.87;"/>
</g>
<g id="rect814-2" transform="matrix(0.963684,0,0,0.898697,0.199828,-978.495)">
<rect x="6.019" y="1106.6" width="10.377" height="11.127" style="fill:white;fill-opacity:0.07;"/>
</g>
<g id="rect814-2-6" transform="matrix(0.980558,0,0,0.898693,-0.0768322,-978.47)">
<rect x="16.396" y="1095.45" width="10.198" height="11.127" style="fill:white;fill-opacity:0.07;"/>
</g>
<g transform="matrix(1,0,0,0.952381,-74,-34)">
<rect x="80" y="42" width="20" height="21" style="fill:none;stroke:white;stroke-width:2.05px;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,-37,-37)">
<g id="view-fullscreen" transform="matrix(1,0,0,1,37,37)">
<rect x="0" y="0" width="32" height="32" style="fill:none;"/>
<g transform="matrix(1,0,0,1,-36,-37)">
<path d="M42,49L42,43L48,43" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(-1,1.22465e-16,1.22465e-16,1,68,-37)">
<path d="M42,49L42,43L48,43" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(1,-2.46519e-32,-2.46519e-32,-1,-36,69)">
<path d="M42,49L42,43L48,43" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(1.11111,0,0,1.14286,-42.3333,-42.8571)">
<rect x="48" y="48" width="9" height="7" style="fill:none;stroke:white;stroke-width:1.77px;"/>
</g>
<g transform="matrix(-1,-1.22465e-16,1.22465e-16,-1,68,69)">
<path d="M42,49L42,43L48,43" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

17
assets/icons/zoom-in.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<rect id="zoom-in" x="0" y="0" width="32" height="32" style="fill:none;"/>
<g id="zoom-in1" serif:id="zoom-in">
<g>
<g transform="matrix(1,0,0,1,-1,0)">
<circle cx="16" cy="15" r="9" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(0.8,0.8,-0.8,0.8,27.6,-17.2)">
<path d="M21,28L26,28" style="fill:none;stroke:white;stroke-width:2.65px;"/>
</g>
<path d="M11,15L19,15" style="fill:none;stroke:white;stroke-width:2px;"/>
<path d="M15,11L15,19" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,-74,-37)">
<g id="zoom-original" transform="matrix(1,0,0,1,74,37)">
<rect x="0" y="0" width="32" height="32" style="fill:none;"/>
<g transform="matrix(1,0,0,1,-73,-37)">
<path d="M85,57L85,49L84,49" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(1,0,0,1,-74,-37)">
<rect x="89" y="50" width="2" height="2" style="fill:white;"/>
</g>
<g transform="matrix(1,0,0,1,-74,-33)">
<rect x="89" y="50" width="2" height="2" style="fill:white;"/>
</g>
<g transform="matrix(1,0,0,1,-64,-37)">
<path d="M85,57L85,49L84,49" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(1,0,0,0.952381,-74,-34)">
<rect x="80" y="42" width="20" height="21" style="fill:none;stroke:white;stroke-width:2.05px;stroke-linecap:round;stroke-linejoin:round;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

18
assets/icons/zoom-out.svg Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1,0,0,1,-74,0)">
<g id="zoom-out" transform="matrix(1,0,0,1,74,0)">
<rect x="0" y="0" width="32" height="32" style="fill:none;"/>
<g>
<g transform="matrix(1,0,0,1,-1,0)">
<circle cx="16" cy="15" r="9" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
<g transform="matrix(0.8,0.8,-0.8,0.8,27.6,-17.2)">
<path d="M21,28L26,28" style="fill:none;stroke:white;stroke-width:2.65px;"/>
</g>
<path d="M11,15L19,15" style="fill:none;stroke:white;stroke-width:2px;"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -6,7 +6,7 @@ BEGIN
BLOCK "040904E4" BLOCK "040904E4"
BEGIN BEGIN
VALUE "FileDescription", "Pineapple Pictures - Image Viewer" VALUE "FileDescription", "Pineapple Pictures - Image Viewer"
VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2020 Gary Wang" VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2024 Gary Wang"
VALUE "ProductName", "Pineapple Pictures" VALUE "ProductName", "Pineapple Pictures"
END END
END END
@ -14,4 +14,4 @@ BEGIN
BEGIN BEGIN
VALUE "Translation", 0x409, 1200 VALUE "Translation", 0x409, 1200
END END
END END

View File

@ -0,0 +1,18 @@
<ul>
<li><u>Catalan</u>: Toni Estévez</li>
<li><u>Chinese (Simplified)</u>: Percy Hong</li>
<li><u>Dutch</u>: Heimen Stoffels</li>
<li><u>French</u>: J. Lavoie, K. Herbert, Maxime Leroy</li>
<li><u>German</u>: K. Herbert, J. Lavoie, sal0max</li>
<li><u>Indonesian</u>: liimee, Reza Almanda</li>
<li><u>Italian</u>: albanobattistella</li>
<li><u>Japanese</u>: Black Cat, mmahhi, Percy Hong</li>
<li><u>Korean</u>: VenusGirl</li>
<li><u>Norwegian Bokmål</u>: Allan Nordhøy, ovl-1</li>
<li><u>Punjabi (Pakistan)</u>: bgo-eiu</li>
<li><u>Russian</u>: Sergey Shornikov, Artem, Andrey</li>
<li><u>Sinhala</u>: HelaBasa</li>
<li><u>Spanish</u>: Toni Estévez, Génesis Toxical, William(ѕ)ⁿ, gallegonovato</li>
<li><u>Turkish</u>: E-Akcaer, Oğuz Ersen, Sabri Ünal</li>
<li><u>Ukrainian</u>: Dan, volkov, Сергій</li>
</ul>

View File

@ -10,5 +10,6 @@
<file>icons/window-close.svg</file> <file>icons/window-close.svg</file>
<file>icons/go-next.svg</file> <file>icons/go-next.svg</file>
<file>icons/go-previous.svg</file> <file>icons/go-previous.svg</file>
<file>plain/translators.html</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@ -1,68 +0,0 @@
#include "bottombuttongroup.h"
#include "opacityhelper.h"
#include <functional>
#include <QPushButton>
#include <QVBoxLayout>
#include <QDebug>
BottomButtonGroup::BottomButtonGroup(QWidget *parent)
: QGroupBox (parent)
, m_opacityHelper(new OpacityHelper(this))
{
QHBoxLayout * mainLayout = new QHBoxLayout(this);
mainLayout->setSizeConstraint(QLayout::SetFixedSize);
this->setLayout(mainLayout);
this->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
this->setStyleSheet("BottomButtonGroup {"
"border: 1px solid gray;"
"border-top-left-radius: 10px;"
"border-top-right-radius: 10px;"
"border-style: none;"
"background-color:rgba(0,0,0,120)"
"}"
"QPushButton {"
"background-color:rgba(225,255,255,0);"
"color: white;"
"border-style: none;"
"}");
auto newBtn = [](QString text, std::function<void()> func) -> QPushButton * {
QPushButton * btn = new QPushButton(QIcon(QStringLiteral(":/icons/") + text), "");
btn->setIconSize(QSize(40, 40));
btn->setFixedSize(40, 40);
connect(btn, &QAbstractButton::clicked, btn, func);
return btn;
};
addButton(newBtn("zoom-original", [this]() {
emit resetToOriginalBtnClicked();
}));
addButton(newBtn("view-fullscreen", [this]() {
emit toggleWindowMaximum();
}));
addButton(newBtn("zoom-in", [this]() {
emit zoomInBtnClicked();
}));
addButton(newBtn("zoom-out", [this]() {
emit zoomOutBtnClicked();
}));
addButton(newBtn("view-background-checkerboard", [this]() {
emit toggleCheckerboardBtnClicked();
}));
addButton(newBtn("object-rotate-right", [this]() {
emit rotateRightBtnClicked();
}));
}
void BottomButtonGroup::setOpacity(qreal opacity, bool animated)
{
m_opacityHelper->setOpacity(opacity, animated);
}
void BottomButtonGroup::addButton(QAbstractButton *button)
{
layout()->addWidget(button);
updateGeometry();
}

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>net.blumia.pineapple-pictures</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Pineapple Pictures</name>
<name xml:lang="zh-CN">菠萝看图</name>
<summary>Image Viewer</summary>
<summary xml:lang="zh-CN">图像查看器</summary>
<description>
<p>Pineapple Pictures is a lightweight and easy to use image viewer, comes with a handy navigation thumbnail when zoom-in, and doesn't contains any image management support.</p>
<p xml:lang="zh-CN">菠萝看图是一个轻量级易用的图像查看器,在图片放大时提供了方便的鸟瞰导航功能,且不包含任何图片管理功能。</p>
</description>
<url type="homepage">https://github.com/BLumia/pineapple-pictures</url>
<url type="bugtracker">https://github.com/BLumia/pineapple-pictures/issues</url>
<provides>
<binary>ppic</binary>
</provides>
</component>

View File

@ -0,0 +1,168 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>net.blumia.pineapple-pictures</id>
<name>Pineapple Pictures</name>
<name xml:lang="es">Pineapple Pictures</name>
<name xml:lang="ja">Pineapple Pictures</name>
<name xml:lang="nl">Pineapple Afbeeldingen</name>
<name xml:lang="ru">Pineapple Pictures</name>
<name xml:lang="uk">Pineapple Pictures</name>
<name xml:lang="zh-CN">菠萝看图</name>
<summary>Image Viewer</summary>
<summary xml:lang="es">Visor de imágenes</summary>
<summary xml:lang="ja">画像ビューアー</summary>
<summary xml:lang="nl">Afbeeldingsweergave</summary>
<summary xml:lang="ru">Просмотр изображений</summary>
<summary xml:lang="uk">Переглядач зображень</summary>
<summary xml:lang="zh-CN">图像查看器</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<description>
<p>Pineapple Pictures is a lightweight and easy-to-use image viewer that comes with a handy navigation thumbnail when zoom-in, and doesn't contain any image management support.</p>
<p xml:lang="es">Pineapple Pictures es un visor de imágenes ligero y fácil de usar que viene con una práctica miniatura de navegación al hacer zoom, y no contiene ningún soporte de gestión de imágenes.</p>
<p xml:lang="ja">Pineapple Picturesは、ズームイン時に便利なナビゲーションサムネイルを備えた軽量で使いやすい画像ビューアです。画像管理のサポートは含まれていません。</p>
<p xml:lang="nl">Pineapple Afbeeldingen is een licht en eenvoudig te gebruiken afbeeldingsweergaveprogramma met miniatuurnavigatie na inzoomen. Het programma heeft echter geen fotobeheermogelijkheid.</p>
<p xml:lang="ru">Pineapple Pictures - это легкий и простой в использовании просмотрщик изображений, оснащенный удобной навигацией по миниатюрам при увеличении масштаба и не содержащий никакой поддержки управления изображениями.</p>
<p xml:lang="uk">Pineapple Pictures це легкий і простий у використанні переглядач зображень, який постачається зі зручною навігаційною мініатюрою при збільшенні масштабу і не містить жодної підтримки керування зображеннями.</p>
<p xml:lang="zh-CN">菠萝看图是一个轻量级易用的图像查看器,在图片放大时提供了方便的鸟瞰导航功能,且不包含任何图片管理功能。</p>
</description>
<developer id="net.blumia">
<name>Gary (BLumia) Wang et al.</name>
<name xml:lang="ja">Gary (BLumia) Wang など</name>
<name xml:lang="nl">Gary (BLumia) Wang e.a.</name>
<name xml:lang="ru">Gary (BLumia) Wang et al.</name>
<name xml:lang="uk">Gary (BLumia) Wang.</name>
<name xml:lang="zh-CN">Gary (BLumia) Wang 等人</name>
</developer>
<launchable type="desktop-id">net.blumia.pineapple-pictures.desktop</launchable>
<url type="homepage">https://github.com/BLumia/pineapple-pictures</url>
<url type="bugtracker">https://github.com/BLumia/pineapple-pictures/issues</url>
<url type="translate">https://hosted.weblate.org/projects/pineapple-pictures/</url>
<provides>
<binary>ppic</binary>
</provides>
<screenshots>
<screenshot type="default">
<caption>Main window when an image file is loaded</caption>
<caption xml:lang="es">Ventana principal cuando se carga un archivo de imagen</caption>
<caption xml:lang="ja">画像ファイル読み込み時のメインウィンドウ</caption>
<caption xml:lang="nl">Hoofdvenster na het laden van een afbeelding</caption>
<caption xml:lang="ru">Основное окно после загрузки файла изображения</caption>
<caption xml:lang="uk">Головне вікно після завантаження файлу зображення</caption>
<caption xml:lang="zh-CN">加载图片后的主窗口</caption>
<image type="source" width="1503" height="640">https://pineapple-pictures.sourceforge.io/ppic-gui-static.png</image>
</screenshot>
<screenshot>
<caption>Zooming in a raster image</caption>
<caption xml:lang="es">Ampliar una imagen rasterizada</caption>
<caption xml:lang="ja">ラスター画像の拡大</caption>
<caption xml:lang="nl">Inzoomen op een roosterafbeelding</caption>
<caption xml:lang="ru">Масштабирование растрового изображения</caption>
<caption xml:lang="uk">Масштабування растрового зображення</caption>
<caption xml:lang="zh-CN">放大浏览位图</caption>
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-raster.png</image>
</screenshot>
<screenshot>
<caption>Zooming in a vector image</caption>
<caption xml:lang="es">Ampliar una imagen vectorial</caption>
<caption xml:lang="ja">ベクター画像の拡大</caption>
<caption xml:lang="nl">Inzoomen op een vectorafbeelding</caption>
<caption xml:lang="ru">Масштабирование векторного изображения</caption>
<caption xml:lang="uk">Масштабування векторного зображення</caption>
<caption xml:lang="zh-CN">放大浏览矢量图</caption>
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-svg.png</image>
</screenshot>
</screenshots>
<releases>
<release type="stable" version="0.8.2.1" date="2024-10-27T00:00:00Z">
<description>
<p>This release fixes the following bug:</p>
<ul>
<li>Cannot load translations caused by a change in 0.8.2</li>
</ul>
</description>
</release>
<release type="stable" version="0.8.2" date="2024-10-26T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>New option to allow use light-color checkerboard by default</li>
</ul>
<p>With contributions from:</p>
<p>albanobattistella, mmahhi, gallegonovato</p>
</description>
</release>
<release type="stable" version="0.8.1" date="2024-08-25T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>New command line option to list all supported formats</li>
</ul>
<p>With contributions from:</p>
<p>albanobattistella, mmahhi, ovl-1, gallegonovato, Oğuz Ersen</p>
</description>
</release>
<release type="stable" version="0.8.0" date="2024-06-29T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>Support move image file to trash</li>
</ul>
<p>With contributions from:</p>
<p>albanobattistella, mmahhi, gallegonovato, Oğuz Ersen</p>
</description>
</release>
<release type="stable" version="0.7.4" date="2024-04-04T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>Add some icons for corresponding menu actions</li>
</ul>
<p>With contributions from:</p>
<p>Reza Almanda, mmahhi, Oğuz Ersen, volkov, Сергій</p>
</description>
</release>
<release type="stable" version="0.7.3" date="2023-10-24T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>Add "Keep transformation" to menu</li>
</ul>
<p>With contributions from:</p>
<p>mmahhi, VenusGirl, albanobattistella, gallegonovato, Heimen Stoffels</p>
</description>
</release>
<release type="stable" version="0.7.2" date="2023-08-27T00:00:00Z">
<description>
<p>This release adds the following feature:</p>
<ul>
<li>Add an option in setting dialog to tweak the High-DPI scaling rounding policy (might only works in Qt 6 build)</li>
</ul>
<p>This release fixes the following bugs:</p>
<ul>
<li>Remove image size limit for Qt 6 build</li>
<li>Fix application icon install location under Linux</li>
</ul>
<p>With contributions from:</p>
<p>Heimen Stoffels, Andrey, Dan, gallegonovato, albanobattistella, Sabri Ünal</p>
</description>
</release>
<release type="stable" version="0.7.1" date="2023-07-08T00:00:00Z">
<description>
<p>This release adds the following features:</p>
<ul>
<li>TIF and TIFF format files in the same folder will now be automatedly added to the gallery</li>
<li>Built-in window resizing now also supports Linux desktop. (macOS might also works as well)</li>
</ul>
<p>This release fixes the following bugs:</p>
<ul>
<li>Settings dialog will automatedly use a suitable size instead of a hard-coded one</li>
<li>Fix default configuration file location under Linux. (was `~/.config/config.ini`, now it's `~/.config/Pineapple Pictures/config.ini`)</li>
</ul>
<p>With contributions from:</p>
<p>yyc12345</p>
</description>
</release>
</releases>
<content_rating type="oars-1.1"/>
</component>

View File

@ -0,0 +1,55 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2024-04-19 17:07+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/pineapple-"
"pictures/appstream-metadata/es/>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.5-dev\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "Pineapple Pictures"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "Visor de imágenes"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"Pineapple Pictures es un visor de imágenes ligero y fácil de usar que viene "
"con una práctica miniatura de navegación al hacer zoom, y no contiene ningún "
"soporte de gestión de imágenes."
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "Ventana principal cuando se carga un archivo de imagen"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "Ampliar una imagen rasterizada"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "Ampliar una imagen vectorial"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang et al."

View File

@ -0,0 +1,54 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2023-11-14 17:05+0000\n"
"Last-Translator: mmahhi <masa10suda@gmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/pineapple-"
"pictures/appstream-metadata/ja/>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.2-dev\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "Pineapple Pictures"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "画像ビューアー"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"Pineapple Picturesは、ズームイン時に便利なナビゲーションサムネイルを備えた軽"
"量で使いやすい画像ビューアです。画像管理のサポートは含まれていません。"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "画像ファイル読み込み時のメインウィンドウ"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "ラスター画像の拡大"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "ベクター画像の拡大"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang など"

View File

@ -0,0 +1,55 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2023-08-23 06:41+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/pineapple-pictures/"
"appstream-metadata/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.0-dev\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "Pineapple Afbeeldingen"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "Afbeeldingsweergave"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"Pineapple Afbeeldingen is een licht en eenvoudig te gebruiken "
"afbeeldingsweergaveprogramma met miniatuurnavigatie na inzoomen. Het "
"programma heeft echter geen fotobeheermogelijkheid."
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "Hoofdvenster na het laden van een afbeelding"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "Inzoomen op een roosterafbeelding"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "Inzoomen op een vectorafbeelding"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang e.a."

View File

@ -0,0 +1,46 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr ""
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr ""
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid "Pineapple Pictures is a lightweight and easy-to-use image viewer that comes with a handy navigation thumbnail when zoom-in, and doesn't contain any image management support."
msgstr ""
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr ""
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr ""
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr ""
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr ""

View File

@ -0,0 +1,56 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2023-08-23 06:41+0000\n"
"Last-Translator: Andrey <andrey@mailbox.org>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/pineapple-"
"pictures/appstream-metadata/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.0-dev\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "Pineapple Pictures"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "Просмотр изображений"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"Pineapple Pictures - это легкий и простой в использовании просмотрщик "
"изображений, оснащенный удобной навигацией по миниатюрам при увеличении "
"масштаба и не содержащий никакой поддержки управления изображениями."
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "Основное окно после загрузки файла изображения"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "Масштабирование растрового изображения"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "Масштабирование векторного изображения"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang et al."

View File

@ -0,0 +1,56 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2024-01-01 16:10+0000\n"
"Last-Translator: Сергій <sergiy.goncharuk.1@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/"
"pineapple-pictures/appstream-metadata/uk/>\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.4-dev\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "Pineapple Pictures"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "Переглядач зображень"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"Pineapple Pictures це легкий і простий у використанні переглядач "
"зображень, який постачається зі зручною навігаційною мініатюрою при "
"збільшенні масштабу і не містить жодної підтримки керування зображеннями."
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "Головне вікно після завантаження файлу зображення"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "Масштабування растрового зображення"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "Масштабування векторного зображення"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang."

View File

@ -0,0 +1,52 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2023-08-22 18:49中国标准时间\n"
"PO-Revision-Date: 2023-08-22 18:22+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.3.2\n"
#. (itstool) path: component/name
#: net.blumia.pineapple-pictures.metainfo.xml:7
msgid "Pineapple Pictures"
msgstr "菠萝看图"
#. (itstool) path: component/summary
#: net.blumia.pineapple-pictures.metainfo.xml:9
msgid "Image Viewer"
msgstr "图像查看器"
#. (itstool) path: description/p
#: net.blumia.pineapple-pictures.metainfo.xml:12
msgid ""
"Pineapple Pictures is a lightweight and easy-to-use image viewer that comes "
"with a handy navigation thumbnail when zoom-in, and doesn't contain any "
"image management support."
msgstr ""
"菠萝看图是一个轻量级易用的图像查看器,在图片放大时提供了方便的鸟瞰导航功能,"
"且不包含任何图片管理功能。"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:17
msgid "Main window when an image file is loaded"
msgstr "加载图片后的主窗口"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:22
msgid "Zooming in a raster image"
msgstr "放大浏览位图"
#. (itstool) path: screenshot/caption
#: net.blumia.pineapple-pictures.metainfo.xml:27
msgid "Zooming in a vector image"
msgstr "放大浏览矢量图"
#. (itstool) path: component/developer_name
#: net.blumia.pineapple-pictures.metainfo.xml:34
msgid "Gary (BLumia) Wang et al."
msgstr "Gary (BLumia) Wang 等人"

View File

@ -5,7 +5,7 @@ Comment[zh_CN]=菠萝看图是一个轻量级的图像查看器
Exec=ppic %F Exec=ppic %F
GenericName=Image Viewer GenericName=Image Viewer
GenericName[zh_CN]= GenericName[zh_CN]=
Icon=pineapple-pictures Icon=net.blumia.pineapple-pictures
Keywords=Picture;Image;Viewer;Jpg;Jpeg;Png; Keywords=Picture;Image;Viewer;Jpg;Jpeg;Png;
MimeType=image/bmp;image/bmp24;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tif;image/tiff;image/tiff24;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/wdp;image/arw;image/icb;image/dng;image/vda;image/vst;image/svg;image/ptif;image/mef;image/xbm;image/svg+xml; MimeType=image/bmp;image/bmp24;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tif;image/tiff;image/tiff24;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/wdp;image/arw;image/icb;image/dng;image/vda;image/vst;image/svg;image/ptif;image/mef;image/xbm;image/svg+xml;
Name=Pineapple Pictures Name=Pineapple Pictures

View File

@ -1,84 +0,0 @@
#include "graphicsscene.h"
#include <QGraphicsSceneMouseEvent>
#include <QMimeData>
#include <QDebug>
#include <QGraphicsItem>
#include <QUrl>
#include <QGraphicsSvgItem>
#include <QMovie>
#include <QLabel>
#include <QPainter>
GraphicsScene::GraphicsScene(QObject *parent)
: QGraphicsScene(parent)
{
showText(tr("Drag image here"));
}
GraphicsScene::~GraphicsScene()
{
}
void GraphicsScene::showImage(const QPixmap &pixmap)
{
this->clear();
QGraphicsPixmapItem * pixmapItem = this->addPixmap(pixmap);
pixmapItem->setShapeMode(QGraphicsPixmapItem::BoundingRectShape);
m_theThing = pixmapItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showText(const QString &text)
{
this->clear();
QGraphicsTextItem * textItem = this->addText(text);
textItem->setDefaultTextColor(QColor("White"));
m_theThing = textItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showSvg(const QString &filepath)
{
this->clear();
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem(filepath);
this->addItem(svgItem);
m_theThing = svgItem;
this->setSceneRect(m_theThing->boundingRect());
}
void GraphicsScene::showGif(const QString &filepath)
{
this->clear();
QMovie * movie = new QMovie(filepath);
QLabel * label = new QLabel;
label->setStyleSheet("background-color:rgba(225,255,255,0);");
label->setMovie(movie);
this->addWidget(label);
movie->start();
m_theThing = this->addRect(QRect(QPoint(0, 0), label->sizeHint()),
QPen(Qt::transparent));
this->setSceneRect(m_theThing->boundingRect());
}
bool GraphicsScene::trySetTransformationMode(Qt::TransformationMode mode)
{
QGraphicsPixmapItem * pixmapItem = qgraphicsitem_cast<QGraphicsPixmapItem *>(m_theThing);
if (pixmapItem) {
pixmapItem->setTransformationMode(mode);
return true;
}
return false;
}
QPixmap GraphicsScene::renderToPixmap()
{
QPixmap pixmap(sceneRect().toRect().size());
pixmap.fill(Qt::transparent);
QPainter p(&pixmap);
render(&p, sceneRect());
return pixmap;
}

View File

@ -1,330 +0,0 @@
#include "graphicsview.h"
#include "graphicsscene.h"
#include <QDebug>
#include <QMouseEvent>
#include <QScrollBar>
#include <QMimeData>
#include <QImageReader>
GraphicsView::GraphicsView(QWidget *parent)
: QGraphicsView (parent)
{
setDragMode(QGraphicsView::ScrollHandDrag);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
setStyleSheet("background-color: rgba(0, 0, 0, 220);"
"border-radius: 3px;");
setAcceptDrops(true);
setCheckerboardEnabled(false);
connect(horizontalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
connect(verticalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
}
void GraphicsView::showFileFromUrl(const QUrl &url, bool doRequestGallery)
{
emit navigatorViewRequired(false, 0);
QString filePath(url.toLocalFile());
#ifdef Q_OS_WIN
// TODO: remove this workaround when M$ change the "wsl$" hostname.
if (Q_UNLIKELY(url.scheme() == QStringLiteral("qtbug-86277"))) {
filePath = url.path();
}
#endif // Q_OS_WIN
if (filePath.endsWith(".svg")) {
showSvg(filePath);
} else if (filePath.endsWith(".gif")) {
showGif(filePath);
} else {
QImageReader imageReader(filePath);
imageReader.setAutoTransform(true);
imageReader.setDecideFormatFromContent(true);
// Since if the image format / plugin does not support this feature, imageFormat() will returns an invalid format.
// So we cannot use imageFormat() and check if it returns QImage::Format_Invalid to detect if we support the file.
// QImage::Format imageFormat = imageReader.imageFormat();
if (imageReader.format().isEmpty()) {
showText(tr("File is not a valid image"));
} else {
showImage(QPixmap::fromImageReader(&imageReader));
}
}
if (doRequestGallery) {
emit requestGallery(filePath);
}
}
void GraphicsView::showImage(const QPixmap &pixmap)
{
resetTransform();
scene()->showImage(pixmap);
checkAndDoFitInView();
}
void GraphicsView::showImage(const QImage &image)
{
resetTransform();
scene()->showImage(QPixmap::fromImage(image));
checkAndDoFitInView();
}
void GraphicsView::showText(const QString &text)
{
resetTransform();
scene()->showText(text);
checkAndDoFitInView();
}
void GraphicsView::showSvg(const QString &filepath)
{
resetTransform();
scene()->showSvg(filepath);
checkAndDoFitInView();
}
void GraphicsView::showGif(const QString &filepath)
{
resetTransform();
scene()->showGif(filepath);
checkAndDoFitInView();
}
GraphicsScene *GraphicsView::scene() const
{
return qobject_cast<GraphicsScene*>(QGraphicsView::scene());
}
void GraphicsView::setScene(GraphicsScene *scene)
{
return QGraphicsView::setScene(scene);
}
qreal GraphicsView::scaleFactor() const
{
int angle = static_cast<int>(m_rotateAngle);
if (angle == 0 || angle == 180) {
return qAbs(transform().m11());
} else {
return qAbs(transform().m12());
}
}
void GraphicsView::resetTransform()
{
m_rotateAngle = 0;
QGraphicsView::resetTransform();
}
void GraphicsView::zoomView(qreal scaleFactor)
{
m_enableFitInView = false;
scale(scaleFactor, scaleFactor);
applyTransformationModeByScaleFactor();
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), m_rotateAngle);
}
void GraphicsView::resetScale()
{
resetWithScaleAndRotate(1, m_rotateAngle);
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), m_rotateAngle);
}
void GraphicsView::rotateView(qreal rotateAngel)
{
m_rotateAngle += rotateAngel;
m_rotateAngle = static_cast<int>(m_rotateAngle) % 360;
resetWithScaleAndRotate(1, m_rotateAngle);
}
void GraphicsView::fitInView(const QRectF &rect, Qt::AspectRatioMode aspectRadioMode)
{
QGraphicsView::fitInView(rect, aspectRadioMode);
applyTransformationModeByScaleFactor();
}
void GraphicsView::checkAndDoFitInView(bool markItOnAnyway)
{
if (!isThingSmallerThanWindowWith(transform())) {
m_enableFitInView = true;
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
if (markItOnAnyway) {
m_enableFitInView = true;
}
}
void GraphicsView::toggleCheckerboard()
{
setCheckerboardEnabled(!m_checkerboardEnabled);
}
void GraphicsView::mousePressEvent(QMouseEvent *event)
{
if (shouldIgnoreMousePressMoveEvent(event)) {
event->ignore();
// blumia: return here, or the QMouseEvent event transparency won't
// work if we set a QGraphicsView::ScrollHandDrag drag mode.
return;
}
return QGraphicsView::mousePressEvent(event);
}
void GraphicsView::mouseMoveEvent(QMouseEvent *event)
{
if (shouldIgnoreMousePressMoveEvent(event)) {
event->ignore();
}
return QGraphicsView::mouseMoveEvent(event);
}
void GraphicsView::mouseReleaseEvent(QMouseEvent *event)
{
QGraphicsItem *item = itemAt(event->pos());
if (!item) {
event->ignore();
}
return QGraphicsView::mouseReleaseEvent(event);
}
void GraphicsView::wheelEvent(QWheelEvent *event)
{
event->ignore();
// blumia: no need for calling parent method.
}
void GraphicsView::resizeEvent(QResizeEvent *event)
{
if (m_enableFitInView) {
QTransform tf;
tf.rotate(m_rotateAngle);
if (isThingSmallerThanWindowWith(tf) && scaleFactor() >= 1) {
// no longer need to do fitInView()
// but we leave the m_enableFitInView value unchanged in case
// user resize down the window again.
} else {
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
} else {
emit navigatorViewRequired(!isThingSmallerThanWindowWith(transform()), m_rotateAngle);
}
return QGraphicsView::resizeEvent(event);
}
void GraphicsView::dragEnterEvent(QDragEnterEvent *event)
{
if (event->mimeData()->hasUrls() || event->mimeData()->hasImage() || event->mimeData()->hasText()) {
event->acceptProposedAction();
} else {
event->ignore();
}
// qDebug() << event->mimeData() << "Drag Enter Event"
// << event->mimeData()->hasUrls() << event->mimeData()->hasImage()
// << event->mimeData()->formats() << event->mimeData()->hasFormat("text/uri-list");
return QGraphicsView::dragEnterEvent(event);
}
void GraphicsView::dragMoveEvent(QDragMoveEvent *event)
{
Q_UNUSED(event)
// by default, QGraphicsView/Scene will ignore the action if there are no QGraphicsItem under cursor.
// We actually doesn't care and would like to keep the drag event as-is, so just do nothing here.
}
void GraphicsView::dropEvent(QDropEvent *event)
{
event->acceptProposedAction();
const QMimeData * mimeData = event->mimeData();
if (mimeData->hasUrls()) {
const QList<QUrl> &urls = mimeData->urls();
if (urls.isEmpty()) {
showText(tr("File url list is empty"));
} else {
showFileFromUrl(urls.first(), true);
}
} else if (mimeData->hasImage()) {
QImage img = qvariant_cast<QImage>(mimeData->imageData());
QPixmap pixmap = QPixmap::fromImage(img);
if (pixmap.isNull()) {
showText(tr("Image data is invalid"));
} else {
showImage(pixmap);
}
} else if (mimeData->hasText()) {
showText(mimeData->text());
} else {
showText(tr("Not supported mimedata: %1").arg(mimeData->formats().first()));
}
}
bool GraphicsView::isThingSmallerThanWindowWith(const QTransform &transform) const
{
return rect().size().expandedTo(transform.mapRect(sceneRect()).size().toSize())
== rect().size();
}
bool GraphicsView::shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const
{
if (event->buttons() == Qt::NoButton) {
return true;
}
QGraphicsItem *item = itemAt(event->pos());
if (!item) {
return true;
}
if (isThingSmallerThanWindowWith(transform())) {
return true;
}
return false;
}
void GraphicsView::setCheckerboardEnabled(bool enabled)
{
m_checkerboardEnabled = enabled;
if (m_checkerboardEnabled) {
// Prepare background check-board pattern
QPixmap tilePixmap(0x20, 0x20);
tilePixmap.fill(QColor(35, 35, 35, 170));
QPainter tilePainter(&tilePixmap);
QColor color(45, 45, 45, 170);
tilePainter.fillRect(0, 0, 0x10, 0x10, color);
tilePainter.fillRect(0x10, 0x10, 0x10, 0x10, color);
tilePainter.end();
setBackgroundBrush(tilePixmap);
} else {
setBackgroundBrush(Qt::transparent);
}
}
void GraphicsView::applyTransformationModeByScaleFactor()
{
if (this->scaleFactor() < 1) {
scene()->trySetTransformationMode(Qt::SmoothTransformation);
} else {
scene()->trySetTransformationMode(Qt::FastTransformation);
}
}
void GraphicsView::resetWithScaleAndRotate(qreal scaleFactor, qreal rotateAngle)
{
QGraphicsView::resetTransform();
scale(scaleFactor, scaleFactor);
rotate(rotateAngle);
}

View File

@ -1,469 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Creator: CorelDRAW 2018 (评估版) -->
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="86.6986mm" height="86.6986mm" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 8669.86 8669.86"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<style type="text/css">
<![CDATA[
.str0 {stroke:#332C2B;stroke-width:20;stroke-miterlimit:22.9256}
.fil124 {fill:#FEFEFE}
.fil118 {fill:#F6CAA9}
.fil117 {fill:#F7CAA8}
.fil116 {fill:#F6CAA8}
.fil115 {fill:#F6CAA7}
.fil114 {fill:#F6C9A7}
.fil113 {fill:#F6C9A6}
.fil112 {fill:#F6C8A5}
.fil111 {fill:#F6C7A4}
.fil110 {fill:#F6C7A3}
.fil109 {fill:#F6C6A3}
.fil108 {fill:#F6C6A2}
.fil107 {fill:#F5C6A2}
.fil106 {fill:#F5C5A2}
.fil105 {fill:#F5C5A1}
.fil104 {fill:#F5C5A1}
.fil103 {fill:#F5C5A0}
.fil102 {fill:#F5C49F}
.fil101 {fill:#F5C49E}
.fil100 {fill:#F5C39E}
.fil99 {fill:#F5C39D}
.fil98 {fill:#F5C29D}
.fil97 {fill:#F5C29C}
.fil96 {fill:#F5C19B}
.fil95 {fill:#F5C19B}
.fil94 {fill:#F5C19A}
.fil93 {fill:#F5C19A}
.fil92 {fill:#F5C099}
.fil91 {fill:#F5C098}
.fil90 {fill:#F4BF98}
.fil89 {fill:#F4BF97}
.fil88 {fill:#F4BE97}
.fil87 {fill:#F4BE96}
.fil1 {fill:#F4BD95}
.fil2 {fill:#F4BD95}
.fil3 {fill:#F4BD94}
.fil4 {fill:#F4BD94}
.fil5 {fill:#F4BC93}
.fil6 {fill:#F4BC93}
.fil7 {fill:#F4BB92}
.fil8 {fill:#F4BB91}
.fil9 {fill:#F4BA90}
.fil10 {fill:#F4B98F}
.fil11 {fill:#F4B98F}
.fil12 {fill:#F4B98E}
.fil13 {fill:#F3B88E}
.fil14 {fill:#F3B88D}
.fil15 {fill:#F3B78C}
.fil16 {fill:#F3B78B}
.fil17 {fill:#F3B68B}
.fil18 {fill:#F3B68A}
.fil19 {fill:#F3B589}
.fil20 {fill:#F2B488}
.fil21 {fill:#F2B487}
.fil22 {fill:#F2B386}
.fil23 {fill:#F2B385}
.fil24 {fill:#F2B285}
.fil25 {fill:#F2B284}
.fil26 {fill:#F2B183}
.fil27 {fill:#F2B082}
.fil28 {fill:#F2B081}
.fil29 {fill:#F2B081}
.fil30 {fill:#F2B080}
.fil31 {fill:#F2AF7F}
.fil32 {fill:#F2AE7F}
.fil33 {fill:#F2AE7E}
.fil34 {fill:#F2AD7D}
.fil35 {fill:#F2AD7D}
.fil36 {fill:#F1AC7D}
.fil37 {fill:#F1AC7C}
.fil38 {fill:#F1AC7C}
.fil39 {fill:#F1AC7B}
.fil40 {fill:#F1AB7B}
.fil41 {fill:#F1AA7A}
.fil42 {fill:#F0AA79}
.fil43 {fill:#F0AA78}
.fil44 {fill:#F0A978}
.fil45 {fill:#F0A977}
.fil46 {fill:#F0A877}
.fil47 {fill:#F0A876}
.fil48 {fill:#F0A776}
.fil49 {fill:#F0A775}
.fil50 {fill:#F0A674}
.fil51 {fill:#F0A674}
.fil52 {fill:#F0A673}
.fil53 {fill:#F0A673}
.fil54 {fill:#F0A572}
.fil55 {fill:#F0A572}
.fil56 {fill:#F0A471}
.fil57 {fill:#F0A470}
.fil58 {fill:#F0A370}
.fil59 {fill:#F0A36F}
.fil60 {fill:#F0A36F}
.fil61 {fill:#F0A26E}
.fil62 {fill:#EFA26E}
.fil63 {fill:#EFA26D}
.fil64 {fill:#EFA16C}
.fil65 {fill:#EFA06B}
.fil66 {fill:#EFA06B}
.fil67 {fill:#EF9F6A}
.fil68 {fill:#EF9F6A}
.fil69 {fill:#EF9E69}
.fil70 {fill:#EF9E69}
.fil71 {fill:#EF9E68}
.fil72 {fill:#EE9D68}
.fil73 {fill:#EE9D67}
.fil74 {fill:#EE9D67}
.fil75 {fill:#EE9C66}
.fil76 {fill:#EE9C65}
.fil77 {fill:#EE9B65}
.fil78 {fill:#EE9B64}
.fil79 {fill:#EE9A63}
.fil80 {fill:#EE9963}
.fil81 {fill:#EE9962}
.fil82 {fill:#EE9962}
.fil83 {fill:#EE9961}
.fil84 {fill:#ED9860}
.fil85 {fill:#ED975F}
.fil120 {fill:#7789A4}
.fil122 {fill:#664840}
.fil123 {fill:#9A8276}
.fil86 {fill:#EC9760}
.fil0 {fill:url(#id1)}
.fil119 {fill:url(#id2)}
.fil121 {fill:url(#id3)}
]]>
</style>
<clipPath id="id0">
<path d="M3369.27 5277.36l110.2 -99.02c247.94,-533.39 647.21,-1047.01 1246.8,-1534.38 399.32,-324.56 1700.72,1992.38 1629.16,2055.54 -1059.82,254.09 -2048.61,72.9 -2986.16,-422.14z"/>
</clipPath>
<linearGradient id="id1" gradientUnits="userSpaceOnUse" x1="768.62" y1="3552.57" x2="7059.64" y2="3552.57">
<stop offset="0" style="stop-opacity:1; stop-color:#28AFEA"/>
<stop offset="0.192157" style="stop-opacity:1; stop-color:#46A5E8"/>
<stop offset="0.368627" style="stop-opacity:1; stop-color:#28AFEA"/>
<stop offset="1" style="stop-opacity:1; stop-color:#649AE6"/>
</linearGradient>
<linearGradient id="id2" gradientUnits="userSpaceOnUse" x1="3022.74" y1="6181.99" x2="3647.6" y2="2505.13">
<stop offset="0" style="stop-opacity:1; stop-color:#664840"/>
<stop offset="0.870588" style="stop-opacity:1; stop-color:#B2A39F"/>
<stop offset="1" style="stop-opacity:1; stop-color:#FEFEFE"/>
</linearGradient>
<radialGradient id="id3" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.999999 -0 -0 0.999999 0 0)" cx="3914.13" cy="3552.57" r="3081.87" fx="3914.13" fy="3552.57">
<stop offset="0" style="stop-opacity:1; stop-color:#FEFEFE"/>
<stop offset="0.368627" style="stop-opacity:1; stop-color:#BAC3D1"/>
<stop offset="1" style="stop-opacity:1; stop-color:#7789A4"/>
</radialGradient>
</defs>
<g id="图层_x0020_1">
<metadata id="CorelCorpID_0Corel-Layer"/>
<circle class="fil0 str0" cx="3914.13" cy="3552.57" r="3145.51"/>
<g>
<g style="clip-path:url(#id0)">
<polygon class="fil1" points="4049.35,6758.42 4047.39,6754.15 6436.52,5657.1 6438.48,5661.36 "/>
<polygon id="1" class="fil1" points="4049.31,6758.34 4043.55,6745.78 6432.68,5648.73 6438.44,5661.28 "/>
<polygon id="2" class="fil2" points="4045.47,6749.97 4039.71,6737.41 6428.84,5640.36 6434.6,5652.91 "/>
<polygon id="3" class="fil3" points="4041.63,6741.6 4035.86,6729.05 6424.99,5631.99 6430.76,5644.54 "/>
<polygon id="4" class="fil4" points="4037.79,6733.23 4032.02,6720.68 6421.15,5623.62 6426.91,5636.18 "/>
<polygon id="5" class="fil5" points="4033.94,6724.86 4028.18,6712.31 6417.31,5615.25 6423.07,5627.81 "/>
<polygon id="6" class="fil6" points="4030.1,6716.49 4024.34,6703.94 6413.46,5606.89 6419.23,5619.44 "/>
<polygon id="7" class="fil6" points="4026.26,6708.12 4020.49,6695.57 6409.62,5598.52 6415.39,5611.07 "/>
<polygon id="8" class="fil7" points="4022.41,6699.76 4016.65,6687.2 6405.78,5590.15 6411.54,5602.7 "/>
<polygon id="9" class="fil7" points="4018.57,6691.39 4012.81,6678.83 6401.94,5581.78 6407.7,5594.33 "/>
<polygon id="10" class="fil8" points="4014.73,6683.02 4008.97,6670.47 6398.09,5573.41 6403.86,5585.96 "/>
<polygon id="11" class="fil9" points="4010.89,6674.65 4005.12,6662.1 6394.25,5565.04 6400.02,5577.6 "/>
<polygon id="12" class="fil9" points="4007.04,6666.28 4001.28,6653.73 6390.41,5556.67 6396.17,5569.23 "/>
<polygon id="13" class="fil10" points="4003.2,6657.91 3997.44,6645.36 6386.57,5548.31 6392.33,5560.86 "/>
<polygon id="14" class="fil10" points="3999.36,6649.55 3993.59,6636.99 6382.72,5539.94 6388.49,5552.49 "/>
<polygon id="15" class="fil11" points="3995.52,6641.18 3989.75,6628.62 6378.88,5531.57 6384.64,5544.12 "/>
<polygon id="16" class="fil12" points="3991.67,6632.81 3985.91,6620.26 6375.04,5523.2 6380.8,5535.75 "/>
<polygon id="17" class="fil13" points="3987.83,6624.44 3982.07,6611.89 6371.2,5514.83 6376.96,5527.38 "/>
<polygon id="18" class="fil13" points="3983.99,6616.07 3978.22,6603.52 6367.35,5506.46 6373.12,5519.02 "/>
<polygon id="19" class="fil14" points="3980.14,6607.7 3974.38,6595.15 6363.51,5498.09 6369.27,5510.65 "/>
<polygon id="20" class="fil14" points="3976.3,6599.33 3970.54,6586.78 6359.67,5489.73 6365.43,5502.28 "/>
<polygon id="21" class="fil15" points="3972.46,6590.97 3966.7,6578.41 6355.82,5481.36 6361.59,5493.91 "/>
<polygon id="22" class="fil15" points="3968.62,6582.6 3962.85,6570.04 6351.98,5472.99 6357.75,5485.54 "/>
<polygon id="23" class="fil16" points="3964.77,6574.23 3959.01,6561.68 6348.14,5464.62 6353.9,5477.17 "/>
<polygon id="24" class="fil17" points="3960.93,6565.86 3955.17,6553.31 6344.3,5456.25 6350.06,5468.81 "/>
<polygon id="25" class="fil18" points="3957.09,6557.49 3951.32,6544.94 6340.45,5447.88 6346.22,5460.44 "/>
<polygon id="26" class="fil18" points="3953.25,6549.12 3947.48,6536.57 6336.61,5439.52 6342.37,5452.07 "/>
<polygon id="27" class="fil19" points="3949.4,6540.75 3943.64,6528.2 6332.77,5431.15 6338.53,5443.7 "/>
<polygon id="28" class="fil19" points="3945.56,6532.39 3939.8,6519.83 6328.93,5422.78 6334.69,5435.33 "/>
<polygon id="29" class="fil20" points="3941.72,6524.02 3935.95,6511.46 6325.08,5414.41 6330.85,5426.96 "/>
<polygon id="30" class="fil20" points="3937.88,6515.65 3932.11,6503.1 6321.24,5406.04 6327,5418.59 "/>
<polygon id="31" class="fil20" points="3934.03,6507.28 3928.27,6494.73 6317.4,5397.67 6323.16,5410.23 "/>
<polygon id="32" class="fil21" points="3930.19,6498.91 3924.43,6486.36 6313.55,5389.3 6319.32,5401.86 "/>
<polygon id="33" class="fil21" points="3926.35,6490.54 3920.58,6477.99 6309.71,5380.94 6315.48,5393.49 "/>
<polygon id="34" class="fil22" points="3922.5,6482.18 3916.74,6469.62 6305.87,5372.57 6311.63,5385.12 "/>
<polygon id="35" class="fil22" points="3918.66,6473.81 3912.9,6461.25 6302.03,5364.2 6307.79,5376.75 "/>
<polygon id="36" class="fil23" points="3914.82,6465.44 3909.05,6452.89 6298.18,5355.83 6303.95,5368.38 "/>
<polygon id="37" class="fil24" points="3910.98,6457.07 3905.21,6444.52 6294.34,5347.46 6300.11,5360.01 "/>
<polygon id="38" class="fil25" points="3907.13,6448.7 3901.37,6436.15 6290.5,5339.09 6296.26,5351.65 "/>
<polygon id="39" class="fil25" points="3903.29,6440.33 3897.53,6427.78 6286.66,5330.73 6292.42,5343.28 "/>
<polygon id="40" class="fil26" points="3899.45,6431.96 3893.68,6419.41 6282.81,5322.36 6288.58,5334.91 "/>
<polygon id="41" class="fil26" points="3895.61,6423.6 3889.84,6411.04 6278.97,5313.99 6284.73,5326.54 "/>
<polygon id="42" class="fil27" points="3891.76,6415.23 3886,6402.67 6275.13,5305.62 6280.89,5318.17 "/>
<polygon id="43" class="fil27" points="3887.92,6406.86 3882.16,6394.31 6271.29,5297.25 6277.05,5309.8 "/>
<polygon id="44" class="fil28" points="3884.08,6398.49 3878.31,6385.94 6267.44,5288.88 6273.21,5301.44 "/>
<polygon id="45" class="fil29" points="3880.23,6390.12 3874.47,6377.57 6263.6,5280.51 6269.36,5293.07 "/>
<polygon id="46" class="fil30" points="3876.39,6381.75 3870.63,6369.2 6259.76,5272.15 6265.52,5284.7 "/>
<polygon id="47" class="fil30" points="3872.55,6373.38 3866.79,6360.83 6255.91,5263.78 6261.68,5276.33 "/>
<polygon id="48" class="fil31" points="3868.71,6365.02 3862.94,6352.46 6252.07,5255.41 6257.84,5267.96 "/>
<polygon id="49" class="fil31" points="3864.86,6356.65 3859.1,6344.09 6248.23,5247.04 6253.99,5259.59 "/>
<polygon id="50" class="fil32" points="3861.02,6348.28 3855.26,6335.73 6244.39,5238.67 6250.15,5251.22 "/>
<polygon id="51" class="fil33" points="3857.18,6339.91 3851.41,6327.36 6240.54,5230.3 6246.31,5242.86 "/>
<polygon id="52" class="fil33" points="3853.34,6331.54 3847.57,6318.99 6236.7,5221.93 6242.46,5234.49 "/>
<polygon id="53" class="fil34" points="3849.49,6323.17 3843.73,6310.62 6232.86,5213.57 6238.62,5226.12 "/>
<polygon id="54" class="fil34" points="3845.65,6314.81 3839.89,6302.25 6229.02,5205.2 6234.78,5217.75 "/>
<polygon id="55" class="fil35" points="3841.81,6306.44 3836.04,6293.88 6225.17,5196.83 6230.94,5209.38 "/>
<polygon id="56" class="fil36" points="3837.97,6298.07 3832.2,6285.52 6221.33,5188.46 6227.09,5201.01 "/>
<polygon id="57" class="fil37" points="3834.12,6289.7 3828.36,6277.15 6217.49,5180.09 6223.25,5192.64 "/>
<polygon id="58" class="fil38" points="3830.28,6281.33 3824.52,6268.78 6213.64,5171.72 6219.41,5184.28 "/>
<polygon id="59" class="fil39" points="3826.44,6272.96 3820.67,6260.41 6209.8,5163.36 6215.57,5175.91 "/>
<polygon id="60" class="fil40" points="3822.59,6264.59 3816.83,6252.04 6205.96,5154.99 6211.72,5167.54 "/>
<polygon id="61" class="fil41" points="3818.75,6256.23 3812.99,6243.67 6202.12,5146.62 6207.88,5159.17 "/>
<polygon id="62" class="fil41" points="3814.91,6247.86 3809.14,6235.3 6198.27,5138.25 6204.04,5150.8 "/>
<polygon id="63" class="fil42" points="3811.07,6239.49 3805.3,6226.94 6194.43,5129.88 6200.2,5142.43 "/>
<polygon id="64" class="fil42" points="3807.22,6231.12 3801.46,6218.57 6190.59,5121.51 6196.35,5134.07 "/>
<polygon id="65" class="fil43" points="3803.38,6222.75 3797.62,6210.2 6186.75,5113.14 6192.51,5125.7 "/>
<polygon id="66" class="fil44" points="3799.54,6214.38 3793.77,6201.83 6182.9,5104.78 6188.67,5117.33 "/>
<polygon id="67" class="fil45" points="3795.7,6206.01 3789.93,6193.46 6179.06,5096.41 6184.82,5108.96 "/>
<polygon id="68" class="fil45" points="3791.85,6197.65 3786.09,6185.09 6175.22,5088.04 6180.98,5100.59 "/>
<polygon id="69" class="fil46" points="3788.01,6189.28 3782.25,6176.73 6171.37,5079.67 6177.14,5092.22 "/>
<polygon id="70" class="fil47" points="3784.17,6180.91 3778.4,6168.36 6167.53,5071.3 6173.3,5083.85 "/>
<polygon id="71" class="fil48" points="3780.32,6172.54 3774.56,6159.99 6163.69,5062.93 6169.45,5075.49 "/>
<polygon id="72" class="fil49" points="3776.48,6164.17 3770.72,6151.62 6159.85,5054.56 6165.61,5067.12 "/>
<polygon id="73" class="fil49" points="3772.64,6155.8 3766.88,6143.25 6156,5046.2 6161.77,5058.75 "/>
<polygon id="74" class="fil50" points="3768.8,6147.44 3763.03,6134.88 6152.16,5037.83 6157.93,5050.38 "/>
<polygon id="75" class="fil50" points="3764.95,6139.07 3759.19,6126.51 6148.32,5029.46 6154.08,5042.01 "/>
<polygon id="76" class="fil51" points="3761.11,6130.7 3755.35,6118.15 6144.48,5021.09 6150.24,5033.64 "/>
<polygon id="77" class="fil52" points="3757.27,6122.33 3751.5,6109.78 6140.63,5012.72 6146.4,5025.27 "/>
<polygon id="78" class="fil53" points="3753.43,6113.96 3747.66,6101.41 6136.79,5004.35 6142.55,5016.91 "/>
<polygon id="79" class="fil54" points="3749.58,6105.59 3743.82,6093.04 6132.95,4995.99 6138.71,5008.54 "/>
<polygon id="80" class="fil55" points="3745.74,6097.22 3739.98,6084.67 6129.11,4987.62 6134.87,5000.17 "/>
<polygon id="81" class="fil55" points="3741.9,6088.86 3736.13,6076.3 6125.26,4979.25 6131.03,4991.8 "/>
<polygon id="82" class="fil56" points="3738.05,6080.49 3732.29,6067.93 6121.42,4970.88 6127.18,4983.43 "/>
<polygon id="83" class="fil56" points="3734.21,6072.12 3728.45,6059.57 6117.58,4962.51 6123.34,4975.06 "/>
<polygon id="84" class="fil57" points="3730.37,6063.75 3724.61,6051.2 6113.73,4954.14 6119.5,4966.7 "/>
<polygon id="85" class="fil58" points="3726.53,6055.38 3720.76,6042.83 6109.89,4945.77 6115.66,4958.33 "/>
<polygon id="86" class="fil59" points="3722.68,6047.01 3716.92,6034.46 6106.05,4937.41 6111.81,4949.96 "/>
<polygon id="87" class="fil60" points="3718.84,6038.64 3713.08,6026.09 6102.21,4929.04 6107.97,4941.59 "/>
<polygon id="88" class="fil60" points="3715,6030.28 3709.23,6017.72 6098.36,4920.67 6104.13,4933.22 "/>
<polygon id="89" class="fil61" points="3711.16,6021.91 3705.39,6009.36 6094.52,4912.3 6100.29,4924.85 "/>
<polygon id="90" class="fil62" points="3707.31,6013.54 3701.55,6000.99 6090.68,4903.93 6096.44,4916.48 "/>
<polygon id="91" class="fil63" points="3703.47,6005.17 3697.71,5992.62 6086.84,4895.56 6092.6,4908.12 "/>
<polygon id="92" class="fil63" points="3699.63,5996.8 3693.86,5984.25 6082.99,4887.19 6088.76,4899.75 "/>
<polygon id="93" class="fil64" points="3695.79,5988.43 3690.02,5975.88 6079.15,4878.83 6084.91,4891.38 "/>
<polygon id="94" class="fil64" points="3691.94,5980.07 3686.18,5967.51 6075.31,4870.46 6081.07,4883.01 "/>
<polygon id="95" class="fil65" points="3688.1,5971.7 3682.34,5959.14 6071.46,4862.09 6077.23,4874.64 "/>
<polygon id="96" class="fil65" points="3684.26,5963.33 3678.49,5950.78 6067.62,4853.72 6073.39,4866.27 "/>
<polygon id="97" class="fil66" points="3680.41,5954.96 3674.65,5942.41 6063.78,4845.35 6069.54,4857.91 "/>
<polygon id="98" class="fil67" points="3676.57,5946.59 3670.81,5934.04 6059.94,4836.98 6065.7,4849.54 "/>
<polygon id="99" class="fil68" points="3672.73,5938.22 3666.97,5925.67 6056.09,4828.62 6061.86,4841.17 "/>
<polygon id="100" class="fil69" points="3668.89,5929.85 3663.12,5917.3 6052.25,4820.25 6058.02,4832.8 "/>
<polygon id="101" class="fil70" points="3665.04,5921.49 3659.28,5908.93 6048.41,4811.88 6054.17,4824.43 "/>
<polygon id="102" class="fil70" points="3661.2,5913.12 3655.44,5900.56 6044.57,4803.51 6050.33,4816.06 "/>
<polygon id="103" class="fil71" points="3657.36,5904.75 3651.59,5892.2 6040.72,4795.14 6046.49,4807.69 "/>
<polygon id="104" class="fil72" points="3653.52,5896.38 3647.75,5883.83 6036.88,4786.77 6042.64,4799.33 "/>
<polygon id="105" class="fil73" points="3649.67,5888.01 3643.91,5875.46 6033.04,4778.4 6038.8,4790.96 "/>
<polygon id="106" class="fil74" points="3645.83,5879.64 3640.07,5867.09 6029.2,4770.04 6034.96,4782.59 "/>
<polygon id="107" class="fil74" points="3641.99,5871.27 3636.22,5858.72 6025.35,4761.67 6031.12,4774.22 "/>
<polygon id="108" class="fil75" points="3638.14,5862.91 3632.38,5850.35 6021.51,4753.3 6027.27,4765.85 "/>
<polygon id="109" class="fil75" points="3634.3,5854.54 3628.54,5841.99 6017.67,4744.93 6023.43,4757.48 "/>
<polygon id="110" class="fil76" points="3630.46,5846.17 3624.7,5833.62 6013.82,4736.56 6019.59,4749.11 "/>
<polygon id="111" class="fil77" points="3626.62,5837.8 3620.85,5825.25 6009.98,4728.19 6015.75,4740.75 "/>
<polygon id="112" class="fil78" points="3622.77,5829.43 3617.01,5816.88 6006.14,4719.82 6011.9,4732.38 "/>
<polygon id="113" class="fil78" points="3618.93,5821.06 3613.17,5808.51 6002.3,4711.46 6008.06,4724.01 "/>
<polygon id="114" class="fil79" points="3615.09,5812.7 3609.32,5800.14 5998.45,4703.09 6004.22,4715.64 "/>
<polygon id="115" class="fil79" points="3611.25,5804.33 3605.48,5791.77 5994.61,4694.72 6000.37,4707.27 "/>
<polygon id="116" class="fil80" points="3607.4,5795.96 3601.64,5783.41 5990.77,4686.35 5996.53,4698.9 "/>
<polygon id="117" class="fil80" points="3603.56,5787.59 3597.8,5775.04 5986.93,4677.98 5992.69,4690.54 "/>
<polygon id="118" class="fil81" points="3599.72,5779.22 3593.95,5766.67 5983.08,4669.61 5988.85,4682.17 "/>
<polygon id="119" class="fil82" points="3595.88,5770.85 3590.11,5758.3 5979.24,4661.25 5985,4673.8 "/>
<polygon id="120" class="fil83" points="3592.03,5762.48 3586.27,5749.93 5975.4,4652.88 5981.16,4665.43 "/>
<polygon id="121" class="fil83" points="3588.19,5754.12 3582.43,5741.56 5971.55,4644.51 5977.32,4657.06 "/>
<polygon id="122" class="fil84" points="3584.35,5745.75 3578.58,5733.19 5967.71,4636.14 5973.48,4648.69 "/>
<polygon id="123" class="fil84" points="3580.5,5737.38 3574.74,5724.83 5963.87,4627.77 5969.63,4640.32 "/>
<polygon id="124" class="fil85" points="3576.66,5729.01 3570.9,5716.46 5960.03,4619.4 5965.79,4631.96 "/>
<polygon id="125" class="fil86" points="3572.82,5720.64 3567.05,5708.09 5956.18,4611.03 5961.95,4623.59 "/>
<polygon id="126" class="fil85" points="3568.98,5712.27 3563.21,5699.72 5952.34,4602.67 5958.11,4615.22 "/>
<polygon id="127" class="fil84" points="3565.13,5703.91 3559.37,5691.35 5948.5,4594.3 5954.26,4606.85 "/>
<polygon id="128" class="fil84" points="3561.29,5695.54 3555.53,5682.98 5944.66,4585.93 5950.42,4598.48 "/>
<polygon id="129" class="fil83" points="3557.45,5687.17 3551.68,5674.62 5940.81,4577.56 5946.58,4590.11 "/>
<polygon id="130" class="fil83" points="3553.61,5678.8 3547.84,5666.25 5936.97,4569.19 5942.73,4581.74 "/>
<polygon id="131" class="fil82" points="3549.76,5670.43 3544,5657.88 5933.13,4560.82 5938.89,4573.38 "/>
<polygon id="132" class="fil81" points="3545.92,5662.06 3540.16,5649.51 5929.29,4552.45 5935.05,4565.01 "/>
<polygon id="133" class="fil80" points="3542.08,5653.69 3536.31,5641.14 5925.44,4544.09 5931.21,4556.64 "/>
<polygon id="134" class="fil80" points="3538.23,5645.33 3532.47,5632.77 5921.6,4535.72 5927.36,4548.27 "/>
<polygon id="135" class="fil79" points="3534.39,5636.96 3528.63,5624.4 5917.76,4527.35 5923.52,4539.9 "/>
<polygon id="136" class="fil79" points="3530.55,5628.59 3524.79,5616.04 5913.91,4518.98 5919.68,4531.53 "/>
<polygon id="137" class="fil78" points="3526.71,5620.22 3520.94,5607.67 5910.07,4510.61 5915.84,4523.17 "/>
<polygon id="138" class="fil78" points="3522.86,5611.85 3517.1,5599.3 5906.23,4502.24 5911.99,4514.8 "/>
<polygon id="139" class="fil77" points="3519.02,5603.48 3513.26,5590.93 5902.39,4493.88 5908.15,4506.43 "/>
<polygon id="140" class="fil76" points="3515.18,5595.11 3509.41,5582.56 5898.54,4485.51 5904.31,4498.06 "/>
<polygon id="141" class="fil75" points="3511.34,5586.75 3505.57,5574.19 5894.7,4477.14 5900.46,4489.69 "/>
<polygon id="142" class="fil75" points="3507.49,5578.38 3501.73,5565.82 5890.86,4468.77 5896.62,4481.32 "/>
<polygon id="143" class="fil74" points="3503.65,5570.01 3497.89,5557.46 5887.02,4460.4 5892.78,4472.95 "/>
<polygon id="144" class="fil74" points="3499.81,5561.64 3494.04,5549.09 5883.17,4452.03 5888.94,4464.59 "/>
<polygon id="145" class="fil73" points="3495.97,5553.27 3490.2,5540.72 5879.33,4443.66 5885.09,4456.22 "/>
<polygon id="146" class="fil72" points="3492.12,5544.9 3486.36,5532.35 5875.49,4435.3 5881.25,4447.85 "/>
<polygon id="147" class="fil71" points="3488.28,5536.54 3482.52,5523.98 5871.64,4426.93 5877.41,4439.48 "/>
<polygon id="148" class="fil70" points="3484.44,5528.17 3478.67,5515.61 5867.8,4418.56 5873.57,4431.11 "/>
<polygon id="149" class="fil70" points="3480.59,5519.8 3474.83,5507.25 5863.96,4410.19 5869.72,4422.74 "/>
<polygon id="150" class="fil69" points="3476.75,5511.43 3470.99,5498.88 5860.12,4401.82 5865.88,4414.37 "/>
<polygon id="151" class="fil68" points="3472.91,5503.06 3467.14,5490.51 5856.27,4393.45 5862.04,4406.01 "/>
<polygon id="152" class="fil67" points="3469.07,5494.69 3463.3,5482.14 5852.43,4385.09 5858.2,4397.64 "/>
<polygon id="153" class="fil66" points="3465.22,5486.32 3459.46,5473.77 5848.59,4376.72 5854.35,4389.27 "/>
<polygon id="154" class="fil65" points="3461.38,5477.96 3455.62,5465.4 5844.75,4368.35 5850.51,4380.9 "/>
<polygon id="155" class="fil65" points="3457.54,5469.59 3451.77,5457.03 5840.9,4359.98 5846.67,4372.53 "/>
<polygon id="156" class="fil64" points="3453.7,5461.22 3447.93,5448.67 5837.06,4351.61 5842.82,4364.16 "/>
<polygon id="157" class="fil64" points="3449.85,5452.85 3444.09,5440.3 5833.22,4343.24 5838.98,4355.8 "/>
<polygon id="158" class="fil63" points="3446.01,5444.48 3440.25,5431.93 5829.37,4334.87 5835.14,4347.43 "/>
<polygon id="159" class="fil63" points="3442.17,5436.11 3436.4,5423.56 5825.53,4326.51 5831.3,4339.06 "/>
<polygon id="160" class="fil62" points="3438.32,5427.74 3432.56,5415.19 5821.69,4318.14 5827.45,4330.69 "/>
<polygon id="161" class="fil61" points="3434.48,5419.38 3428.72,5406.82 5817.85,4309.77 5823.61,4322.32 "/>
<polygon id="162" class="fil60" points="3430.64,5411.01 3424.88,5398.45 5814,4301.4 5819.77,4313.95 "/>
<polygon id="163" class="fil60" points="3426.8,5402.64 3421.03,5390.09 5810.16,4293.03 5815.93,4305.58 "/>
<polygon id="164" class="fil59" points="3422.95,5394.27 3417.19,5381.72 5806.32,4284.66 5812.08,4297.22 "/>
<polygon id="165" class="fil58" points="3419.11,5385.9 3413.35,5373.35 5802.48,4276.29 5808.24,4288.85 "/>
<polygon id="166" class="fil57" points="3415.27,5377.53 3409.5,5364.98 5798.63,4267.93 5804.4,4280.48 "/>
<polygon id="167" class="fil56" points="3411.43,5369.17 3405.66,5356.61 5794.79,4259.56 5800.55,4272.11 "/>
<polygon id="168" class="fil56" points="3407.58,5360.8 3401.82,5348.24 5790.95,4251.19 5796.71,4263.74 "/>
<polygon id="169" class="fil55" points="3403.74,5352.43 3397.98,5339.88 5787.11,4242.82 5792.87,4255.37 "/>
<polygon id="170" class="fil55" points="3399.9,5344.06 3394.13,5331.51 5783.26,4234.45 5789.03,4247 "/>
<polygon id="171" class="fil54" points="3396.05,5335.69 3390.29,5323.14 5779.42,4226.08 5785.18,4238.64 "/>
<polygon id="172" class="fil53" points="3392.21,5327.32 3386.45,5314.77 5775.58,4217.72 5781.34,4230.27 "/>
<polygon id="173" class="fil52" points="3388.37,5318.95 3382.61,5306.4 5771.73,4209.35 5777.5,4221.9 "/>
<polygon id="174" class="fil51" points="3384.53,5310.59 3378.76,5298.03 5767.89,4200.98 5773.66,4213.53 "/>
<polygon id="175" class="fil50" points="3380.68,5302.22 3374.92,5289.66 5764.05,4192.61 5769.81,4205.16 "/>
<polygon id="176" class="fil50" points="3376.84,5293.85 3371.08,5281.3 5760.21,4184.24 5765.97,4196.79 "/>
<polygon id="177" class="fil49" points="3373,5285.48 3367.23,5272.93 5756.36,4175.87 5762.13,4188.43 "/>
<polygon id="178" class="fil49" points="3369.16,5277.11 3363.39,5264.56 5752.52,4167.5 5758.28,4180.06 "/>
<polygon id="179" class="fil48" points="3365.31,5268.74 3359.55,5256.19 5748.68,4159.14 5754.44,4171.69 "/>
<polygon id="180" class="fil47" points="3361.47,5260.37 3355.71,5247.82 5744.84,4150.77 5750.6,4163.32 "/>
<polygon id="181" class="fil46" points="3357.63,5252.01 3351.86,5239.45 5740.99,4142.4 5746.76,4154.95 "/>
<polygon id="182" class="fil45" points="3353.79,5243.64 3348.02,5231.09 5737.15,4134.03 5742.91,4146.58 "/>
<polygon id="183" class="fil45" points="3349.94,5235.27 3344.18,5222.72 5733.31,4125.66 5739.07,4138.21 "/>
<polygon id="184" class="fil44" points="3346.1,5226.9 3340.34,5214.35 5729.46,4117.29 5735.23,4129.85 "/>
<polygon id="185" class="fil43" points="3342.26,5218.53 3336.49,5205.98 5725.62,4108.92 5731.39,4121.48 "/>
<polygon id="186" class="fil42" points="3338.41,5210.16 3332.65,5197.61 5721.78,4100.56 5727.54,4113.11 "/>
<polygon id="187" class="fil42" points="3334.57,5201.8 3328.81,5189.24 5717.94,4092.19 5723.7,4104.74 "/>
<polygon id="188" class="fil41" points="3330.73,5193.43 3324.96,5180.87 5714.09,4083.82 5719.86,4096.37 "/>
<polygon id="189" class="fil41" points="3326.89,5185.06 3321.12,5172.51 5710.25,4075.45 5716.02,4088 "/>
<polygon id="190" class="fil40" points="3323.04,5176.69 3317.28,5164.14 5706.41,4067.08 5712.17,4079.63 "/>
<polygon id="191" class="fil39" points="3319.2,5168.32 3313.44,5155.77 5702.57,4058.71 5708.33,4071.27 "/>
<polygon id="192" class="fil38" points="3315.36,5159.95 3309.59,5147.4 5698.72,4050.35 5704.49,4062.9 "/>
<polygon id="193" class="fil37" points="3311.52,5151.58 3305.75,5139.03 5694.88,4041.98 5700.64,4054.53 "/>
<polygon id="194" class="fil36" points="3307.67,5143.22 3301.91,5130.66 5691.04,4033.61 5696.8,4046.16 "/>
<polygon id="195" class="fil35" points="3303.83,5134.85 3298.07,5122.29 5687.2,4025.24 5692.96,4037.79 "/>
<polygon id="196" class="fil34" points="3299.99,5126.48 3294.22,5113.93 5683.35,4016.87 5689.12,4029.42 "/>
<polygon id="197" class="fil34" points="3296.14,5118.11 3290.38,5105.56 5679.51,4008.5 5685.27,4021.06 "/>
<polygon id="198" class="fil33" points="3292.3,5109.74 3286.54,5097.19 5675.67,4000.13 5681.43,4012.69 "/>
<polygon id="199" class="fil33" points="3288.46,5101.37 3282.7,5088.82 5671.82,3991.77 5677.59,4004.32 "/>
<polygon id="200" class="fil32" points="3284.62,5093 3278.85,5080.45 5667.98,3983.4 5673.75,3995.95 "/>
<polygon id="201" class="fil31" points="3280.77,5084.64 3275.01,5072.08 5664.14,3975.03 5669.9,3987.58 "/>
<polygon id="202" class="fil31" points="3276.93,5076.27 3271.17,5063.72 5660.3,3966.66 5666.06,3979.21 "/>
<polygon id="203" class="fil30" points="3273.09,5067.9 3267.32,5055.35 5656.45,3958.29 5662.22,3970.84 "/>
<polygon id="204" class="fil30" points="3269.25,5059.53 3263.48,5046.98 5652.61,3949.92 5658.37,3962.48 "/>
<polygon id="205" class="fil29" points="3265.4,5051.16 3259.64,5038.61 5648.77,3941.55 5654.53,3954.11 "/>
<polygon id="206" class="fil28" points="3261.56,5042.79 3255.8,5030.24 5644.93,3933.19 5650.69,3945.74 "/>
<polygon id="207" class="fil27" points="3257.72,5034.43 3251.95,5021.87 5641.08,3924.82 5646.85,3937.37 "/>
<polygon id="208" class="fil27" points="3253.88,5026.06 3248.11,5013.5 5637.24,3916.45 5643,3929 "/>
<polygon id="209" class="fil26" points="3250.03,5017.69 3244.27,5005.14 5633.4,3908.08 5639.16,3920.63 "/>
<polygon id="210" class="fil26" points="3246.19,5009.32 3240.43,4996.77 5629.55,3899.71 5635.32,3912.27 "/>
<polygon id="211" class="fil25" points="3242.35,5000.95 3236.58,4988.4 5625.71,3891.34 5631.48,3903.9 "/>
<polygon id="212" class="fil25" points="3238.5,4992.58 3232.74,4980.03 5621.87,3882.98 5627.63,3895.53 "/>
<polygon id="213" class="fil24" points="3234.66,4984.21 3228.9,4971.66 5618.03,3874.61 5623.79,3887.16 "/>
<polygon id="214" class="fil23" points="3230.82,4975.85 3225.05,4963.29 5614.18,3866.24 5619.95,3878.79 "/>
<polygon id="215" class="fil22" points="3226.98,4967.48 3221.21,4954.92 5610.34,3857.87 5616.11,3870.42 "/>
<polygon id="216" class="fil22" points="3223.13,4959.11 3217.37,4946.56 5606.5,3849.5 5612.26,3862.05 "/>
<polygon id="217" class="fil21" points="3219.29,4950.74 3213.53,4938.19 5602.66,3841.13 5608.42,3853.69 "/>
<polygon id="218" class="fil21" points="3215.45,4942.37 3209.68,4929.82 5598.81,3832.76 5604.58,3845.32 "/>
<polygon id="219" class="fil20" points="3211.61,4934 3205.84,4921.45 5594.97,3824.4 5600.73,3836.95 "/>
<polygon id="220" class="fil20" points="3207.76,4925.63 3202,4913.08 5591.13,3816.03 5596.89,3828.58 "/>
<polygon id="221" class="fil20" points="3203.92,4917.27 3198.16,4904.71 5587.28,3807.66 5593.05,3820.21 "/>
<polygon id="222" class="fil19" points="3200.08,4908.9 3194.31,4896.35 5583.44,3799.29 5589.21,3811.84 "/>
<polygon id="223" class="fil19" points="3196.23,4900.53 3190.47,4887.98 5579.6,3790.92 5585.36,3803.47 "/>
<polygon id="224" class="fil18" points="3192.39,4892.16 3186.63,4879.61 5575.76,3782.55 5581.52,3795.11 "/>
<polygon id="225" class="fil18" points="3188.55,4883.79 3182.79,4871.24 5571.91,3774.18 5577.68,3786.74 "/>
<polygon id="226" class="fil17" points="3184.71,4875.42 3178.94,4862.87 5568.07,3765.82 5573.84,3778.37 "/>
<polygon id="227" class="fil16" points="3180.86,4867.06 3175.1,4854.5 5564.23,3757.45 5569.99,3770 "/>
<polygon id="228" class="fil15" points="3177.02,4858.69 3171.26,4846.13 5560.39,3749.08 5566.15,3761.63 "/>
<polygon id="229" class="fil15" points="3173.18,4850.32 3167.41,4837.77 5556.54,3740.71 5562.31,3753.26 "/>
<polygon id="230" class="fil14" points="3169.34,4841.95 3163.57,4829.4 5552.7,3732.34 5558.46,3744.9 "/>
<polygon id="231" class="fil14" points="3165.49,4833.58 3159.73,4821.03 5548.86,3723.97 5554.62,3736.53 "/>
<polygon id="232" class="fil13" points="3161.65,4825.21 3155.89,4812.66 5545.02,3715.61 5550.78,3728.16 "/>
<polygon id="233" class="fil13" points="3157.81,4816.84 3152.04,4804.29 5541.17,3707.24 5546.94,3719.79 "/>
<polygon id="234" class="fil12" points="3153.96,4808.48 3148.2,4795.92 5537.33,3698.87 5543.09,3711.42 "/>
<polygon id="235" class="fil11" points="3150.12,4800.11 3144.36,4787.55 5533.49,3690.5 5539.25,3703.05 "/>
<polygon id="236" class="fil10" points="3146.28,4791.74 3140.52,4779.19 5529.64,3682.13 5535.41,3694.68 "/>
<polygon id="237" class="fil10" points="3142.44,4783.37 3136.67,4770.82 5525.8,3673.76 5531.57,3686.32 "/>
<polygon id="238" class="fil9" points="3138.59,4775 3132.83,4762.45 5521.96,3665.39 5527.72,3677.95 "/>
<polygon id="239" class="fil9" points="3134.75,4766.63 3128.99,4754.08 5518.12,3657.03 5523.88,3669.58 "/>
<polygon id="240" class="fil8" points="3130.91,4758.27 3125.14,4745.71 5514.27,3648.66 5520.04,3661.21 "/>
<polygon id="241" class="fil7" points="3127.07,4749.9 3121.3,4737.34 5510.43,3640.29 5516.2,3652.84 "/>
<polygon id="242" class="fil7" points="3123.22,4741.53 3117.46,4728.98 5506.59,3631.92 5512.35,3644.47 "/>
<polygon id="243" class="fil6" points="3119.38,4733.16 3113.62,4720.61 5502.75,3623.55 5508.51,3636.1 "/>
<polygon id="244" class="fil6" points="3115.54,4724.79 3109.77,4712.24 5498.9,3615.18 5504.67,3627.74 "/>
<polygon id="245" class="fil5" points="3111.7,4716.42 3105.93,4703.87 5495.06,3606.81 5500.82,3619.37 "/>
<polygon id="246" class="fil4" points="3107.85,4708.05 3102.09,4695.5 5491.22,3598.45 5496.98,3611 "/>
<polygon id="247" class="fil3" points="3104.01,4699.69 3098.25,4687.13 5487.37,3590.08 5493.14,3602.63 "/>
<polygon id="248" class="fil2" points="3100.17,4691.32 3094.4,4678.76 5483.53,3581.71 5489.3,3594.26 "/>
<polygon id="249" class="fil1" points="3096.32,4682.95 3090.56,4670.4 5479.69,3573.34 5485.45,3585.89 "/>
<polygon id="250" class="fil1" points="3092.48,4674.58 3086.72,4662.03 5475.85,3564.97 5481.61,3577.53 "/>
<polygon id="251" class="fil87" points="3088.64,4666.21 3082.88,4653.66 5472,3556.6 5477.77,3569.16 "/>
<polygon id="252" class="fil87" points="3084.8,4657.84 3079.03,4645.29 5468.16,3548.24 5473.93,3560.79 "/>
<polygon id="253" class="fil88" points="3080.95,4649.47 3075.19,4636.92 5464.32,3539.87 5470.08,3552.42 "/>
<polygon id="254" class="fil89" points="3077.11,4641.11 3071.35,4628.55 5460.48,3531.5 5466.24,3544.05 "/>
<polygon id="255" class="fil90" points="3073.27,4632.74 3067.5,4620.18 5456.63,3523.13 5462.4,3535.68 "/>
<polygon id="256" class="fil91" points="3069.43,4624.37 3063.66,4611.82 5452.79,3514.76 5458.55,3527.31 "/>
<polygon id="257" class="fil92" points="3065.58,4616 3059.82,4603.45 5448.95,3506.39 5454.71,3518.95 "/>
<polygon id="258" class="fil92" points="3061.74,4607.63 3055.98,4595.08 5445.11,3498.02 5450.87,3510.58 "/>
<polygon id="259" class="fil93" points="3057.9,4599.26 3052.13,4586.71 5441.26,3489.66 5447.03,3502.21 "/>
<polygon id="260" class="fil94" points="3054.05,4590.9 3048.29,4578.34 5437.42,3481.29 5443.18,3493.84 "/>
<polygon id="261" class="fil95" points="3050.21,4582.53 3044.45,4569.97 5433.58,3472.92 5439.34,3485.47 "/>
<polygon id="262" class="fil96" points="3046.37,4574.16 3040.61,4561.61 5429.73,3464.55 5435.5,3477.1 "/>
<polygon id="263" class="fil96" points="3042.53,4565.79 3036.76,4553.24 5425.89,3456.18 5431.66,3468.73 "/>
<polygon id="264" class="fil97" points="3038.68,4557.42 3032.92,4544.87 5422.05,3447.81 5427.81,3460.37 "/>
<polygon id="265" class="fil97" points="3034.84,4549.05 3029.08,4536.5 5418.21,3439.45 5423.97,3452 "/>
<polygon id="266" class="fil98" points="3031,4540.68 3025.23,4528.13 5414.36,3431.08 5420.13,3443.63 "/>
<polygon id="267" class="fil99" points="3027.16,4532.32 3021.39,4519.76 5410.52,3422.71 5416.28,3435.26 "/>
<polygon id="268" class="fil100" points="3023.31,4523.95 3017.55,4511.39 5406.68,3414.34 5412.44,3426.89 "/>
<polygon id="269" class="fil101" points="3019.47,4515.58 3013.71,4503.03 5402.84,3405.97 5408.6,3418.52 "/>
<polygon id="270" class="fil102" points="3015.63,4507.21 3009.86,4494.66 5398.99,3397.6 5404.76,3410.16 "/>
<polygon id="271" class="fil102" points="3011.79,4498.84 3006.02,4486.29 5395.15,3389.23 5400.91,3401.79 "/>
<polygon id="272" class="fil103" points="3007.94,4490.47 3002.18,4477.92 5391.31,3380.87 5397.07,3393.42 "/>
<polygon id="273" class="fil103" points="3004.1,4482.1 2998.34,4469.55 5387.46,3372.5 5393.23,3385.05 "/>
<polygon id="274" class="fil104" points="3000.26,4473.74 2994.49,4461.18 5383.62,3364.13 5389.39,3376.68 "/>
<polygon id="275" class="fil105" points="2996.41,4465.37 2990.65,4452.81 5379.78,3355.76 5385.54,3368.31 "/>
<polygon id="276" class="fil106" points="2992.57,4457 2986.81,4444.45 5375.94,3347.39 5381.7,3359.94 "/>
<polygon id="277" class="fil107" points="2988.73,4448.63 2982.96,4436.08 5372.09,3339.02 5377.86,3351.58 "/>
<polygon id="278" class="fil108" points="2984.89,4440.26 2979.12,4427.71 5368.25,3330.65 5374.02,3343.21 "/>
<polygon id="279" class="fil109" points="2981.04,4431.89 2975.28,4419.34 5364.41,3322.29 5370.17,3334.84 "/>
<polygon id="280" class="fil110" points="2977.2,4423.53 2971.44,4410.97 5360.57,3313.92 5366.33,3326.47 "/>
<polygon id="281" class="fil111" points="2973.36,4415.16 2967.59,4402.6 5356.72,3305.55 5362.49,3318.1 "/>
<polygon id="282" class="fil111" points="2969.52,4406.79 2963.75,4394.24 5352.88,3297.18 5358.64,3309.73 "/>
<polygon id="283" class="fil112" points="2965.67,4398.42 2959.91,4385.87 5349.04,3288.81 5354.8,3301.36 "/>
<polygon id="284" class="fil112" points="2961.83,4390.05 2956.07,4377.5 5345.2,3280.44 5350.96,3293 "/>
<polygon id="285" class="fil113" points="2957.99,4381.68 2952.22,4369.13 5341.35,3272.08 5347.12,3284.63 "/>
<polygon id="286" class="fil113" points="2954.14,4373.31 2948.38,4360.76 5337.51,3263.71 5343.27,3276.26 "/>
<polygon id="287" class="fil114" points="2950.3,4364.95 2944.54,4352.39 5333.67,3255.34 5339.43,3267.89 "/>
<polygon id="288" class="fil115" points="2946.46,4356.58 2940.7,4344.02 5329.82,3246.97 5335.59,3259.52 "/>
<polygon id="289" class="fil116" points="2942.62,4348.21 2936.85,4335.66 5325.98,3238.6 5331.75,3251.15 "/>
<polygon id="290" class="fil117" points="2938.77,4339.84 2933.01,4327.29 5322.14,3230.23 5327.9,3242.79 "/>
<polygon id="291" class="fil118" points="2934.93,4331.47 2929.17,4318.92 5318.3,3221.86 5324.06,3234.42 "/>
<polygon id="292" class="fil118" points="2931.09,4323.1 2932.6,4326.39 5321.73,3229.34 5320.22,3226.05 "/>
</g>
</g>
<path class="fil119" d="M1339.29 5096.79l147.16 -132.24c331.13,-712.35 864.35,-1398.28 1665.1,-2049.16 533.28,-433.45 2271.3,2660.8 2175.74,2745.15 -1415.39,339.35 -2735.92,97.36 -3988,-563.75z"/>
<path class="fil120" d="M5777.71 5348.83l1969.84 2220.65c479.99,541.1 -404.26,1279.68 -856.98,769.31l-1969.83 -2220.66c-266.41,-300.32 569.96,-1092.85 856.97,-769.3z"/>
<path class="fil121" d="M3914.13 251.11c1823.36,0 3301.46,1478.1 3301.46,3301.46 0,1823.35 -1478.1,3301.46 -3301.46,3301.46 -1823.35,0 -3301.46,-1478.11 -3301.46,-3301.46 0,-1823.36 1478.11,-3301.46 3301.46,-3301.46zm0 1233.51c1142.11,0 2067.95,925.84 2067.95,2067.95 0,1142.1 -925.84,2067.94 -2067.95,2067.94 -1142.1,0 -2067.94,-925.84 -2067.94,-2067.94 0,-1142.11 925.84,-2067.95 2067.94,-2067.95z"/>
<path class="fil122" d="M5216.44 5089.76c-705.89,-446.6 -1224.17,-746.12 -2074.57,-200.94 -105.07,67.36 -339.17,246.82 -378.72,340.57 1315.26,-254.1 1488.29,846.64 2369.25,1306.63l175.15 82.52c2.14,1.03 5.14,2.45 7.28,3.48 2.13,1.02 5.16,2.42 7.29,3.44 191.64,92.05 571.91,156.13 782,138.63 292.82,-24.4 537.94,-70.37 803.82,-204.52 1278.38,-645.04 1437.6,-2188.86 503.59,-3180.72 -112.81,-119.83 -302.36,-249.02 -451.7,-328.53l-78.33 -40.45c-54.75,44.07 -331.37,352.18 -350.07,446.51 468.29,-198.36 -35.84,2442.68 -1314.99,1633.38z"/>
<path class="fil122" d="M6228.5 4045.78c0.78,53.81 -23.23,88.5 -46.67,141.03 -16.11,36.13 -12.77,29.87 -40.67,72.34 -132.98,202.44 -305.91,160.42 -494.69,182.97 -91.79,10.96 -158.44,-22.84 -213.41,-135.29 -138.4,-283.06 50.54,-483.16 286.65,-369.98 101.89,43.62 100.38,54 226.66,82.9l282.13 26.03z"/>
<path class="fil122" d="M5418.96 2298.56l-188.14 182.21 -225.43 236.76c531.39,179.74 805.77,453.61 1395.48,979.08 376.13,-340.71 826.26,-819.43 1384.13,-972.25 -96.28,-158.86 -236.47,-283.8 -400.75,-390.14 -21.71,-295.47 -93.01,-560.02 -202.94,-800.48 -210.83,155.54 -376.53,320.82 -496.06,496.07 -200.75,-39.41 -386.95,-31.78 -561.04,14.8 -117.53,-193.54 -294.47,-352.08 -496.07,-496.08 -138.4,234.36 -205.41,485.01 -209.18,750.03z"/>
<path class="fil123" d="M5296.62 2417.04l-65.8 63.73 -225.43 236.76c531.39,179.74 805.77,453.61 1395.48,979.08 192.15,-492.44 527.57,-929.99 1109.2,-1273.12 110.05,86.07 204.31,184.35 274.93,300.87 -557.87,152.82 -1008,631.54 -1384.13,972.25 -411.25,-601.43 -781.81,-1037.87 -1104.25,-1279.57z"/>
<path class="fil86" d="M6018.42 1885.17c-207.79,29.82 -420.94,313.33 -599.46,413.39 -7.67,-192.25 68.85,-593.17 211.14,-757.55 115.67,91.61 242.75,198.57 388.32,344.16z"/>
<path class="fil86" d="M7399.24 2344.03c-199.67,-64.85 -424.66,-438.85 -629,-427.72 106.24,-155.58 243.18,-274.57 411.07,-382.57 102.23,128.45 189.13,612.09 217.93,810.29z"/>
<circle class="fil124" cx="4355.68" cy="2693.31" r="315.68"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="75"
height="75"
viewBox="0 0 19.84375 19.843751"
version="1.1"
id="svg8"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="go-next.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#282929"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.76862745"
inkscape:pageshadow="2"
inkscape:zoom="16.000001"
inkscape:cx="35.333099"
inkscape:cy="37.582065"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:pagecheckerboard="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1">
<sodipodi:guide
position="11.453565,9.9198082"
orientation="0,-1"
id="guide857" />
<sodipodi:guide
position="9.9229088,19.564698"
orientation="1,0"
id="guide837" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<ellipse
style="opacity:1;fill:#000000;fill-opacity:0.15678;stroke:#ffffff;stroke-width:0.396875;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path849"
cx="9.9368067"
cy="9.915391"
rx="8.6764698"
ry="8.9158831" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.396875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.3550725,6.9255115 11.353504,9.9239423 8.3550725,12.91402"
id="path867" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="go-previous.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
id="svg8"
version="1.1"
viewBox="0 0 19.84375 19.843751"
height="75"
width="75">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-9"
inkscape:window-x="-9"
inkscape:window-height="1001"
inkscape:window-width="1920"
inkscape:guide-bbox="true"
showguides="true"
inkscape:pagecheckerboard="false"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="px"
inkscape:cy="45.995918"
inkscape:cx="29.794477"
inkscape:zoom="11.313709"
inkscape:pageshadow="2"
inkscape:pageopacity="0.76862745"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#282929"
id="base">
<sodipodi:guide
id="guide857"
orientation="0,-1"
position="11.453565,9.9198082" />
<sodipodi:guide
id="guide837"
orientation="1,0"
position="9.9229088,19.564698" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="图层 1">
<ellipse
ry="8.9158831"
rx="8.6764698"
cy="9.915391"
cx="9.9368067"
id="path849"
style="opacity:1;fill:#000000;fill-opacity:0.15678;stroke:#ffffff;stroke-width:0.396875;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path867"
d="M 11.494016,6.9255115 8.4955849,9.9239423 11.494016,12.91402"
style="fill:none;stroke:#ffffff;stroke-width:0.396875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 8.4666665 8.4666669"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="object-rorate-right.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.69803922"
inkscape:pageshadow="2"
inkscape:zoom="22.4"
inkscape:cx="13.471207"
inkscape:cy="14.931415"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-288.5333)">
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 6.2474252,294.57784 c -1.6704347,1.43657 -3.1237125,0.51783 -3.1237125,0.51783 -0.650925,-0.38244 -0.9769945,-1.03846 -1.0690781,-1.42823 -0.032148,-0.5952 -0.1092884,-1.34357 0.3591432,-1.95439 0.5186761,-0.51984 0.9614825,-0.84964 1.4783346,-0.9271 l 1.302939,-0.0167"
id="path21"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 4.5352297,289.82545 c 0.6598217,0.9438 0.6598217,0.9438 0.6598217,0.9438 l -0.626413,0.94379 -0.033409,0.0334"
id="path25"
inkscape:connector-curvature="0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 8.4666665 8.4666669"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="view-background-checkerboard.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.69803922"
inkscape:pageshadow="2"
inkscape:zoom="44.8"
inkscape:cx="14.891202"
inkscape:cy="11.596232"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-288.5333)">
<rect
style="fill:#ffffff;fill-opacity:0.87058824;stroke:none;stroke-width:0.37041664;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect814"
width="2.7434142"
height="2.9153748"
x="1.5945871"
y="289.86566" />
<rect
style="fill:#ffffff;fill-opacity:0.87058824;stroke:none;stroke-width:0.37041664;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect814-4"
width="2.6871748"
height="2.9440556"
x="4.3380013"
y="292.78696" />
<rect
style="fill:#ffffff;fill-opacity:0.07843137;stroke:#ffffff;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect814-2"
width="2.7455406"
height="2.9440758"
x="1.5924606"
y="292.78696" />
<rect
style="fill:#ffffff;fill-opacity:0.07843137;stroke:#ffffff;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect814-2-6"
width="2.6982937"
height="2.9440918"
x="4.3380013"
y="289.83694" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,86 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 8.4666665 8.4666669"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="view-fullscreen-a.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.69803922"
inkscape:pageshadow="2"
inkscape:zoom="22.4"
inkscape:cx="6.127457"
inkscape:cy="14.931415"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-288.5333)">
<rect
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:0.37041667;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect835"
width="2.4214098"
height="1.8308237"
x="3.0710566"
y="291.59018" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 1.630022,292.00359 1.615848,290.14918 H 3.6380209"
id="path837"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26531255px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 6.9097992,291.96816 0.014252,-1.85441 -2.0333353,0"
id="path837-6"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 6.9306311,293.21954 0.014174,1.85441 H 4.9226322"
id="path837-9"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26531255px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 1.6393869,293.16031 -0.014252,1.85441 h 2.0333353"
id="path837-6-4"
inkscape:connector-curvature="0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,81 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 8.4666665 8.4666669"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="zoom-in-a.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.69803922"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="17.492176"
inkscape:cy="13.486663"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-288.5333)">
<circle
style="fill:none;stroke:#ffffff;stroke-width:0.26458332;stroke-opacity:1"
id="path825"
cx="3.8955173"
cy="292.02957"
r="1.9725631" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 2.8678944,292.07683 H 4.9703868"
id="path827"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3.9309524,290.90746 0.035435,2.29149"
id="path829"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ffffff;stroke-width:0.5291667;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 5.2066218,293.63598 1.3465403,1.42922 v 0"
id="path831"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

Some files were not shown because too many files have changed in this diff Show More