3 Commits

Author SHA1 Message Date
29c5783a66 chore: update release info to 1.1.0 2025-07-06 00:05:52 +08:00
ddc75f7cd0 i18n: Translated using Weblate (Tamil) (#155)
Currently translated at 100.0% (166 of 166 strings)

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

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
2025-07-05 23:19:32 +08:00
f976fea418 fix: shouldn't loop when navigate gallery via shortcuts
Related: https://github.com/BLumia/pineapple-pictures/issues/153
2025-06-29 16:24:26 +08:00
6 changed files with 45 additions and 6 deletions

2
.gitignore vendored
View File

@ -11,6 +11,8 @@
# Generic Build Dir # Generic Build Dir
[Bb]uild/ [Bb]uild/
cmake-build-*/
# IDE/Editor config folders # IDE/Editor config folders
.vscode/ .vscode/
.idea/

View File

@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
project(pineapple-pictures VERSION 1.0.0) # don't forget to update NEWS file and AppStream metadata. project(pineapple-pictures VERSION 1.1.0) # don't forget to update NEWS file and AppStream metadata.
include(GNUInstallDirs) include(GNUInstallDirs)
include(FeatureSummary) include(FeatureSummary)

15
NEWS
View File

@ -1,3 +1,18 @@
Version 1.1.0
~~~~~~~~~~~~~
Released: 2025-07-06
Features:
* New option to disable built-in close window animation
* New option to disable gallery looping
* Support load m3u8 as image gallery playlist
Miscellaneous:
* Drop Qt 5 support
Contributors:
Heimen Stoffels, albanobattistella, தமிழ்நேரம்
Version 1.0.0 Version 1.0.0
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
Released: 2025-05-03 Released: 2025-05-03

View File

@ -255,6 +255,9 @@ void MainWindow::clearGallery()
void MainWindow::galleryPrev() void MainWindow::galleryPrev()
{ {
const bool loopGallery = Settings::instance()->loopGallery();
if (!loopGallery && m_pm->isFirstIndex()) return;
QModelIndex index = m_pm->previousIndex(); QModelIndex index = m_pm->previousIndex();
if (index.isValid()) { if (index.isValid()) {
m_pm->setCurrentIndex(index); m_pm->setCurrentIndex(index);
@ -264,6 +267,9 @@ void MainWindow::galleryPrev()
void MainWindow::galleryNext() void MainWindow::galleryNext()
{ {
const bool loopGallery = Settings::instance()->loopGallery();
if (!loopGallery && m_pm->isLastIndex()) return;
QModelIndex index = m_pm->nextIndex(); QModelIndex index = m_pm->nextIndex();
if (index.isValid()) { if (index.isValid()) {
m_pm->setCurrentIndex(index); m_pm->setCurrentIndex(index);

View File

@ -230,7 +230,7 @@
<message> <message>
<location filename="../mainwindow.cpp" line="781"/> <location filename="../mainwindow.cpp" line="781"/>
<source>Failed to move file to trash</source> <source>Failed to move file to trash</source>
<translation type="unfinished"></translation> <translation> ி ி</translation>
</message> </message>
<message> <message>
<location filename="../mainwindow.cpp" line="782"/> <location filename="../mainwindow.cpp" line="782"/>
@ -782,7 +782,7 @@
<message> <message>
<location filename="../settingsdialog.cpp" line="92"/> <location filename="../settingsdialog.cpp" line="92"/>
<source>Windowed</source> <source>Windowed</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="96"/> <location filename="../settingsdialog.cpp" line="96"/>
@ -816,7 +816,7 @@
<message> <message>
<location filename="../settingsdialog.cpp" line="123"/> <location filename="../settingsdialog.cpp" line="123"/>
<source>Use built-in close window animation</source> <source>Use built-in close window animation</source>
<translation type="unfinished"></translation> <translation> ி </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="124"/> <location filename="../settingsdialog.cpp" line="124"/>
@ -826,7 +826,7 @@
<message> <message>
<location filename="../settingsdialog.cpp" line="125"/> <location filename="../settingsdialog.cpp" line="125"/>
<source>Loop the loaded gallery</source> <source>Loop the loaded gallery</source>
<translation type="unfinished"></translation> <translation> ி </translation>
</message> </message>
<message> <message>
<location filename="../settingsdialog.cpp" line="126"/> <location filename="../settingsdialog.cpp" line="126"/>

View File

@ -80,6 +80,22 @@
</screenshot> </screenshot>
</screenshots> </screenshots>
<releases> <releases>
<release type="stable" version="1.1.0" date="2025-07-06T00:00:00Z">
<description>
<p>This release adds the following features:</p>
<ul>
<li>New option to disable built-in close window animation</li>
<li>New option to disable gallery looping</li>
<li>Support load m3u8 as image gallery playlist</li>
</ul>
<p>This release includes the following change:</p>
<ul>
<li>Drop Qt 5 support</li>
</ul>
<p>With contributions from:</p>
<p>Heimen Stoffels, albanobattistella, தமிழ்நேரம்</p>
</description>
</release>
<release type="stable" version="1.0.0" date="2025-05-03T00:00:00Z"> <release type="stable" version="1.0.0" date="2025-05-03T00:00:00Z">
<description> <description>
<p>This release adds the following features:</p> <p>This release adds the following features:</p>
@ -87,7 +103,7 @@
<li>Support enforces windowed mode on start-up</li> <li>Support enforces windowed mode on start-up</li>
<li>Reload image automatically when current image gets updated</li> <li>Reload image automatically when current image gets updated</li>
</ul> </ul>
<p>This release fixes the following bugs:</p> <p>This release fixes the following bug:</p>
<ul> <ul>
<li>Display correct text language on macOS</li> <li>Display correct text language on macOS</li>
</ul> </ul>