From e0fda8f3b0fd2fb2ca81691b2a7185e956ff3f1f Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Mon, 15 Apr 2024 01:16:00 +0800 Subject: [PATCH] feat: support move image file to trash Resolve: BLumia/pineapple-pictures#42 --- app/actionmanager.cpp | 3 + app/actionmanager.h | 1 + app/mainwindow.cpp | 42 ++++++++++++ app/mainwindow.h | 2 + app/playlistmanager.cpp | 10 +++ app/playlistmanager.h | 1 + app/translations/PineapplePictures.ts | 71 +++++++++++++-------- app/translations/PineapplePictures_ca.ts | 63 +++++++++++------- app/translations/PineapplePictures_de.ts | 63 +++++++++++------- app/translations/PineapplePictures_es.ts | 63 +++++++++++------- app/translations/PineapplePictures_fr.ts | 63 +++++++++++------- app/translations/PineapplePictures_id.ts | 63 +++++++++++------- app/translations/PineapplePictures_it.ts | 63 +++++++++++------- app/translations/PineapplePictures_ja.ts | 63 +++++++++++------- app/translations/PineapplePictures_ko.ts | 63 +++++++++++------- app/translations/PineapplePictures_nb_NO.ts | 63 +++++++++++------- app/translations/PineapplePictures_nl.ts | 63 +++++++++++------- app/translations/PineapplePictures_pa_PK.ts | 63 +++++++++++------- app/translations/PineapplePictures_ru.ts | 63 +++++++++++------- app/translations/PineapplePictures_si.ts | 71 +++++++++++++-------- app/translations/PineapplePictures_tr.ts | 63 +++++++++++------- app/translations/PineapplePictures_uk.ts | 63 +++++++++++------- app/translations/PineapplePictures_zh_CN.ts | 63 +++++++++++------- 23 files changed, 747 insertions(+), 399 deletions(-) diff --git a/app/actionmanager.cpp b/app/actionmanager.cpp index 98048d8..68354cd 100644 --- a/app/actionmanager.cpp +++ b/app/actionmanager.cpp @@ -67,6 +67,7 @@ void ActionManager::setupAction(MainWindow *mainWindow) CREATE_NEW_THEMEICON_ACTION(mainWindow, actionCopyPixmap, edit-copy); CREATE_NEW_ACTION(mainWindow, actionCopyFilePath); CREATE_NEW_THEMEICON_ACTION(mainWindow, actionPaste, edit-paste); + CREATE_NEW_THEMEICON_ACTION(mainWindow, actionTrash, edit-delete); CREATE_NEW_ACTION(mainWindow, actionToggleStayOnTop); CREATE_NEW_ACTION(mainWindow, actionToggleProtectMode); CREATE_NEW_ACTION(mainWindow, actionToggleAvoidResetTransform); @@ -105,6 +106,7 @@ void ActionManager::retranslateUi(MainWindow *mainWindow) actionCopyPixmap->setText(QCoreApplication::translate("MainWindow", "Copy P&ixmap", nullptr)); actionCopyFilePath->setText(QCoreApplication::translate("MainWindow", "Copy &File Path", nullptr)); actionPaste->setText(QCoreApplication::translate("MainWindow", "&Paste", nullptr)); + actionTrash->setText(QCoreApplication::translate("MainWindow", "Move to Trash", nullptr)); actionToggleStayOnTop->setText(QCoreApplication::translate("MainWindow", "Stay on top", nullptr)); actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr)); actionToggleAvoidResetTransform->setText(QCoreApplication::translate("MainWindow", "Keep transformation", "The 'transformation' means the flip/rotation status that currently applied to the image view")); @@ -141,6 +143,7 @@ void ActionManager::setupShortcuts() actionHorizontalFlip->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_R)); actionCopyPixmap->setShortcut(QKeySequence(QKeySequence::Copy)); actionPaste->setShortcut(QKeySequence::Paste); + actionTrash->setShortcut(QKeySequence::Delete); actionHelp->setShortcut(QKeySequence::HelpContents); actionSettings->setShortcut(QKeySequence::Preferences); actionProperties->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_I)); diff --git a/app/actionmanager.h b/app/actionmanager.h index 1257604..8e7f8ed 100644 --- a/app/actionmanager.h +++ b/app/actionmanager.h @@ -40,6 +40,7 @@ public: QAction *actionCopyPixmap; QAction *actionCopyFilePath; QAction *actionPaste; + QAction *actionTrash; QAction *actionToggleStayOnTop; QAction *actionToggleProtectMode; QAction *actionToggleAvoidResetTransform; diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index 13fd32a..00f824d 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -39,6 +39,7 @@ #ifdef HAVE_QTDBUS #include #include +#include #endif // HAVE_QTDBUS MainWindow::MainWindow(QWidget *parent) @@ -282,6 +283,20 @@ void MainWindow::galleryNext() } } +// If playlist (or its index) get changed, use this method to "reload" the current file. +void MainWindow::galleryCurrent() +{ + int index; + QString filePath; + std::tie(index, filePath) = m_pm->currentFile(); + + if (index >= 0) { + m_graphicsView->showFileFromPath(filePath, false); + } else { + m_graphicsView->showText(QCoreApplication::translate("GraphicsScene", "Drag image here")); + } +} + void MainWindow::showEvent(QShowEvent *event) { updateWidgetsPosition(); @@ -446,6 +461,8 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event) QAction * paste = m_am->actionPaste; + QAction * trash = m_am->actionTrash; + QAction * stayOnTopMode = m_am->actionToggleStayOnTop; stayOnTopMode->setCheckable(true); stayOnTopMode->setChecked(stayOnTop()); @@ -493,6 +510,7 @@ void MainWindow::contextMenuEvent(QContextMenuEvent *event) if (currentFileUrl.isValid()) { menu->addSeparator(); if (currentFileUrl.isLocalFile()) { + menu->addAction(trash); menu->addAction(m_am->actionLocateInFileManager); } menu->addAction(propertiesAction); @@ -705,6 +723,30 @@ void MainWindow::on_actionPaste_triggered() } } +void MainWindow::on_actionTrash_triggered() +{ + int currentFileIndex; + QUrl currentFileUrl; + std::tie(currentFileIndex, currentFileUrl) = m_pm->currentFileUrl(); + if (!currentFileUrl.isLocalFile()) return; + + QFile file(currentFileUrl.toLocalFile()); + 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->removeFileAt(currentFileIndex); + galleryCurrent(); + } + } +} + void MainWindow::on_actionToggleCheckerboard_triggered() { // TODO: is that okay to do this since we plan to support custom shortcuts? diff --git a/app/mainwindow.h b/app/mainwindow.h index b655b6f..528f929 100644 --- a/app/mainwindow.h +++ b/app/mainwindow.h @@ -45,6 +45,7 @@ public: void loadGalleryBySingleLocalFile(const QString &path); void galleryPrev(); void galleryNext(); + void galleryCurrent(); protected slots: void showEvent(QShowEvent *event) override; @@ -92,6 +93,7 @@ private slots: void on_actionCopyPixmap_triggered(); void on_actionCopyFilePath_triggered(); void on_actionPaste_triggered(); + void on_actionTrash_triggered(); void on_actionToggleStayOnTop_triggered(); void on_actionToggleProtectMode_triggered(); void on_actionToggleAvoidResetTransform_triggered(); diff --git a/app/playlistmanager.cpp b/app/playlistmanager.cpp index f44d8bc..5a33024 100644 --- a/app/playlistmanager.cpp +++ b/app/playlistmanager.cpp @@ -118,6 +118,16 @@ int PlaylistManager::appendFile(const QString &filePath) return index; } +// Note: this will only remove file out of the list, this will NOT delete the file +void PlaylistManager::removeFileAt(int index) +{ + m_playlist.removeAt(index); + + if (m_playlist.count() <= m_currentIndex) { + m_currentIndex--; + } +} + int PlaylistManager::indexOf(const QString &filePath) { const QUrl & url = QUrl::fromLocalFile(filePath); diff --git a/app/playlistmanager.h b/app/playlistmanager.h index b6cc618..07f17a2 100644 --- a/app/playlistmanager.h +++ b/app/playlistmanager.h @@ -32,6 +32,7 @@ public: void setCurrentFile(const QString & filePath); void setCurrentIndex(int index); int appendFile(const QString & filePath); + void removeFileAt(int index); int indexOf(const QString & filePath); int count() const; diff --git a/app/translations/PineapplePictures.ts b/app/translations/PineapplePictures.ts index 47c203a..1353290 100644 --- a/app/translations/PineapplePictures.ts +++ b/app/translations/PineapplePictures.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here @@ -211,127 +212,143 @@ MainWindow - + File url list is empty - + &Copy - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap - + Copy &File Path - + Properties - + Stay on top - + Protected mode - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in - + Zoom out - + Flip &Horizontally - + &Paste - + Toggle Checkerboard - + &Open... - + Actual size - + Toggle maximize - + Rotate right - + Previous image - + Next image - Configure... - - - - - Help + + Move to Trash + Configure... + + + + + Help + + + + Show in File Explorer File Explorer is the name of explorer.exe under Windows - + Show in directory - + Quit diff --git a/app/translations/PineapplePictures_ca.ts b/app/translations/PineapplePictures_ca.ts index 94be5c5..f5ab8d1 100644 --- a/app/translations/PineapplePictures_ca.ts +++ b/app/translations/PineapplePictures_ca.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here Arrossegueu una imatge aquí @@ -211,127 +212,143 @@ MainWindow - + File url list is empty La llista d'ubicacions és buida - + &Copy &Copia - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Copia el &mapa de píxels - + Copy &File Path Copia el camí del &fitxer - + Properties Propietats - + Stay on top Mantén a sobre - + Protected mode Mode protegit - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in Amplia - + Zoom out Redueix - + Flip &Horizontally Inverteix &horitzontalment - + &Paste &Enganxa - + Toggle Checkerboard Commuta el tauler d'escacs - + &Open... &Obre... - + Actual size Mida real - + Toggle maximize Commuta la maximització - + Rotate right Commuta la maximització - + Previous image Imatge anterior - + Next image Imatge següent + + Move to Trash + + + + Configure... Configura... - + Help Ajuda - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Mostra al navegador de fitxers - + Show in directory Mostra a la carpeta - + Quit Surt diff --git a/app/translations/PineapplePictures_de.ts b/app/translations/PineapplePictures_de.ts index 984c411..59687bd 100644 --- a/app/translations/PineapplePictures_de.ts +++ b/app/translations/PineapplePictures_de.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Ziehen Sie das Bild hierher @@ -215,127 +216,143 @@ MainWindow - + File url list is empty Die Datei-URL-Liste ist leer - + &Copy &Kopieren - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap P&ixmap kopieren - + Copy &File Path &Dateipfad kopieren - + Properties Eigenschaften - + Stay on top Oben bleiben - + Protected mode Geschützter Modus - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in Hineinzoomen - + Zoom out Herauszoomen - + Flip &Horizontally &Horizontal spiegeln - + &Paste %Einfügen - + Toggle Checkerboard Schachbrettmuster umschalten - + &Open... &Öffnen... - + Actual size Tatsächliche Größe - + Toggle maximize Maximieren umschalten - + Rotate right Nach rechts drehen - + Previous image Vorheriges Bild - + Next image Nächstes Bild + + Move to Trash + + + + Configure... Konfigurieren … - + Help Hilfe - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Im Dateiexplorer zeigen - + Show in directory Im Verzeichnis zeigen - + Quit Beenden diff --git a/app/translations/PineapplePictures_es.ts b/app/translations/PineapplePictures_es.ts index 96ac389..74d6086 100644 --- a/app/translations/PineapplePictures_es.ts +++ b/app/translations/PineapplePictures_es.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Arrastre una imagen aquí @@ -215,127 +216,143 @@ MainWindow - + File url list is empty La lista de ubicaciones está vacía - + &Copy &Copiar - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Copiar &mapa de píxeles - + Copy &File Path Copiar &ruta de archivo - + Properties Propiedades - + Stay on top Mantener encima - + Protected mode Modo protegido - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Conservar la transformación - + Zoom in Ampliar - + Zoom out Reducir - + Flip &Horizontally Voltear &horizontalmente - + &Paste &Pegar - + Toggle Checkerboard Activar/desactivar el tablero de ajedrez - + &Open... &Abrir... - + Actual size Tamaño real - + Toggle maximize Maximizar/desmaximizar - + Rotate right Girar a la derecha - + Previous image Imagen anterior - + Next image Imagen siguiente + + Move to Trash + + + + Configure... Configurar... - + Help Ayuda - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Mostrar en el Explorador de archivos - + Show in directory Mostrar en la carpeta - + Quit Salir diff --git a/app/translations/PineapplePictures_fr.ts b/app/translations/PineapplePictures_fr.ts index 1f73f0f..ebd792f 100644 --- a/app/translations/PineapplePictures_fr.ts +++ b/app/translations/PineapplePictures_fr.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Faites glisser l'image ici @@ -215,127 +216,143 @@ MainWindow - + File url list is empty La liste des URL de fichiers est vide - + &Copy &Copier - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Copier P&ixmap - + Copy &File Path Copier le &chemin du fichier - + Properties Propriétés - + Stay on top Rester en-haut - + Protected mode Mode protégé - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in Zoom avant - + Zoom out Zoom arrière - + Flip &Horizontally Retourner &horizontalement - + &Paste Co&ller - + Toggle Checkerboard Dés/activer le damier - + &Open... &Ouvrir... - + Actual size Taille actuelle - + Toggle maximize Dés/activer l'agrandissement - + Rotate right Pivoter vers la droite - + Previous image Image précédente - + Next image Image suivant + + Move to Trash + + + + Configure... Configurer… - + Help Aide - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Afficher dans le navigateur de fichiers - + Show in directory Afficher dans le dossier - + Quit Quitter diff --git a/app/translations/PineapplePictures_id.ts b/app/translations/PineapplePictures_id.ts index baec2bd..d1e41e4 100644 --- a/app/translations/PineapplePictures_id.ts +++ b/app/translations/PineapplePictures_id.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Tarik gambar ke sini @@ -215,127 +216,143 @@ MainWindow - + File url list is empty Daftar url file kosong - + &Copy &Salin - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Salin P&ixmap - + Copy &File Path Salin &Path Berkas - + Properties Properti - + Stay on top Tetap di atas - + Protected mode Mode Terlindungi - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Simpan transformasi - + Zoom in Perbesar - + Zoom out Perkecil - + Flip &Horizontally Putar Secara &Horizontal - + &Paste &Tempel - + Toggle Checkerboard - + &Open... - + Actual size Ukuran asli - + Toggle maximize - + Rotate right Putar ke kanan - + Previous image - + Next image + + Move to Trash + + + + Configure... Konfigurasi... - + Help Dukungan - + Show in File Explorer File Explorer is the name of explorer.exe under Windows - + Show in directory - + Quit Keluar diff --git a/app/translations/PineapplePictures_it.ts b/app/translations/PineapplePictures_it.ts index fdedf25..00ff96f 100644 --- a/app/translations/PineapplePictures_it.ts +++ b/app/translations/PineapplePictures_it.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here Trascina qui l'immagine @@ -211,127 +212,143 @@ MainWindow - + File url list is empty L'elenco degli URL dei file è vuoto - + &Copy &Copia - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Copia P&ixmap - + Copy &File Path Copia &Percorso file - + Properties Proprietà - + Stay on top Rimani in cima - + Protected mode Modalità protetta - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Mantieni trasformazione - + Zoom in Zoom avanti - + Zoom out Zoom indietro - + Flip &Horizontally Capovolgi &Orizzontalmente - + &Paste &Incolla - + Toggle Checkerboard Attiva/disattiva scacchiera - + &Open... &Apri... - + Actual size Dimensione reale - + Toggle maximize Attiva massimizzazione - + Rotate right Ruota a destra - + Previous image Immagine precedente - + Next image Immagine successiva + + Move to Trash + + + + Configure... Configura... - + Help Aiuto - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Mostra in Esplora file - + Show in directory Mostra nella directory - + Quit Esci diff --git a/app/translations/PineapplePictures_ja.ts b/app/translations/PineapplePictures_ja.ts index a309865..5676386 100644 --- a/app/translations/PineapplePictures_ja.ts +++ b/app/translations/PineapplePictures_ja.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here ここに画像をドラッグしてください @@ -211,127 +212,143 @@ MainWindow - + File url list is empty ファイルurlリストがエンプティーです - + &Copy コピー(&C) - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap 画像をコピー(&I) - + Copy &File Path ファイルパスをコピー(&F) - + Properties プロパティ - + Stay on top 最前面に表示する - + Protected mode プロテクトモード - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view 表示状態を維持する - + Zoom in 拡大 - + Zoom out 縮小 - + Flip &Horizontally 画像を左右反転する(&H) - + &Paste 貼り付け(&P) - + Toggle Checkerboard 背景を格子模様に切り替え - + &Open... 開く(&O)… - + Actual size 実際のサイズ - + Toggle maximize 最大化を切り替える - + Rotate right 右に回転 - + Previous image 前の画像 - + Next image 次の画像 + + Move to Trash + + + + Configure... 設定... - + Help ヘルプ - + Show in File Explorer File Explorer is the name of explorer.exe under Windows エクスプローラーで表示する - + Show in directory ディレクトリに表示する - + Quit 終了 diff --git a/app/translations/PineapplePictures_ko.ts b/app/translations/PineapplePictures_ko.ts index 3f39971..54c8c41 100644 --- a/app/translations/PineapplePictures_ko.ts +++ b/app/translations/PineapplePictures_ko.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here 이미지를 여기로 끌기 @@ -211,127 +212,143 @@ MainWindow - + File url list is empty 파일 URL 목록이 비어 있습니다 - + &Copy 복사(&C) - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Pixmap 복사(&I) - + Copy &File Path 파일 경로 복사(&F) - + Properties 속성 - + Stay on top 맨 위에 유지 - + Protected mode 보호 모드 - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in 확대 - + Zoom out 축소 - + Flip &Horizontally 수평으로 뒤집기(&H) - + &Paste 붙여넣기(&P) - + Toggle Checkerboard 바둑판 전환 - + &Open... 열기(&O)... - + Actual size 실제 크기 - + Toggle maximize 최대화 전환 - + Rotate right 오른쪽으로 회전 - + Previous image 이전 이미지 - + Next image 다음 이미지 + + Move to Trash + + + + Configure... 구성... - + Help 도움말 - + Show in File Explorer File Explorer is the name of explorer.exe under Windows 파일 탐색기에 표시 - + Show in directory 디렉터리에 표시 - + Quit 종료 diff --git a/app/translations/PineapplePictures_nb_NO.ts b/app/translations/PineapplePictures_nb_NO.ts index 944d618..bb54c45 100644 --- a/app/translations/PineapplePictures_nb_NO.ts +++ b/app/translations/PineapplePictures_nb_NO.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Dra bilde hit @@ -215,127 +216,143 @@ MainWindow - + File url list is empty Listen over filnettadresser er ugyldig - + &Copy &Kopier - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Kopier p&ixmap - + Copy &File Path Kopier %filsti - + Properties Egenskaper - + Stay on top Behold øverst - + Protected mode Beskyttet modus - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in Førstørr - + Zoom out Forminsk - + Flip &Horizontally Speilvend &horisontalt - + &Paste &Lim inn - + Toggle Checkerboard Skru av/på rutemønster - + &Open... &Åpne … - + Actual size Faktisk størrelse - + Toggle maximize Veksle maksimering - + Rotate right Roter til høyre - + Previous image Forrige bilde - + Next image Neste bilde + + Move to Trash + + + + Configure... Sett opp … - + Help Hjelp - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Vis i filutforsker - + Show in directory Vis i mappe - + Quit Avslutt diff --git a/app/translations/PineapplePictures_nl.ts b/app/translations/PineapplePictures_nl.ts index 9348356..d1e7560 100644 --- a/app/translations/PineapplePictures_nl.ts +++ b/app/translations/PineapplePictures_nl.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Sleep een afbeelding hierheen @@ -215,127 +216,143 @@ MainWindow - + File url list is empty De bestandspadlijst is leeg - + &Copy &Kopiëren - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap P&ixmap kopiëren - + Copy &File Path &Bestandspad kopiëren - + Properties Eigenschappen - + Stay on top Altijd bovenop - + Protected mode Beschermde modus - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Bewerkingen onthouden - + Zoom in Inzoomen - + Zoom out Uitzoomen - + Flip &Horizontally &Horizontaal spiegelen - + &Paste &Plakken - + Toggle Checkerboard Schaakbordpatroon aan/uit - + &Open... &Openen… - + Actual size Ware grootte - + Toggle maximize Maximaliseren aan/uit - + Rotate right Naar rechts draaien - + Previous image Vorige afbeelding - + Next image Volgende afbeelding + + Move to Trash + + + + Configure... Instellen... - + Help Hulp - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Tonen in bestandsbeheer - + Show in directory Tonen in map - + Quit Afsluiten diff --git a/app/translations/PineapplePictures_pa_PK.ts b/app/translations/PineapplePictures_pa_PK.ts index 990d9ed..369c122 100644 --- a/app/translations/PineapplePictures_pa_PK.ts +++ b/app/translations/PineapplePictures_pa_PK.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here @@ -211,127 +212,143 @@ MainWindow - + File url list is empty - + &Copy کاپی کرو - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap تصویر دا نقشہ کاپی کرو - + Copy &File Path - + Properties وشیشتاواں - + Stay on top - + Protected mode سرکھیات سیٹنگ - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in وڈا کرو - + Zoom out چھوٹا کرو - + Flip &Horizontally لیٹویں اُلٹاؤ - + &Paste پیسٹ کرو - + Toggle Checkerboard چیک‌بورڈ چالو بدلو - + &Open... کھُلھو… - + Actual size اصلی اکار - + Toggle maximize ودھو ودھ بدلو - + Rotate right سجے گھنماؤ - + Previous image پچھلی تصویر - + Next image اگلی تصویر + + Move to Trash + + + + Configure... - + Help مدد - + Show in File Explorer File Explorer is the name of explorer.exe under Windows - + Show in directory - + Quit بند کرو diff --git a/app/translations/PineapplePictures_ru.ts b/app/translations/PineapplePictures_ru.ts index 4ebcc87..e3f517b 100644 --- a/app/translations/PineapplePictures_ru.ts +++ b/app/translations/PineapplePictures_ru.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Перетащите изображение сюда @@ -215,127 +216,143 @@ MainWindow - + File url list is empty Список URL-адресов файлов пуст - + &Copy &Скопировать - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Скопировать P&ixmap - + Copy &File Path Скопировать &путь к файлу - + Properties Свойства - + Stay on top Поверх всех окон - + Protected mode Защищенный режим - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in Увеличить - + Zoom out Уменьшить - + Flip &Horizontally Отразить по &горизонтали - + &Paste &Вставить - + Toggle Checkerboard Переключить фоновый рисунок - + &Open... &Открыть... - + Actual size Фактический размер - + Toggle maximize Переключить окно - + Rotate right Повернуть вправо - + Previous image Предыдущее изображение - + Next image Следующее изображение + + Move to Trash + + + + Configure... Параметры... - + Help Помощь - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Показать в проводнике - + Show in directory Показать в папке - + Quit Выход diff --git a/app/translations/PineapplePictures_si.ts b/app/translations/PineapplePictures_si.ts index e9ba071..0a529d6 100644 --- a/app/translations/PineapplePictures_si.ts +++ b/app/translations/PineapplePictures_si.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here @@ -215,127 +216,143 @@ MainWindow - + File url list is empty ගොනු ඒ.ස.නි. (url) ලැයිස්තුව හිස් ය - + &Copy &පිටපත් + + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + - + Stay on top - + Protected mode - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view - + Zoom in - + Zoom out - + Flip &Horizontally - + Copy P&ixmap - + Copy &File Path - + &Paste - + Toggle Checkerboard - + &Open... - + Actual size - + Toggle maximize - + Rotate right - + Previous image - + Next image - Configure... - - - - - Help + + Move to Trash + Configure... + + + + + Help + + + + Show in File Explorer File Explorer is the name of explorer.exe under Windows - + Show in directory - + Properties - + Quit diff --git a/app/translations/PineapplePictures_tr.ts b/app/translations/PineapplePictures_tr.ts index dec7205..3c46d64 100644 --- a/app/translations/PineapplePictures_tr.ts +++ b/app/translations/PineapplePictures_tr.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here Resmi buraya sürükleyin @@ -215,127 +216,143 @@ MainWindow - + File url list is empty Dosya URL listesi boş - + &Copy &Kopyala - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap P&ixmap'i Kopyala - + Copy &File Path &Dosya Yolunu Kopyala - + Properties Özellikler - + Stay on top Üstte tut - + Protected mode Korumalı kip - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Dönüşümü koru - + Zoom in Yaklaştır - + Zoom out Uzaklaştır - + Flip &Horizontally &Yatay Çevir - + &Paste Ya&pıştır - + Toggle Checkerboard Damalı Ekrana Geç - + &Open... &Aç... - + Actual size Gerçek boyut - + Toggle maximize Tam boyuta geç - + Rotate right Sağa döndür - + Previous image Önceki resim - + Next image Sonraki resim + + Move to Trash + + + + Configure... Yapılandır... - + Help Yardım - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Dosya Gezgini'nde Göster - + Show in directory Dizinde göster - + Quit Çıkış diff --git a/app/translations/PineapplePictures_uk.ts b/app/translations/PineapplePictures_uk.ts index e5c5d32..898d5e9 100644 --- a/app/translations/PineapplePictures_uk.ts +++ b/app/translations/PineapplePictures_uk.ts @@ -175,6 +175,7 @@ GraphicsScene + Drag image here Перетягніть зображення сюди @@ -211,127 +212,143 @@ MainWindow - + File url list is empty Список URL-адрес файлів порожній - + &Copy &Скопіювати - + + Are you sure you want to move "%1" to recycle bin? + + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + + + + Copy P&ixmap Скопіювати P&ixmap - + Copy &File Path Скопіювати &шлях до файлу - + Properties Властивості - + Stay on top Поверх всіх вікон - + Protected mode Захищений режим - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view Зберігати трансформацію - + Zoom in Збільшити - + Zoom out Зменшити - + Flip &Horizontally Перевернути по &горизонталі - + &Paste &Вставити - + Toggle Checkerboard Перемкнути шахову дошку - + &Open... &Відкрити... - + Actual size Фактичний розмір - + Toggle maximize Перемкнути на максимум - + Rotate right Перегорнути праворуч - + Previous image Попереднє зображення - + Next image Наступне зображення + + Move to Trash + + + + Configure... Налаштувати... - + Help Допомога - + Show in File Explorer File Explorer is the name of explorer.exe under Windows Показати у файловому провіднику - + Show in directory Показати у теці - + Quit Вийти diff --git a/app/translations/PineapplePictures_zh_CN.ts b/app/translations/PineapplePictures_zh_CN.ts index 19b5652..6169e80 100644 --- a/app/translations/PineapplePictures_zh_CN.ts +++ b/app/translations/PineapplePictures_zh_CN.ts @@ -179,6 +179,7 @@ GraphicsScene + Drag image here 拖放图片至此 @@ -215,127 +216,143 @@ MainWindow - + File url list is empty 文件 URL 列表为空 - + &Copy 复制(&C) - + + Are you sure you want to move "%1" to recycle bin? + 您确认要将“%1”移动到回收站吗? + + + + Move to trash failed, it might caused by file permission issue, file system limitation, or platform limitation. + 移至回收站失败,这可能由文件权限、文件系统或平台限制导致。 + + + Copy P&ixmap 复制位图(&I) - + Copy &File Path 复制文件路径(&F) - + Properties 属性 - + Stay on top 总在最前 - + Protected mode 保护模式 - + Keep transformation The 'transformation' means the flip/rotation status that currently applied to the image view 保持视图变换 - + Zoom in 放大 - + Zoom out 缩小 - + Flip &Horizontally 水平翻转(&H) - + &Paste 粘贴(&P) - + Toggle Checkerboard 切换棋盘格 - + &Open... 打开(&O)... - + Actual size 实际大小 - + Toggle maximize 最大化窗口 - + Rotate right 向右旋转 - + Previous image 上一个图像 - + Next image 下一个图像 + + Move to Trash + 移至回收站 + + + Configure... 设置... - + Help 帮助 - + Show in File Explorer File Explorer is the name of explorer.exe under Windows 在文件资源管理器中显示 - + Show in directory 在文件夹中显示 - + Quit 退出