Compare commits

...

78 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
55 changed files with 5151 additions and 2258 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

@ -8,12 +8,12 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v3
with: with:
version: '5.15.2' version: '6.4.2'
- name: Run a qt project - name: Run a qt project
run: | run: |
cmake ./ cmake ./ -DPREFER_QT_5=OFF
make make

View File

@ -10,6 +10,6 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: REUSE Compliance Check - name: REUSE Compliance Check
uses: fsfe/reuse-action@v1 uses: fsfe/reuse-action@v2

View File

@ -4,11 +4,9 @@ on: [push, pull_request]
jobs: jobs:
ubuntu-22-04-build: ubuntu-22-04-build:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Get build dept. - name: Get build dept.
run: | run: |
sudo apt update sudo apt update
@ -17,14 +15,38 @@ jobs:
run: | run: |
mkdir build mkdir build
cd build cd build
cmake ../ cmake ../ -DPREFER_QT_5=ON
make make
cpack -G DEB cpack -G DEB
- name: Try install it - name: Try install it
run: | run: |
cd build cd build
sudo apt install ./*.deb sudo apt install ./*.deb
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ubuntu-22.04-deb-package name: ubuntu-22.04-deb-package
path: build/*.deb 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

View File

@ -1,24 +1,28 @@
name: Windows CI name: Windows CI
on: [push, pull_request] on: [push, pull_request, workflow_dispatch]
jobs: jobs:
msvc-build: msvc-qmake-build:
strategy: strategy:
matrix: matrix:
vs: ['2019'] include:
msvc_arch: ['x64'] - qt_ver: '6.8.0'
vs: '2022'
aqt_arch: 'win64_msvc2022_64'
msvc_arch: 'x64'
runs-on: windows-2019 runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v4
with: with:
arch: 'win64_msvc2019_64' arch: ${{ matrix.aqt_arch }}
version: '5.15.2' version: ${{ matrix.qt_ver }}
modules: 'qtimageformats'
- name: Build - name: Build
shell: cmd shell: cmd
run: | run: |
@ -28,3 +32,94 @@ jobs:
call %VCVARS% ${{ matrix.msvc_arch }} call %VCVARS% ${{ matrix.msvc_arch }}
qmake pineapple-pictures.pro qmake pineapple-pictures.pro
nmake 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/*

View File

@ -8,7 +8,7 @@ Copyright: None
License: CC0-1.0 License: CC0-1.0
# README, resource files and Metadata files # README, resource files and Metadata files
Files: README*.md assets/*.rc assets/*.qrc dist/* Files: README*.md NEWS assets/*.rc assets/*.qrc dist/*
Copyright: None Copyright: None
License: CC0-1.0 License: CC0-1.0

View File

@ -1,26 +1,26 @@
# SPDX-FileCopyrightText: 2022 - 2023 Gary Wang <git@blumia.net> # SPDX-FileCopyrightText: 2022 - 2024 Gary Wang <git@blumia.net>
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
project (pineapple-pictures)
cmake_minimum_required (VERSION 3.9.5) cmake_minimum_required (VERSION 3.9.5)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake) 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 (EXIV2_METADATA_SUPPORT "Better image metadata support via libexiv2" ON)
option (PREFER_QT_5 "Prefer to use Qt 5 even if we have Qt 6" 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)
if (PREFER_QT_5) if (PREFER_QT_5)
find_package(QT NAMES Qt5 REQUIRED COMPONENTS Core) find_package(QT NAMES Qt5 REQUIRED COMPONENTS Core)
else () else ()
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core) find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
endif () endif ()
if (${QT_VERSION_MAJOR} EQUAL "5") if (${QT_VERSION_MAJOR} EQUAL "5")
@ -39,8 +39,8 @@ if (${QT_VERSION_MAJOR} EQUAL "6")
endif () endif ()
if (EXIV2_METADATA_SUPPORT) if (EXIV2_METADATA_SUPPORT)
find_package(LibExiv2) find_package(Exiv2)
set_package_properties(LibExiv2 PROPERTIES set_package_properties(Exiv2 PROPERTIES
URL "https://www.exiv2.org" URL "https://www.exiv2.org"
DESCRIPTION "image metadata support" DESCRIPTION "image metadata support"
TYPE OPTIONAL TYPE OPTIONAL
@ -48,7 +48,6 @@ if (EXIV2_METADATA_SUPPORT)
) )
endif () endif ()
#LibExiv2_FOUND
set (PPIC_CPP_FILES set (PPIC_CPP_FILES
app/main.cpp app/main.cpp
app/framelesswindow.cpp app/framelesswindow.cpp
@ -67,6 +66,7 @@ set (PPIC_CPP_FILES
app/metadatadialog.cpp app/metadatadialog.cpp
app/exiv2wrapper.cpp app/exiv2wrapper.cpp
app/playlistmanager.cpp app/playlistmanager.cpp
app/shortcutedit.cpp
) )
set (PPIC_HEADER_FILES set (PPIC_HEADER_FILES
@ -86,6 +86,7 @@ set (PPIC_HEADER_FILES
app/metadatadialog.h app/metadatadialog.h
app/exiv2wrapper.h app/exiv2wrapper.h
app/playlistmanager.h app/playlistmanager.h
app/shortcutedit.h
) )
set (PPIC_QRC_FILES set (PPIC_QRC_FILES
@ -102,40 +103,44 @@ set (EXE_NAME ppic)
file (GLOB PPIC_TS_FILES app/translations/*.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})
qt_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
if (WIN32) if (WIN32)
list(APPEND PPIC_RC_FILES assets/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}
) )
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) target_link_libraries (${EXE_NAME} Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Svg)
if (${QT_VERSION_MAJOR} EQUAL "6") if (${QT_VERSION_MAJOR} EQUAL "6")
target_link_libraries (${EXE_NAME} Qt::SvgWidgets) target_link_libraries (${EXE_NAME} Qt::SvgWidgets)
endif () endif ()
if (LibExiv2_FOUND) if (Exiv2_FOUND)
message(INFO ${LibExiv2_INCLUDE_DIRS}) if(NOT TARGET Exiv2::exiv2lib AND TARGET exiv2lib)
target_include_directories(${EXE_NAME} # for exiv2 0.27.x
PRIVATE add_library(Exiv2::exiv2lib ALIAS exiv2lib)
${LibExiv2_INCLUDE_DIRS} endif()
)
target_link_libraries (${EXE_NAME} target_link_libraries (${EXE_NAME}
LibExiv2::LibExiv2 Exiv2::exiv2lib
) )
target_compile_definitions(${EXE_NAME} PRIVATE target_compile_definitions(${EXE_NAME} PRIVATE
HAVE_EXIV2_VERSION="${LibExiv2_VERSION}" HAVE_EXIV2_VERSION="${Exiv2_VERSION}"
) )
endif () endif ()
if (Qt5DBus_FOUND OR Qt6DBus_FOUND) if (TARGET Qt5::DBus OR TARGET Qt6::DBus)
target_link_libraries (${EXE_NAME} target_link_libraries (${EXE_NAME}
Qt${QT_VERSION_MAJOR}::DBus Qt${QT_VERSION_MAJOR}::DBus
) )
@ -146,11 +151,6 @@ 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
) )
@ -181,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.")
@ -266,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_SHILIBDEPS ON) set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins") set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins")
endif() endif()

View File

@ -1,11 +0,0 @@
Copyright (c) <year> <owner>.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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

View File

@ -10,15 +10,21 @@ Yet another image viewer.
## Summary ## Summary
Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, 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. 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.
## Get it! ## Get it!
- [GitHub Release Page](https://github.com/BLumia/pineapple-pictures/releases) ### Maintained by the original author
- [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/) - [GitHub Release Page](https://github.com/BLumia/pineapple-pictures/releases)
- Debian (since bullseye) or Ubuntu (since 21.04): `sudo apt install pineapple-pictures` - [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- [Itch.io Store](https://blumia.itch.io/pineapple-pictures) - 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)
### Maintained by contributors / curtain distro's package maintainers
- Debian (since bullseye) or Ubuntu (since 21.04): `sudo apt install pineapple-pictures`
- 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)
## Help Translation! ## Help Translation!
@ -29,7 +35,7 @@ Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG,
Current state, we need: Current state, we need:
- `cmake`: as the build system. - `cmake`: as the build system.
- `qt5` with `qt5-svg` and `qt5-tools`: since the app is using Qt. - `qt6` with `qt6-svg` and `qt6-tools`: since the app is using Qt.
- `libexiv2`: able to display more image metadata. (optional, but recommended) - `libexiv2`: able to display more image metadata. (optional, but recommended)
Then we can build it with any proper c++ compiler like g++ or msvc. Then we can build it with any proper c++ compiler like g++ or msvc.
@ -48,7 +54,7 @@ The project will try to build with `exiv2` when it's available at build time, if
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. 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.
> **Note** > [!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. > 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.
### Linux ### Linux

View File

@ -10,15 +10,22 @@
## 简介 ## 简介
菠萝看图是一个轻量图像查看器,允许你简单快捷的查看 JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, AVIF 等常用格式的图像文件,并提供了置顶窗口的选项以便你在使用其它软件时也可以将参考图片固定在顶端。 菠萝看图是一个轻量图像查看器,允许你简单快捷的查看 JPEG, PNG, GIF, SVG, PSD, KRA, XCF, TGA, HDR, AVIF 等常用格式的图像文件,并提供了置顶窗口的选项以便你在使用其它软件时也可以将参考图片固定在顶端。
## 立即获取! ## 立即获取!
- [GitHub Release 页面](https://github.com/BLumia/pineapple-pictures/releases) | [gitee 发布页面](https://gitee.com/blumia/pineapple-pictures/releases) ### 由原作者维护
- [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [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)
- Debian (自 bullseye 起) 或 Ubuntu (自 21.04 起): `sudo apt install pineapple-pictures` - [SourceForge](https://sourceforge.net/projects/pineapple-pictures/)
- [Itch.io 商店](https://blumia.itch.io/pineapple-pictures) - 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)
- 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))*
### 由贡献者/对应发行版的打包人员维护
- Debian (自 bullseye 起) 或 Ubuntu (自 21.04 起): `sudo apt install pineapple-pictures`
- 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) 维护)
## 帮助翻译! ## 帮助翻译!
@ -29,7 +36,7 @@
当前状态,我们需要先确保如下依赖可用: 当前状态,我们需要先确保如下依赖可用:
- `cmake`: 我们所使用的构建系统 - `cmake`: 我们所使用的构建系统
- 包含 `qt5-svg` 与 `qt5-tools` 组件的 `qt5`: 此应用基于 Qt - 包含 `qt6-svg` 与 `qt6-tools` 组件的 `qt6`: 此应用基于 Qt
- `libexiv2`: 用以获取和显示更多的图像元信息(可选,推荐) - `libexiv2`: 用以获取和显示更多的图像元信息(可选,推荐)
然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了 然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了
@ -48,7 +55,7 @@ $ cmake --build . # 如果你使用 Makefile 作为 CMake 生成器,也可以
此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。 此应用的图片格式支持依赖于 Qt 的 imageformats 插件,直接从您所用的发行版获取对应的图像格式插件即可。对于 Windows 用户,您可能需要手动构建和使用图像格式插件。下方给出了进一步的说明。
> **Note** > [!NOTE]
> 尽管存在一个可用于 QMake 构建的 `pineapple-pictures.pro` 文件,但其仅供简单测试所用且其并不包含 `exiv2` 支持。使用 QMake 构建此项目是 **不受支持** 的,请尽可能考虑使用 CMake。 > 尽管存在一个可用于 QMake 构建的 `pineapple-pictures.pro` 文件,但其仅供简单测试所用且其并不包含 `exiv2` 支持。使用 QMake 构建此项目是 **不受支持** 的,请尽可能考虑使用 CMake。
### Linux ### Linux

View File

@ -41,18 +41,25 @@ AboutDialog::AboutDialog(QWidget *parent)
QStringLiteral("<li><b>%1</b>:<br/>%2</li>") QStringLiteral("<li><b>%1</b>:<br/>%2</li>")
.arg(QCoreApplication::translate("MainWindow", "Protected mode")) .arg(QCoreApplication::translate("MainWindow", "Protected mode"))
.arg(tr("Avoid close window accidentally. (eg. by double clicking the window)")), .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>")
}; };
const 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) %1 %2", "%1 is year, %2 is the name of copyright holder(s)") tr("Copyright (c) %1 %2", "%1 is year, %2 is the name of copyright holder(s)")
.arg(QStringLiteral("2023"), QStringLiteral("<a href='https://github.com/BLumia'>@BLumia</a>")), .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/>"),
@ -63,7 +70,7 @@ AboutDialog::AboutDialog(QWidget *parent)
QFile translaterHtml(":/plain/translators.html"); QFile translaterHtml(":/plain/translators.html");
bool canOpenFile = translaterHtml.open(QIODevice::ReadOnly); bool canOpenFile = translaterHtml.open(QIODevice::ReadOnly);
const QByteArray & translatorList = canOpenFile ? translaterHtml.readAll() : ""; const QByteArray & translatorList = canOpenFile ? translaterHtml.readAll() : QByteArrayLiteral("");
const QStringList specialThanksStr { 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(
@ -96,7 +103,7 @@ AboutDialog::AboutDialog(QWidget *parent)
const QString mitLicense(QStringLiteral(R"(Expat/MIT License const QString mitLicense(QStringLiteral(R"(Expat/MIT License
Copyright (c) 2023 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

View File

@ -39,10 +39,10 @@ QIcon ActionManager::loadHidpiIcon(const QString &resp, QSize sz)
void ActionManager::setupAction(MainWindow *mainWindow) void ActionManager::setupAction(MainWindow *mainWindow)
{ {
auto create_action = [] (QWidget *w, QAction **a, QString i, QString an) { auto create_action = [] (QWidget *w, QAction **a, QString i, QString an, bool iconFromTheme = false) {
*a = new QAction(w); *a = new QAction(w);
if (!i.isNull()) if (!i.isNull())
(*a)->setIcon(ActionManager::loadHidpiIcon(i)); (*a)->setIcon(iconFromTheme ? QIcon::fromTheme(i) : ActionManager::loadHidpiIcon(i));
(*a)->setObjectName(an); (*a)->setObjectName(an);
w->addAction(*a); w->addAction(*a);
}; };
@ -56,25 +56,32 @@ void ActionManager::setupAction(MainWindow *mainWindow)
#undef CREATE_NEW_ICON_ACTION #undef CREATE_NEW_ICON_ACTION
#define CREATE_NEW_ACTION(w, a) create_action(w, &a, QString(), ACTION_NAME(a)) #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, actionPrevPicture);
CREATE_NEW_ACTION(mainWindow, actionNextPicture); CREATE_NEW_ACTION(mainWindow, actionNextPicture);
CREATE_NEW_ACTION(mainWindow, actionOpen); 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, actionHorizontalFlip);
CREATE_NEW_ACTION(mainWindow, actionFitInView); CREATE_NEW_ACTION(mainWindow, actionFitInView);
CREATE_NEW_ACTION(mainWindow, actionFitByWidth); CREATE_NEW_ACTION(mainWindow, actionFitByWidth);
CREATE_NEW_ACTION(mainWindow, actionCopyPixmap); CREATE_NEW_THEMEICON_ACTION(mainWindow, actionCopyPixmap, edit-copy);
CREATE_NEW_ACTION(mainWindow, actionCopyFilePath); CREATE_NEW_ACTION(mainWindow, actionCopyFilePath);
CREATE_NEW_ACTION(mainWindow, actionPaste); 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, actionToggleStayOnTop);
CREATE_NEW_ACTION(mainWindow, actionToggleProtectMode); CREATE_NEW_ACTION(mainWindow, actionToggleProtectMode);
CREATE_NEW_ACTION(mainWindow, actionToggleAvoidResetTransform); CREATE_NEW_ACTION(mainWindow, actionToggleAvoidResetTransform);
CREATE_NEW_ACTION(mainWindow, actionSettings); CREATE_NEW_ACTION(mainWindow, actionSettings);
CREATE_NEW_ACTION(mainWindow, actionHelp); CREATE_NEW_THEMEICON_ACTION(mainWindow, actionHelp, system-help);
CREATE_NEW_ACTION(mainWindow, actionLocateInFileManager); CREATE_NEW_THEMEICON_ACTION(mainWindow, actionLocateInFileManager, system-file-manager);
CREATE_NEW_ACTION(mainWindow, actionProperties); CREATE_NEW_THEMEICON_ACTION(mainWindow, actionProperties, document-properties);
CREATE_NEW_ACTION(mainWindow, actionQuitApp); CREATE_NEW_ACTION(mainWindow, actionQuitApp);
#undef CREATE_NEW_ACTION #undef CREATE_NEW_ACTION
#undef CREATE_NEW_THEMEICON_ACTION
retranslateUi(mainWindow); retranslateUi(mainWindow);
@ -93,19 +100,24 @@ void ActionManager::retranslateUi(MainWindow *mainWindow)
actionZoomOut->setText(QCoreApplication::translate("MainWindow", "Zoom out", nullptr)); actionZoomOut->setText(QCoreApplication::translate("MainWindow", "Zoom out", nullptr));
actionToggleCheckerboard->setText(QCoreApplication::translate("MainWindow", "Toggle Checkerboard", nullptr)); actionToggleCheckerboard->setText(QCoreApplication::translate("MainWindow", "Toggle Checkerboard", nullptr));
actionRotateClockwise->setText(QCoreApplication::translate("MainWindow", "Rotate right", 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)); actionPrevPicture->setText(QCoreApplication::translate("MainWindow", "Previous image", nullptr));
actionNextPicture->setText(QCoreApplication::translate("MainWindow", "Next 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)); actionHorizontalFlip->setText(QCoreApplication::translate("MainWindow", "Flip &Horizontally", nullptr));
actionFitInView->setText("Fit in view"); // TODO: what should it called? actionFitInView->setText(QCoreApplication::translate("MainWindow", "Fit to view", nullptr));
actionFitByWidth->setText("Fit by width"); // TODO: what should it called? actionFitByWidth->setText(QCoreApplication::translate("MainWindow", "Fit to width", nullptr));
actionCopyPixmap->setText(QCoreApplication::translate("MainWindow", "Copy P&ixmap", nullptr)); actionCopyPixmap->setText(QCoreApplication::translate("MainWindow", "Copy P&ixmap", nullptr));
actionCopyFilePath->setText(QCoreApplication::translate("MainWindow", "Copy &File Path", nullptr)); actionCopyFilePath->setText(QCoreApplication::translate("MainWindow", "Copy &File Path", nullptr));
actionPaste->setText(QCoreApplication::translate("MainWindow", "&Paste", 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)); actionToggleStayOnTop->setText(QCoreApplication::translate("MainWindow", "Stay on top", nullptr));
actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr)); actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr));
actionToggleAvoidResetTransform->setText("Avoid reset transform"); // TODO: what should it called? 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)); actionSettings->setText(QCoreApplication::translate("MainWindow", "Configure...", nullptr));
actionHelp->setText(QCoreApplication::translate("MainWindow", "Help", nullptr)); actionHelp->setText(QCoreApplication::translate("MainWindow", "Help", nullptr));
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
@ -124,10 +136,10 @@ void ActionManager::retranslateUi(MainWindow *mainWindow)
void ActionManager::setupShortcuts() void ActionManager::setupShortcuts()
{ {
actionOpen->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_O)); actionOpen->setShortcut(QKeySequence::Open);
actionActualSize->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_0)); actionActualSize->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_0));
actionZoomIn->setShortcut(QKeySequence(QKeySequence::ZoomIn)); actionZoomIn->setShortcut(QKeySequence::ZoomIn);
actionZoomOut->setShortcut(QKeySequence(QKeySequence::ZoomOut)); actionZoomOut->setShortcut(QKeySequence::ZoomOut);
actionPrevPicture->setShortcuts({ actionPrevPicture->setShortcuts({
QKeySequence(Qt::Key_PageUp), QKeySequence(Qt::Key_PageUp),
QKeySequence(Qt::Key_Left), QKeySequence(Qt::Key_Left),
@ -137,8 +149,9 @@ void ActionManager::setupShortcuts()
QKeySequence(Qt::Key_Right), QKeySequence(Qt::Key_Right),
}); });
actionHorizontalFlip->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_R)); actionHorizontalFlip->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_R));
actionCopyPixmap->setShortcut(QKeySequence(QKeySequence::Copy)); actionCopyPixmap->setShortcut(QKeySequence::Copy);
actionPaste->setShortcut(QKeySequence::Paste); actionPaste->setShortcut(QKeySequence::Paste);
actionTrash->setShortcut(QKeySequence::Delete);
actionHelp->setShortcut(QKeySequence::HelpContents); actionHelp->setShortcut(QKeySequence::HelpContents);
actionSettings->setShortcut(QKeySequence::Preferences); actionSettings->setShortcut(QKeySequence::Preferences);
actionProperties->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_I)); actionProperties->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_I));

View File

@ -30,16 +30,21 @@ public:
QAction *actionZoomOut; QAction *actionZoomOut;
QAction *actionToggleCheckerboard; QAction *actionToggleCheckerboard;
QAction *actionRotateClockwise; QAction *actionRotateClockwise;
QAction *actionRotateCounterClockwise;
QAction *actionPrevPicture; QAction *actionPrevPicture;
QAction *actionNextPicture; QAction *actionNextPicture;
QAction *actionTogglePauseAnimation;
QAction *actionAnimationNextFrame;
QAction *actionHorizontalFlip; QAction *actionHorizontalFlip;
QAction *actionFitInView; QAction *actionFitInView;
QAction *actionFitByWidth; QAction *actionFitByWidth;
QAction *actionCopyPixmap; QAction *actionCopyPixmap;
QAction *actionCopyFilePath; QAction *actionCopyFilePath;
QAction *actionPaste; QAction *actionPaste;
QAction *actionTrash;
QAction *actionToggleStayOnTop; QAction *actionToggleStayOnTop;
QAction *actionToggleProtectMode; QAction *actionToggleProtectMode;
QAction *actionToggleAvoidResetTransform; QAction *actionToggleAvoidResetTransform;

View File

@ -10,6 +10,7 @@
#include <QGraphicsItem> #include <QGraphicsItem>
#include <QUrl> #include <QUrl>
#include <QGraphicsSvgItem> #include <QGraphicsSvgItem>
#include <QSvgRenderer>
#include <QMovie> #include <QMovie>
#include <QPainter> #include <QPainter>
@ -20,6 +21,9 @@ public:
: QGraphicsPixmapItem(pixmap, parent) : QGraphicsPixmapItem(pixmap, parent)
{} {}
enum { Type = UserType + 1 };
int type() const override { return Type; }
void setScaleHint(float scaleHint) { void setScaleHint(float scaleHint) {
m_scaleHint = scaleHint; m_scaleHint = scaleHint;
} }
@ -60,6 +64,9 @@ class PGraphicsMovieItem : public QGraphicsItem
public: public:
PGraphicsMovieItem(QGraphicsItem *parent = nullptr) : QGraphicsItem(parent) {} PGraphicsMovieItem(QGraphicsItem *parent = nullptr) : QGraphicsItem(parent) {}
enum { Type = UserType + 2 };
int type() const override { return Type; }
void setMovie(QMovie* movie) { void setMovie(QMovie* movie) {
if (m_movie) m_movie->disconnect(); if (m_movie) m_movie->disconnect();
m_movie.reset(movie); m_movie.reset(movie);
@ -79,6 +86,10 @@ public:
} }
} }
inline QMovie * movie() const {
return m_movie.data();
}
private: private:
QScopedPointer<QMovie> m_movie; QScopedPointer<QMovie> m_movie;
}; };
@ -116,7 +127,16 @@ void GraphicsScene::showText(const QString &text)
void GraphicsScene::showSvg(const QString &filepath) void GraphicsScene::showSvg(const QString &filepath)
{ {
this->clear(); this->clear();
QGraphicsSvgItem * svgItem = new QGraphicsSvgItem(filepath); 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); this->addItem(svgItem);
m_theThing = svgItem; m_theThing = svgItem;
this->setSceneRect(m_theThing->boundingRect()); this->setSceneRect(m_theThing->boundingRect());
@ -148,6 +168,29 @@ bool GraphicsScene::trySetTransformationMode(Qt::TransformationMode mode, float
return false; 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() QPixmap GraphicsScene::renderToPixmap()
{ {
PGraphicsPixmapItem * pixmapItem = qgraphicsitem_cast<PGraphicsPixmapItem *>(m_theThing); PGraphicsPixmapItem * pixmapItem = qgraphicsitem_cast<PGraphicsPixmapItem *>(m_theThing);

View File

@ -21,10 +21,13 @@ public:
bool trySetTransformationMode(Qt::TransformationMode mode, float scaleHint); 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

View File

@ -5,6 +5,7 @@
#include "graphicsview.h" #include "graphicsview.h"
#include "graphicsscene.h" #include "graphicsscene.h"
#include "settings.h"
#include <QDebug> #include <QDebug>
#include <QMouseEvent> #include <QMouseEvent>
@ -23,14 +24,14 @@ GraphicsView::GraphicsView(QWidget *parent)
setTransformationAnchor(QGraphicsView::AnchorUnderMouse); setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
setStyleSheet("background-color: rgba(0, 0, 0, 220);" setStyleSheet("background-color: rgba(0, 0, 0, 220);"
"border-radius: 3px;"); "border-radius: 3px;");
setAcceptDrops(true); setAcceptDrops(false);
setCheckerboardEnabled(false); setCheckerboardEnabled(false);
connect(horizontalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged); connect(horizontalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
connect(verticalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged); connect(verticalScrollBar(), &QScrollBar::valueChanged, this, &GraphicsView::viewportRectChanged);
} }
void GraphicsView::showFileFromPath(const QString &filePath, bool doRequestGallery) void GraphicsView::showFileFromPath(const QString &filePath)
{ {
emit navigatorViewRequired(false, transform()); emit navigatorViewRequired(false, transform());
@ -48,17 +49,14 @@ void GraphicsView::showFileFromPath(const QString &filePath, bool doRequestGalle
// So we cannot use imageFormat() and check if it returns QImage::Format_Invalid to detect if we support the file. // 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(); // QImage::Format imageFormat = imageReader.imageFormat();
if (imageReader.format().isEmpty()) { if (imageReader.format().isEmpty()) {
doRequestGallery = false;
showText(tr("File is not a valid image")); showText(tr("File is not a valid image"));
} else if (imageReader.supportsAnimation() && imageReader.imageCount() > 1) { } else if (imageReader.supportsAnimation() && imageReader.imageCount() > 1) {
showAnimated(filePath); showAnimated(filePath);
} else if (!imageReader.canRead()) { } else if (!imageReader.canRead()) {
doRequestGallery = false;
showText(tr("Image data is invalid or currently unsupported")); showText(tr("Image data is invalid or currently unsupported"));
} else { } else {
QPixmap && pixmap = QPixmap::fromImageReader(&imageReader); QPixmap && pixmap = QPixmap::fromImageReader(&imageReader);
if (pixmap.isNull()) { if (pixmap.isNull()) {
doRequestGallery = false;
showText(tr("Image data is invalid or currently unsupported")); showText(tr("Image data is invalid or currently unsupported"));
} else { } else {
pixmap.setDevicePixelRatio(devicePixelRatioF()); pixmap.setDevicePixelRatio(devicePixelRatioF());
@ -66,10 +64,6 @@ void GraphicsView::showFileFromPath(const QString &filePath, bool doRequestGalle
} }
} }
} }
if (doRequestGallery) {
emit requestGallery(filePath);
}
} }
void GraphicsView::showImage(const QPixmap &pixmap) void GraphicsView::showImage(const QPixmap &pixmap)
@ -318,55 +312,6 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
return QGraphicsView::resizeEvent(event); 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 {
showFileFromPath(urls.first().toLocalFile(), 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 bool GraphicsView::isThingSmallerThanWindowWith(const QTransform &transform) const
{ {
return rect().size().expandedTo(transform.mapRect(sceneRect()).size().toSize()) return rect().size().expandedTo(transform.mapRect(sceneRect()).size().toSize())
@ -394,16 +339,16 @@ bool GraphicsView::shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) con
void GraphicsView::setCheckerboardEnabled(bool enabled, bool invertColor) void GraphicsView::setCheckerboardEnabled(bool enabled, bool invertColor)
{ {
m_checkerboardEnabled = enabled; m_checkerboardEnabled = enabled;
m_isLastCheckerboardColorInverted = invertColor; bool isLightCheckerboard = Settings::instance()->useLightCheckerboard() ^ invertColor;
if (m_checkerboardEnabled) { if (m_checkerboardEnabled) {
// Prepare background check-board pattern // Prepare background check-board pattern
QPixmap tilePixmap(0x20, 0x20); QPixmap tilePixmap(0x20, 0x20);
tilePixmap.fill(invertColor ? QColor(220, 220, 220, 170) : QColor(35, 35, 35, 170)); tilePixmap.fill(isLightCheckerboard ? QColor(220, 220, 220, 170) : QColor(35, 35, 35, 170));
QPainter tilePainter(&tilePixmap); QPainter tilePainter(&tilePixmap);
constexpr QColor color(45, 45, 45, 170); constexpr QColor color(45, 45, 45, 170);
constexpr QColor invertedColor(210, 210, 210, 170); constexpr QColor invertedColor(210, 210, 210, 170);
tilePainter.fillRect(0, 0, 0x10, 0x10, invertColor ? invertedColor : color); tilePainter.fillRect(0, 0, 0x10, 0x10, isLightCheckerboard ? invertedColor : color);
tilePainter.fillRect(0x10, 0x10, 0x10, 0x10, invertColor ? invertedColor : color); tilePainter.fillRect(0x10, 0x10, 0x10, 0x10, isLightCheckerboard ? invertedColor : color);
tilePainter.end(); tilePainter.end();
setBackgroundBrush(tilePixmap); setBackgroundBrush(tilePixmap);

View File

@ -15,7 +15,7 @@ class GraphicsView : public QGraphicsView
public: public:
GraphicsView(QWidget *parent = nullptr); GraphicsView(QWidget *parent = nullptr);
void showFileFromPath(const QString &filePath, 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);
@ -48,7 +48,6 @@ public:
signals: signals:
void navigatorViewRequired(bool required, QTransform transform); void navigatorViewRequired(bool required, QTransform transform);
void viewportRectChanged(); void viewportRectChanged();
void requestGallery(const QString &filePath);
public slots: public slots:
void toggleCheckerboard(bool invertCheckerboardColor = false); void toggleCheckerboard(bool invertCheckerboardColor = false);
@ -60,10 +59,6 @@ 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, bool invertColor = false); void setCheckerboardEnabled(bool enabled, bool invertColor = false);
@ -75,7 +70,7 @@ private:
bool m_enableFitInView = false; bool m_enableFitInView = false;
bool m_avoidResetTransform = false; bool m_avoidResetTransform = false;
bool m_checkerboardEnabled = false; bool m_checkerboardEnabled = false;
bool m_isLastCheckerboardColorInverted = false; bool m_useLightCheckerboard = false;
}; };
#endif // GRAPHICSVIEW_H #endif // GRAPHICSVIEW_H

View File

@ -20,6 +20,8 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QCoreApplication::setApplicationName("Pineapple Pictures");
QCoreApplication::setApplicationVersion(PPIC_VERSION_STRING);
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior()); QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior());
QApplication a(argc, argv); QApplication a(argc, argv);
@ -35,18 +37,25 @@ int main(int argc, char *argv[])
qmDir = QT_STRINGIFY(QM_FILE_INSTALL_DIR); qmDir = QT_STRINGIFY(QM_FILE_INSTALL_DIR);
#endif #endif
if (translator.load(QLocale(), QLatin1String("PineapplePictures"), QLatin1String("_"), qmDir)) { if (translator.load(QLocale(), QLatin1String("PineapplePictures"), QLatin1String("_"), qmDir)) {
a.installTranslator(&translator); QCoreApplication::installTranslator(&translator);
} }
a.setApplicationName("Pineapple Pictures");
a.setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
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 // parse commandline arguments
QCommandLineParser parser; QCommandLineParser parser;
parser.addOption(supportedImageFormats);
parser.addPositionalArgument("File list", QCoreApplication::translate("main", "File list.")); parser.addPositionalArgument("File list", QCoreApplication::translate("main", "File list."));
parser.addHelpOption(); parser.addHelpOption();
parser.process(a); parser.process(a);
if (parser.isSet(supportedImageFormats)) {
fputs(qPrintable(MainWindow::supportedImageFormats().join(QChar('\n'))), stdout);
::exit(EXIT_SUCCESS);
}
MainWindow w; MainWindow w;
w.show(); w.show();
@ -59,5 +68,5 @@ int main(int argc, char *argv[])
w.initWindowSize(); w.initWindowSize();
return a.exec(); return QApplication::exec();
} }

View File

@ -33,8 +33,10 @@
#include <QTimer> #include <QTimer>
#include <QFileDialog> #include <QFileDialog>
#include <QStandardPaths> #include <QStandardPaths>
#include <QStringBuilder>
#include <QProcess> #include <QProcess>
#include <QDesktopServices> #include <QDesktopServices>
#include <QMessageBox>
#ifdef HAVE_QTDBUS #ifdef HAVE_QTDBUS
#include <QDBusInterface> #include <QDBusInterface>
@ -44,7 +46,7 @@
MainWindow::MainWindow(QWidget *parent) MainWindow::MainWindow(QWidget *parent)
: FramelessWindow(parent) : FramelessWindow(parent)
, m_am(new ActionManager) , m_am(new ActionManager)
, m_pm(new PlaylistManager(PlaylistManager::PL_SAMEFOLDER, this)) , m_pm(new PlaylistManager(this))
{ {
if (Settings::instance()->stayOnTop()) { if (Settings::instance()->stayOnTop()) {
this->setWindowFlag(Qt::WindowStaysOnTopHint); this->setWindowFlag(Qt::WindowStaysOnTopHint);
@ -54,12 +56,9 @@ MainWindow::MainWindow(QWidget *parent)
this->setMinimumSize(350, 330); this->setMinimumSize(350, 330);
this->setWindowIcon(QIcon(":/icons/app-icon.svg")); this->setWindowIcon(QIcon(":/icons/app-icon.svg"));
this->setMouseTracking(true); this->setMouseTracking(true);
this->setAcceptDrops(true);
m_pm->setAutoLoadFilterSuffix({ m_pm->setAutoLoadFilterSuffixes(supportedImageFormats());
"*.jpg", "*.jpeg", "*.jfif",
"*.png", "*.gif", "*.svg", "*.bmp", "*.webp",
"*.tif", "*.tiff"
});
m_fadeOutAnimation = new QPropertyAnimation(this, "windowOpacity"); m_fadeOutAnimation = new QPropertyAnimation(this, "windowOpacity");
m_fadeOutAnimation->setDuration(300); m_fadeOutAnimation->setDuration(300);
@ -97,9 +96,6 @@ MainWindow::MainWindow(QWidget *parent)
connect(m_graphicsView, &GraphicsView::viewportRectChanged, connect(m_graphicsView, &GraphicsView::viewportRectChanged,
m_gv, &NavigatorView::updateMainViewportRegion); m_gv, &NavigatorView::updateMainViewportRegion);
connect(m_graphicsView, &GraphicsView::requestGallery,
this, &MainWindow::loadGalleryBySingleLocalFile);
m_closeButton = new ToolButton(true, m_graphicsView); m_closeButton = new ToolButton(true, m_graphicsView);
m_closeButton->setIconSize(QSize(32, 32)); m_closeButton->setIconSize(QSize(32, 32));
m_closeButton->setFixedSize(QSize(50, 50)); m_closeButton->setFixedSize(QSize(50, 50));
@ -139,19 +135,13 @@ MainWindow::MainWindow(QWidget *parent)
m_gv->setOpacity(0, false); m_gv->setOpacity(0, false);
m_closeButton->setOpacity(0, false); m_closeButton->setOpacity(0, false);
connect(m_pm, &PlaylistManager::loaded, this, [this](int galleryFileCount) { connect(m_pm, &PlaylistManager::totalCountChanged, this, [this](int galleryFileCount) {
m_prevButton->setVisible(galleryFileCount > 1); m_prevButton->setVisible(galleryFileCount > 1);
m_nextButton->setVisible(galleryFileCount > 1); m_nextButton->setVisible(galleryFileCount > 1);
}); });
connect(m_pm, &PlaylistManager::currentIndexChanged, this, [this]() { connect(m_pm->model(), &PlaylistModel::modelReset, this, std::bind(&MainWindow::galleryCurrent, this, false, false));
int index; connect(m_pm, &PlaylistManager::currentIndexChanged, this, std::bind(&MainWindow::galleryCurrent, this, true, false));
QUrl url;
std::tie(index, url) = m_pm->currentFileUrl();
if (index != -1) {
this->setWindowTitle(url.fileName());
}
});
QShortcut * fullscreenShorucut = new QShortcut(QKeySequence(QKeySequence::FullScreen), this); QShortcut * fullscreenShorucut = new QShortcut(QKeySequence(QKeySequence::FullScreen), this);
connect(fullscreenShorucut, &QShortcut::activated, connect(fullscreenShorucut, &QShortcut::activated,
@ -161,6 +151,7 @@ MainWindow::MainWindow(QWidget *parent)
QTimer::singleShot(0, this, [this](){ QTimer::singleShot(0, this, [this](){
m_am->setupShortcuts(); m_am->setupShortcuts();
Settings::instance()->applyUserShortcuts(this);
}); });
// allow some mouse events can go through these widgets for resizing window. // allow some mouse events can go through these widgets for resizing window.
@ -179,13 +170,8 @@ MainWindow::~MainWindow()
void MainWindow::showUrls(const QList<QUrl> &urls) void MainWindow::showUrls(const QList<QUrl> &urls)
{ {
if (!urls.isEmpty()) { if (!urls.isEmpty()) {
if (urls.count() == 1) { m_graphicsView->showFileFromPath(urls.first().toLocalFile());
m_graphicsView->showFileFromPath(urls.first().toLocalFile(), true); m_pm->loadPlaylist(urls);
} else {
m_graphicsView->showFileFromPath(urls.first().toLocalFile(), false);
m_pm->setPlaylist(urls);
m_pm->setCurrentIndex(0);
}
} else { } else {
m_graphicsView->showText(tr("File url list is empty")); m_graphicsView->showText(tr("File url list is empty"));
return; return;
@ -211,7 +197,7 @@ void MainWindow::initWindowSize()
void MainWindow::adjustWindowSizeBySceneRect() void MainWindow::adjustWindowSizeBySceneRect()
{ {
if (m_pm->count() < 1) return; if (m_pm->totalCount() < 1) return;
QSize sceneSize = m_graphicsView->sceneRect().toRect().size(); QSize sceneSize = m_graphicsView->sceneRect().toRect().size();
QSize sceneSizeWithMargins = sceneSize + QSize(130, 125); QSize sceneSizeWithMargins = sceneSize + QSize(130, 125);
@ -242,46 +228,57 @@ void MainWindow::adjustWindowSizeBySceneRect()
// can be empty if it is NOT from a local file. // can be empty if it is NOT from a local file.
QUrl MainWindow::currentImageFileUrl() const QUrl MainWindow::currentImageFileUrl() const
{ {
QUrl url; return m_pm->urlByIndex(m_pm->curIndex());
std::tie(std::ignore, url) = m_pm->currentFileUrl();
return url;
} }
void MainWindow::clearGallery() void MainWindow::clearGallery()
{ {
m_pm->clear(); m_pm->setPlaylist({});
}
void MainWindow::loadGalleryBySingleLocalFile(const QString &path)
{
m_pm->setCurrentFile(path);
} }
void MainWindow::galleryPrev() void MainWindow::galleryPrev()
{ {
int index; QModelIndex index = m_pm->previousIndex();
QString filePath; if (index.isValid()) {
std::tie(index, filePath) = m_pm->previousFile();
if (index >= 0) {
m_graphicsView->showFileFromPath(filePath, false);
m_pm->setCurrentIndex(index); m_pm->setCurrentIndex(index);
m_graphicsView->showFileFromPath(m_pm->localFileByIndex(index));
} }
} }
void MainWindow::galleryNext() void MainWindow::galleryNext()
{ {
int index; QModelIndex index = m_pm->nextIndex();
QString filePath; if (index.isValid()) {
std::tie(index, filePath) = m_pm->nextFile();
if (index >= 0) {
m_graphicsView->showFileFromPath(filePath, false);
m_pm->setCurrentIndex(index); 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) void MainWindow::showEvent(QShowEvent *event)
{ {
updateWidgetsPosition(); updateWidgetsPosition();
@ -438,6 +435,7 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
QAction * copyPixmap = m_am->actionCopyPixmap; QAction * copyPixmap = m_am->actionCopyPixmap;
QAction * copyFilePath = m_am->actionCopyFilePath; QAction * copyFilePath = m_am->actionCopyFilePath;
copyMenu->setIcon(QIcon::fromTheme(QLatin1String("edit-copy")));
copyMenu->addAction(copyPixmap); copyMenu->addAction(copyPixmap);
if (currentFileUrl.isValid()) { if (currentFileUrl.isValid()) {
copyMenu->addAction(copyFilePath); copyMenu->addAction(copyFilePath);
@ -445,6 +443,8 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
QAction * paste = m_am->actionPaste; QAction * paste = m_am->actionPaste;
QAction * trash = m_am->actionTrash;
QAction * stayOnTopMode = m_am->actionToggleStayOnTop; QAction * stayOnTopMode = m_am->actionToggleStayOnTop;
stayOnTopMode->setCheckable(true); stayOnTopMode->setCheckable(true);
stayOnTopMode->setChecked(stayOnTop()); stayOnTopMode->setChecked(stayOnTop());
@ -485,15 +485,14 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
menu->addSeparator(); menu->addSeparator();
menu->addAction(stayOnTopMode); menu->addAction(stayOnTopMode);
menu->addAction(protectedMode); menu->addAction(protectedMode);
#if 0
menu->addAction(avoidResetTransform); menu->addAction(avoidResetTransform);
#endif // 0
menu->addSeparator(); menu->addSeparator();
menu->addAction(toggleSettings); menu->addAction(toggleSettings);
menu->addAction(helpAction); menu->addAction(helpAction);
if (currentFileUrl.isValid()) { if (currentFileUrl.isValid()) {
menu->addSeparator(); menu->addSeparator();
if (currentFileUrl.isLocalFile()) { if (currentFileUrl.isLocalFile()) {
menu->addAction(trash);
menu->addAction(m_am->actionLocateInFileManager); menu->addAction(m_am->actionLocateInFileManager);
} }
menu->addAction(propertiesAction); menu->addAction(propertiesAction);
@ -505,6 +504,50 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event)
return FramelessWindow::contextMenuEvent(event); 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() void MainWindow::centerWindow()
{ {
this->setGeometry( this->setGeometry(
@ -697,12 +740,34 @@ void MainWindow::on_actionPaste_triggered()
} }
if (!clipboardImage.isNull()) { if (!clipboardImage.isNull()) {
setWindowTitle(tr("Image From Clipboard"));
m_graphicsView->showImage(clipboardImage); m_graphicsView->showImage(clipboardImage);
clearGallery(); clearGallery();
} else if (clipboardFileUrl.isValid()) { } else if (clipboardFileUrl.isValid()) {
QString localFile(clipboardFileUrl.toLocalFile()); m_graphicsView->showFileFromPath(clipboardFileUrl.toLocalFile());
m_graphicsView->showFileFromPath(localFile, true); m_pm->loadPlaylist(clipboardFileUrl);
m_pm->setCurrentFile(localFile); }
}
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);
}
} }
} }
@ -719,6 +784,13 @@ void MainWindow::on_actionRotateClockwise_triggered()
m_gv->setVisible(false); 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() void MainWindow::on_actionPrevPicture_triggered()
{ {
galleryPrev(); galleryPrev();
@ -729,6 +801,16 @@ void MainWindow::on_actionNextPicture_triggered()
galleryNext(); 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() void MainWindow::on_actionToggleStayOnTop_triggered()
{ {
toggleStayOnTop(); toggleStayOnTop();

View File

@ -42,9 +42,11 @@ public:
QUrl currentImageFileUrl() const; QUrl currentImageFileUrl() const;
void clearGallery(); void clearGallery();
void loadGalleryBySingleLocalFile(const QString &path);
void galleryPrev(); void galleryPrev();
void galleryNext(); void galleryNext();
void galleryCurrent(bool showLoadImageHintWhenEmpty, bool reloadImage);
static QStringList supportedImageFormats();
protected slots: protected slots:
void showEvent(QShowEvent *event) override; void showEvent(QShowEvent *event) override;
@ -57,6 +59,9 @@ protected slots:
void wheelEvent(QWheelEvent *event) override; void wheelEvent(QWheelEvent *event) override;
void resizeEvent(QResizeEvent *event) override; void resizeEvent(QResizeEvent *event) override;
void contextMenuEvent(QContextMenuEvent *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 centerWindow();
void closeWindow(); void closeWindow();
@ -82,16 +87,21 @@ private slots:
void on_actionZoomOut_triggered(); void on_actionZoomOut_triggered();
void on_actionToggleCheckerboard_triggered(); void on_actionToggleCheckerboard_triggered();
void on_actionRotateClockwise_triggered(); void on_actionRotateClockwise_triggered();
void on_actionRotateCounterClockwise_triggered();
void on_actionPrevPicture_triggered(); void on_actionPrevPicture_triggered();
void on_actionNextPicture_triggered(); void on_actionNextPicture_triggered();
void on_actionTogglePauseAnimation_triggered();
void on_actionAnimationNextFrame_triggered();
void on_actionHorizontalFlip_triggered(); void on_actionHorizontalFlip_triggered();
void on_actionFitInView_triggered(); void on_actionFitInView_triggered();
void on_actionFitByWidth_triggered(); void on_actionFitByWidth_triggered();
void on_actionCopyPixmap_triggered(); void on_actionCopyPixmap_triggered();
void on_actionCopyFilePath_triggered(); void on_actionCopyFilePath_triggered();
void on_actionPaste_triggered(); void on_actionPaste_triggered();
void on_actionTrash_triggered();
void on_actionToggleStayOnTop_triggered(); void on_actionToggleStayOnTop_triggered();
void on_actionToggleProtectMode_triggered(); void on_actionToggleProtectMode_triggered();
void on_actionToggleAvoidResetTransform_triggered(); void on_actionToggleAvoidResetTransform_triggered();

View File

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com> // SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
@ -9,63 +9,48 @@
#include <QFileInfo> #include <QFileInfo>
#include <QUrl> #include <QUrl>
PlaylistManager::PlaylistManager(PlaylistType type, QObject *parent) PlaylistModel::PlaylistModel(QObject *parent)
: QObject(parent) : QAbstractListModel(parent)
, m_type(type)
{ {
} }
PlaylistManager::~PlaylistManager() PlaylistModel::~PlaylistModel()
{ {
} }
void PlaylistManager::setPlaylistType(PlaylistManager::PlaylistType type) void PlaylistModel::setPlaylist(const QList<QUrl> &urls)
{
m_type = type;
}
PlaylistManager::PlaylistType PlaylistManager::playlistType() const
{
return m_type;
}
QStringList PlaylistManager::autoLoadFilterSuffix() const
{
return m_autoLoadSuffix;
}
void PlaylistManager::setAutoLoadFilterSuffix(const QStringList & nameFilters)
{
m_autoLoadSuffix = nameFilters;
}
void PlaylistManager::clear()
{
m_currentIndex = -1;
m_playlist.clear();
}
void PlaylistManager::setPlaylist(const QList<QUrl> &urls)
{ {
beginResetModel();
m_playlist = urls; m_playlist = urls;
endResetModel();
} }
void PlaylistManager::setCurrentFile(const QString & filePath) QModelIndex PlaylistModel::loadPlaylist(const QList<QUrl> & urls)
{ {
QFileInfo info(filePath); 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()); QDir dir(info.path());
QString && currentFileName = info.fileName(); QString && currentFileName = info.fileName();
switch (playlistType()) {
case PL_SAMEFOLDER: {
if (dir.path() == m_currentDir) { if (dir.path() == m_currentDir) {
int index = indexOf(filePath); int idx = indexOf(url);
m_currentIndex = index == -1 ? appendFile(filePath) : index; return idx == -1 ? appendToPlaylist(url) : index(idx);
} else { }
QStringList entryList = dir.entryList( QStringList entryList = dir.entryList(
m_autoLoadSuffix, m_autoLoadSuffixes,
QDir::Files | QDir::NoSymLinks, QDir::NoSort); QDir::Files | QDir::NoSymLinks, QDir::NoSort);
QCollator collator; QCollator collator;
@ -73,98 +58,193 @@ void PlaylistManager::setCurrentFile(const QString & filePath)
std::sort(entryList.begin(), entryList.end(), collator); std::sort(entryList.begin(), entryList.end(), collator);
clear(); QList<QUrl> playlist;
int index = -1; int idx = -1;
for (int i = 0; i < entryList.count(); i++) { for (int i = 0; i < entryList.count(); i++) {
const QString & fileName = entryList.at(i); const QString & fileName = entryList.at(i);
const QString & oneEntry = dir.absoluteFilePath(fileName); const QString & oneEntry = dir.absoluteFilePath(fileName);
const QUrl & url = QUrl::fromLocalFile(oneEntry); const QUrl & url = QUrl::fromLocalFile(oneEntry);
m_playlist.append(url); playlist.append(url);
if (fileName == currentFileName) { if (fileName == currentFileName) {
index = i; idx = i;
} }
} }
m_currentIndex = index == -1 ? appendFile(filePath) : index; if (idx == -1) {
idx = playlist.count();
playlist.append(url);
}
m_currentDir = dir.path(); m_currentDir = dir.path();
}
break;
}
case PL_USERPLAYLIST:{
int index = indexOf(filePath);
m_currentIndex = index == -1 ? appendFile(filePath) : index;
break;
}
default:
break;
}
emit currentIndexChanged(m_currentIndex); setPlaylist(playlist);
emit loaded(m_playlist.count());
return index(idx);
} }
void PlaylistManager::setCurrentIndex(int index) QModelIndex PlaylistModel::appendToPlaylist(const QUrl &url)
{ {
if (index < 0 || index >= m_playlist.count()) return; const int lastIndex = rowCount();
m_currentIndex = index; beginInsertRows(QModelIndex(), lastIndex, lastIndex);
emit currentIndexChanged(m_currentIndex); m_playlist.append(url);
endInsertRows();
return index(lastIndex);
} }
int PlaylistManager::appendFile(const QString &filePath) bool PlaylistModel::removeAt(int index)
{ {
int index = m_playlist.length(); if (index < 0 || index >= rowCount()) return false;
m_playlist.append(QUrl::fromLocalFile(filePath)); beginRemoveRows(QModelIndex(), index, index);
m_playlist.removeAt(index);
return index; endRemoveRows();
return true;
} }
int PlaylistManager::indexOf(const QString &filePath) int PlaylistModel::indexOf(const QUrl &url) const
{ {
const QUrl & url = QUrl::fromLocalFile(filePath);
return m_playlist.indexOf(url); return m_playlist.indexOf(url);
} }
int PlaylistManager::count() const 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(); return m_playlist.count();
} }
std::tuple<int, QString> PlaylistManager::previousFile() const QVariant PlaylistModel::data(const QModelIndex &index, int role) const
{ {
int count = m_playlist.count(); if (!index.isValid()) return QVariant();
if (count == 0) return std::make_tuple(-1, QString());
int index = m_currentIndex - 1 < 0 ? count - 1 : m_currentIndex - 1; switch (role) {
return std::make_tuple(index, m_playlist.at(index).toLocalFile()); case Qt::DisplayRole:
return m_playlist.at(index.row()).fileName();
case UrlRole:
return m_playlist.at(index.row());
}
return QVariant();
} }
std::tuple<int, QString> PlaylistManager::nextFile() const PlaylistManager::PlaylistManager(QObject *parent)
: QObject(parent)
{ {
int count = m_playlist.count(); connect(&m_model, &PlaylistModel::rowsRemoved, this,
if (count == 0) return std::make_tuple(-1, QString()); [this](const QModelIndex &, int, int) {
if (m_model.rowCount() <= m_currentIndex) {
setProperty("currentIndex", m_currentIndex - 1);
}
});
int index = m_currentIndex + 1 == count ? 0 : m_currentIndex + 1; auto onRowCountChanged = [this](){
return std::make_tuple(index, m_playlist.at(index).toLocalFile()); 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);
} }
std::tuple<int, QString> PlaylistManager::currentFile() const PlaylistManager::~PlaylistManager()
{ {
if (m_playlist.count() == 0) return std::make_tuple(-1, QString());
return std::make_tuple(m_currentIndex, m_playlist.at(m_currentIndex).toLocalFile());
} }
std::tuple<int, QUrl> PlaylistManager::currentFileUrl() const PlaylistModel *PlaylistManager::model()
{ {
if (m_playlist.count() == 0) return std::make_tuple(-1, QUrl()); return &m_model;
}
return std::make_tuple(m_currentIndex, m_playlist.at(m_currentIndex)); 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> PlaylistManager::convertToUrlList(const QStringList &files)
{ {
QList<QUrl> urlList; QList<QUrl> urlList;
for (const QString & str : qAsConst(files)) { for (const QString & str : std::as_const(files)) {
QUrl url = QUrl::fromLocalFile(str); QUrl url = QUrl::fromLocalFile(str);
if (url.isValid()) { if (url.isValid()) {
urlList.append(url); urlList.append(url);

View File

@ -1,57 +1,85 @@
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com> // SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #pragma once
#include <QObject> #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 class PlaylistManager : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
Q_PROPERTY(int currentIndex MEMBER m_currentIndex NOTIFY currentIndexChanged) Q_PROPERTY(int currentIndex MEMBER m_currentIndex NOTIFY currentIndexChanged)
Q_PROPERTY(QStringList autoLoadFilterSuffixes WRITE setAutoLoadFilterSuffixes)
Q_PROPERTY(PlaylistModel * model READ model CONSTANT)
enum PlaylistType { explicit PlaylistManager(QObject *parent = nullptr);
PL_USERPLAYLIST, // Regular playlist, managed by user.
PL_SAMEFOLDER // PlaylistManager managed playlist, loaded from files from same folder.
};
explicit PlaylistManager(PlaylistType type = PL_USERPLAYLIST, QObject *parent = nullptr);
~PlaylistManager(); ~PlaylistManager();
void setPlaylistType(PlaylistType type); PlaylistModel * model();
PlaylistType playlistType() const;
QStringList autoLoadFilterSuffix() const; void setPlaylist(const QList<QUrl> & url);
void setAutoLoadFilterSuffix(const QStringList &nameFilters); Q_INVOKABLE QModelIndex loadPlaylist(const QList<QUrl> & urls);
Q_INVOKABLE QModelIndex loadPlaylist(const QUrl & url);
void clear(); 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 setPlaylist(const QList<QUrl> & urls); void setAutoLoadFilterSuffixes(const QStringList &nameFilters);
void setCurrentFile(const QString & filePath);
void setCurrentIndex(int index);
int appendFile(const QString & filePath);
int indexOf(const QString & filePath);
int count() const;
std::tuple<int, QString> previousFile() const;
std::tuple<int, QString> nextFile() const;
std::tuple<int, QString> currentFile() const;
std::tuple<int, QUrl> currentFileUrl() const;
static QList<QUrl> convertToUrlList(const QStringList & files); static QList<QUrl> convertToUrlList(const QStringList & files);
signals: signals:
void loaded(int length);
void currentIndexChanged(int index); void currentIndexChanged(int index);
void totalCountChanged(int count);
private: private:
QList<QUrl> m_playlist;
PlaylistType m_type;
QString m_currentDir;
int m_currentIndex = -1; int m_currentIndex = -1;
QStringList m_autoLoadSuffix = {}; PlaylistModel m_model;
}; };

View File

@ -8,6 +8,9 @@
#include <QStandardPaths> #include <QStandardPaths>
#include <QDebug> #include <QDebug>
#include <QDir> #include <QDir>
#include <QAction>
#include <QWidget>
#include <QKeySequence>
#include <QMetaEnum> #include <QMetaEnum>
namespace QEnumHelper namespace QEnumHelper
@ -47,6 +50,11 @@ bool Settings::stayOnTop()
return m_qsettings->value("stay_on_top", true).toBool(); 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 Settings::DoubleClickBehavior Settings::doubleClickBehavior() const
{ {
QString result = m_qsettings->value("double_click_behavior", "Close").toString(); QString result = m_qsettings->value("double_click_behavior", "Close").toString();
@ -81,6 +89,12 @@ void Settings::setStayOnTop(bool on)
m_qsettings->sync(); m_qsettings->sync();
} }
void Settings::setUseLightCheckerboard(bool light)
{
m_qsettings->setValue("use_light_checkerboard", light);
m_qsettings->sync();
}
void Settings::setDoubleClickBehavior(DoubleClickBehavior dcb) void Settings::setDoubleClickBehavior(DoubleClickBehavior dcb)
{ {
m_qsettings->setValue("double_click_behavior", QEnumHelper::toString(dcb)); m_qsettings->setValue("double_click_behavior", QEnumHelper::toString(dcb));
@ -105,6 +119,47 @@ void Settings::setHiDpiScaleFactorBehavior(Qt::HighDpiScaleFactorRoundingPolicy
m_qsettings->sync(); 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) #if defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
#include <windows.h> #include <windows.h>
// QCoreApplication::applicationDirPath() parses the "applicationDirPath" from arg0, which... // QCoreApplication::applicationDirPath() parses the "applicationDirPath" from arg0, which...
@ -138,10 +193,12 @@ Settings::Settings()
#endif // defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN) #endif // defined(FLAG_PORTABLE_MODE_SUPPORT) && defined(Q_OS_WIN)
if (configPath.isEmpty()) { if (configPath.isEmpty()) {
// %LOCALAPPDATA%\<APPNAME> under Windows, ~/.config/<APPNAME> under Linux. // Should be %LOCALAPPDATA%\<APPNAME> under Windows, ~/.config/<APPNAME> under Linux.
configPath = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation); configPath = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
} }
m_qsettings = new QSettings(QDir(configPath).absoluteFilePath("config.ini"), QSettings::IniFormat, this); m_qsettings = new QSettings(QDir(configPath).absoluteFilePath("config.ini"), QSettings::IniFormat, this);
qRegisterMetaType<QList<QKeySequence>>();
} }

View File

@ -33,17 +33,23 @@ public:
static Settings *instance(); static Settings *instance();
bool stayOnTop(); bool stayOnTop();
bool useLightCheckerboard();
DoubleClickBehavior doubleClickBehavior() const; DoubleClickBehavior doubleClickBehavior() const;
MouseWheelBehavior mouseWheelBehavior() const; MouseWheelBehavior mouseWheelBehavior() const;
WindowSizeBehavior initWindowSizeBehavior() const; WindowSizeBehavior initWindowSizeBehavior() const;
Qt::HighDpiScaleFactorRoundingPolicy hiDpiScaleFactorBehavior() const; Qt::HighDpiScaleFactorRoundingPolicy hiDpiScaleFactorBehavior() const;
void setStayOnTop(bool on); void setStayOnTop(bool on);
void setUseLightCheckerboard(bool light);
void setDoubleClickBehavior(DoubleClickBehavior dcb); void setDoubleClickBehavior(DoubleClickBehavior dcb);
void setMouseWheelBehavior(MouseWheelBehavior mwb); void setMouseWheelBehavior(MouseWheelBehavior mwb);
void setInitWindowSizeBehavior(WindowSizeBehavior wsb); void setInitWindowSizeBehavior(WindowSizeBehavior wsb);
void setHiDpiScaleFactorBehavior(Qt::HighDpiScaleFactorRoundingPolicy hidpi); void setHiDpiScaleFactorBehavior(Qt::HighDpiScaleFactorRoundingPolicy hidpi);
void applyUserShortcuts(QWidget * widget);
bool setShortcutsForAction(QWidget * widget, const QString & objectName,
QList<QKeySequence> shortcuts, bool writeConfig = true);
private: private:
Settings(); Settings();
@ -55,4 +61,3 @@ signals:
public slots: public slots:
}; };

View File

@ -5,15 +5,22 @@
#include "settingsdialog.h" #include "settingsdialog.h"
#include "settings.h" #include "settings.h"
#include "shortcutedit.h"
#include <QAction>
#include <QCheckBox> #include <QCheckBox>
#include <QComboBox> #include <QComboBox>
#include <QFormLayout> #include <QFormLayout>
#include <QKeySequenceEdit>
#include <QScrollArea>
#include <QSplitter>
#include <QStringListModel> #include <QStringListModel>
#include <QMessageBox>
SettingsDialog::SettingsDialog(QWidget *parent) SettingsDialog::SettingsDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
, m_stayOnTop(new QCheckBox) , m_stayOnTop(new QCheckBox)
, m_useLightCheckerboard(new QCheckBox)
, m_doubleClickBehavior(new QComboBox) , m_doubleClickBehavior(new QComboBox)
, m_mouseWheelBehavior(new QComboBox) , m_mouseWheelBehavior(new QComboBox)
, m_initWindowSizeBehavior(new QComboBox) , m_initWindowSizeBehavior(new QComboBox)
@ -21,7 +28,49 @@ SettingsDialog::SettingsDialog(QWidget *parent)
{ {
this->setWindowTitle(tr("Settings")); this->setWindowTitle(tr("Settings"));
QFormLayout * settingsForm = new QFormLayout(this); 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 { static QList< QPair<Settings::DoubleClickBehavior, QString> > _dc_options {
{ Settings::DoubleClickBehavior::Ignore, tr("Do nothing") }, { Settings::DoubleClickBehavior::Ignore, tr("Do nothing") },
@ -67,12 +116,14 @@ SettingsDialog::SettingsDialog(QWidget *parent)
} }
settingsForm->addRow(tr("Stay on top when start-up"), m_stayOnTop); 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("Double-click behavior"), m_doubleClickBehavior);
settingsForm->addRow(tr("Mouse wheel behavior"), m_mouseWheelBehavior); settingsForm->addRow(tr("Mouse wheel behavior"), m_mouseWheelBehavior);
settingsForm->addRow(tr("Default window size"), m_initWindowSizeBehavior); settingsForm->addRow(tr("Default window size"), m_initWindowSizeBehavior);
settingsForm->addRow(tr("HiDPI scale factor rounding policy"), m_hiDpiRoundingPolicyBehavior); settingsForm->addRow(tr("HiDPI scale factor rounding policy"), m_hiDpiRoundingPolicyBehavior);
m_stayOnTop->setChecked(Settings::instance()->stayOnTop()); m_stayOnTop->setChecked(Settings::instance()->stayOnTop());
m_useLightCheckerboard->setChecked(Settings::instance()->useLightCheckerboard());
m_doubleClickBehavior->setModel(new QStringListModel(dcbDropDown)); m_doubleClickBehavior->setModel(new QStringListModel(dcbDropDown));
Settings::DoubleClickBehavior dcb = Settings::instance()->doubleClickBehavior(); Settings::DoubleClickBehavior dcb = Settings::instance()->doubleClickBehavior();
m_doubleClickBehavior->setCurrentIndex(static_cast<int>(dcb)); m_doubleClickBehavior->setCurrentIndex(static_cast<int>(dcb));
@ -95,6 +146,10 @@ SettingsDialog::SettingsDialog(QWidget *parent)
Settings::instance()->setStayOnTop(state == Qt::Checked); 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){ connect(m_doubleClickBehavior, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [ = ](int index){
Settings::instance()->setDoubleClickBehavior(_dc_options.at(index).first); Settings::instance()->setDoubleClickBehavior(_dc_options.at(index).first);
}); });

View File

@ -23,6 +23,7 @@ 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_mouseWheelBehavior = nullptr;
QComboBox * m_initWindowSizeBehavior = nullptr; QComboBox * m_initWindowSizeBehavior = nullptr;

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

@ -39,129 +39,134 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -177,149 +183,198 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File url list is empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="49"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <location filename="../actionmanager.cpp" line="108"/>
<source>Flip &amp;Horizontally</source> <source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>&amp;Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="94"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="88"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="90"/>
<source>Actual size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="91"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>Rotate right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Next image</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <location filename="../actionmanager.cpp" line="109"/>
<source>Configure...</source> <source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="111"/>
<source>Help</source> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <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> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -650,104 +705,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ca"> <TS version="2.1" language="ca_ES">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,129 +39,134 @@
<translation>Evita que es tanqui la finestra accidentalment (com ara en fer doble clic a la finestra)</translation> <translation>Evita que es tanqui la finestra accidentalment (com ara en fer doble clic a la finestra)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation>Versió: %1</translation> <translation>Versió: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logotip dissenyat por %1</translation> <translation>Logotip dissenyat por %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Creat amb Qt %1 (%2)</translation> <translation>Creat amb Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Codi font</translation> <translation>Codi font</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Col·laboradors</translation> <translation>Col·laboradors</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Llista de col·laboradors al GitHub</translation> <translation>Llista de col·laboradors al GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <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> <translation>Gràcies a totes les persones que han col·laborat en aquest projecte.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Traductors</translation> <translation>Traductors</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>M&apos;agradaria donar les gràcies a les persones següents per oferir-se a traduir aquesta aplicació.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 està construït sobre les biblioteques de programari lliure següents:</translation> <translation>%1 està construït sobre les biblioteques de programari lliure següents:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Especial agraïment</translation> <translation>&amp;Especial agraïment</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Biblioteques de tercers</translation> <translation>&amp;Biblioteques de tercers</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Els vostres drets</translation> <translation>Els vostres drets</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 es publica sota la llicència MIT.</translation> <translation>%1 es publica sota la llicència MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Aquesta llicència atorga a les persones diverses llibertats:</translation> <translation>Aquesta llicència atorga a les persones diverses llibertats:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Sou lliure de fer servir %1 per a qualsevol propòsit</translation> <translation>Sou lliure de fer servir %1 per a qualsevol propòsit</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Sou lliure de distribuir %1</translation> <translation>Sou lliure de distribuir %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Podeu estudiar com funciona %1 i modificar-lo</translation> <translation>Podeu estudiar com funciona %1 i modificar-lo</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Podeu distribuir les versions modificades de %1</translation> <translation>Podeu distribuir les versions modificades de %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>La llicència del MIT us garanteix aquesta llibertat. No és permès que ningú us la tregui.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Biblioteques de tercers que fa servir %1</translation> <translation>Biblioteques de tercers que fa servir %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>Aj&amp;uda</translation> <translation>Aj&amp;uda</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Quant a</translation> <translation>&amp;Quant a</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Llicència</translation> <translation>&amp;Llicència</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Arrossegueu una imatge aquí</translation> <translation>Arrossegueu una imatge aquí</translation>
</message> </message>
@ -177,149 +183,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La llista d&apos;ubicacions de fitxer és buida</translation> <translation type="vanished">La llista d&apos;ubicacions de fitxer és buida</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>El fitxer no és una imatge vàlida</translation> <translation>El fitxer no és una imatge vàlida</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <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> <translation>Les dades de la imatge no són vàlides o no són compatibles</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Les dades de la imatge no són vàlides</translation> <translation type="vanished">Les dades de la imatge no són vàlides</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>El tipus MIME no és compatible: %1</translation> <translation type="vanished">El tipus MIME no és compatible: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La llista d&apos;ubicacions és buida</translation> <translation>La llista d&apos;ubicacions és buida</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Copia</translation> <translation>&amp;Copia</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Copia el &amp;mapa de píxels</translation> <translation>Copia el &amp;mapa de píxels</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Copia el camí del &amp;fitxer</translation> <translation>Copia el camí del &amp;fitxer</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Propietats</translation> <translation>Propietats</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Mantén a sobre</translation> <translation>Mantén a sobre</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Mode protegit</translation> <translation>Mode protegit</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Amplia</translation> <translation>Amplia</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Redueix</translation> <translation>Redueix</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Inverteix &amp;horitzontalment</translation> <translation>Inverteix &amp;horitzontalment</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Enganxa</translation> <translation>&amp;Enganxa</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Commuta el tauler d&apos;escacs</translation> <translation>Commuta el tauler d&apos;escacs</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Obre...</translation> <translation>&amp;Obre...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Mida real</translation> <translation>Mida real</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Commuta la maximització</translation> <translation>Commuta la maximització</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Commuta la maximització</translation> <translation>Commuta la maximització</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Imatge anterior</translation> <translation>Imatge anterior</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Imatge següent</translation> <translation>Imatge següent</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Configura...</translation> <translation>Configura...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Ajuda</translation> <translation>Ajuda</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostra al navegador de fitxers</translation> <translation>Mostra al navegador de fitxers</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Mostra a la carpeta</translation> <translation>Mostra a la carpeta</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Surt</translation> <translation>Surt</translation>
</message> </message>
@ -650,104 +717,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Paràmetres</translation> <translation>Paràmetres</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>No facis res</translation> <translation>No facis res</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Tanca la finestra</translation> <translation>Tanca la finestra</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Commuta la maximització</translation> <translation>Commuta la maximització</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Amplia i redueix</translation> <translation>Amplia i redueix</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Mostra l&apos;element següent o l&apos;anterior</translation> <translation>Mostra l&apos;element següent o l&apos;anterior</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Mida automàtica</translation> <translation>Mida automàtica</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Maximitza</translation> <translation>Maximitza</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Mantingues a sobre a l&apos;inici</translation> <translation>Mantingues a sobre a l&apos;inici</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Comportament del doble clic</translation> <translation>Comportament del doble clic</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Comportament de la roda del ratolí</translation> <translation>Comportament de la roda del ratolí</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Mida de la finestra per defecte</translation> <translation>Mida de la finestra per defecte</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Llista de fitxers.</translation> <translation>Llista de fitxers.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="de"> <TS version="2.1" language="de_DE">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Es vermeiden, das Fenster versehentlich zu schließen. (z.B. durch Doppelklick auf das Fenster)</translation> <translation>Es vermeiden, das Fenster versehentlich zu schließen. (z.B. durch Doppelklick auf das Fenster)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Version: %1</translation> <translation>Version: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Copyright © 2020 %1</translation> <translation type="vanished">Copyright © 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo entworfen von %1</translation> <translation>Logo entworfen von %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Gemacht mit Qt %1 (%2)</translation> <translation>Gemacht mit Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Quellcode</translation> <translation>Quellcode</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Mitwirkenden</translation> <translation>Mitwirkenden</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Liste der Mitwirkenden auf GitHub</translation> <translation>Liste der Mitwirkenden auf GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Vielen Dank an alle, die zu diesem Projekt beigetragen haben.</translation> <translation>Vielen Dank an alle, die zu diesem Projekt beigetragen haben.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Übersetzer</translation> <translation>Übersetzer</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Ich möchte den folgenden Personen danken, die sich freiwillig zur Übersetzung dieser Anwendung gemeldet haben.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 basiert auf den folgenden freien Softwarebibliotheken:</translation> <translation>%1 basiert auf den folgenden freien Softwarebibliotheken:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Besonderer Dank</translation> <translation>&amp;Besonderer Dank</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliotheken von Drittanbietern</translation> <translation>&amp;Bibliotheken von Drittanbietern</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Ihre Rechte</translation> <translation>Ihre Rechte</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 wird unter der MIT-Lizenz veröffentlicht.</translation> <translation>%1 wird unter der MIT-Lizenz veröffentlicht.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Diese Lizenz gewährt Menschen eine Reihe von Freiheiten:</translation> <translation>Diese Lizenz gewährt Menschen eine Reihe von Freiheiten:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Sie dürfen %1 für jeden Zweck verwenden</translation> <translation>Sie dürfen %1 für jeden Zweck verwenden</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Sie dürfen %1 verteilen</translation> <translation>Sie dürfen %1 verteilen</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Sie können untersuchen, wie %1 funktioniert, und es ändern</translation> <translation>Sie können untersuchen, wie %1 funktioniert, und es ändern</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Sie können geänderte Versionen von %1 verteilen</translation> <translation>Sie können geänderte Versionen von %1 verteilen</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>Die MIT-Lizenz garantiert Ihnen diese Freiheit. Niemand darf es jemals wegnehmen.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Von %1 verwendete Bibliotheken von Drittanbietern</translation> <translation>Von %1 verwendete Bibliotheken von Drittanbietern</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hilfe</translation> <translation>&amp;Hilfe</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Über</translation> <translation>&amp;Über</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Lizenz</translation> <translation>&amp;Lizenz</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Ziehen Sie das Bild hierher</translation> <translation>Ziehen Sie das Bild hierher</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Die Datei-URL-Liste ist leer</translation> <translation type="vanished">Die Datei-URL-Liste ist leer</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Datei ist kein gültiges Bild</translation> <translation>Datei ist kein gültiges Bild</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Bilddaten sind ungültig oder werden derzeit nicht unterstützt</translation> <translation>Bilddaten sind ungültig oder werden derzeit nicht unterstützt</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Bilddaten sind ungültig</translation> <translation type="vanished">Bilddaten sind ungültig</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Nicht unterstützte Mimedaten: %1</translation> <translation type="vanished">Nicht unterstützte Mimedaten: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Die Datei-URL-Liste ist leer</translation> <translation>Die Datei-URL-Liste ist leer</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Kopieren</translation> <translation>&amp;Kopieren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap kopieren</translation> <translation>P&amp;ixmap kopieren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>&amp;Dateipfad kopieren</translation> <translation>&amp;Dateipfad kopieren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Eigenschaften</translation> <translation>Eigenschaften</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Oben bleiben</translation> <translation>Oben bleiben</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Geschützter Modus</translation> <translation>Geschützter Modus</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Hineinzoomen</translation> <translation>Hineinzoomen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Herauszoomen</translation> <translation>Herauszoomen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>&amp;Horizontal spiegeln</translation> <translation>&amp;Horizontal spiegeln</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>%Einfügen</translation> <translation>%Einfügen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Schachbrettmuster umschalten</translation> <translation>Schachbrettmuster umschalten</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Öffnen...</translation> <translation>&amp;Öffnen...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Tatsächliche Größe</translation> <translation>Tatsächliche Größe</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximieren umschalten</translation> <translation>Maximieren umschalten</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Nach rechts drehen</translation> <translation>Nach rechts drehen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Vorheriges Bild</translation> <translation>Vorheriges Bild</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Nächstes Bild</translation> <translation>Nächstes Bild</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Konfigurieren&#xa0;</translation> <translation>Konfigurieren&#xa0;</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Hilfe</translation> <translation>Hilfe</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Im Dateiexplorer zeigen</translation> <translation>Im Dateiexplorer zeigen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Im Verzeichnis zeigen</translation> <translation>Im Verzeichnis zeigen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Beenden</translation> <translation>Beenden</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Einstellungen</translation> <translation>Einstellungen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Nichts tun</translation> <translation>Nichts tun</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Fenster schließen</translation> <translation>Fenster schließen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximieren umschalten</translation> <translation>Maximieren umschalten</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Hinein- und Hinauszoomen</translation> <translation>Hinein- und Hinauszoomen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Zeige nächstes oder vorheriges Element</translation> <translation>Zeige nächstes oder vorheriges Element</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Automatische Größe</translation> <translation>Automatische Größe</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Maximiert</translation> <translation>Maximiert</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Beim Start oben bleiben</translation> <translation>Beim Start oben bleiben</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Doppelklickverhalten</translation> <translation>Doppelklickverhalten</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Mausradverhalten</translation> <translation>Mausradverhalten</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Standard-Fenstergröße</translation> <translation>Standard-Fenstergröße</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Dateiliste.</translation> <translation>Dateiliste.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="es"> <TS version="2.1" language="es_ES">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Evita que se cierre la ventana accidentalmente (por ejemplo, al hacer doble clic en la ventana)</translation> <translation>Evita que se cierre la ventana accidentalmente (por ejemplo, al hacer doble clic en la ventana)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Versión: %1</translation> <translation>Versión: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Derechos reservados (c) 2020 %1</translation> <translation type="vanished">Derechos reservados (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo diseñado por %1</translation> <translation>Logo diseñado por %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Creado con Qt %1 (%2)</translation> <translation>Creado con Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Código fuente</translation> <translation>Código fuente</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Colaboradores</translation> <translation>Colaboradores</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Lista de colaboradores en GitHub</translation> <translation>Lista de colaboradores en GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Gracias a todas las personas que han colaborado en este proyecto.</translation> <translation>Gracias a todas las personas que han colaborado en este proyecto.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Traductores</translation> <translation>Traductores</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Me gustaría dar las gracias a las personas siguientes por ofrecerse a traducir esta aplicación.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 está construido sobre las bibliotecas de software libre siguientes:</translation> <translation>%1 está construido sobre las bibliotecas de software libre siguientes:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>Agradecimiento &amp;especial</translation> <translation>Agradecimiento &amp;especial</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliotecas de terceros</translation> <translation>&amp;Bibliotecas de terceros</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Sus derechos</translation> <translation>Sus derechos</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 se publica bajo la licencia MIT.</translation> <translation>%1 se publica bajo la licencia MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Esta licencia otorga a las personas una serie de libertades:</translation> <translation>Esta licencia otorga a las personas una serie de libertades:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Es libre de usar %1 para cualquier propósito</translation> <translation>Es libre de usar %1 para cualquier propósito</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Es libre de distribuir %1</translation> <translation>Es libre de distribuir %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Puede estudiar cómo funciona %1 y modificarlo</translation> <translation>Puede estudiar cómo funciona %1 y modificarlo</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Puede distribuir versiones modificadas de %1</translation> <translation>Puede distribuir versiones modificadas de %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>La licencia MIT le garantiza esta libertad. Nadie está autorizado a quitársela.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Bibliotecas de terceros usadas por %1</translation> <translation>Bibliotecas de terceros usadas por %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>Ay&amp;uda</translation> <translation>Ay&amp;uda</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Acerca de</translation> <translation>&amp;Acerca de</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Licencia</translation> <translation>&amp;Licencia</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Arrastre una imagen aquí</translation> <translation>Arrastre una imagen aquí</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La lista de ubicaciones está vacía</translation> <translation type="vanished">La lista de ubicaciones está vacía</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>El archivo no es una imagen válida</translation> <translation>El archivo no es una imagen válida</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Los datos de la imagen no son válidos o no son compatibles</translation> <translation>Los datos de la imagen no son válidos o no son compatibles</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Los datos de la imagen no son válidos</translation> <translation type="vanished">Los datos de la imagen no son válidos</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>El tipo MIME no es compatible: %1</translation> <translation type="vanished">El tipo MIME no es compatible: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La lista de ubicaciones está vacía</translation> <translation>La lista de ubicaciones está vacía</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Copiar</translation> <translation>&amp;Copiar</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Copiar &amp;mapa de píxeles</translation> <translation>Copiar &amp;mapa de píxeles</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Copiar &amp;ruta de archivo</translation> <translation>Copiar &amp;ruta de archivo</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Propiedades</translation> <translation>Propiedades</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Mantener encima</translation> <translation>Mantener encima</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Modo protegido</translation> <translation>Modo protegido</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Ampliar</translation> <translation>Ampliar</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Reducir</translation> <translation>Reducir</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Voltear &amp;horizontalmente</translation> <translation>Voltear &amp;horizontalmente</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Pegar</translation> <translation>&amp;Pegar</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Activar/desactivar el tablero de ajedrez</translation> <translation>Activar/desactivar el tablero de ajedrez</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Abrir...</translation> <translation>&amp;Abrir...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Tamaño real</translation> <translation>Tamaño real</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximizar/desmaximizar</translation> <translation>Maximizar/desmaximizar</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Girar a la derecha</translation> <translation>Girar a la derecha</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Imagen anterior</translation> <translation>Imagen anterior</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Imagen siguiente</translation> <translation>Imagen siguiente</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Configurar...</translation> <translation>Configurar...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Ayuda</translation> <translation>Ayuda</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostrar en el Explorador de archivos</translation> <translation>Mostrar en el Explorador de archivos</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Mostrar en la carpeta</translation> <translation>Mostrar en la carpeta</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Salir</translation> <translation>Salir</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Preferencias</translation> <translation>Preferencias</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>No hacer nada</translation> <translation>No hacer nada</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Cerrar la ventana</translation> <translation>Cerrar la ventana</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximizar/desmaximizar</translation> <translation>Maximizar/desmaximizar</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Ampliar y reducir</translation> <translation>Ampliar y reducir</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Mostrar el elemento siguiente/anterior</translation> <translation>Mostrar el elemento siguiente/anterior</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Tamaño automático</translation> <translation>Tamaño automático</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Maximizar</translation> <translation>Maximizar</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Redondeo (escala de enteros)</translation> <translation>Redondeo (escala de enteros)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Ceil (redondear enteros hacia arriba)</translation> <translation>Ceil (redondear enteros hacia arriba)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Floor (redondear enteros hacia abajo)</translation> <translation>Floor (redondear enteros hacia abajo)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Redondeo (redondear los enteros)</translation> <translation>Redondeo (redondear los enteros)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Mantener encima al inicio</translation> <translation>Mantener encima al inicio</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Comportamiento del doble clic</translation> <translation>Comportamiento del doble clic</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Comportamiento de la rueda del ratón</translation> <translation>Comportamiento de la rueda del ratón</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Tamaño de la ventana por defecto</translation> <translation>Tamaño de la ventana por defecto</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>Política de redondeo del factor de escala HiDPI</translation> <translation>Política de redondeo del factor de escala HiDPI</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Lista de archivos.</translation> <translation>Lista de archivos.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="fr"> <TS version="2.1" language="fr_FR">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Éviter de fermer la fenêtre accidentellement. (par exemple en cliquant deux fois sur la fenêtre)</translation> <translation>Éviter de fermer la fenêtre accidentellement. (par exemple en cliquant deux fois sur la fenêtre)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Version&#xa0;: %1</translation> <translation>Version&#xa0;: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Copyright © 2020 %1</translation> <translation type="vanished">Copyright © 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo conçu par %1</translation> <translation>Logo conçu par %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Fait avec Qt %1 (%2)</translation> <translation>Fait avec Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Code source</translation> <translation>Code source</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Contributeurs</translation> <translation>Contributeurs</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Liste des contributeurs sur GitHub</translation> <translation>Liste des contributeurs sur GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Merci à toutes les personnes qui ont contribué à ce projet.</translation> <translation>Merci à toutes les personnes qui ont contribué à ce projet.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Traducteurs</translation> <translation>Traducteurs</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Je tiens à remercier les personnes suivantes qui se sont portées volontaires pour traduire cette application.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 est basé sur les bibliothèques de logiciels libres suivantes&#xa0;:</translation> <translation>%1 est basé sur les bibliothèques de logiciels libres suivantes&#xa0;:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Remerciement spécial</translation> <translation>&amp;Remerciement spécial</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Bibliothèques tierces</translation> <translation>&amp;Bibliothèques tierces</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Vos droits</translation> <translation>Vos droits</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 est publié sous licence MIT.</translation> <translation>%1 est publié sous licence MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Cette licence accorde aux personnes un certain nombre de libertés&#xa0;:</translation> <translation>Cette licence accorde aux personnes un certain nombre de libertés&#xa0;:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <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> <translation>Vous êtes libre d&apos;utiliser %1, dans n&apos;importe quel but</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Vous êtes libre de distribuer %1</translation> <translation>Vous êtes libre de distribuer %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Vous pouvez étudier le fonctionnement de %1 et le modifier</translation> <translation>Vous pouvez étudier le fonctionnement de %1 et le modifier</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Vous pouvez distribuer des versions modifiées de %1</translation> <translation>Vous pouvez distribuer des versions modifiées de %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>La licence MIT vous garantit cette liberté. Personne n&apos;est autorisé à l&apos;enlever.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Bibliothèques tierces utilisées par %1</translation> <translation>Bibliothèques tierces utilisées par %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Aide</translation> <translation>&amp;Aide</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;À propos</translation> <translation>&amp;À propos</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Licence</translation> <translation>&amp;Licence</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Faites glisser l&apos;image ici</translation> <translation>Faites glisser l&apos;image ici</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La liste des URL du fichier est vide</translation> <translation type="vanished">La liste des URL du fichier est vide</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Le fichier n&apos;est pas une image valide</translation> <translation>Le fichier n&apos;est pas une image valide</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <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> <translation>Les données d&apos;image ne sont pas valides ou ne sont actuellement pas prises en charge</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Les données d&apos;image ne sont pas valides</translation> <translation type="vanished">Les données d&apos;image ne sont pas valides</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Mimedata non pris en charge&#xa0;: %1</translation> <translation type="vanished">Mimedata non pris en charge&#xa0;: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>La liste des URL de fichiers est vide</translation> <translation>La liste des URL de fichiers est vide</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Copier</translation> <translation>&amp;Copier</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Copier P&amp;ixmap</translation> <translation>Copier P&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Copier le &amp;chemin du fichier</translation> <translation>Copier le &amp;chemin du fichier</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Propriétés</translation> <translation>Propriétés</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Rester en-haut</translation> <translation>Rester en-haut</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Mode protégé</translation> <translation>Mode protégé</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Zoom avant</translation> <translation>Zoom avant</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Zoom arrière</translation> <translation>Zoom arrière</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Retourner &amp;horizontalement</translation> <translation>Retourner &amp;horizontalement</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>Co&amp;ller</translation> <translation>Co&amp;ller</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Dés/activer le damier</translation> <translation>Dés/activer le damier</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Ouvrir...</translation> <translation>&amp;Ouvrir...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Taille actuelle</translation> <translation>Taille actuelle</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Dés/activer l&apos;agrandissement</translation> <translation>Dés/activer l&apos;agrandissement</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Pivoter vers la droite</translation> <translation>Pivoter vers la droite</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Image précédente</translation> <translation>Image précédente</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Image suivant</translation> <translation>Image suivant</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Configurer</translation> <translation>Configurer</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Aide</translation> <translation>Aide</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Afficher dans le navigateur de fichiers</translation> <translation>Afficher dans le navigateur de fichiers</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Afficher dans le dossier</translation> <translation>Afficher dans le dossier</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Quitter</translation> <translation>Quitter</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Paramètres</translation> <translation>Paramètres</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Ne rien faire</translation> <translation>Ne rien faire</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Fermer la fenêtre</translation> <translation>Fermer la fenêtre</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Activer/désactiver l&apos;agrandissement</translation> <translation>Activer/désactiver l&apos;agrandissement</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Zoom avant et arrière</translation> <translation>Zoom avant et arrière</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Voir l&apos;élément suivant ou précédent</translation> <translation>Voir l&apos;élément suivant ou précédent</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Taille automatique</translation> <translation>Taille automatique</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Agrandi</translation> <translation>Agrandi</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Rester en-haut lors du démarrage</translation> <translation>Rester en-haut lors du démarrage</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Comportement du double-clic</translation> <translation>Comportement du double-clic</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Comportement de la molette de la souris</translation> <translation>Comportement de la molette de la souris</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Taille de la fenêtre par défaut</translation> <translation>Taille de la fenêtre par défaut</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Liste des fichiers.</translation> <translation>Liste des fichiers.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="id"> <TS version="2.1" language="id_ID">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -11,7 +11,7 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="30"/> <location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source> <source>Launch application with image file path as argument to load the file.</source>
<translation type="unfinished"></translation> <translation>Luncurkan aplikasi dengan lokasi file gambar sebagai argumen untuk memuat file.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="31"/> <location filename="../aboutdialog.cpp" line="31"/>
@ -26,7 +26,7 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="33"/> <location filename="../aboutdialog.cpp" line="33"/>
<source>Context menu option explanation:</source> <source>Context menu option explanation:</source>
<translation type="unfinished"></translation> <translation>Penjelasan opsi menu Context:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="40"/> <location filename="../aboutdialog.cpp" line="40"/>
@ -39,7 +39,7 @@
<translation>Hindari penutupan jendela secara tidak sengaja (contoh dengan mengklik jendela dua kali)</translation> <translation>Hindari penutupan jendela secara tidak sengaja (contoh dengan mengklik jendela dua kali)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Versi: %1</translation> <translation>Versi: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Hak Cipta (c) 2020 %1</translation> <translation type="vanished">Hak Cipta (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo didesain oleh %1</translation> <translation>Logo didesain oleh %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Dibuat dengan Qt %1 (%2)</translation> <translation>Dibuat dengan Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Kode sumber</translation> <translation>Kode sumber</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Kontributor-kontributor</translation> <translation>Kontributor-kontributor</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Daftar kontributor di GitHub</translation> <translation>Daftar kontributor di GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Terima kasih kepada semua orang yang telah berkontribusi ke proyek ini.</translation> <translation>Terima kasih kepada semua orang yang telah berkontribusi ke proyek ini.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Penerjemah</translation> <translation>Penerjemah</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Saya ingin berterima kasih orang-orang berikut yang secara sukarela menerjemahkan aplikasi ini.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation type="unfinished"></translation> <translation>%1 dibangun dengan perpustakaan perangkat lunak bebas berikut:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation type="unfinished"></translation> <translation>&amp;Terima kasih</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation type="unfinished"></translation> <translation>&amp; Perpustakaan pihak ketiga</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation type="unfinished"></translation> <translation>Hak Anda</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation> <translation>Hak Cipta (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 diluncurkan di bawah lisensi MIT.</translation> <translation>%1 diluncurkan di bawah lisensi MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Lisensi ini memberikan orang-orang beberapa kebebasan:</translation> <translation>Lisensi ini memberikan orang-orang beberapa kebebasan:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Anda bebas menggunakan %1, untuk tujuan apapun</translation> <translation>Anda bebas menggunakan %1, untuk tujuan apapun</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Anda bebas mendistribusikan %1</translation> <translation>Anda bebas mendistribusikan %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Anda dapat mempelajari bagaimana cara %1 bekerja dan mengubahnya</translation> <translation>Anda dapat mempelajari bagaimana cara %1 bekerja dan mengubahnya</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Anda dapat mendistribusikan versi %1 yang telah diubah</translation> <translation>Anda dapat mendistribusikan versi %1 yang telah diubah</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation> <translation>Lisensi MIT menjamin kebebasan ini. Tidak ada yang pernah diizinkan untuk mengambilnya.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation> <translation>Perpustakaan pihak ketiga yang digunakan oleh %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Dukungan</translation> <translation>&amp;Dukungan</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>Tentan&amp;g</translation> <translation>Tentan&amp;g</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Lisensi</translation> <translation>&amp;Lisensi</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Tarik gambar ke sini</translation> <translation>Tarik gambar ke sini</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation type="unfinished"></translation> <translation type="vanished">Daftar url file kosong</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation type="unfinished"></translation> <translation>File bukan gambar yang valid</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation> <translation>Data gambar tidak valid atau belum didukung</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation type="unfinished"></translation> <translation type="vanished">Data gambar tidak valid</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation> <translation type="vanished">Tidak didukung mimedata: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation type="unfinished"></translation> <translation>Daftar url file kosong</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Salin</translation> <translation>&amp;Salin</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Salin P&amp;ixmap</translation> <translation>Salin P&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Salin &amp;Path Berkas</translation> <translation>Salin &amp;Path Berkas</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Properti</translation> <translation>Properti</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Tetap di atas</translation> <translation>Tetap di atas</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Mode Terlindungi</translation> <translation>Mode Terlindungi</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Perbesar</translation> <translation>Perbesar</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Perkecil</translation> <translation>Perkecil</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <location filename="../actionmanager.cpp" line="108"/>
<source>Flip &amp;Horizontally</source> <source>Pause/Resume Animation</source>
<translation>Putar Secara &amp;Horizontal</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>&amp;Paste</source>
<translation>&amp;Tempel</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="94"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="88"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="90"/>
<source>Actual size</source>
<translation>Ukuran asli</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="91"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>Rotate right</source>
<translation>Putar ke kanan</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Next image</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Konfigurasi...</translation> <translation>Konfigurasi...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Dukungan</translation> <translation>Dukungan</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Keluar</translation> <translation>Keluar</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Pengaturan</translation> <translation>Pengaturan</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Jangan lakukan apapun</translation> <translation>Jangan lakukan apapun</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Tutup jendela</translation> <translation>Tutup jendela</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Perbesar dan perkecil</translation> <translation>Perbesar dan perkecil</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Lihat item berikutnya atau sebelumnya</translation> <translation>Lihat item berikutnya atau sebelumnya</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Daftar berkas.</translation> <translation>Daftar berkas.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="it"> <TS version="2.1" language="it_IT">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,129 +39,134 @@
<translation>Evitare di chiudere accidentalmente la finestra. (es. facendo doppio clic sulla finestra)</translation> <translation>Evitare di chiudere accidentalmente la finestra. (es. facendo doppio clic sulla finestra)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation>Versione: %1</translation> <translation>Versione: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo disegnato da %1</translation> <translation>Logo disegnato da %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Costruito con Qt %1 (%2)</translation> <translation>Costruito con Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Codice sorgente</translation> <translation>Codice sorgente</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Contributori</translation> <translation>Contributori</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Elenco dei contributori su GitHub</translation> <translation>Elenco dei contributori su GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Grazie a tutte le persone che hanno contribuito a questo progetto.</translation> <translation>Grazie a tutte le persone che hanno contribuito a questo progetto.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Traduttori</translation> <translation>Traduttori</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Vorrei ringraziare le seguenti persone che si sono offerte volontarie per tradurre questa applicazione.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 si basa sulle seguenti librerie di software libero:</translation> <translation>%1 si basa sulle seguenti librerie di software libero:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Ringraziamenti speciali</translation> <translation>&amp;Ringraziamenti speciali</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Librerie di terze parti</translation> <translation>&amp;Librerie di terze parti</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>I tuoi diritti</translation> <translation>I tuoi diritti</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 è rilasciato sotto licenza MIT.</translation> <translation>%1 è rilasciato sotto licenza MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Questa licenza garantisce alle persone una serie di libertà:</translation> <translation>Questa licenza garantisce alle persone una serie di libertà:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Sei libero di usare %1, per qualsiasi scopo</translation> <translation>Sei libero di usare %1, per qualsiasi scopo</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Sei libero di distribuire %1</translation> <translation>Sei libero di distribuire %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Puoi studiare come funziona %1 e cambiarlo</translation> <translation>Puoi studiare come funziona %1 e cambiarlo</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Puoi distribuire versioni modificate di %1</translation> <translation>Puoi distribuire versioni modificate di %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>La licenza MIT ti garantisce questa libertà. A nessuno è mai permesso portarlo via.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Librerie di terze parti utilizzate da %1</translation> <translation>Librerie di terze parti utilizzate da %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Aiuto</translation> <translation>&amp;Aiuto</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Informazioni</translation> <translation>&amp;Informazioni</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Licenza</translation> <translation>&amp;Licenza</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Trascina qui l&apos;immagine</translation> <translation>Trascina qui l&apos;immagine</translation>
</message> </message>
@ -177,149 +183,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>L&apos;elenco degli URL dei file è vuoto</translation> <translation type="vanished">L&apos;elenco degli URL dei file è vuoto</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Il file non è un&apos;immagine valida</translation> <translation>Il file non è un&apos;immagine valida</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>I dati dell&apos;immagine non sono validi o non sono attualmente supportati</translation> <translation>I dati dell&apos;immagine non sono validi o non sono attualmente supportati</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>I dati dell&apos;immagine non sono validi</translation> <translation type="vanished">I dati dell&apos;immagine non sono validi</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Dati mime non supportati: %1</translation> <translation type="vanished">Dati mime non supportati: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>L&apos;elenco degli URL dei file è vuoto</translation> <translation>L&apos;elenco degli URL dei file è vuoto</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Copia</translation> <translation>&amp;Copia</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Copia P&amp;ixmap</translation> <translation>Copia P&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Copia &amp;Percorso file</translation> <translation>Copia &amp;Percorso file</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Proprietà</translation> <translation>Proprietà</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Rimani in cima</translation> <translation>Rimani in cima</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Modalità protetta</translation> <translation>Modalità protetta</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Zoom avanti</translation> <translation>Zoom avanti</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Zoom indietro</translation> <translation>Zoom indietro</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Capovolgi &amp;Orizzontalmente</translation> <translation>Capovolgi &amp;Orizzontalmente</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Incolla</translation> <translation>&amp;Incolla</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Attiva/disattiva scacchiera</translation> <translation>Attiva/disattiva scacchiera</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Apri...</translation> <translation>&amp;Apri...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Dimensione reale</translation> <translation>Dimensione reale</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Attiva massimizzazione</translation> <translation>Attiva massimizzazione</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Ruota a destra</translation> <translation>Ruota a destra</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Immagine precedente</translation> <translation>Immagine precedente</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Immagine successiva</translation> <translation>Immagine successiva</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Configura...</translation> <translation>Configura...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Aiuto</translation> <translation>Aiuto</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Mostra in Esplora file</translation> <translation>Mostra in Esplora file</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Mostra nella directory</translation> <translation>Mostra nella directory</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Esci</translation> <translation>Esci</translation>
</message> </message>
@ -650,104 +717,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Impostazioni</translation> <translation>Impostazioni</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Non fare nulla</translation> <translation>Non fare nulla</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Chiudi la finestra</translation> <translation>Chiudi la finestra</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Attiva massimizzazione</translation> <translation>Attiva massimizzazione</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Zoom avanti e indietro</translation> <translation>Zoom avanti e indietro</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Visualizza l&apos;elemento successivo o precedente</translation> <translation>Visualizza l&apos;elemento successivo o precedente</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Dimensione automatica</translation> <translation>Dimensione automatica</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Massimizzato</translation> <translation>Massimizzato</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Round (ridimensionamento intero)</translation> <translation>Round (ridimensionamento intero)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Ceil (ridimensionamento intero)</translation> <translation>Ceil (ridimensionamento intero)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Floor (ridimensionamento intero)</translation> <translation>Floor (ridimensionamento intero)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Segui il sistema (scala frazionaria)</translation> <translation>Segui il sistema (scala frazionaria)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Rimani in cima quando si avvia</translation> <translation>Rimani in cima quando si avvia</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Comportamento del doppio clic</translation> <translation>Comportamento del doppio clic</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Comportamento della rotellina del mouse</translation> <translation>Comportamento della rotellina del mouse</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Dimensioni predefinite della finestra</translation> <translation>Dimensioni predefinite della finestra</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>Politica di arrotondamento del fattore di scala HiDPI</translation> <translation>Politica di arrotondamento del fattore di scala HiDPI</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Immagini di Pineapple</translation> <translation>Immagini di Pineapple</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Elenco file.</translation> <translation>Elenco file.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ja"> <TS version="2.1" language="ja_JP">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -11,7 +11,7 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="30"/> <location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source> <source>Launch application with image file path as argument to load the file.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="31"/> <location filename="../aboutdialog.cpp" line="31"/>
@ -31,137 +31,142 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="40"/> <location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source> <source>Make window stay on top of all other windows.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="43"/> <location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source> <source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>()</translation> <translation>()</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation>:%1</translation> <translation>: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>%1</translation> <translation>: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Qt %1 (%2) </translation> <translation>Qt %1 (%2) </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>GitHubでの貢献者リスト</translation> <translation>GitHubでの貢献者リスト</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>(&amp;S)</translation> <translation>(&amp;S)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>(&amp;T)</translation> <translation>(&amp;T)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>(c)%1%2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1MITライセンスのもとで公開されています</translation> <translation>%1MITライセンスのもとで公開されています</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>%1使</translation> <translation>%1使</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation> %1</translation> <translation> %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MITライセンスは</translation> <translation>MITライセンスは</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>%1使</translation> <translation>%1使</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>(&amp;H)</translation> <translation>(&amp;H)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>(&amp;A)</translation> <translation>(&amp;A)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>(&amp;L)</translation> <translation>(&amp;L)</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation></translation> <translation></translation>
</message> </message>
@ -177,149 +183,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>URLリストがエンプティーです</translation> <translation type="vanished">URLリストがエンプティーです</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>mimedata: %1</translation> <translation type="vanished">mimedata: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>urlリストがエンプティーです</translation> <translation>urlリストがエンプティーです</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>(&amp;C)</translation> <translation>(&amp;C)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>(&amp;I)</translation> <translation>(&amp;I)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>(&amp;F)</translation> <translation>(&amp;F)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <location filename="../actionmanager.cpp" line="120"/>
<source>Zoom in</source> <location filename="../aboutdialog.cpp" line="45"/>
<translation></translation> <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>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="99"/>
<source>Zoom out</source> <source>Zoom in</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Flip &amp;Horizontally</source> <source>Zoom out</source>
<translation>&amp;H</translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>(&amp;P)</translation> <translation>(&amp;P)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation></translation> <translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="88"/>
<source>&amp;Open...</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="90"/>
<source>Actual size</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="91"/>
<source>Toggle maximize</source>
<translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <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> <source>Rotate right</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source> <source>Previous image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation></translation> <translation></translation>
</message> </message>
@ -361,7 +428,7 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="33"/> <location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source> <source>%1 File</source>
<translation>%1</translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="40"/> <location filename="../metadatamodel.cpp" line="40"/>
@ -404,7 +471,7 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="62"/> <location filename="../metadatamodel.cpp" line="62"/>
<source>Item type</source> <source>Item type</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="64"/> <location filename="../metadatamodel.cpp" line="64"/>
@ -419,12 +486,12 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="68"/> <location filename="../metadatamodel.cpp" line="68"/>
<source>Date created</source> <source>Date created</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="70"/> <location filename="../metadatamodel.cpp" line="70"/>
<source>Date modified</source> <source>Date modified</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="77"/> <location filename="../metadatamodel.cpp" line="77"/>
@ -494,17 +561,17 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="110"/> <location filename="../metadatamodel.cpp" line="110"/>
<source>Camera maker</source> <source>Camera maker</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="112"/> <location filename="../metadatamodel.cpp" line="112"/>
<source>Camera model</source> <source>Camera model</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="114"/> <location filename="../metadatamodel.cpp" line="114"/>
<source>F-stop</source> <source>F-stop</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="116"/> <location filename="../metadatamodel.cpp" line="116"/>
@ -514,12 +581,12 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="118"/> <location filename="../metadatamodel.cpp" line="118"/>
<source>ISO speed</source> <source>ISO speed</source>
<translation>ISOスピード</translation> <translation>ISO速度</translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="120"/> <location filename="../metadatamodel.cpp" line="120"/>
<source>Exposure bias</source> <source>Exposure bias</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="122"/> <location filename="../metadatamodel.cpp" line="122"/>
@ -549,7 +616,7 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="132"/> <location filename="../metadatamodel.cpp" line="132"/>
<source>35mm focal length</source> <source>35mm focal length</source>
<translation>35mmの焦点距</translation> <translation>35mm </translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="135"/> <location filename="../metadatamodel.cpp" line="135"/>
@ -629,12 +696,12 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="174"/> <location filename="../metadatamodel.cpp" line="174"/>
<source>%1 x %2</source> <source>%1 x %2</source>
<translation>%1×%2</translation> <translation>%1 × %2</translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="192"/> <location filename="../metadatamodel.cpp" line="192"/>
<source>%1 : %2</source> <source>%1 : %2</source>
<translation>%1:%2</translation> <translation>%1 : %2</translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="317"/> <location filename="../metadatamodel.cpp" line="317"/>
@ -650,106 +717,157 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <location filename="../settingsdialog.cpp" line="37"/>
<source>Do nothing</source> <source>Options</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="28"/>
<source>Close the window</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Toggle maximize</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="33"/>
<source>Zoom in and out</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="34"/>
<source>View next or previous item</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="38"/>
<source>Auto size</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="39"/>
<source>Maximized</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="43"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="49"/>
<source>Ceil (Integer scaling)</source> <source>Shortcuts</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="59"/>
<source>Floor (Integer scaling)</source> <source>Editing shortcuts for action &quot;%1&quot;:</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="68"/>
<source>Follow system (Fractional scaling)</source> <source>Failed to set shortcuts</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="69"/>
<source>Stay on top when start-up</source> <source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<translation></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <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> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation></translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ko"> <TS version="2.1" language="ko_KR">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,129 +39,134 @@
<translation> . (: 창을 )</translation> <translation> . (: 창을 )</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation>: %1</translation> <translation>: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Qt %1(%2) </translation> <translation>Qt %1(%2) </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>GitHub의 </translation> <translation>GitHub의 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 :</translation> <translation>%1 :</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation> (&amp;S)</translation> <translation> (&amp;S)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation> (&amp;T)</translation> <translation> (&amp;T)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation> (c) %1 %2</translation> <translation> (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation> %1 MIT .</translation> <translation> %1 MIT .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation> :</translation> <translation> :</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>%1() </translation> <translation>%1() </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>MIT . .</translation> <translation>MIT . .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>(&amp;H)</translation> <translation>(&amp;H)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>(&amp;A)</translation> <translation>(&amp;A)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>(&amp;L)</translation> <translation>(&amp;L)</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation> </translation> <translation> </translation>
</message> </message>
@ -177,149 +183,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation> URL </translation> <translation type="vanished"> URL </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation> </translation> <translation type="vanished"> </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation> mimedata: %1</translation> <translation type="vanished"> mimedata: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation> URL </translation> <translation> URL </translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>(&amp;C)</translation> <translation>(&amp;C)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Pixmap (&amp;I)</translation> <translation>Pixmap (&amp;I)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation> (&amp;F)</translation> <translation> (&amp;F)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation> (&amp;H)</translation> <translation> (&amp;H)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>(&amp;P)</translation> <translation>(&amp;P)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>(&amp;O)...</translation> <translation>(&amp;O)...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation> </translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source> <source>Previous image</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation></translation> <translation></translation>
</message> </message>
@ -650,104 +717,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <location filename="../settingsdialog.cpp" line="37"/>
<source>Do nothing</source> <source>Options</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="28"/>
<source>Close the window</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="29"/>
<source>Toggle maximize</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="33"/>
<source>Zoom in and out</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="34"/>
<source>View next or previous item</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="38"/>
<source>Auto size</source>
<translation> </translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="39"/>
<source>Maximized</source>
<translation></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="43"/>
<source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="49"/>
<source>Ceil (Integer scaling)</source> <source>Shortcuts</source>
<comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="59"/>
<source>Floor (Integer scaling)</source> <source>Editing shortcuts for action &quot;%1&quot;:</source>
<comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="68"/>
<source>Follow system (Fractional scaling)</source> <source>Failed to set shortcuts</source>
<comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <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> <source>Stay on top when start-up</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <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> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>

View File

@ -39,7 +39,7 @@
<translation>Unngå lukking av vinduet ved feiltagelser (f.eks. ved dobbeltklikking av vinduet)</translation> <translation>Unngå lukking av vinduet ved feiltagelser (f.eks. ved dobbeltklikking av vinduet)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Versjon: %1</translation> <translation>Versjon: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Opphavsrett © 2020 %1</translation> <translation type="vanished">Opphavsrett © 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo designet av %1</translation> <translation>Logo designet av %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Bygd med Qt %1 (%2)</translation> <translation>Bygd med Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Kildekode</translation> <translation>Kildekode</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Bidragsytere</translation> <translation>Bidragsytere</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Liste over bidragsytere GitHub</translation> <translation>Liste over bidragsytere GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Takk til alle som har bidratt til prosjektet.</translation> <translation>Takk til alle som har bidratt til prosjektet.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Oversettere</translation> <translation>Oversettere</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Takk til følgende dugnadsoversettere.</translation> <translation>Takk til følgende dugnadsoversettere.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation type="unfinished">%1 er bygd med følgende friprog-bibliotek:</translation> <translation type="unfinished">%1 er bygd med følgende friprog-bibliotek:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Spesiell takk til</translation> <translation>&amp;Spesiell takk til</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Tredjepartslisenser</translation> <translation>&amp;Tredjepartslisenser</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Dine rettigheter</translation> <translation>Dine rettigheter</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished">Opphavsrett © %1 %2</translation> <translation type="unfinished">Opphavsrett © %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 er MIT-lisensiert.</translation> <translation>%1 er MIT-lisensiert.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Lisensen gir den en rekke friheter:</translation> <translation>Lisensen gir den en rekke friheter:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Du kan bruke %1 som du vil</translation> <translation>Du kan bruke %1 som du vil</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Du kan dele %1</translation> <translation>Du kan dele %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Du kan se kildekoden til %1 og endre den</translation> <translation>Du kan se kildekoden til %1 og endre den</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Du kan distribuere endrede versjoner av %1</translation> <translation>Du kan distribuere endrede versjoner av %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>MIT-lisensen garanterer deg disse frihetene.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Tredjepartsbibliotek brukt av %1</translation> <translation>Tredjepartsbibliotek brukt av %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hjelp</translation> <translation>&amp;Hjelp</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Om</translation> <translation>&amp;Om</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Lisens</translation> <translation>&amp;Lisens</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Dra bilde hit</translation> <translation>Dra bilde hit</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Listen over filnettadresser er tom</translation> <translation type="vanished">Listen over filnettadresser er tom</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Filen er ikke et gyldig bilde</translation> <translation>Filen er ikke et gyldig bilde</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Ugyldig bildedata, eller for tiden ustøttet</translation> <translation>Ugyldig bildedata, eller for tiden ustøttet</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Ugyldig bildedata</translation> <translation type="vanished">Ugyldig bildedata</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Ustøttet MIME-data: %1</translation> <translation type="vanished">Ustøttet MIME-data: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Listen over filnettadresser er ugyldig</translation> <translation>Listen over filnettadresser er ugyldig</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Kopier</translation> <translation>&amp;Kopier</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation type="unfinished">Kopier p&amp;ixmap</translation> <translation type="unfinished">Kopier p&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Kopier %filsti</translation> <translation>Kopier &amp;filbane</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Egenskaper</translation> <translation>Egenskaper</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Behold øverst</translation> <translation>Behold øverst</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Beskyttet modus</translation> <translation>Beskyttet modus</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Førstørr</translation> <translation>Førstørr</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Forminsk</translation> <translation>Forminsk</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Speilvend &amp;horisontalt</translation> <translation>Speilvend &amp;horisontalt</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Lim inn</translation> <translation>&amp;Lim inn</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation type="unfinished">Skru av/ rutemønster</translation> <translation type="unfinished">Skru av/ rutemønster</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Åpne </translation> <translation>&amp;Åpne </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Faktisk størrelse</translation> <translation>Faktisk størrelse</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation type="unfinished">Veksle maksimering</translation> <translation>Maksimering av/</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Roter til høyre</translation> <translation>Roter til høyre</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Forrige bilde</translation> <translation>Forrige bilde</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Neste bilde</translation> <translation>Neste bilde</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Sett opp </translation> <translation>Sett opp </translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Hjelp</translation> <translation>Hjelp</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Vis i filutforsker</translation> <translation>Vis i filutforsker</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation type="unfinished">Vis i mappe</translation> <translation type="unfinished">Vis i mappe</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Avslutt</translation> <translation>Avslutt</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Innstillinger</translation> <translation>Innstillinger</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Ikke gjør noe</translation> <translation>Ikke gjør noe</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Lukk vinduet</translation> <translation>Lukk vinduet</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Veksle maksimering</translation> <translation>Maksimering av/</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Zoom inn og ut</translation> <translation>Zoom inn og ut</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Vis neste eller forrige element</translation> <translation>Vis neste eller forrige element</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation type="unfinished">Automatisk størrelse</translation> <translation type="unfinished">Automatisk størrelse</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Maksimert</translation> <translation>Maksimert</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Behold i forgrunnen ved oppstart</translation> <translation>Behold i forgrunnen ved oppstart</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Dobbeltklikksoppførsel</translation> <translation>Dobbeltklikksoppførsel</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Musehjulsoppførsel</translation> <translation>Musehjulsoppførsel</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Forvalgt vindusstørrelse</translation> <translation>Forvalgt vindusstørrelse</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Filliste.</translation> <translation>Filliste.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="nl"> <TS version="2.1" language="nl_NL">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Voorkomt per ongeluk sluiten (bijv. door te dubbelklikken op het venster).</translation> <translation>Voorkomt per ongeluk sluiten (bijv. door te dubbelklikken op het venster).</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Versie: %1</translation> <translation>Versie: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Copyright (c) 2020 %1</translation> <translation type="vanished">Copyright (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo gemaakt door %1</translation> <translation>Logo gemaakt door %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Gebouwd met Qt %1 (%2)</translation> <translation>Gebouwd met Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Broncode</translation> <translation>Broncode</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Bijdragers</translation> <translation>Bijdragers</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Lijst met bijdragers op GitHub</translation> <translation>Lijst met bijdragers op GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Met dank aan alle personen die hebben bijgedragen aan dit project.</translation> <translation>Met dank aan alle personen die hebben bijgedragen aan dit project.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Vertalers</translation> <translation>Vertalers</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Ik wil graag de volgende mensen bedanken die vrijwillig hebben bijgedragen aan vertalingen.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 is gebouwd met de volgende vrijesoftwarebibliotheken:</translation> <translation>%1 is gebouwd met de volgende vrijesoftwarebibliotheken:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Met dank aan</translation> <translation>&amp;Met dank aan</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>Ex&amp;terne bibliotheken</translation> <translation>Ex&amp;terne bibliotheken</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Uw rechten</translation> <translation>Uw rechten</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 is uitgebracht onder de MIT-licentie.</translation> <translation>%1 is uitgebracht onder de MIT-licentie.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Deze licentie biedt een hoop vrijheden:</translation> <translation>Deze licentie biedt een hoop vrijheden:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>U mag %1 gratis gebruiken, voor welk doeleinde dan ook</translation> <translation>U mag %1 gratis gebruiken, voor welk doeleinde dan ook</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>U mag %1 vrij verspreiden</translation> <translation>U mag %1 vrij verspreiden</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>U kunt bekijken hoe %1 werkt en aanpassingen doen</translation> <translation>U kunt bekijken hoe %1 werkt en aanpassingen doen</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>U mag aangepaste versie van %1 vrij verspreiden</translation> <translation>U mag aangepaste versie van %1 vrij verspreiden</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>De MIT-licentie garandeert u deze vrijheid, en niemand mag deze vrijheid wegnemen.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Door %1 gebruikte externe bibliotheken</translation> <translation>Door %1 gebruikte externe bibliotheken</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hulp</translation> <translation>&amp;Hulp</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Over</translation> <translation>&amp;Over</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Licentie</translation> <translation>&amp;Licentie</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Sleep een afbeelding hierheen</translation> <translation>Sleep een afbeelding hierheen</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>De bestandspadlijst is leeg</translation> <translation type="vanished">De bestandspadlijst is leeg</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Het bestand is geen afbeelding</translation> <translation>Het bestand is geen afbeelding</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>De afbeeldingsgegevens zijn beschadigd of worden niet ondersteund</translation> <translation>De afbeeldingsgegevens zijn beschadigd of worden niet ondersteund</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Beschadigde afbeeldingsgegevens</translation> <translation type="vanished">Beschadigde afbeeldingsgegevens</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Niet-ondersteunde mime-gegevens: %1</translation> <translation type="vanished">Niet-ondersteunde mime-gegevens: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>De bestandspadlijst is leeg</translation> <translation>De bestandspadlijst is leeg</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Kopiëren</translation> <translation>&amp;Kopiëren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap kopiëren</translation> <translation>P&amp;ixmap kopiëren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>&amp;Bestandspad kopiëren</translation> <translation>&amp;Bestandspad kopiëren</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Eigenschappen</translation> <translation>Eigenschappen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Altijd bovenop</translation> <translation>Altijd bovenop</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Beschermde modus</translation> <translation>Beschermde modus</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Inzoomen</translation> <translation>Inzoomen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Uitzoomen</translation> <translation>Uitzoomen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>&amp;Horizontaal spiegelen</translation> <translation>&amp;Horizontaal spiegelen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Plakken</translation> <translation>&amp;Plakken</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Schaakbordpatroon aan/uit</translation> <translation>Schaakbordpatroon aan/uit</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Openen</translation> <translation>&amp;Openen</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Ware grootte</translation> <translation>Ware grootte</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximaliseren aan/uit</translation> <translation>Maximaliseren aan/uit</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Naar rechts draaien</translation> <translation>Naar rechts draaien</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Vorige afbeelding</translation> <translation>Vorige afbeelding</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Volgende afbeelding</translation> <translation>Volgende afbeelding</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Instellen...</translation> <translation>Instellen...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Hulp</translation> <translation>Hulp</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Tonen in bestandsbeheer</translation> <translation>Tonen in bestandsbeheer</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Tonen in map</translation> <translation>Tonen in map</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Afsluiten</translation> <translation>Afsluiten</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Instellingen</translation> <translation>Instellingen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Niets doen</translation> <translation>Niets doen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Venster sluiten</translation> <translation>Venster sluiten</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Maximaliseren/Demaximaliseren</translation> <translation>Maximaliseren/Demaximaliseren</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>In-/Uitzoomen</translation> <translation>In-/Uitzoomen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Ga naar volgende of vorige item</translation> <translation>Ga naar volgende of vorige item</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Automatische grootte</translation> <translation>Automatische grootte</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Gemaximaliseerd</translation> <translation>Gemaximaliseerd</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Rond (geheel getal)</translation> <translation>Rond (geheel getal)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Keil (geheel getal)</translation> <translation>Keil (geheel getal)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Grond (geheel getal)</translation> <translation>Grond (geheel getal)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Systeeminstelling (fractionele schaal)</translation> <translation>Systeeminstelling (fractionele schaal)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Automatisch altijd bovenop</translation> <translation>Automatisch altijd bovenop</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Dubbelklikgedrag</translation> <translation>Dubbelklikgedrag</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Scrollwielgedrag</translation> <translation>Scrollwielgedrag</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Standaard vensterafmetingen</translation> <translation>Standaard vensterafmetingen</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>HiDPI-schaalfactor - afrondbeleid</translation> <translation>HiDPI-schaalfactor - afrondbeleid</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Afbeeldingen</translation> <translation>Pineapple Afbeeldingen</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Bestandslijst.</translation> <translation>Bestandslijst.</translation>
</message> </message>

View File

@ -39,129 +39,134 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>سروت دا کوڈ</translation> <translation>سروت دا کوڈ</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>ترجمے والے</translation> <translation>ترجمے والے</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>شکریئے</translation> <translation>شکریئے</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>تیجی پارٹی سوفٹویر</translation> <translation>تیجی پارٹی سوفٹویر</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>مدد</translation> <translation>مدد</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>بارے</translation> <translation>بارے</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>لائیسنس</translation> <translation>لائیسنس</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -177,149 +183,198 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File url list is empty</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="49"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>کاپی کرو</translation> <translation>کاپی کرو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>تصویر دا نقشہ کاپی کرو</translation> <translation>تصویر دا نقشہ کاپی کرو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>وشیشتاواں</translation> <translation>وشیشتاواں</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>سرکھیات سیٹنگ</translation> <translation>سرکھیات سیٹنگ</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>وڈا کرو</translation> <translation>وڈا کرو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>چھوٹا کرو</translation> <translation>چھوٹا کرو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>لیٹویں اُلٹاؤ</translation> <translation>لیٹویں اُلٹاؤ</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>پیسٹ کرو</translation> <translation>پیسٹ کرو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>چیکبورڈ چالو بدلو</translation> <translation>چیکبورڈ چالو بدلو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>کھُلھو</translation> <translation>کھُلھو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>اصلی اکار</translation> <translation>اصلی اکار</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>ودھو ودھ بدلو</translation> <translation>ودھو ودھ بدلو</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>سجے گھنماؤ</translation> <translation>سجے گھنماؤ</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>پچھلی تصویر</translation> <translation>پچھلی تصویر</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>اگلی تصویر</translation> <translation>اگلی تصویر</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>مدد</translation> <translation>مدد</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>بند کرو</translation> <translation>بند کرو</translation>
</message> </message>
@ -650,104 +705,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>سیٹنگاں</translation> <translation>سیٹنگاں</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation type="unfinished">ودھو ودھ بدلو</translation> <translation type="unfinished">ودھو ودھ بدلو</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>ودھ توں ودھ</translation> <translation>ودھ توں ودھ</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="ru"> <TS version="2.1" language="ru_RU">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Избегать случайного закрытия окна. (например, двойным щелчком по окну)</translation> <translation>Избегать случайного закрытия окна. (например, двойным щелчком по окну)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Версия: %1</translation> <translation>Версия: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Авторское право (c) 2020 %1</translation> <translation type="vanished">Авторское право (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Логотип разработан %1</translation> <translation>Логотип разработан %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Создано с использованием Qt %1 (%2)</translation> <translation>Создано с использованием Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Исходный код</translation> <translation>Исходный код</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Участники</translation> <translation>Участники</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Список участников на GitHub</translation> <translation>Список участников на GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Спасибо всем, кто внес свой вклад в этот проект.</translation> <translation>Спасибо всем, кто внес свой вклад в этот проект.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Переводчики</translation> <translation>Переводчики</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Я бы хотел поблагодарить следующих людей, которые приняли участие в переводе этого приложения.</translation> <translation>Я бы хотел поблагодарить следующих людей, которые приняли участие в переводе этого приложения.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 создан на следующих бесплатных библиотеках программного обеспечения:</translation> <translation>%1 создан на следующих бесплатных библиотеках программного обеспечения:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Особая благодарность</translation> <translation>&amp;Особая благодарность</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Сторонние библиотеки</translation> <translation>&amp;Сторонние библиотеки</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Ваши Права</translation> <translation>Ваши Права</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Copyright (c) %1 %2</translation> <translation>Copyright (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 выпущен под лицензией MIT.</translation> <translation>%1 выпущен под лицензией MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Эта лицензия дает людям ряд свобод:</translation> <translation>Эта лицензия дает людям ряд свобод:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Вы можете свободно использовать %1 для любых целей</translation> <translation>Вы можете свободно использовать %1 для любых целей</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Вы можете свободно распространять %1</translation> <translation>Вы можете свободно распространять %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Вы можете изучать, как работает %1, и изменять его</translation> <translation>Вы можете изучать, как работает %1, и изменять его</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Вы можете распространять измененные версии %1</translation> <translation>Вы можете распространять измененные версии %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Лицензия MIT гарантирует вам эту свободу. Никому и никогда не разрешается забирать ее.</translation> <translation>Лицензия MIT гарантирует вам эту свободу. Никому и никогда не разрешается забирать ее.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Сторонние библиотеки, используемые %1</translation> <translation>Сторонние библиотеки, используемые %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Помощь</translation> <translation>&amp;Помощь</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;О программе</translation> <translation>&amp;О программе</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Лицензия</translation> <translation>&amp;Лицензия</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Перетащите изображение сюда</translation> <translation>Перетащите изображение сюда</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Список URL-адресов файлов пуст</translation> <translation type="vanished">Список URL-адресов файлов пуст</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Файл не является допустимым изображением</translation> <translation>Файл не является допустимым изображением</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Параметры изображения недействительны или не поддерживаются в настоящее время</translation> <translation>Параметры изображения недействительны или не поддерживаются в настоящее время</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Параметры изображения недействительны</translation> <translation type="vanished">Параметры изображения недействительны</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Неподдерживаемые mimedata: %1</translation> <translation type="vanished">Неподдерживаемые mimedata: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Список URL-адресов файлов пуст</translation> <translation>Список URL-адресов файлов пуст</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Скопировать</translation> <translation>&amp;Скопировать</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Скопировать P&amp;ixmap</translation> <translation>Скопировать P&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Скопировать &amp;путь к файлу</translation> <translation>Скопировать &amp;путь к файлу</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Свойства</translation> <translation>Свойства</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Поверх всех окон</translation> <translation>Поверх всех окон</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Защищенный режим</translation> <translation>Защищенный режим</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Увеличить</translation> <translation>Увеличить</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Уменьшить</translation> <translation>Уменьшить</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>Отразить по &amp;горизонтали</translation> <translation>Отразить по &amp;горизонтали</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Вставить</translation> <translation>&amp;Вставить</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Переключить фоновый рисунок</translation> <translation>Переключить фоновый рисунок</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Открыть...</translation> <translation>&amp;Открыть...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Фактический размер</translation> <translation>Фактический размер</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Переключить окно</translation> <translation>Переключить окно</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Повернуть вправо</translation> <translation>Повернуть вправо</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Предыдущее изображение</translation> <translation>Предыдущее изображение</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Следующее изображение</translation> <translation>Следующее изображение</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Параметры...</translation> <translation>Параметры...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Помощь</translation> <translation>Помощь</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Показать в проводнике</translation> <translation>Показать в проводнике</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Показать в папке</translation> <translation>Показать в папке</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Выход</translation> <translation>Выход</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Параметры</translation> <translation>Параметры</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Ничего не делать</translation> <translation>Ничего не делать</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Закрыть окно</translation> <translation>Закрыть окно</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Переключить окно</translation> <translation>Переключить окно</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Увеличение и уменьшение масштаба</translation> <translation>Увеличение и уменьшение масштаба</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Следующее или предыдущее изображение</translation> <translation>Следующее или предыдущее изображение</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Авторазмер</translation> <translation>Авторазмер</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Максимизировать</translation> <translation>Максимизировать</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Round (целочисленное масштабирование)</translation> <translation>Round (целочисленное масштабирование)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Ceil (целочисленное масштабирование)</translation> <translation>Ceil (целочисленное масштабирование)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Floor (целочисленное масштабирование)</translation> <translation>Floor (целочисленное масштабирование)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Следовать системе (дробное масштабирование)</translation> <translation>Следовать системе (дробное масштабирование)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Поверх всех окон при запуске</translation> <translation>Поверх всех окон при запуске</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Действие при двойном щелчке</translation> <translation>Действие при двойном щелчке</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Действие колеса мыши</translation> <translation>Действие колеса мыши</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Размер окна по умолчанию</translation> <translation>Размер окна по умолчанию</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>Политика округления коэффициента масштабирования HiDPI</translation> <translation>Политика округления коэффициента масштабирования HiDPI</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Список файлов.</translation> <translation>Список файлов.</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="si"> <TS version="2.1" language="si_LK">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>: %1</translation> <translation>: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished"> () 2020 %1</translation> <translation type="vanished"> () 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;</translation> <translation>&amp;</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -181,149 +187,206 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation type="unfinished"> ... (url) </translation> <translation type="obsolete"> ... (url) </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation> </translation> <translation type="vanished"> </translation>
</message>
<message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source>
<translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation> ... (url) </translation> <translation> ... (url) </translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;</translation> <translation>&amp;</translation>
</message> </message>
<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"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <location filename="../actionmanager.cpp" line="108"/>
<source>Flip &amp;Horizontally</source> <source>Pause/Resume Animation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="103"/>
<source>Copy P&amp;ixmap</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="104"/>
<source>Copy &amp;File Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>&amp;Paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="94"/>
<source>Toggle Checkerboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="88"/>
<source>&amp;Open...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="90"/>
<source>Actual size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="91"/>
<source>Toggle maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>Rotate right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="97"/>
<source>Previous image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Next image</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <location filename="../actionmanager.cpp" line="109"/>
<source>Configure...</source> <source>Animation Go to Next Frame</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="111"/>
<source>Help</source> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <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> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -654,104 +717,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation> </translation> <translation> </translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation> .</translation> <translation> .</translation>
</message> </message>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="tr"> <TS version="2.1" language="tr_TR">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
@ -39,7 +39,7 @@
<translation>Pencereyi yanlışlıkla kapatmaktan kaçın. (örn. pencereye çift tıklayarak)</translation> <translation>Pencereyi yanlışlıkla kapatmaktan kaçın. (örn. pencereye çift tıklayarak)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>Sürüm: %1</translation> <translation>Sürüm: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished">Telif hakkı (c) 2020 %1</translation> <translation type="vanished">Telif hakkı (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo tasarımcısı: %1</translation> <translation>Logo tasarımcısı: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Qt %1 (%2) ile inşa edilmiştir</translation> <translation>Qt %1 (%2) ile inşa edilmiştir</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Kaynak kodu</translation> <translation>Kaynak kodu</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Katkıda bulunanlar</translation> <translation>Katkıda bulunanlar</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Github üzerindeki katkı sağlayıcıların listesi</translation> <translation>Github üzerindeki katkı sağlayıcıların listesi</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Bu projeye katkı sağlayan herkese teşekkürler.</translation> <translation>Bu projeye katkı sağlayan herkese teşekkürler.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Çevirmenler</translation> <translation>Çevirmenler</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <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> <translation>Bu uygulamayı çevirmeye gönüllü olan aşağıdaki kişilere teşekkür etmek istiyorum.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 aşağıdaki özgür yazılım kitaplıkları üzerinde inşa edilmiştir:</translation> <translation>%1 aşağıdaki özgür yazılım kitaplıkları üzerinde inşa edilmiştir:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>Özel %Teşekkürler</translation> <translation>Özel %Teşekkürler</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>Üçüncü Par&amp;ti Kitaplıklar</translation> <translation>Üçüncü Par&amp;ti Kitaplıklar</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Haklarınız</translation> <translation>Haklarınız</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Telif Hakkı (c) %1 %2</translation> <translation>Telif Hakkı (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1, MIT Lisansı altında sunulmuştur.</translation> <translation>%1, MIT Lisansı altında sunulmuştur.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Bu lisans birkaç özgürlüğü kişilere veriyor:</translation> <translation>Bu lisans birkaç özgürlüğü kişilere veriyor:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <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> <translation>%1&apos;i herhangi bir amaç için kullanmakta özgürsünüz</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>%1&apos;i dağıtmakta özgürsünüz</translation> <translation>%1&apos;i dağıtmakta özgürsünüz</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <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> <translation>%1&apos;in nasıl çalıştığıyla ilgili çalışabilir ve onu değiştirebilirsiniz</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>%1&apos;in değiştirilmiş sürümünü dağıtabilirsiniz</translation> <translation>%1&apos;in değiştirilmiş sürümünü dağıtabilirsiniz</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <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> <translation>MIT lisansı özgürlüğünüzü garanti eder. Hiç kimsenin özgürlüğünüzü sizden almasına bile izin verilmez.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>%1 tarafından kullanılan Üçüncü Parti Kitaplıklar</translation> <translation>%1 tarafından kullanılan Üçüncü Parti Kitaplıklar</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Yardım</translation> <translation>&amp;Yardım</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>H&amp;akkında</translation> <translation>H&amp;akkında</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Lisans</translation> <translation>&amp;Lisans</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Resmi buraya sürükleyin</translation> <translation>Resmi buraya sürükleyin</translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Dosya URL listesi boş</translation> <translation type="vanished">Dosya URL listesi boş</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Dosya, geçerli bir resim değil</translation> <translation>Dosya, geçerli bir resim değil</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Resim verisi geçersiz veya şuan desteklenmiyor</translation> <translation>Resim verisi geçersiz veya şuan desteklenmiyor</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Resim verisi geçersiz</translation> <translation type="vanished">Resim verisi geçersiz</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Desteklenmeyen dosya türü verisi: %1</translation> <translation type="vanished">Desteklenmeyen dosya türü verisi: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Dosya URL listesi boş</translation> <translation>Dosya URL listesi boş</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Kopyala</translation> <translation>&amp;Kopyala</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>P&amp;ixmap&apos;i Kopyala</translation> <translation>P&amp;ixmap&apos;i Kopyala</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>&amp;Dosya Yolunu Kopyala</translation> <translation>&amp;Dosya Yolunu Kopyala</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Özellikler</translation> <translation>Özellikler</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Üstte tut</translation> <translation>Üstte tut</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Korumalı kip</translation> <translation>Korumalı kip</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Yaklaştır</translation> <translation>Yaklaştır</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Uzaklaştır</translation> <translation>Uzaklaştır</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>&amp;Yatay Çevir</translation> <translation>&amp;Yatay Çevir</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>Ya&amp;pıştır</translation> <translation>Ya&amp;pıştır</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Damalı Ekrana Geç</translation> <translation>Damalı Ekrana Geç</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;...</translation> <translation>&amp;...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Gerçek boyut</translation> <translation>Gerçek boyut</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Tam boyuta geç</translation> <translation>Tam boyuta geç</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Sağa döndür</translation> <translation>Sağa döndür</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Önceki resim</translation> <translation>Önceki resim</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Sonraki resim</translation> <translation>Sonraki resim</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Yapılandır...</translation> <translation>Yapılandır...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Yardım</translation> <translation>Yardım</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Dosya Gezgini&apos;nde Göster</translation> <translation>Dosya Gezgini&apos;nde Göster</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Dizinde göster</translation> <translation>Dizinde göster</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Çıkış</translation> <translation>Çıkış</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Ayarlar</translation> <translation>Ayarlar</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Hiçbir şey yapma</translation> <translation>Hiçbir şey yapma</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Pencereyi kapat</translation> <translation>Pencereyi kapat</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Tam boyuta geç</translation> <translation>Tam boyuta geç</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Yaklaştır ve uzaklaştır</translation> <translation>Yaklaştır ve uzaklaştır</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Sonraki veya önceki ögeyi görüntüle</translation> <translation>Sonraki veya önceki ögeyi görüntüle</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Otomatik boyut</translation> <translation>Otomatik boyut</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Tam boyut</translation> <translation>Tam boyut</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Yuvarlak (Tamsayı ölçekleme)</translation> <translation>Yuvarlak (Tamsayı ölçekleme)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Tavan (Tamsayı ölçekleme)</translation> <translation>Tavan (Tamsayı ölçekleme)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Kat (Tamsayı ölçekleme)</translation> <translation>Kat (Tamsayı ölçekleme)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Sistemi takip et (Kesirli ölçekleme)</translation> <translation>Sistemi takip et (Kesirli ölçekleme)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>ılışta pencerelerin üstünde kal</translation> <translation>ılışta pencerelerin üstünde kal</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Çift tıklama davranışı</translation> <translation>Çift tıklama davranışı</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Fare tekeri davranışı</translation> <translation>Fare tekeri davranışı</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Öntanımlı pencere boyutu</translation> <translation>Öntanımlı pencere boyutu</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>HiDPI ölçek katsayısı yuvarlama ilkesi</translation> <translation>HiDPI ölçek katsayısı yuvarlama ilkesi</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Ananas Resimler</translation> <translation>Ananas Resimler</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Dosya list.</translation> <translation>Dosya list.</translation>
</message> </message>

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="uk"> <TS version="2.1" language="uk_UA">
<context> <context>
<name>AboutDialog</name> <name>AboutDialog</name>
<message> <message>
<location filename="../aboutdialog.cpp" line="27"/> <location filename="../aboutdialog.cpp" line="27"/>
<source>About</source> <source>About</source>
<translation>Про застосунок</translation> <translation>Про додаток</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="30"/> <location filename="../aboutdialog.cpp" line="30"/>
<source>Launch application with image file path as argument to load the file.</source> <source>Launch application with image file path as argument to load the file.</source>
<translation>Запустіть застосунок, вказавши шлях до файлу зображення як аргумент для завантаження файлу.</translation> <translation>Запустіть додаток, вказавши шлях до файлу зображення у якості аргументу для завантаження файлу.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="31"/> <location filename="../aboutdialog.cpp" line="31"/>
@ -21,7 +21,7 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="32"/> <location filename="../aboutdialog.cpp" line="32"/>
<source>None of the operations in this application will alter the pictures on disk.</source> <source>None of the operations in this application will alter the pictures on disk.</source>
<translation>Жодна з операцій у цьому застосунку не змінить зображення на диску.</translation> <translation>Жодна з операцій у цьому додатку не змінить зображення на диску.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="33"/> <location filename="../aboutdialog.cpp" line="33"/>
@ -31,137 +31,142 @@
<message> <message>
<location filename="../aboutdialog.cpp" line="40"/> <location filename="../aboutdialog.cpp" line="40"/>
<source>Make window stay on top of all other windows.</source> <source>Make window stay on top of all other windows.</source>
<translation>Зробіть так, щоб вікно залишалося поверх усіх інших вікон.</translation> <translation>Зробити так, щоб вікно залишалося поверх усіх інших вікон.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="43"/> <location filename="../aboutdialog.cpp" line="43"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source> <source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Уникайте випадкового закриття вікна. (наприклад, подвійним клацанням вікна)</translation> <translation>Уникати випадкового закривання вікна. (Наприклад, подвійним клацанням по вікну.)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <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> <source>Version: %1</source>
<translation>Версія: %1</translation> <translation>Версія: %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Логотип розроблено %1</translation> <translation>Логотип розроблено %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>Побудований за допомогою Qt %1 (%2)</translation> <translation>Побудований за допомогою Qt %1 (%2)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation>Вихідний код</translation> <translation>Джерельний код</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation>Учасники</translation> <translation>Учасники</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>Список учасників на GitHub</translation> <translation>Список учасників на GitHub</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation>Дякуємо всім, хто долучився до цього проєкту.</translation> <translation>Дякуємо всім, хто долучився до цього проєкту.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation>Перекладачі</translation> <translation>Перекладачі</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation>Я хотів би подякувати наступним людям, які зголосилися перекласти цей застосунок.</translation> <translation>Я хотів би подякувати наступним людям, які прийняли участь у перекладі цього додатку.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 побудовано на основі наступних бібліотек вільного програмного забезпечення:</translation> <translation>%1 побудовано на наступних вільних бібліотеках:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>&amp;Особлива подяка</translation> <translation>&amp;Особлива подяка</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>&amp;Сторонні бібліотеки</translation> <translation>&amp;Сторонні бібліотеки</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation>Ваші права</translation> <translation>Ваші права</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <location filename="../aboutdialog.cpp" line="61"/>
<source>Copyright (c) %1 %2</source> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation>Авторське право (c) %1 %2</translation> <translation>Авторське право (c) %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 випускається за ліцензією MIT.</translation> <translation>%1 випускається за ліцензією MIT.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation>Ця ліцензія надає людям низку свобод:</translation> <translation>Ця ліцензія надає людям низку свобод:</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>Ви можете вільно використовувати %1 для будь-яких цілей</translation> <translation>Ви можете вільно використовувати %1 для будь-яких цілей</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation>Ви можете вільно розповсюджувати %1</translation> <translation>Ви можете вільно розповсюджувати %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation>Ви можете вивчити, як працює %1, і змінити його</translation> <translation>Ви можете вивчити, як працює %1, і змінити його</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation>Ви можете розповсюджувати змінені версії %1</translation> <translation>Ви можете розповсюджувати змінені версії %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation>Ліцензія MIT гарантує вам цю свободу. Ніхто не має права її відбирати.</translation> <translation>Ліцензія MIT гарантує вам цю свободу. Ніхто не має права її відбирати.</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>Сторонні бібліотеки, що використовуються %1</translation> <translation>Сторонні бібліотеки, що використовуються %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Допомога</translation> <translation>&amp;Допомога</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Про застосунок</translation> <translation>&amp;Про додаток</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>&amp;Ліцензія</translation> <translation>&amp;Ліцензія</translation>
</message> </message>
@ -169,7 +174,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation>Перетягніть зображення сюди</translation> <translation>Перетягніть зображення сюди</translation>
</message> </message>
@ -177,149 +183,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Список url файлів порожній</translation> <translation type="vanished">Список URL-адрес файлів порожній</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation>Файл не є дійсним зображенням</translation> <translation>Файл не є дійсним зображенням</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation>Дані зображення недійсні або наразі не підтримуються</translation> <translation>Дані зображення недійсні або наразі не підтримуються</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation>Дані зображення недійсні</translation> <translation type="vanished">Дані зображення недійсні</translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation>Не підтримується mimedata: %1</translation> <translation type="vanished">Не підтримується mimedata: %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation>Список url файлів порожній</translation> <translation>Список URL-адрес файлів порожній</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>&amp;Копіювати</translation> <translation>&amp;Скопіювати</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>Скопіювати P&amp;ixmap</translation> <translation>Скопіювати P&amp;ixmap</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>Копіювати &amp;Шлях до файлу</translation> <translation>Скопіювати &amp;шлях до файлу</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation>Властивості</translation> <translation>Властивості</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation>Поверх всіх вікон</translation> <translation>Поверх всіх вікон</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation>Захищений режим</translation> <translation>Захищений режим</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation>Збільшити</translation> <translation>Збільшити</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation>Зменшити</translation> <translation>Зменшити</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <location filename="../actionmanager.cpp" line="108"/>
<source>Flip &amp;Horizontally</source> <source>Pause/Resume Animation</source>
<translation>Перевернути &amp;Горизонтально</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>&amp;Вставити</translation> <translation>&amp;Вставити</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation>Перемкнути шахову дошку</translation> <translation>Перемкнути шахову дошку</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>&amp;Відкрити...</translation> <translation>&amp;Відкрити...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation>Фактичний розмір</translation> <translation>Фактичний розмір</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Перемкнути на максимум</translation> <translation>Перемкнути на максимум</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation>Повернути праворуч</translation> <translation>Перегорнути праворуч</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <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> <source>Previous image</source>
<translation>Попереднє зображення</translation> <translation>Попереднє зображення</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation>Наступне зображення</translation> <translation>Наступне зображення</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>Налаштувати...</translation> <translation>Налаштувати...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation>Допомога</translation> <translation>Допомога</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation>Показати у Файловому провіднику</translation> <translation>Показати у файловому провіднику</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation>Показати в каталозі</translation> <translation>Показати у теці</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>Вийти</translation> <translation>Вийти</translation>
</message> </message>
@ -361,7 +428,7 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="33"/> <location filename="../metadatamodel.cpp" line="33"/>
<source>%1 File</source> <source>%1 File</source>
<translation>%1 Файл</translation> <translation>%1 файл</translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="40"/> <location filename="../metadatamodel.cpp" line="40"/>
@ -409,7 +476,7 @@
<message> <message>
<location filename="../metadatamodel.cpp" line="64"/> <location filename="../metadatamodel.cpp" line="64"/>
<source>Folder path</source> <source>Folder path</source>
<translation>Шлях до папки</translation> <translation>Шлях до теки</translation>
</message> </message>
<message> <message>
<location filename="../metadatamodel.cpp" line="66"/> <location filename="../metadatamodel.cpp" line="66"/>
@ -650,104 +717,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation>Налаштування</translation> <translation>Налаштування</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation>Нічого не робити</translation> <translation>Нічого не робити</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation>Закрити вікно</translation> <translation>Закрити вікно</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation>Перемкнути на максимум</translation> <translation>Перемкнути на максимум</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation>Збільшення та зменшення</translation> <translation>Збільшення та зменшення</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation>Переглянути наступний або попередній елемент</translation> <translation>Переглянути наступний або попередній елемент</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation>Автоматичний розмір</translation> <translation>Автоматичний розмір</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation>Максимізувати</translation> <translation>Максимізувати</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation>Round (цілочисельне масштабування)</translation> <translation>Round (цілочисельне масштабування)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation>Ceil (цілочисельне масштабування)</translation> <translation>Ceil (цілочисельне масштабування)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation>Floor (цілочисельне масштабування)</translation> <translation>Floor (цілочисельне масштабування)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation>Стежити за системою (дробове масштабування)</translation> <translation>Стежити за системою (дробове масштабування)</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation>Поверх всіх вікон під час запуску</translation> <translation>Поверх всіх вікон під час запуску</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation>Поведінка при подвійному кліку</translation> <translation>Поведінка при подвійному кліку</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation>Поведінка колеса миші</translation> <translation>Поведінка колеса миші</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation>Розмір вікна за замовчуванням</translation> <translation>Розмір вікна за замовчуванням</translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>Політика округлення коефіцієнта HiDPI</translation> <translation>Політика округлення коефіцієнта HiDPI</translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation>Pineapple Pictures</translation> <translation>Pineapple Pictures</translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation>Список файлів.</translation> <translation>Список файлів.</translation>
</message> </message>

View File

@ -39,7 +39,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="51"/> <location filename="../aboutdialog.cpp" line="53"/>
<source>Version: %1</source> <source>Version: %1</source>
<translation>: %1</translation> <translation>: %1</translation>
</message> </message>
@ -48,124 +48,129 @@
<translation type="vanished"> (c) 2020 %1</translation> <translation type="vanished"> (c) 2020 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="57"/> <location filename="../aboutdialog.cpp" line="64"/>
<source>Logo designed by %1</source> <source>Logo designed by %1</source>
<translation>Logo %1 </translation> <translation>Logo %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="59"/> <location filename="../aboutdialog.cpp" line="66"/>
<source>Built with Qt %1 (%2)</source> <source>Built with Qt %1 (%2)</source>
<translation>使 Qt %1 (%2) </translation> <translation>使 Qt %1 (%2) </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="60"/> <location filename="../aboutdialog.cpp" line="67"/>
<source>Source code</source> <source>Source code</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="70"/> <location filename="../aboutdialog.cpp" line="77"/>
<source>Contributors</source> <source>Contributors</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="72"/> <location filename="../aboutdialog.cpp" line="79"/>
<source>List of contributors on GitHub</source> <source>List of contributors on GitHub</source>
<translation>GitHub </translation> <translation>GitHub </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="73"/> <location filename="../aboutdialog.cpp" line="80"/>
<source>Thanks to all people who contributed to this project.</source> <source>Thanks to all people who contributed to this project.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="77"/> <location filename="../aboutdialog.cpp" line="84"/>
<source>Translators</source> <source>Translators</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="78"/> <location filename="../aboutdialog.cpp" line="85"/>
<source>I would like to thank the following people who volunteered to translate this application.</source> <source>I would like to thank the following people who volunteered to translate this application.</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="122"/> <location filename="../aboutdialog.cpp" line="129"/>
<source>%1 is built on the following free software libraries:</source> <source>%1 is built on the following free software libraries:</source>
<comment>Free as in freedom</comment> <comment>Free as in freedom</comment>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="146"/> <location filename="../aboutdialog.cpp" line="153"/>
<source>&amp;Special Thanks</source> <source>&amp;Special Thanks</source>
<translation>(&amp;S)</translation> <translation>(&amp;S)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="148"/> <location filename="../aboutdialog.cpp" line="155"/>
<source>&amp;Third-party Libraries</source> <source>&amp;Third-party Libraries</source>
<translation>(&amp;T)</translation> <translation>(&amp;T)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="84"/> <location filename="../aboutdialog.cpp" line="91"/>
<source>Your Rights</source> <source>Your Rights</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="54"/> <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> <source>Copyright (c) %1 %2</source>
<comment>%1 is year, %2 is the name of copyright holder(s)</comment> <comment>%1 is year, %2 is the name of copyright holder(s)</comment>
<translation> © %1 %2</translation> <translation> © %1 %2</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="86"/> <location filename="../aboutdialog.cpp" line="93"/>
<source>%1 is released under the MIT License.</source> <source>%1 is released under the MIT License.</source>
<translation>%1 MIT </translation> <translation>%1 MIT </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="87"/> <location filename="../aboutdialog.cpp" line="94"/>
<source>This license grants people a number of freedoms:</source> <source>This license grants people a number of freedoms:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="88"/> <location filename="../aboutdialog.cpp" line="95"/>
<source>You are free to use %1, for any purpose</source> <source>You are free to use %1, for any purpose</source>
<translation>使 %1</translation> <translation>使 %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="89"/> <location filename="../aboutdialog.cpp" line="96"/>
<source>You are free to distribute %1</source> <source>You are free to distribute %1</source>
<translation> %1</translation> <translation> %1</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="90"/> <location filename="../aboutdialog.cpp" line="97"/>
<source>You can study how %1 works and change it</source> <source>You can study how %1 works and change it</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="91"/> <location filename="../aboutdialog.cpp" line="98"/>
<source>You can distribute changed versions of %1</source> <source>You can distribute changed versions of %1</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="93"/> <location filename="../aboutdialog.cpp" line="100"/>
<source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source> <source>The MIT license guarantees you this freedom. Nobody is ever permitted to take it away.</source>
<translation> MIT </translation> <translation> MIT </translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="121"/> <location filename="../aboutdialog.cpp" line="128"/>
<source>Third-party Libraries used by %1</source> <source>Third-party Libraries used by %1</source>
<translation>%1 使</translation> <translation>%1 使</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="144"/> <location filename="../aboutdialog.cpp" line="151"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>(&amp;H)</translation> <translation>(&amp;H)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="145"/> <location filename="../aboutdialog.cpp" line="152"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>(&amp;A)</translation> <translation>(&amp;A)</translation>
</message> </message>
<message> <message>
<location filename="../aboutdialog.cpp" line="147"/> <location filename="../aboutdialog.cpp" line="154"/>
<source>&amp;License</source> <source>&amp;License</source>
<translation>(&amp;L)</translation> <translation>(&amp;L)</translation>
</message> </message>
@ -173,7 +178,8 @@
<context> <context>
<name>GraphicsScene</name> <name>GraphicsScene</name>
<message> <message>
<location filename="../graphicsscene.cpp" line="89"/> <location filename="../mainwindow.cpp" line="265"/>
<location filename="../graphicsscene.cpp" line="100"/>
<source>Drag image here</source> <source>Drag image here</source>
<translation></translation> <translation></translation>
</message> </message>
@ -181,149 +187,210 @@
<context> <context>
<name>GraphicsView</name> <name>GraphicsView</name>
<message> <message>
<location filename="../graphicsview.cpp" line="348"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation> URL </translation> <translation type="vanished"> URL </translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="49"/> <location filename="../graphicsview.cpp" line="52"/>
<source>File is not a valid image</source> <source>File is not a valid image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="54"/> <location filename="../graphicsview.cpp" line="56"/>
<location filename="../graphicsview.cpp" line="59"/> <location filename="../graphicsview.cpp" line="60"/>
<source>Image data is invalid or currently unsupported</source> <source>Image data is invalid or currently unsupported</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="356"/>
<source>Image data is invalid</source> <source>Image data is invalid</source>
<translation></translation> <translation type="vanished"></translation>
</message> </message>
<message> <message>
<location filename="../graphicsview.cpp" line="363"/>
<source>Not supported mimedata: %1</source> <source>Not supported mimedata: %1</source>
<translation> MimeData %1</translation> <translation type="vanished"> MimeData %1</translation>
</message> </message>
</context> </context>
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="190"/> <location filename="../mainwindow.cpp" line="176"/>
<location filename="../mainwindow.cpp" line="532"/>
<source>File url list is empty</source> <source>File url list is empty</source>
<translation> URL </translation> <translation> URL </translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="433"/> <location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Copy</source> <source>&amp;Copy</source>
<translation>(&amp;C)</translation> <translation>(&amp;C)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="103"/> <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> <source>Copy P&amp;ixmap</source>
<translation>(&amp;I)</translation> <translation>(&amp;I)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="104"/> <location filename="../actionmanager.cpp" line="115"/>
<source>Copy &amp;File Path</source> <source>Copy &amp;File Path</source>
<translation>(&amp;F)</translation> <translation>(&amp;F)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="121"/> <location filename="../actionmanager.cpp" line="133"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="118"/>
<location filename="../aboutdialog.cpp" line="39"/> <location filename="../aboutdialog.cpp" line="39"/>
<location filename="../actionmanager.cpp" line="106"/>
<source>Stay on top</source> <source>Stay on top</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/>
<location filename="../aboutdialog.cpp" line="42"/> <location filename="../aboutdialog.cpp" line="42"/>
<location filename="../actionmanager.cpp" line="107"/>
<source>Protected mode</source> <source>Protected mode</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="92"/> <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> <source>Zoom in</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="93"/> <location filename="../actionmanager.cpp" line="100"/>
<source>Zoom out</source> <source>Zoom out</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="100"/> <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> <source>Flip &amp;Horizontally</source>
<translation>(&amp;H)</translation> <translation>(&amp;H)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="105"/> <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> <source>&amp;Paste</source>
<translation>(&amp;P)</translation> <translation>(&amp;P)</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="94"/> <location filename="../actionmanager.cpp" line="101"/>
<source>Toggle Checkerboard</source> <source>Toggle Checkerboard</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="88"/> <location filename="../actionmanager.cpp" line="95"/>
<source>&amp;Open...</source> <source>&amp;Open...</source>
<translation>(&amp;O)...</translation> <translation>(&amp;O)...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="90"/> <location filename="../actionmanager.cpp" line="97"/>
<source>Actual size</source> <source>Actual size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="91"/> <location filename="../actionmanager.cpp" line="98"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="95"/> <location filename="../actionmanager.cpp" line="102"/>
<source>Rotate right</source> <source>Rotate right</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="97"/> <location filename="../actionmanager.cpp" line="103"/>
<source>Rotate left</source>
<translation></translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Previous image</source> <source>Previous image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="98"/> <location filename="../actionmanager.cpp" line="106"/>
<source>Next image</source> <source>Next image</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="109"/> <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> <source>Configure...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="110"/> <location filename="../actionmanager.cpp" line="122"/>
<source>Help</source> <source>Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="113"/> <location filename="../actionmanager.cpp" line="125"/>
<source>Show in File Explorer</source> <source>Show in File Explorer</source>
<comment>File Explorer is the name of explorer.exe under Windows</comment> <comment>File Explorer is the name of explorer.exe under Windows</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="119"/> <location filename="../actionmanager.cpp" line="131"/>
<source>Show in directory</source> <source>Show in directory</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../actionmanager.cpp" line="122"/> <location filename="../actionmanager.cpp" line="134"/>
<source>Quit</source> <source>Quit</source>
<translation>退</translation> <translation>退</translation>
</message> </message>
@ -654,104 +721,155 @@
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
<message> <message>
<location filename="../settingsdialog.cpp" line="22"/> <location filename="../settingsdialog.cpp" line="29"/>
<source>Settings</source> <source>Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="27"/> <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> <source>Do nothing</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="28"/> <location filename="../settingsdialog.cpp" line="77"/>
<source>Close the window</source> <source>Close the window</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="29"/> <location filename="../settingsdialog.cpp" line="78"/>
<source>Toggle maximize</source> <source>Toggle maximize</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="33"/> <location filename="../settingsdialog.cpp" line="82"/>
<source>Zoom in and out</source> <source>Zoom in and out</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="34"/> <location filename="../settingsdialog.cpp" line="83"/>
<source>View next or previous item</source> <source>View next or previous item</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="38"/> <location filename="../settingsdialog.cpp" line="87"/>
<source>Auto size</source> <source>Auto size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="39"/> <location filename="../settingsdialog.cpp" line="88"/>
<source>Maximized</source> <source>Maximized</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="43"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Round (Integer scaling)</source> <source>Round (Integer scaling)</source>
<comment>This option means round up for .5 and above</comment> <comment>This option means round up for .5 and above</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="44"/> <location filename="../settingsdialog.cpp" line="93"/>
<source>Ceil (Integer scaling)</source> <source>Ceil (Integer scaling)</source>
<comment>This option means always round up</comment> <comment>This option means always round up</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="45"/> <location filename="../settingsdialog.cpp" line="94"/>
<source>Floor (Integer scaling)</source> <source>Floor (Integer scaling)</source>
<comment>This option means always round down</comment> <comment>This option means always round down</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="46"/> <location filename="../settingsdialog.cpp" line="95"/>
<source>Follow system (Fractional scaling)</source> <source>Follow system (Fractional scaling)</source>
<comment>This option means don&apos;t round</comment> <comment>This option means don&apos;t round</comment>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="69"/> <location filename="../settingsdialog.cpp" line="118"/>
<source>Stay on top when start-up</source> <source>Stay on top when start-up</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="70"/> <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> <source>Double-click behavior</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="71"/> <location filename="../settingsdialog.cpp" line="121"/>
<source>Mouse wheel behavior</source> <source>Mouse wheel behavior</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="72"/> <location filename="../settingsdialog.cpp" line="122"/>
<source>Default window size</source> <source>Default window size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="73"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>HiDPI scale factor rounding policy</source> <source>HiDPI scale factor rounding policy</source>
<translation>HiDPI </translation> <translation>HiDPI </translation>
</message> </message>
</context> </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> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../main.cpp" line="41"/> <location filename="../main.cpp" line="43"/>
<source>Pineapple Pictures</source> <source>Pineapple Pictures</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../main.cpp" line="45"/> <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> <source>File list.</source>
<translation></translation> <translation></translation>
</message> </message>

View File

@ -8,21 +8,21 @@ environment:
LIBEXIV2: C:\projects\exiv2 LIBEXIV2: C:\projects\exiv2
PPKG: C:\projects\ppkg PPKG: C:\projects\ppkg
matrix: matrix:
- job_name: mingw_64_qt6_5 - job_name: mingw_64_qt6_7
QTDIR: C:\Qt\6.5\mingw_64 QTDIR: C:\Qt\6.7\mingw_64
MINGW64: C:\Qt\Tools\mingw1120_64 MINGW64: C:\Qt\Tools\mingw1120_64
KF_BRANCH: master KF_BRANCH: master
EXIV2_VERSION: "0.28.0" EXIV2_VERSION: "0.28.3"
EXIV2_CMAKE_OPTIONS: "-DEXIV2_ENABLE_BROTLI=OFF -DEXIV2_ENABLE_INIH=OFF -DEXIV2_BUILD_EXIV2_COMMAND=OFF" EXIV2_CMAKE_OPTIONS: "-DEXIV2_ENABLE_BROTLI=OFF -DEXIV2_ENABLE_INIH=OFF -DEXIV2_BUILD_EXIV2_COMMAND=OFF"
PPIC_CMAKE_OPTIONS: "-DPREFER_QT_5=OFF" PPIC_CMAKE_OPTIONS: "-DPREFER_QT_5=OFF"
WINDEPLOYQT_ARGS: "--verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler" 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 - job_name: mingw81_64_qt5_15_2
QTDIR: C:\Qt\5.15.2\mingw81_64 QTDIR: C:\Qt\5.15.2\mingw81_64
MINGW64: C:\Qt\Tools\mingw810_64 MINGW64: C:\Qt\Tools\mingw810_64
KF_BRANCH: kf5 KF_BRANCH: kf5
EXIV2_VERSION: "0.27.7" EXIV2_VERSION: "0.27.7"
EXIV2_CMAKE_OPTIONS: "-DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_ENABLE_WIN_UNICODE=ON -DEXIV2_BUILD_EXIV2_COMMAND=OFF" EXIV2_CMAKE_OPTIONS: "-DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_ENABLE_WIN_UNICODE=ON -DEXIV2_BUILD_EXIV2_COMMAND=OFF"
PPIC_CMAKE_OPTIONS: "" 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" WINDEPLOYQT_ARGS: "--verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler"
install: install:
@ -41,15 +41,15 @@ install:
build_script: build_script:
# prepare # prepare
- mkdir 3rdparty - mkdir 3rdparty
- cinst ninja - choco install ninja
- cd %PPKG% - cd %PPKG%
- curl -fsSL -o ppkg.exe https://github.com/BLumia/pineapple-package-manager/releases/latest/download/ppkg.exe - curl -fsSL -o ppkg.exe https://github.com/BLumia/pineapple-package-manager/releases/latest/download/ppkg.exe
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# download and install zlib for KArchive # download and install zlib for KArchive
- cd %LIBZ% - cd %LIBZ%
- curl -fsSL -o zlib13.zip https://zlib.net/zlib13.zip - curl -fsSL -o zlib131.zip https://zlib.net/zlib131.zip
- 7z x zlib13.zip -y - 7z x zlib131.zip -y
- cd zlib-1.3 - cd zlib-1.3.1
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% - cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX%
@ -67,7 +67,7 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# install AOM for libavif AV1 decoding support... # install AOM for libavif AV1 decoding support...
- cd 3rdparty - cd 3rdparty
#- git clone -b v3.6.0 --depth 1 https://aomedia.googlesource.com/aom #- git clone -b v3.9.1 --depth 1 https://aomedia.googlesource.com/aom
#- cd aom #- cd aom
#- mkdir build.aom #- mkdir build.aom
#- cd build.aom #- cd build.aom
@ -76,18 +76,18 @@ build_script:
#- cmake --build . --config Release --target install/strip #- cmake --build . --config Release --target install/strip
- mkdir aom - mkdir aom
- cd 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.6.0-1.zip - 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 - ppkg ppkg-aom.zip
- 7z x ppkg-aom.zip LICENSE -y - 7z x ppkg-aom.zip LICENSE -y
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# install libavif for avif format support of KImageFormats # install libavif for avif format support of KImageFormats
- cd %LIBAVIF% - cd %LIBAVIF%
- curl -fsSL -o libavif-v0_11_1.zip https://github.com/AOMediaCodec/libavif/archive/v0.11.1.zip - curl -fsSL -o libavif-v1_1_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.1.1.zip
- 7z x libavif-v0_11_1.zip -y - 7z x libavif-v1_1_1.zip -y
- cd libavif-0.11.1 - cd libavif-1.1.1
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% -DAVIF_CODEC_AOM=ON - 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
- cmake --build . --config Release --target install/strip - cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
@ -98,15 +98,15 @@ build_script:
- cd karchive - cd karchive
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX% - cmake .. -G "Ninja" -DWITH_LIBZSTD=OFF -DWITH_BZIP2=OFF -DWITH_LIBLZMA=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_PREFIX%
- cmake --build . --config Release - cmake --build . --config Release
- cmake --build . --config Release --target install/strip - cmake --build . --config Release --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
# build libexpat for libexiv2 # build libexpat for libexiv2
- cd %LIBEXPAT% - cd %LIBEXPAT%
- curl -fsSL -o R_2_5_0.zip https://github.com/libexpat/libexpat/archive/R_2_5_0.zip - curl -fsSL -o R_2_6_2.zip https://github.com/libexpat/libexpat/archive/R_2_6_2.zip
- 7z x R_2_5_0.zip -y - 7z x R_2_6_2.zip -y
- cd libexpat-R_2_5_0/expat/ - 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 -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 - cmake --build . --target install/strip
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
@ -132,7 +132,7 @@ build_script:
# finally... # finally...
- mkdir build - mkdir build
- cd build - cd build
- cmake .. -G "Unix Makefiles" %PPIC_CMAKE_OPTIONS% -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%'
- cmake --build . --config Release - cmake --build . --config Release
- cmake --build . --config Release --target install/strip - 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...
@ -151,8 +151,8 @@ build_script:
- copy %APPVEYOR_BUILD_FOLDER%\3rdparty\aom\LICENSE License.aom.txt - 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\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 %APPVEYOR_BUILD_FOLDER%\3rdparty\kimageformats\LICENSES\LGPL-2.1-or-later.txt License.kimageformats.txt
- copy %LIBEXPAT%\libexpat-R_2_5_0\expat\COPYING License.expat.txt - copy %LIBEXPAT%\libexpat-R_2_6_2\expat\COPYING License.expat.txt
- copy %LIBAVIF%\libavif-0.11.1\LICENSE License.libavif.txt - copy %LIBAVIF%\libavif-1.1.1\LICENSE License.libavif.txt
- copy %LIBEXIV2%\exiv2-%EXIV2_VERSION%\COPYING License.exiv2.txt - copy %LIBEXIV2%\exiv2-%EXIV2_VERSION%\COPYING License.exiv2.txt
# TODO: Qt, zlib # TODO: Qt, zlib
- cd .. - cd ..

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

View File

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

View File

@ -1,96 +0,0 @@
#.rst:
# FindLibExiv2
# ------------
#
# Try to find the Exiv2 library.
#
# This will define the following variables:
#
# ``LibExiv2_FOUND``
# True if (the requested version of) Exiv2 is available
#
# ``LibExiv2_VERSION``
# The version of Exiv2
#
# ``LibExiv2_INCLUDE_DIRS``
# The include dirs of Exiv2 for use with target_include_directories()
#
# ``LibExiv2_LIBRARIES``
# The Exiv2 library for use with target_link_libraries().
# This can be passed to target_link_libraries() instead of
# the ``LibExiv2::LibExiv2`` target
#
# If ``LibExiv2_FOUND`` is TRUE, it will also define the following imported
# target:
#
# ``LibExiv2::LibExiv2``
# The Exiv2 library
#
# In general we recommend using the imported target, as it is easier to use.
# Bear in mind, however, that if the target is in the link interface of an
# exported library, it must be made available by the package config file.
#
# Since 5.53.0.
#
#=============================================================================
# SPDX-FileCopyrightText: 2018 Christophe Giboudeaux <christophe@krop.fr>
# SPDX-FileCopyrightText: 2010 Alexander Neundorf <neundorf@kde.org>
# SPDX-FileCopyrightText: 2008 Gilles Caulier <caulier.gilles@gmail.com>
#
# SPDX-License-Identifier: BSD-3-Clause
#=============================================================================
find_package(PkgConfig QUIET)
pkg_check_modules(PC_EXIV2 QUIET exiv2)
find_path(LibExiv2_INCLUDE_DIRS NAMES exiv2/exif.hpp
HINTS ${PC_EXIV2_INCLUDEDIR}
)
find_library(LibExiv2_LIBRARIES NAMES exiv2 libexiv2
HINTS ${PC_EXIV2_LIBRARY_DIRS}
)
set(LibExiv2_VERSION ${PC_EXIV2_VERSION})
if(NOT LibExiv2_VERSION AND DEFINED LibExiv2_INCLUDE_DIRS)
# With exiv >= 0.27, the version #defines are in exv_conf.h instead of version.hpp
foreach(_exiv2_version_file "version.hpp" "exv_conf.h")
if(EXISTS "${LibExiv2_INCLUDE_DIRS}/exiv2/${_exiv2_version_file}")
file(READ "${LibExiv2_INCLUDE_DIRS}/exiv2/${_exiv2_version_file}" _exiv_version_file_content)
string(REGEX MATCH "#define EXIV2_MAJOR_VERSION[ ]+\\([0-9]+\\)" EXIV2_MAJOR_VERSION_MATCH ${_exiv_version_file_content})
string(REGEX MATCH "#define EXIV2_MINOR_VERSION[ ]+\\([0-9]+\\)" EXIV2_MINOR_VERSION_MATCH ${_exiv_version_file_content})
string(REGEX MATCH "#define EXIV2_PATCH_VERSION[ ]+\\([0-9]+\\)" EXIV2_PATCH_VERSION_MATCH ${_exiv_version_file_content})
if(EXIV2_MAJOR_VERSION_MATCH)
string(REGEX REPLACE ".*_MAJOR_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_MAJOR_VERSION ${EXIV2_MAJOR_VERSION_MATCH})
string(REGEX REPLACE ".*_MINOR_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_MINOR_VERSION ${EXIV2_MINOR_VERSION_MATCH})
string(REGEX REPLACE ".*_PATCH_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_PATCH_VERSION ${EXIV2_PATCH_VERSION_MATCH})
endif()
endif()
endforeach()
set(LibExiv2_VERSION "${EXIV2_MAJOR_VERSION}.${EXIV2_MINOR_VERSION}.${EXIV2_PATCH_VERSION}")
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibExiv2
FOUND_VAR LibExiv2_FOUND
REQUIRED_VARS LibExiv2_LIBRARIES LibExiv2_INCLUDE_DIRS
VERSION_VAR LibExiv2_VERSION
)
mark_as_advanced(LibExiv2_INCLUDE_DIRS LibExiv2_LIBRARIES)
if(LibExiv2_FOUND AND NOT TARGET LibExiv2::LibExiv2)
add_library(LibExiv2::LibExiv2 UNKNOWN IMPORTED)
set_target_properties(LibExiv2::LibExiv2 PROPERTIES
IMPORTED_LOCATION "${LibExiv2_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${LibExiv2_INCLUDE_DIRS}"
)
endif()
include(FeatureSummary)
set_package_properties(LibExiv2 PROPERTIES
URL "https://www.exiv2.org"
DESCRIPTION "Image metadata support"
)

View File

@ -1,59 +1,168 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application"> <component type="desktop-application">
<id>net.blumia.pineapple-pictures</id> <id>net.blumia.pineapple-pictures</id>
<launchable type="desktop-id">net.blumia.pineapple-pictures.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<name>Pineapple Pictures</name> <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="nl">Pineapple Afbeeldingen</name>
<name xml:lang="ru">Pineapple Pictures</name> <name xml:lang="ru">Pineapple Pictures</name>
<name xml:lang="uk">Pineapple Pictures</name>
<name xml:lang="zh-CN">菠萝看图</name> <name xml:lang="zh-CN">菠萝看图</name>
<summary>Image Viewer</summary> <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="nl">Afbeeldingsweergave</summary>
<summary xml:lang="ru">Просмотр изображений</summary> <summary xml:lang="ru">Просмотр изображений</summary>
<summary xml:lang="uk">Переглядач зображень</summary>
<summary xml:lang="zh-CN">图像查看器</summary> <summary xml:lang="zh-CN">图像查看器</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<description> <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>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="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="ru">Pineapple Pictures - это легкий и простой в использовании просмотрщик изображений, оснащенный удобной навигацией по миниатюрам при увеличении масштаба и не содержащий никакой поддержки управления изображениями.</p>
<p xml:lang="uk">Pineapple Pictures це легкий і простий у використанні переглядач зображень, який постачається зі зручною навігаційною мініатюрою при збільшенні масштабу і не містить жодної підтримки керування зображеннями.</p>
<p xml:lang="zh-CN">菠萝看图是一个轻量级易用的图像查看器,在图片放大时提供了方便的鸟瞰导航功能,且不包含任何图片管理功能。</p> <p xml:lang="zh-CN">菠萝看图是一个轻量级易用的图像查看器,在图片放大时提供了方便的鸟瞰导航功能,且不包含任何图片管理功能。</p>
</description> </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> <screenshots>
<screenshot type="default"> <screenshot type="default">
<caption>Main window when an image file is loaded</caption> <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="nl">Hoofdvenster na het laden van een afbeelding</caption>
<caption xml:lang="ru">Основное окно после загрузки файла изображения</caption> <caption xml:lang="ru">Основное окно после загрузки файла изображения</caption>
<caption xml:lang="uk">Головне вікно після завантаження файлу зображення</caption>
<caption xml:lang="zh-CN">加载图片后的主窗口</caption> <caption xml:lang="zh-CN">加载图片后的主窗口</caption>
<image type="source" width="1503" height="640">https://pineapple-pictures.sourceforge.io/ppic-gui-static.png</image> <image type="source" width="1503" height="640">https://pineapple-pictures.sourceforge.io/ppic-gui-static.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<caption>Zooming in a raster image</caption> <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="nl">Inzoomen op een roosterafbeelding</caption>
<caption xml:lang="ru">Масштабирование растрового изображения</caption> <caption xml:lang="ru">Масштабирование растрового изображения</caption>
<caption xml:lang="uk">Масштабування растрового зображення</caption>
<caption xml:lang="zh-CN">放大浏览位图</caption> <caption xml:lang="zh-CN">放大浏览位图</caption>
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-raster.png</image> <image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-raster.png</image>
</screenshot> </screenshot>
<screenshot> <screenshot>
<caption>Zooming in a vector image</caption> <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="nl">Inzoomen op een vectorafbeelding</caption>
<caption xml:lang="ru">Масштабирование векторного изображения</caption> <caption xml:lang="ru">Масштабирование векторного изображения</caption>
<caption xml:lang="uk">Масштабування векторного зображення</caption>
<caption xml:lang="zh-CN">放大浏览矢量图</caption> <caption xml:lang="zh-CN">放大浏览矢量图</caption>
<image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-svg.png</image> <image type="source" width="771" height="553">https://pineapple-pictures.sourceforge.io/ppic-zoom-svg.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<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>
<developer_name>Gary (BLumia) Wang et al.</developer_name>
<developer_name xml:lang="nl">Gary (BLumia) Wang e.a.</developer_name>
<developer_name xml:lang="ru">Gary (BLumia) Wang et al.</developer_name>
<developer_name xml:lang="zh-CN">Gary (BLumia) Wang 等人</developer_name>
<provides>
<binary>ppic</binary>
</provides>
<content_rating type="oars-1.1"/>
<releases> <releases>
<release version="0.7.2" date="2023-08-27"/> <release type="stable" version="0.8.2.1" date="2024-10-27T00:00:00Z">
<release version="0.7.1" date="2023-07-08"/> <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> </releases>
<content_rating type="oars-1.1"/>
</component> </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,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

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com> # SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
@ -7,6 +7,7 @@ greaterThan(QT_MAJOR_VERSION, 5): QT += svgwidgets
TARGET = ppic TARGET = ppic
TEMPLATE = app TEMPLATE = app
DEFINES += PPIC_VERSION_STRING=\\\"x.y.z\\\"
# The following define makes your compiler emit warnings if you use # The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings # any feature of Qt which has been marked as deprecated (the exact warnings
@ -19,7 +20,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt. # You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++11 lrelease embed_translations CONFIG += c++17 lrelease embed_translations
SOURCES += \ SOURCES += \
app/aboutdialog.cpp \ app/aboutdialog.cpp \
@ -38,7 +39,8 @@ SOURCES += \
app/metadatadialog.cpp \ app/metadatadialog.cpp \
app/exiv2wrapper.cpp \ app/exiv2wrapper.cpp \
app/actionmanager.cpp \ app/actionmanager.cpp \
app/playlistmanager.cpp app/playlistmanager.cpp \
app/shortcutedit.cpp
HEADERS += \ HEADERS += \
app/aboutdialog.h \ app/aboutdialog.h \
@ -56,7 +58,8 @@ HEADERS += \
app/metadatadialog.h \ app/metadatadialog.h \
app/exiv2wrapper.h \ app/exiv2wrapper.h \
app/actionmanager.h \ app/actionmanager.h \
app/playlistmanager.h app/playlistmanager.h \
app/shortcutedit.h
TRANSLATIONS = \ TRANSLATIONS = \
app/translations/PineapplePictures.ts \ app/translations/PineapplePictures.ts \
@ -85,7 +88,7 @@ RC_ICONS = assets/icons/app-icon.ico
# Windows only, for rc file (we're not going to use the .rc file in this repo) # Windows only, for rc file (we're not going to use the .rc file in this repo)
QMAKE_TARGET_PRODUCT = Pineapple Pictures QMAKE_TARGET_PRODUCT = Pineapple Pictures
QMAKE_TARGET_DESCRIPTION = Pineapple Pictures - Image Viewer QMAKE_TARGET_DESCRIPTION = Pineapple Pictures - Image Viewer
QMAKE_TARGET_COPYRIGHT = MIT/Expat License - Copyright (C) 2020 Gary Wang QMAKE_TARGET_COPYRIGHT = MIT/Expat License - Copyright (C) 2024 Gary Wang
# MSVC only, since QMake doesn't have a CMAKE_CXX_STANDARD_LIBRARIES or cpp_winlibs similar thing # MSVC only, since QMake doesn't have a CMAKE_CXX_STANDARD_LIBRARIES or cpp_winlibs similar thing
win32-msvc* { win32-msvc* {