From 439447c8936acaadd4a3b995b2f9afb1d43f8b2f Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Sat, 26 Jan 2019 13:07:48 +0100 Subject: [PATCH] Adding upstream version 0.14.0. Signed-off-by: Alf Gaida --- CHANGELOG | 44 +- CMakeLists.txt | 31 +- README.md | 7 + src/CMakeLists.txt | 17 +- src/application.cpp | 36 +- src/application.h | 36 +- src/graphicsscene.cpp | 24 +- src/graphicsscene.h | 35 +- src/imageview.cpp | 155 ++++- src/imageview.h | 61 +- src/img/draw-arrow.svg | 75 ++ src/img/draw-circle.svg | 72 ++ src/img/draw-none.svg | 75 ++ src/img/draw-number.svg | 84 +++ src/img/draw-rectangle.svg | 73 ++ src/loadimagejob.cpp | 59 +- src/loadimagejob.h | 42 +- src/lximage-qt.cpp | 20 + src/lximage-qt.h | 20 + src/mainwindow.cpp | 201 ++++-- src/mainwindow.h | 63 +- src/mainwindow.ui | 232 +++++-- src/modelfilter.cpp | 36 +- src/modelfilter.h | 36 +- src/mrumenu.cpp | 114 ++++ src/mrumenu.h | 76 +++ src/preferencesdialog.cpp | 46 +- src/preferencesdialog.h | 36 +- src/resource.qrc | 9 + src/saveimagejob.cpp | 42 +- src/saveimagejob.h | 36 +- src/screenshotdialog.cpp | 40 +- src/screenshotdialog.h | 36 +- src/screenshotselectarea.cpp | 38 +- src/screenshotselectarea.h | 36 +- src/screenshotselectareagraphicsview.cpp | 36 +- src/screenshotselectareagraphicsview.h | 36 +- src/settings.cpp | 38 +- src/settings.h | 58 +- src/translations/CMakeLists.txt | 3 + .../lximage-qt-screenshot_cs.desktop | 3 + .../lximage-qt-screenshot_pt_br.desktop | 4 + src/translations/lximage-qt.ts | 631 +++++++++++++++++ src/translations/lximage-qt_ar.ts | 637 +++++++++++++++++ src/translations/lximage-qt_ca.ts | 637 +++++++++++++++++ src/translations/lximage-qt_cs.ts | 637 +++++++++++++++++ src/translations/lximage-qt_cy.ts | 631 +++++++++++++++++ src/translations/lximage-qt_da.ts | 637 +++++++++++++++++ src/translations/lximage-qt_de.ts | 640 +++++++++++++++++ src/translations/lximage-qt_el.ts | 637 +++++++++++++++++ src/translations/lximage-qt_es.ts | 637 +++++++++++++++++ src/translations/lximage-qt_fr.ts | 637 +++++++++++++++++ src/translations/lximage-qt_gl.ts | 637 +++++++++++++++++ src/translations/lximage-qt_he.ts | 637 +++++++++++++++++ src/translations/lximage-qt_hr.ts | 631 +++++++++++++++++ src/translations/lximage-qt_hu.ts | 631 +++++++++++++++++ src/translations/lximage-qt_id.ts | 641 ++++++++++++++++++ src/translations/lximage-qt_is.ts | 631 +++++++++++++++++ src/translations/lximage-qt_it.ts | 632 +++++++++++++++++ src/translations/lximage-qt_ja.ts | 631 +++++++++++++++++ src/translations/lximage-qt_lt.ts | 637 +++++++++++++++++ src/translations/lximage-qt_nb_NO.ts | 637 +++++++++++++++++ src/translations/lximage-qt_nl.ts | 640 +++++++++++++++++ src/translations/lximage-qt_pa.ts | 631 +++++++++++++++++ src/translations/lximage-qt_pl.ts | 637 +++++++++++++++++ src/translations/lximage-qt_pt.ts | 637 +++++++++++++++++ src/translations/lximage-qt_pt_BR.ts | 638 +++++++++++++++++ src/translations/lximage-qt_ru.ts | 637 +++++++++++++++++ src/translations/lximage-qt_sv.ts | 631 +++++++++++++++++ src/translations/lximage-qt_tr.ts | 637 +++++++++++++++++ src/translations/lximage-qt_uk.ts | 631 +++++++++++++++++ src/translations/lximage-qt_zh_CN.ts | 631 +++++++++++++++++ src/translations/lximage-qt_zh_TW.ts | 637 +++++++++++++++++ src/upload/imageshackprovider.cpp | 37 +- src/upload/imageshackprovider.h | 35 +- src/upload/imageshackupload.cpp | 35 +- src/upload/imageshackupload.h | 35 +- src/upload/imgbbprovider.cpp | 64 ++ src/upload/imgbbprovider.h | 38 ++ src/upload/imgbbupload.cpp | 50 ++ src/upload/imgbbupload.h | 40 ++ src/upload/imgurprovider.cpp | 35 +- src/upload/imgurprovider.h | 35 +- src/upload/imgurupload.cpp | 35 +- src/upload/imgurupload.h | 35 +- src/upload/provider.cpp | 35 +- src/upload/provider.h | 35 +- src/upload/upload.cpp | 35 +- src/upload/upload.h | 35 +- src/upload/uploaddialog.cpp | 47 +- src/upload/uploaddialog.h | 36 +- src/upload/uploaddialog.ui | 14 + 92 files changed, 21822 insertions(+), 803 deletions(-) create mode 100644 src/img/draw-arrow.svg create mode 100644 src/img/draw-circle.svg create mode 100644 src/img/draw-none.svg create mode 100644 src/img/draw-number.svg create mode 100644 src/img/draw-rectangle.svg create mode 100644 src/mrumenu.cpp create mode 100644 src/mrumenu.h create mode 100644 src/resource.qrc create mode 100644 src/translations/CMakeLists.txt create mode 100644 src/translations/lximage-qt-screenshot_cs.desktop create mode 100644 src/translations/lximage-qt-screenshot_pt_br.desktop create mode 100644 src/translations/lximage-qt.ts create mode 100644 src/translations/lximage-qt_ar.ts create mode 100644 src/translations/lximage-qt_ca.ts create mode 100644 src/translations/lximage-qt_cs.ts create mode 100644 src/translations/lximage-qt_cy.ts create mode 100644 src/translations/lximage-qt_da.ts create mode 100644 src/translations/lximage-qt_de.ts create mode 100644 src/translations/lximage-qt_el.ts create mode 100644 src/translations/lximage-qt_es.ts create mode 100644 src/translations/lximage-qt_fr.ts create mode 100644 src/translations/lximage-qt_gl.ts create mode 100644 src/translations/lximage-qt_he.ts create mode 100644 src/translations/lximage-qt_hr.ts create mode 100644 src/translations/lximage-qt_hu.ts create mode 100644 src/translations/lximage-qt_id.ts create mode 100644 src/translations/lximage-qt_is.ts create mode 100644 src/translations/lximage-qt_it.ts create mode 100644 src/translations/lximage-qt_ja.ts create mode 100644 src/translations/lximage-qt_lt.ts create mode 100644 src/translations/lximage-qt_nb_NO.ts create mode 100644 src/translations/lximage-qt_nl.ts create mode 100644 src/translations/lximage-qt_pa.ts create mode 100644 src/translations/lximage-qt_pl.ts create mode 100644 src/translations/lximage-qt_pt.ts create mode 100644 src/translations/lximage-qt_pt_BR.ts create mode 100644 src/translations/lximage-qt_ru.ts create mode 100644 src/translations/lximage-qt_sv.ts create mode 100644 src/translations/lximage-qt_tr.ts create mode 100644 src/translations/lximage-qt_uk.ts create mode 100644 src/translations/lximage-qt_zh_CN.ts create mode 100644 src/translations/lximage-qt_zh_TW.ts create mode 100644 src/upload/imgbbprovider.cpp create mode 100644 src/upload/imgbbprovider.h create mode 100644 src/upload/imgbbupload.cpp create mode 100644 src/upload/imgbbupload.h diff --git a/CHANGELOG b/CHANGELOG index 21fc42d..f123cbe 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,36 @@ +lximage-qt-0.14.0 / 2019-01-15 +============================== + + * Bumped version to 0.14.0 - the big bump was needed + to prevent packaging conflicts with the merged back + translations + * Set the required version of libfm-qt to 0.14.0. + * New Features: + - Render image EXIF data (by Rndevfx) + - Added confirmation dialog when using "Save as" with a + filename without extension. + - Add ImgBB upload provider + - Add ability to annotate images + - Add copy button to upload dialog + - Implement MRU list + * Fixed implementations: + - Several codestyle improvements like null pointers as nullptr, + const references, indent fixes + - Settings: add const to getters + - Fixed a FTBFS due to libfm header inclusion + - Update copyright block in source files + - Fixed thumbnail selection (with deletion) + - Don't use automatic string conversions + * Translation updates + * Improved cmake scripting + - Set cmake_minimum_required to 3.1.0 + - Removed locale compile definitons + - Use XFIXES_LDFLAGS instead of XFIXES_LIBRARIES + * Moved translations from lxqt-l10n back to lximage-qt + - Removed obsolete translation fuctionality + - Added translation promo in README.md + lximage-qt-0.7.0 / 2018-05-21 ============================= @@ -13,7 +45,7 @@ lximage-qt-0.7.0 / 2018-05-21 * cmake: Handle CMP0071 * Add Spanish desktop entries -0.6.0 / 2017-10-21 +lximage-qt-0.6.0 / 2017-10-21 ================== * Release 0.6.0: Update changelog @@ -47,7 +79,7 @@ lximage-qt-0.7.0 / 2018-05-21 * Bump year * File and folder DND Fixes https://github.com/lxde/lximage-qt/issues/69. -0.5.1 / 2016-12-21 +lximage-qt-0.5.1 / 2016-12-21 ================== * Release 0.5.1: Update changelog @@ -62,7 +94,7 @@ lximage-qt-0.7.0 / 2018-05-21 * Fixed A Cast (#71) * Remove cpack (#70) -0.5.0 / 2016-09-24 +lximage-qt-0.5.0 / 2016-09-24 ================== * Release 0.5.0: Add changelog @@ -114,7 +146,7 @@ lximage-qt-0.7.0 / 2018-05-21 * Hungarian translations added * save and restore window size and maximized state -0.4.0 / 2015-02-18 +lximage-qt-0.4.0 / 2015-02-18 ================== * Release v0.4.0 @@ -132,7 +164,7 @@ lximage-qt-0.7.0 / 2018-05-21 * Use proper naming conventions for translations * Clean up CMakeLists, dropping support for Qt 5 -0.3.0 / 2014-10-15 +lximage-qt-0.3.0 / 2014-10-15 ================== * Release v0.3.0 @@ -143,7 +175,7 @@ lximage-qt-0.7.0 / 2018-05-21 * Support Qt5 and libfm-qt5. * Make sure all enums are handled in switch -0.2.0 / 2014-05-09 +lximage-qt-0.2.0 / 2014-05-09 ================== * Release 0.2.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc96c0..2ad7431 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,28 +1,37 @@ -cmake_minimum_required(VERSION 3.0.2) +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level +# CMakeLists.txt file even before calling the project() command. +# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION) +# command to specify that the current project code is written for the given range of CMake +# versions. project(lximage-qt) include(GNUInstallDirs) set(MAJOR_VERSION 0) -set(MINOR_VERSION 7) +set(MINOR_VERSION 14) set(PATCH_VERSION 0) set(LXIMAGE_VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}) -set(LXQTBT_MINIMUM_VERSION "0.5.0") +set(LXQTBT_MINIMUM_VERSION "0.6.0") +set(LIBFMQT_MINIMUM_VERSION "0.14.0") +set(QT_MINIMUM_VERSION "5.7.1") + set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) -find_package(Qt5Widgets REQUIRED) -find_package(Qt5Network REQUIRED) -find_package(Qt5DBus REQUIRED) -find_package(Qt5PrintSupport REQUIRED) -find_package(Qt5X11Extras REQUIRED) -find_package(Qt5LinguistTools REQUIRED) -find_package(Qt5Svg REQUIRED) -find_package(fm-qt REQUIRED) +find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5Network ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5DBus ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5PrintSupport ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5X11Extras ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5LinguistTools ${QT_MINIMUM_VERSION} REQUIRED) +find_package(Qt5Svg ${QT_MINIMUM_VERSION} REQUIRED) +find_package(fm-qt ${LIBFMQT_MINIMUM_VERSION} REQUIRED) find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) find_package(Exif REQUIRED) message(STATUS "Building with Qt ${Qt5Core_VERSION}") diff --git a/README.md b/README.md index 1ee11b2..b8256c6 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,10 @@ as usual. Official binary packages are available in Arch Linux, Debian (as of Debian stretch), Fedora and openSUSE (Leap 42.1 and Tumbleweed). Just use the distributions' package manager to search for string 'lximage'. + + +### Translation (Weblate) + + +Translation status + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 25d2d91..d586546 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,14 +23,19 @@ set(lximage-qt_SRCS screenshotselectareagraphicsview.cpp settings.cpp graphicsscene.cpp + mrumenu.cpp upload/imageshackprovider.cpp upload/imageshackupload.cpp + upload/imgbbprovider.cpp + upload/imgbbupload.cpp upload/imgurprovider.cpp upload/imgurupload.cpp upload/provider.cpp upload/upload.cpp upload/uploaddialog.cpp + + resource.qrc ) qt5_add_dbus_adaptor(lximage-qt_DBUS_SRCS @@ -60,15 +65,8 @@ lxqt_translate_ts(QM_FILES ${lximage-qt_UIS} INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/translations" - PULL_TRANSLATIONS - ${PULL_TRANSLATIONS} - CLEAN_TRANSLATIONS - ${CLEAN_TRANSLATIONS} - TRANSLATIONS_REPO - ${TRANSLATIONS_REPO} - TRANSLATIONS_REFSPEC - ${TRANSLATIONS_REFSPEC} ) + # prevent the generated files from being deleted during make clean set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true) @@ -89,7 +87,6 @@ add_executable(lximage-qt add_definitions( -DLXIMAGE_DATA_DIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}/lximage-qt" -DLXIMAGE_VERSION="${LXIMAGE_VERSION}" - -DQT_NO_FOREACH ) set(QT_LIBRARIES Qt5::Widgets Qt5::Network Qt5::Core Qt5::DBus Qt5::PrintSupport Qt5::X11Extras Qt5::Svg) @@ -99,7 +96,7 @@ target_link_libraries(lximage-qt ${QT_LIBRARIES} ${EXIF_LIBRARIES} ${X11_LIBRARIES} - ${XFIXES_LIBRARIES} + ${XFIXES_LDFLAGS} ) install(TARGETS lximage-qt RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") diff --git a/src/application.cpp b/src/application.cpp index c3c07b4..ee09988 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "application.h" #include diff --git a/src/application.h b/src/application.h index 618a092..cfb4770 100644 --- a/src/application.h +++ b/src/application.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_APPLICATION_H #define LXIMAGE_APPLICATION_H diff --git a/src/graphicsscene.cpp b/src/graphicsscene.cpp index 3d767e9..ba6f0a8 100644 --- a/src/graphicsscene.cpp +++ b/src/graphicsscene.cpp @@ -1,20 +1,20 @@ /* - * - * Copyright (C) 2014 + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * This library is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * */ diff --git a/src/graphicsscene.h b/src/graphicsscene.h index b25b5e4..79049f6 100644 --- a/src/graphicsscene.h +++ b/src/graphicsscene.h @@ -1,21 +1,22 @@ /* - - Copyright (C) 2013 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_GRAPHICSSCENE_H #define LXIMAGE_GRAPHICSSCENE_H diff --git a/src/imageview.cpp b/src/imageview.cpp index dd1a9dd..1db30d6 100644 --- a/src/imageview.cpp +++ b/src/imageview.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "imageview.h" #include @@ -28,6 +28,9 @@ #include #include #include +#include +#include +#include #define CURSOR_HIDE_DELY 3000 @@ -42,7 +45,8 @@ ImageView::ImageView(QWidget* parent): cursorTimer_(nullptr), scaleFactor_(1.0), autoZoomFit_(false), - isSVG(false) { + isSVG(false), + currentTool(ToolNone) { setViewportMargins(0, 0, 0, 0); setContentsMargins(0, 0, 0, 0); @@ -101,13 +105,72 @@ void ImageView::mouseDoubleClickEvent(QMouseEvent* event) { } void ImageView::mousePressEvent(QMouseEvent * event) { - QGraphicsView::mousePressEvent(event); - if(cursorTimer_) cursorTimer_->stop(); + if (currentTool == ToolNone) { + QGraphicsView::mousePressEvent(event); + if(cursorTimer_) cursorTimer_->stop(); + } else { + startPoint = mapToScene(event->pos()).toPoint(); + } } void ImageView::mouseReleaseEvent(QMouseEvent* event) { - QGraphicsView::mouseReleaseEvent(event); - if(cursorTimer_) cursorTimer_->start(CURSOR_HIDE_DELY); + if (currentTool == ToolNone) { + QGraphicsView::mouseReleaseEvent(event); + if(cursorTimer_) cursorTimer_->start(CURSOR_HIDE_DELY); + } else if (!image_.isNull()) { + QPoint endPoint = mapToScene(event->pos()).toPoint(); + + QPainter painter(&image_); + painter.setRenderHint(QPainter::Antialiasing, true); + painter.setPen(QPen(Qt::red, 5)); + + switch (currentTool) { + case ToolArrow: + drawArrow(painter, startPoint, endPoint, M_PI / 8, 25); + break; + case ToolRectangle: + painter.drawRect(QRect(startPoint, endPoint)); + break; + case ToolCircle: + painter.drawEllipse(QRect(startPoint, endPoint)); + break; + case ToolNumber: + { + // Set the font + QFont font; + font.setPixelSize(32); + painter.setFont(font); + + // Calculate the dimensions of the text + QString text = QString("%1").arg(nextNumber++); + QRectF textRect = painter.boundingRect(image_.rect(), 0, text); + textRect.moveTo(endPoint); + + // Calculate the dimensions of the circle + qreal radius = qSqrt(textRect.width() * textRect.width() + + textRect.height() * textRect.height()) / 2; + QRectF circleRect(textRect.left() + (textRect.width() / 2 - radius), + textRect.top() + (textRect.height() / 2 - radius), + radius * 2, radius * 2); + + // Draw the path + QPainterPath path; + path.addEllipse(circleRect); + painter.fillPath(path, Qt::red); + painter.drawPath(path); + + // Draw the text + painter.setPen(Qt::white); + painter.drawText(textRect, Qt::AlignCenter, text); + + break; + } + default: + break; + } + painter.end(); + generateCache(); + } } void ImageView::mouseMoveEvent(QMouseEvent* event) { @@ -175,7 +238,7 @@ void ImageView::zoomOriginal() { queueGenerateCache(); } -void ImageView::setImage(QImage image, bool show) { +void ImageView::setImage(const QImage& image, bool show) { if(show && (gifMovie_ || isSVG)) { // a gif animation or SVG file was shown before scene_->clear(); isSVG = false; @@ -208,9 +271,12 @@ void ImageView::setImage(QImage image, bool show) { if(autoZoomFit_) zoomFit(); queueGenerateCache(); + + // clear the numbering + nextNumber = 1; } -void ImageView::setGifAnimation(QString fileName) { +void ImageView::setGifAnimation(const QString& fileName) { /* the built-in gif reader gives the first frame, which won't be shown but is used for tracking position and dimensions */ image_ = QImage(fileName); @@ -247,7 +313,7 @@ void ImageView::setGifAnimation(QString fileName) { queueGenerateCache(); // deletes the cache timer in this case } -void ImageView::setSVG(QString fileName) { +void ImageView::setSVG(const QString& fileName) { image_ = QImage(fileName); // for tracking position and dimensions if(image_.isNull()) { if(imageItem_) { @@ -385,7 +451,7 @@ void ImageView::blankCursor() { void ImageView::hideCursor(bool enable) { if(enable) { - if(cursorTimer_) delete cursorTimer_; + delete cursorTimer_; cursorTimer_ = new QTimer(this); cursorTimer_->setSingleShot(true); connect(cursorTimer_, &QTimer::timeout, this, &ImageView::blankCursor); @@ -401,4 +467,39 @@ void ImageView::hideCursor(bool enable) { } } +void ImageView::activateTool(Tool tool) { + currentTool = tool; + viewport()->setCursor(tool == ToolNone ? + Qt::OpenHandCursor : + Qt::CrossCursor); +} + +void ImageView::drawArrow(QPainter &painter, + const QPoint &start, + const QPoint &end, + qreal tipAngle, + int tipLen) const +{ + // Draw the line + painter.drawLine(start, end); + + // Calculate the angle of the line + QPoint delta = end - start; + qreal angle = qAtan2(-delta.y(), delta.x()) - M_PI / 2; + + // Calculate the points of the lines that converge at the tip + QPoint tip1( + static_cast(qSin(angle + tipAngle) * tipLen), + static_cast(qCos(angle + tipAngle) * tipLen) + ); + QPoint tip2( + static_cast(qSin(angle - tipAngle) * tipLen), + static_cast(qCos(angle - tipAngle) * tipLen) + ); + + // Draw the two lines + painter.drawLine(end, end + tip1); + painter.drawLine(end, end + tip2); +} + } // namespace LxImage diff --git a/src/imageview.h b/src/imageview.h index 849a790..11a42c1 100644 --- a/src/imageview.h +++ b/src/imageview.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_IMAGEVIEW_H #define LXIMAGE_IMAGEVIEW_H @@ -41,9 +41,9 @@ public: ImageView(QWidget* parent = 0); virtual ~ImageView(); - void setImage(QImage image, bool show = true); - void setGifAnimation(QString fileName); - void setSVG(QString fileName); + void setImage(const QImage& image, bool show = true); + void setGifAnimation(const QString& fileName); + void setSVG(const QString& fileName); QImage image() { return image_; @@ -72,6 +72,16 @@ public: // if set to true, hides the cursor after 3s of inactivity void hideCursor(bool enable); + // Annotation tools + enum Tool { + ToolNone, + ToolArrow, + ToolRectangle, + ToolCircle, + ToolNumber + }; + void activateTool(Tool tool); + Q_SIGNALS: void fileDropped(const QString file); @@ -90,6 +100,12 @@ private: QRect viewportToScene(const QRect& rect); QRect sceneToViewport(const QRectF& rect); + void drawArrow(QPainter &painter, + const QPoint &start, + const QPoint &end, + qreal tipAngle, + int tipLen) const; + private Q_SLOTS: void onFileDropped(const QString file); void generateCache(); @@ -108,6 +124,9 @@ private: double scaleFactor_; bool autoZoomFit_; bool isSVG; // is the image an SVG file? + Tool currentTool; // currently selected tool + QPoint startPoint; // starting point for the tool + int nextNumber; }; } diff --git a/src/img/draw-arrow.svg b/src/img/draw-arrow.svg new file mode 100644 index 0000000..2b1b68e --- /dev/null +++ b/src/img/draw-arrow.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/img/draw-circle.svg b/src/img/draw-circle.svg new file mode 100644 index 0000000..bbac10e --- /dev/null +++ b/src/img/draw-circle.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/img/draw-none.svg b/src/img/draw-none.svg new file mode 100644 index 0000000..90e8866 --- /dev/null +++ b/src/img/draw-none.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/img/draw-number.svg b/src/img/draw-number.svg new file mode 100644 index 0000000..0b3ae45 --- /dev/null +++ b/src/img/draw-number.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + 3 + + diff --git a/src/img/draw-rectangle.svg b/src/img/draw-rectangle.svg new file mode 100644 index 0000000..64720a6 --- /dev/null +++ b/src/img/draw-rectangle.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/loadimagejob.cpp b/src/loadimagejob.cpp index 085fa31..51d39bf 100644 --- a/src/loadimagejob.cpp +++ b/src/loadimagejob.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "loadimagejob.h" #include "mainwindow.h" @@ -34,6 +34,19 @@ LoadImageJob::LoadImageJob(const Fm::FilePath & filePath): LoadImageJob::~LoadImageJob() { } +void readExifEntry(ExifEntry* ee, void* user_data) { + QMap& exifData = *reinterpret_cast*>(user_data); + char c[100]; + auto ifd = exif_entry_get_ifd(ee); + QString key = exif_tag_get_title_in_ifd(ee->tag, ifd); + QString value = exif_entry_get_value(ee, c, 100); + exifData.insert(key, value); +} + +void readExifContent(ExifContent* ec, void* user_data) { + exif_content_foreach_entry(ec, readExifEntry, user_data); +} + // This is called from the worker thread, not main thread void LoadImageJob::exec() { GFileInputStream* fileStream = nullptr; @@ -61,9 +74,9 @@ void LoadImageJob::exec() { if(readSize == -1 || readSize == 0) // error or EOF break; // append the bytes read to the image buffer - imageBuffer.append(buffer, readSize); + imageBuffer.append(buffer, readSize); } - g_input_stream_close(inputStream, NULL, NULL); + g_input_stream_close(inputStream, nullptr, nullptr); if (!error) break; // everything read or cancel requested @@ -79,7 +92,7 @@ void LoadImageJob::exec() { // check if this file is a jpeg file // FIXME: can we use FmFileInfo instead if it's available? const Fm::CStrPtr basename = path_.baseName(); - const Fm::CStrPtr mime_type{g_content_type_guess(basename.get(), NULL, 0, NULL)}; + const Fm::CStrPtr mime_type{g_content_type_guess(basename.get(), nullptr, 0, nullptr)}; if(mime_type && strcmp(mime_type.get(), "image/jpeg") == 0) { // this is a jpeg file // use libexif to extract additional info embedded in jpeg files std::unique_ptr exif_loader{exif_loader_new(), &exif_loader_unref}; @@ -116,8 +129,10 @@ void LoadImageJob::exec() { transform.rotate(rotate_degrees); image_ = image_.transformed(transform, Qt::SmoothTransformation); } - // TODO: handle other EXIF tags as well } + + // handle other EXIF tags as well + exif_data_foreach_content(exif_data.get(), readExifContent, &exifData_); } } } diff --git a/src/loadimagejob.h b/src/loadimagejob.h index 13d9afc..30774af 100644 --- a/src/loadimagejob.h +++ b/src/loadimagejob.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_LOADIMAGEJOB_H #define LXIMAGE_LOADIMAGEJOB_H @@ -24,6 +24,7 @@ #include #include #include +#include namespace LxImage { @@ -40,10 +41,15 @@ public: return path_; } + QMap getExifData() { + return exifData_; + } + private: ~LoadImageJob(); // prevent direct deletion virtual void exec() override; + QMap exifData_; const Fm::FilePath path_; QImage image_; diff --git a/src/lximage-qt.cpp b/src/lximage-qt.cpp index bd5e476..969616e 100644 --- a/src/lximage-qt.cpp +++ b/src/lximage-qt.cpp @@ -1,3 +1,23 @@ +/* + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + #include #include #include "application.h" diff --git a/src/lximage-qt.h b/src/lximage-qt.h index e4f09b8..ea063f0 100644 --- a/src/lximage-qt.h +++ b/src/lximage-qt.h @@ -1,3 +1,23 @@ +/* + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + #ifndef lximage_qt_H #define lximage_qt_H diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1e0012a..7ad768e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1,24 +1,25 @@ /* - - Copyright (C) 2013 - 2014 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "mainwindow.h" +#include #include #include #include @@ -38,12 +39,15 @@ #include #include #include +#include + #include "application.h" #include #include #include #include +#include "mrumenu.h" #include "upload/uploaddialog.h" using namespace LxImage; @@ -109,22 +113,35 @@ MainWindow::MainWindow(): contextMenu_->addAction(ui.actionFlipVertical); contextMenu_->addAction(ui.actionFlipVertical); - // create shortcuts + // Open images when MRU items are clicked + connect(ui.menuRecently_Opened_Files, &MruMenu::itemClicked, this, &MainWindow::onFileDropped); + + // Create an action group for the annotation tools + QActionGroup *annotationGroup = new QActionGroup(this); + annotationGroup->addAction(ui.actionDrawNone); + annotationGroup->addAction(ui.actionDrawArrow); + annotationGroup->addAction(ui.actionDrawRectangle); + annotationGroup->addAction(ui.actionDrawCircle); + annotationGroup->addAction(ui.actionDrawNumber); + ui.actionDrawNone->setChecked(true); + + // create keyboard shortcuts QShortcut* shortcut = new QShortcut(Qt::Key_Left, this); connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionPrevious_triggered); + shortcut = new QShortcut(Qt::Key_Backspace, this); + connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionPrevious_triggered); shortcut = new QShortcut(Qt::Key_Right, this); connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionNext_triggered); + shortcut = new QShortcut(Qt::Key_Space, this); + connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionNext_triggered); shortcut = new QShortcut(Qt::Key_Escape, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onExitFullscreen); + connect(shortcut, &QShortcut::activated, this, &MainWindow::onKeyboardEscape); } MainWindow::~MainWindow() { - if(slideShowTimer_) - delete slideShowTimer_; - if(thumbnailsView_) - delete thumbnailsView_; - if(thumbnailsDock_) - delete thumbnailsDock_; + delete slideShowTimer_; + delete thumbnailsView_; + delete thumbnailsDock_; if(loadJob_) { loadJob_->cancel(); @@ -169,6 +186,27 @@ void MainWindow::on_actionZoomOut_triggered() { ui.view->zoomOut(); } +void MainWindow::on_actionDrawNone_triggered() { + ui.view->activateTool(ImageView::ToolNone); +} + +void MainWindow::on_actionDrawArrow_triggered() { + ui.view->activateTool(ImageView::ToolArrow); +} + +void MainWindow::on_actionDrawRectangle_triggered() { + ui.view->activateTool(ImageView::ToolRectangle); +} + +void MainWindow::on_actionDrawCircle_triggered() { + ui.view->activateTool(ImageView::ToolCircle); +} + +void MainWindow::on_actionDrawNumber_triggered() { + ui.view->activateTool(ImageView::ToolNumber); +} + + void MainWindow::onFolderLoaded() { // if currently we're showing a file, get its index in the folder now // since the folder is fully loaded. @@ -185,7 +223,7 @@ void MainWindow::onFolderLoaded() { on_actionFirst_triggered(); } -void MainWindow::openImageFile(QString fileName) { +void MainWindow::openImageFile(const QString& fileName) { const Fm::FilePath path = Fm::FilePath::fromPathStr(qPrintable(fileName)); // the same file! do not load it again if(currentFile_ && currentFile_ == path) @@ -263,7 +301,7 @@ QString MainWindow::openDirectory() { } // popup a file dialog and retrieve the selected image file name -QString MainWindow::saveFileName(QString defaultName) { +QString MainWindow::saveFileName(const QString& defaultName) { QString filterStr; QList formats = QImageWriter::supportedImageFormats(); QList::iterator it = formats.begin(); @@ -278,12 +316,17 @@ QString MainWindow::saveFileName(QString defaultName) { } // FIXME: should we generate better filter strings? one format per item? - QString fileName = QFileDialog::getSaveFileName( - this, tr("Save File"), defaultName, tr("Image files (%1)").arg(filterStr)); + QString fileName; + QFileDialog diag(this, tr("Save File"), defaultName, + tr("Image files (%1)").arg(filterStr)); + diag.setAcceptMode(QFileDialog::AcceptMode::AcceptSave); + diag.setFileMode(QFileDialog::FileMode::AnyFile); + diag.setDefaultSuffix("png"); + + if (diag.exec()) { + fileName = diag.selectedFiles().at(0); + } - // use png format by default if the extension is not set - if(!fileName.isEmpty() && fileName.indexOf('.') == -1) - fileName += ".png"; return fileName; } @@ -301,6 +344,12 @@ void MainWindow::on_actionOpenDirectory_triggered() { } } +void MainWindow::on_actionReload_triggered() { + if (currentFile_) { + loadImage(currentFile_); + } +} + void MainWindow::on_actionNewWindow_triggered() { Application* app = static_cast(qApp); MainWindow* window = new MainWindow(); @@ -435,15 +484,19 @@ void MainWindow::onImageLoaded() { // to nullptr). This simple check should be enough. if (sender() == loadJob_) { + // Add to the MRU menu + ui.menuRecently_Opened_Files->addItem(loadJob_->filePath().localPath().get()); + image_ = loadJob_->image(); + exifData_ = loadJob_->getExifData(); loadJob_ = nullptr; // the job object will be freed later automatically ui.view->setAutoZoomFit(true); ui.view->setImage(image_); - if(!currentIndex_.isValid()) - currentIndex_ = indexFromPath(currentFile_); + // currentIndex_ should be corrected after loading + currentIndex_ = indexFromPath(currentFile_); updateUI(); @@ -529,6 +582,10 @@ void MainWindow::updateUI() { thumbnailsView_->childView()->setCurrentIndex(currentIndex_); thumbnailsView_->childView()->scrollTo(currentIndex_, QAbstractItemView::EnsureVisible); } + + if(exifDataDock_) { + setShowExifData(true); + } } QString title; @@ -606,7 +663,7 @@ void MainWindow::loadImage(const Fm::FilePath & filePath, QModelIndex index) { image_ = QImage(); const Fm::CStrPtr basename = currentFile_.baseName(); - char* mime_type = g_content_type_guess(basename.get(), NULL, 0, NULL); + char* mime_type = g_content_type_guess(basename.get(), nullptr, 0, nullptr); QString mimeType; if (mime_type) { mimeType = QString(mime_type); @@ -645,7 +702,7 @@ void MainWindow::saveImage(const Fm::FilePath & filePath) { if(saveJob_) // do not launch a new job if the current one is still in progress return; // start a new gio job to save current image to the specified path - saveJob_ = new SaveImageJob(image_, filePath); + saveJob_ = new SaveImageJob(ui.view->image(), filePath); connect(saveJob_, &Fm::Job::finished, this, &MainWindow::onImageSaved); connect(saveJob_, &Fm::Job::error, this , [] (const Fm::GErrorPtr & err, Fm::Job::ErrorSeverity /*severity*/, Fm::Job::ErrorAction & /*response*/) @@ -842,6 +899,14 @@ void MainWindow::on_actionSlideShow_triggered(bool checked) { } } +void MainWindow::on_actionShowThumbnails_triggered(bool checked) { + setShowThumbnails(checked); +} + +void MainWindow::on_actionShowExifData_triggered(bool checked) { + setShowExifData(checked); +} + void MainWindow::setShowThumbnails(bool show) { if(show) { if(!thumbnailsDock_) { @@ -886,8 +951,53 @@ void MainWindow::setShowThumbnails(bool show) { } } -void MainWindow::on_actionShowThumbnails_triggered(bool checked) { - setShowThumbnails(checked); +void MainWindow::setShowExifData(bool show) { + // Close the dock if it exists and show is false + if (exifDataDock_ && !show) { + exifDataDock_->close(); + exifDataDock_ = nullptr; + } + + // Be sure the dock was created before rendering content to it + if (show && !exifDataDock_) { + exifDataDock_ = new QDockWidget(tr("EXIF Data"), this); + exifDataDock_->setFeatures(QDockWidget::NoDockWidgetFeatures); + addDockWidget(Qt::RightDockWidgetArea, exifDataDock_); + } + + // Render the content to the dock + if (show) { + QWidget* exifDataDockView_ = new QWidget(); + + QVBoxLayout* exifDataDockViewContent_ = new QVBoxLayout(); + QTableWidget* exifDataContentTable_ = new QTableWidget(); + + // Table setup + exifDataContentTable_->setColumnCount(2); + exifDataContentTable_->setShowGrid(false); + exifDataContentTable_->horizontalHeader()->hide(); + exifDataContentTable_->verticalHeader()->hide(); + + // The table is not editable + exifDataContentTable_->setEditTriggers(QAbstractItemView::NoEditTriggers); + + // Write the EXIF Data to the table + for (const QString& key : exifData_.keys()) { + int rowCount = exifDataContentTable_->rowCount(); + + exifDataContentTable_->insertRow(rowCount); + exifDataContentTable_->setItem(rowCount,0, new QTableWidgetItem(key)); + exifDataContentTable_->setItem(rowCount,1, new QTableWidgetItem(exifData_.value(key))); + } + + // Table setup after content was added + exifDataContentTable_->resizeColumnsToContents(); + exifDataContentTable_->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); + + exifDataDockViewContent_->addWidget(exifDataContentTable_); + exifDataDockView_->setLayout(exifDataDockViewContent_); + exifDataDock_->setWidget(exifDataDockView_); + } } void MainWindow::changeEvent(QEvent* event) { @@ -898,6 +1008,7 @@ void MainWindow::changeEvent(QEvent* event) { ui.view->setFrameStyle(QFrame::NoFrame); ui.view->setBackgroundBrush(QBrush(app->settings().fullScreenBgColor())); ui.toolBar->hide(); + ui.annotationsToolBar->hide(); ui.statusBar->hide(); if(thumbnailsDock_) thumbnailsDock_->hide(); @@ -924,6 +1035,7 @@ void MainWindow::changeEvent(QEvent* event) { } ui.menubar->show(); ui.toolBar->show(); + ui.annotationsToolBar->show(); ui.statusBar->show(); if(thumbnailsDock_) thumbnailsDock_->show(); @@ -964,16 +1076,19 @@ void MainWindow::onContextMenu(QPoint pos) { contextMenu_->exec(ui.view->mapToGlobal(pos)); } -void MainWindow::onExitFullscreen() { +void MainWindow::onKeyboardEscape() { if(isFullScreen()) - showNormal(); + ui.actionFullScreen->trigger(); // will also "uncheck" the menu entry + else + on_actionClose_triggered(); } void MainWindow::onThumbnailSelChanged(const QItemSelection& selected, const QItemSelection& /*deselected*/) { // the selected item of thumbnail view is changed if(!selected.isEmpty()) { - QModelIndex index = selected.first().topLeft(); - if(index.isValid() && index != currentIndex_) { + QModelIndex index = selected.indexes().first(); + if(index.isValid()) { + // WARNING: Adding the condition index != currentIndex_ would be wrong because currentIndex_ may not be updated yet const auto file = proxyModel_->fileInfoFromIndex(index); if(file) loadImage(file->path(), index); diff --git a/src/mainwindow.h b/src/mainwindow.h index 36e8f69..3b13fc3 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_MAINWINDOW_H #define LXIMAGE_MAINWINDOW_H @@ -27,7 +27,9 @@ #include "imageview.h" #include -#include +#include +#include + #include #include #include @@ -54,7 +56,7 @@ public: MainWindow(); virtual ~MainWindow(); - void openImageFile(QString fileName); + void openImageFile(const QString& fileName); QImage image() const { return image_; @@ -67,6 +69,7 @@ public: } void setShowThumbnails(bool show); + void setShowExifData(bool show); void applySettings(); protected: @@ -75,7 +78,7 @@ protected: void loadFolder(const Fm::FilePath & newFolderPath); QString openFileName(); QString openDirectory(); - QString saveFileName(QString defaultName = QString()); + QString saveFileName(const QString& defaultName = QString()); virtual void changeEvent(QEvent * event); virtual void resizeEvent(QResizeEvent *event); virtual void closeEvent(QCloseEvent *event); @@ -89,6 +92,7 @@ private Q_SLOTS: void on_actionOpenFile_triggered(); void on_actionOpenDirectory_triggered(); + void on_actionReload_triggered(); void on_actionNewWindow_triggered(); void on_actionSave_triggered(); void on_actionSaveAs_triggered(); @@ -106,6 +110,7 @@ private Q_SLOTS: void on_actionUpload_triggered(); void on_actionShowThumbnails_triggered(bool checked); + void on_actionShowExifData_triggered(bool checked); void on_actionFullScreen_triggered(bool checked); void on_actionSlideShow_triggered(bool checked); @@ -119,8 +124,14 @@ private Q_SLOTS: void on_actionOriginalSize_triggered(); void on_actionZoomFit_triggered(); + void on_actionDrawNone_triggered(); + void on_actionDrawArrow_triggered(); + void on_actionDrawRectangle_triggered(); + void on_actionDrawCircle_triggered(); + void on_actionDrawNumber_triggered(); + void onContextMenu(QPoint pos); - void onExitFullscreen(); + void onKeyboardEscape(); void onThumbnailSelChanged(const QItemSelection & selected, const QItemSelection & deselected); @@ -154,6 +165,14 @@ private: QDockWidget* thumbnailsDock_; Fm::FolderView* thumbnailsView_; + // EXIF Data + QDockWidget* exifDataDock_ = nullptr; + QWidget* exifDataDockView_; + QVBoxLayout* exifDataDockViewContent_; + QTableWidget* exifDataContentTable_; + + QMap exifData_; + // multi-threading loading of images LoadImageJob* loadJob_; SaveImageJob* saveJob_; diff --git a/src/mainwindow.ui b/src/mainwindow.ui index d0cac02..eac58f6 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -15,15 +15,23 @@ - - + .. 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -47,16 +55,23 @@ 0 0 543 - 23 + 22 &File + + + &Recently Opened Files + + + + @@ -92,9 +107,11 @@ + + @@ -138,6 +155,7 @@ + @@ -152,11 +170,26 @@ + + + Annotations Toolbar + + + TopToolBarArea + + + false + + + + + + + - - + .. &About @@ -165,21 +198,31 @@ - - + .. - &Open File + &File Ctrl+O + + + + .. + + + &Reload File + + + Ctrl+R + + - - + .. &Save @@ -191,8 +234,7 @@ - - + .. Save &As @@ -204,8 +246,7 @@ - - + .. &Close @@ -217,8 +258,7 @@ - - + .. Zoom &In @@ -230,8 +270,7 @@ - - + .. Zoom &Out @@ -243,8 +282,7 @@ - - + .. &Copy to Clipboard @@ -253,8 +291,7 @@ - - + .. Next File @@ -269,8 +306,7 @@ - - + .. Previous File @@ -285,8 +321,7 @@ - - + .. Original Size @@ -298,8 +333,7 @@ - - + .. &Fit @@ -308,22 +342,26 @@ - - + .. &Rotate Clockwise + + R + - - + .. Rotate &Counterclockwise + + L + @@ -341,8 +379,7 @@ - - + .. First File @@ -354,8 +391,7 @@ - - + .. Last File @@ -367,8 +403,7 @@ - - + .. &New Window @@ -381,12 +416,14 @@ Flip &Horizontally + + H + - - + .. Capture Screenshot @@ -407,12 +444,14 @@ Flip &Vertically + + V + - - + .. &Paste from Clipboard @@ -424,8 +463,7 @@ - - + .. &Slide Show @@ -434,8 +472,7 @@ - - + .. &Delete @@ -451,6 +488,9 @@ Show Thumbnails + + T + @@ -459,7 +499,8 @@ - + + .. Open &Directory @@ -470,7 +511,8 @@ - + + .. Upload @@ -479,6 +521,89 @@ Upload the image + + + true + + + Show EXIF Data + + + + + true + + + + :/img/draw-none.svg:/img/draw-none.svg + + + No Tool + + + Deselect all drawing tools + + + + + true + + + + :/img/draw-arrow.svg:/img/draw-arrow.svg + + + Draw Arrow + + + Draw an arrow + + + + + true + + + + :/img/draw-rectangle.svg:/img/draw-rectangle.svg + + + Draw Rectangle + + + Draw a hollow rectangle + + + + + true + + + + :/img/draw-circle.svg:/img/draw-circle.svg + + + Draw Circle + + + Draw a hollow circle + + + + + true + + + + :/img/draw-number.svg:/img/draw-number.svg + + + Draw Number + + + Draw incrementing numbers + + @@ -486,7 +611,14 @@ QGraphicsView
imageview.h
+ + LxImage::MruMenu + QMenu +
mrumenu.h
+
- + + + diff --git a/src/modelfilter.cpp b/src/modelfilter.cpp index 092ef08..815378d 100644 --- a/src/modelfilter.cpp +++ b/src/modelfilter.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "modelfilter.h" diff --git a/src/modelfilter.h b/src/modelfilter.h index ddd8f39..9e786ae 100644 --- a/src/modelfilter.h +++ b/src/modelfilter.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_MODELFILTER_H #define LXIMAGE_MODELFILTER_H diff --git a/src/mrumenu.cpp b/src/mrumenu.cpp new file mode 100644 index 0000000..571a251 --- /dev/null +++ b/src/mrumenu.cpp @@ -0,0 +1,114 @@ +/* + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * Copyright (C) 2018 Nathan Osman + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +#include + +#include "application.h" +#include "mrumenu.h" +#include "settings.h" + +const int MaxItems = 5; + +using namespace LxImage; + +MruMenu::MruMenu(QWidget *parent) + : QMenu(parent), + mFilenames(static_cast(qApp)->settings().recentlyOpenedFiles()) +{ + for (QStringList::const_iterator i = mFilenames.constBegin(); i != mFilenames.constEnd(); ++i) { + addAction(createAction(*i)); + } + + // Add a separator and hide it if there are no items in the list + mSeparator = addSeparator(); + mSeparator->setVisible(!mFilenames.empty()); + + // Add the clear action and disable it if there are no items in the list + mClearAction = new QAction(tr("&Clear")); + mClearAction->setEnabled(!mFilenames.empty()); + connect(mClearAction, &QAction::triggered, this, &MruMenu::onClearTriggered); + addAction(mClearAction); +} + +void MruMenu::addItem(const QString &filename) +{ + if (mFilenames.isEmpty()) { + mSeparator->setVisible(true); + mClearAction->setEnabled(true); + } + + // If the filename is already in the list, remove it + int index = mFilenames.indexOf(filename); + if (index != -1) { + mFilenames.removeAt(index); + destroyAction(index); + } + + // Insert the action at the beginning of the list + mFilenames.push_front(filename); + insertAction(actions().first(), createAction(filename)); + + // If the list contains more than MaxItems, remove the last one + if (mFilenames.count() > MaxItems) { + mFilenames.removeLast(); + destroyAction(MaxItems - 1); + } + + updateSettings(); +} + +void MruMenu::onItemTriggered() +{ + Q_EMIT itemClicked(qobject_cast(sender())->text()); +} + +void MruMenu::onClearTriggered() +{ + while (!mFilenames.empty()) { + mFilenames.removeFirst(); + destroyAction(0); + } + + // Hide the separator and disable the clear action + mSeparator->setVisible(false); + mClearAction->setEnabled(false); + + updateSettings(); +} + +QAction *MruMenu::createAction(const QString &filename) +{ + QAction *action = new QAction(filename, this); + connect(action, &QAction::triggered, this, &MruMenu::onItemTriggered); + return action; +} + +void MruMenu::destroyAction(int index) +{ + QAction *action = actions().at(index); + removeAction(action); + delete action; +} + +void MruMenu::updateSettings() +{ + static_cast(qApp)->settings().setRecentlyOpenedFiles(mFilenames); +} diff --git a/src/mrumenu.h b/src/mrumenu.h new file mode 100644 index 0000000..4147bf2 --- /dev/null +++ b/src/mrumenu.h @@ -0,0 +1,76 @@ +/* + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +#ifndef LXIMAGE_MRUMENU_H +#define LXIMAGE_MRUMENU_H + +#include +#include +#include + +namespace LxImage { + +/** + * @brief Menu for quick access to most recently used (MRU) files + */ +class MruMenu : public QMenu +{ + Q_OBJECT + +public: + + explicit MruMenu(QWidget *parent = Q_NULLPTR); + + /** + * @brief Add an item to the MRU list + * @param filename absolute path to the file + * + * If the item already exists in the menu, it will be moved to the top. + */ + void addItem(const QString &filename); + +Q_SIGNALS: + + /** + * @brief Indicate that an item in the menu has been clicked + * @param filename absolute path to the file + */ + void itemClicked(const QString &filename); + +private Q_SLOTS: + + void onItemTriggered(); + void onClearTriggered(); + +private: + + QAction *createAction(const QString &filename); + void destroyAction(int index); + void updateSettings(); + + QStringList mFilenames; + + QAction *mSeparator; + QAction *mClearAction; +}; + +} + +#endif // LXIMAGE_MRUMENU_H diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp index e86679c..6e47f87 100644 --- a/src/preferencesdialog.cpp +++ b/src/preferencesdialog.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "preferencesdialog.h" #include "application.h" @@ -75,18 +75,18 @@ void PreferencesDialog::accept() { app->applySettings(); } -static void findIconThemesInDir(QHash& iconThemes, QString dirName) { +static void findIconThemesInDir(QHash& iconThemes, const QString& dirName) { QDir dir(dirName); const QStringList subDirs = dir.entryList(QDir::AllDirs); GKeyFile* kf = g_key_file_new(); - for(QString subDir : subDirs) { + for(const QString& subDir : subDirs) { QString indexFile = dirName % '/' % subDir % "/index.theme"; - if(g_key_file_load_from_file(kf, indexFile.toLocal8Bit().constData(), GKeyFileFlags(0), NULL)) { + if(g_key_file_load_from_file(kf, indexFile.toLocal8Bit().constData(), GKeyFileFlags(0), nullptr)) { // FIXME: skip hidden ones // icon theme must have this key, so it has icons if it has this key // otherwise, it might be a cursor theme or any other kind of theme. - if(g_key_file_has_key(kf, "Icon Theme", "Directories", NULL)) { - char* dispName = g_key_file_get_locale_string(kf, "Icon Theme", "Name", NULL, NULL); + if(g_key_file_has_key(kf, "Icon Theme", "Directories", nullptr)) { + char* dispName = g_key_file_get_locale_string(kf, "Icon Theme", "Name", nullptr, nullptr); // char* comment = g_key_file_get_locale_string(kf, "Icon Theme", "Comment", NULL, NULL); iconThemes[subDir] = dispName; g_free(dispName); diff --git a/src/preferencesdialog.h b/src/preferencesdialog.h index 5c510ad..c362fc7 100644 --- a/src/preferencesdialog.h +++ b/src/preferencesdialog.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_PREFERENCESDIALOG_H #define LXIMAGE_PREFERENCESDIALOG_H diff --git a/src/resource.qrc b/src/resource.qrc new file mode 100644 index 0000000..70f3562 --- /dev/null +++ b/src/resource.qrc @@ -0,0 +1,9 @@ + + + img/draw-arrow.svg + img/draw-circle.svg + img/draw-none.svg + img/draw-number.svg + img/draw-rectangle.svg + + diff --git a/src/saveimagejob.cpp b/src/saveimagejob.cpp index c9f2e7d..f423523 100644 --- a/src/saveimagejob.cpp +++ b/src/saveimagejob.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "saveimagejob.h" #include "mainwindow.h" @@ -53,7 +53,7 @@ void SaveImageJob::exec() { while (act == ErrorAction::RETRY && !isCancelled()) { error.reset(); - if (nullptr == (fileStream = g_file_replace(path_.gfile().get(), NULL, false, G_FILE_CREATE_NONE, cancellable().get(), &error))) + if (nullptr == (fileStream = g_file_replace(path_.gfile().get(), nullptr, false, G_FILE_CREATE_NONE, cancellable().get(), &error))) { act = emitError(error); continue; @@ -66,10 +66,10 @@ void SaveImageJob::exec() { g_output_stream_write_all(outputStream, imageBuffer.data().constData(), imageBuffer.size(), - NULL, + nullptr, cancellable().get(), &error); - g_output_stream_close(outputStream, NULL, NULL); + g_output_stream_close(outputStream, nullptr, nullptr); if (!error) { // successfully written diff --git a/src/saveimagejob.h b/src/saveimagejob.h index 3bbbdab..9fa25f0 100644 --- a/src/saveimagejob.h +++ b/src/saveimagejob.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_SAVEIMAGEJOB_H #define LXIMAGE_SAVEIMAGEJOB_H diff --git a/src/screenshotdialog.cpp b/src/screenshotdialog.cpp index d87747d..bcf3357 100644 --- a/src/screenshotdialog.cpp +++ b/src/screenshotdialog.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "screenshotdialog.h" #include "screenshotselectarea.h" @@ -92,7 +92,7 @@ QRect ScreenshotDialog::windowFrame(WId wid) { Atom atom = XInternAtom(QX11Info::display(), "_NET_FRAME_EXTENTS", false); unsigned long type, resultLen, rest; int format; - unsigned char* data = NULL; + unsigned char* data = nullptr; if(XGetWindowProperty(QX11Info::display(), wid, atom, 0, G_MAXLONG, false, XA_CARDINAL, &type, &format, &resultLen, &rest, &data) == Success) { } @@ -114,7 +114,7 @@ WId ScreenshotDialog::activeWindowId() { unsigned long type, resultLen, rest; int format; WId result = 0; - unsigned char* data = NULL; + unsigned char* data = nullptr; if(XGetWindowProperty(QX11Info::display(), root, atom, 0, 1, false, XA_WINDOW, &type, &format, &resultLen, &rest, &data) == Success) { result = *reinterpret_cast(data); diff --git a/src/screenshotdialog.h b/src/screenshotdialog.h index 0d428a9..cf60bbe 100644 --- a/src/screenshotdialog.h +++ b/src/screenshotdialog.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_SCREENSHOTDIALOG_H #define LXIMAGE_SCREENSHOTDIALOG_H diff --git a/src/screenshotselectarea.cpp b/src/screenshotselectarea.cpp index 5807409..42fe462 100644 --- a/src/screenshotselectarea.cpp +++ b/src/screenshotselectarea.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "screenshotselectarea.h" #include @@ -48,4 +48,4 @@ void ScreenshotSelectArea::areaSelected(QRect rect) { this->selectedRect_ = rect; accept(); -} \ No newline at end of file +} diff --git a/src/screenshotselectarea.h b/src/screenshotselectarea.h index fb9ce29..430fc25 100644 --- a/src/screenshotselectarea.h +++ b/src/screenshotselectarea.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_SCREENSHOTDIALOG_SELECT_AREA_H #define LXIMAGE_SCREENSHOTDIALOG_SELECT_AREA_H diff --git a/src/screenshotselectareagraphicsview.cpp b/src/screenshotselectareagraphicsview.cpp index aca9450..92c7505 100644 --- a/src/screenshotselectareagraphicsview.cpp +++ b/src/screenshotselectareagraphicsview.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "screenshotselectareagraphicsview.h" #include diff --git a/src/screenshotselectareagraphicsview.h b/src/screenshotselectareagraphicsview.h index 273d9e3..f40835a 100644 --- a/src/screenshotselectareagraphicsview.h +++ b/src/screenshotselectareagraphicsview.h @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_SCREENSHOTDIALOG_SELECT_AREA_GRAPICS_VIEW_H #define LXIMAGE_SCREENSHOTDIALOG_SELECT_AREA_GRAPICS_VIEW_H diff --git a/src/settings.cpp b/src/settings.cpp index 3dcf7b7..b0af404 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,22 +1,22 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "settings.h" #include @@ -50,6 +50,7 @@ bool Settings::load() { // showThumbnails_; // showSidePane_; slideShowInterval_ = settings.value("slideShowInterval", slideShowInterval_).toInt(); + recentlyOpenedFiles_ = settings.value("recentlyOpenedFiles").toStringList(); settings.beginGroup("Window"); fixedWindowWidth_ = settings.value("FixedWidth", 640).toInt(); @@ -70,6 +71,7 @@ bool Settings::save() { settings.setValue("bgColor", bgColor_); settings.setValue("fullScreenBgColor", fullScreenBgColor_); settings.setValue("slideShowInterval", slideShowInterval_); + settings.setValue("recentlyOpenedFiles", recentlyOpenedFiles_); settings.beginGroup("Window"); settings.setValue("FixedWidth", fixedWindowWidth_); diff --git a/src/settings.h b/src/settings.h index 54d5644..4d975d7 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,27 +1,28 @@ /* - - Copyright (C) 2013 PCMan - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_SETTINGS_H #define LXIMAGE_SETTINGS_H #include +#include #include #include @@ -40,45 +41,53 @@ public: return useFallbackIconTheme_; }; - QString fallbackIconTheme() { + QString fallbackIconTheme() const { return fallbackIconTheme_; } void setFallbackIconTheme(QString value) { fallbackIconTheme_ = value; } - QColor bgColor() { + QColor bgColor() const { return bgColor_; } void setBgColor(QColor color) { bgColor_ = color; } - QColor fullScreenBgColor() { + QColor fullScreenBgColor() const { return fullScreenBgColor_; } void setFullScreenBgColor(QColor color) { fullScreenBgColor_ = color; } - bool showThumbnails() { + bool showThumbnails() const { return showThumbnails_; } void setShowThumbnails(bool show) { showThumbnails_ = show; } - bool showSidePane() { + bool showSidePane() const { return showSidePane_; } - int slideShowInterval() { + int slideShowInterval() const { return slideShowInterval_; } void setSlideShowInterval(int interval) { slideShowInterval_ = interval; } + QStringList recentlyOpenedFiles() const { + return recentlyOpenedFiles_; + } + + void setRecentlyOpenedFiles(const QStringList &recentlyOpenedFiles) { + recentlyOpenedFiles_ = recentlyOpenedFiles; + } + bool rememberWindowSize() const { return rememberWindowSize_; } @@ -144,6 +153,7 @@ private: bool showSidePane_; int slideShowInterval_; QString fallbackIconTheme_; + QStringList recentlyOpenedFiles_; bool rememberWindowSize_; int fixedWindowWidth_; diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt new file mode 100644 index 0000000..09696da --- /dev/null +++ b/src/translations/CMakeLists.txt @@ -0,0 +1,3 @@ +project(lximage-qt) + +build_component("." "${CMAKE_INSTALL_FULL_DATADIR}/lximage-qt/translations") diff --git a/src/translations/lximage-qt-screenshot_cs.desktop b/src/translations/lximage-qt-screenshot_cs.desktop new file mode 100644 index 0000000..4f212c4 --- /dev/null +++ b/src/translations/lximage-qt-screenshot_cs.desktop @@ -0,0 +1,3 @@ +Name[cs]=Snímek obrazovky +GenericName[cs]=Snímek obrazovky +Comment[cs]=Pořízení snímku obrazovky diff --git a/src/translations/lximage-qt-screenshot_pt_br.desktop b/src/translations/lximage-qt-screenshot_pt_br.desktop new file mode 100644 index 0000000..988c8f9 --- /dev/null +++ b/src/translations/lximage-qt-screenshot_pt_br.desktop @@ -0,0 +1,4 @@ +#Translations +Name[pt_BR]=Captura de tela +GenericName[pt_BR]=Captura tela +Comment[pt_BR]=Obter uma captura de tela diff --git a/src/translations/lximage-qt.ts b/src/translations/lximage-qt.ts new file mode 100644 index 0000000..406805f --- /dev/null +++ b/src/translations/lximage-qt.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + + + + + + Image files (%1) + + + + + Open directory + + + + + Save File + + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Thumbnails + + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &About + + + + + &Open File + + + + + Ctrl+O + + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + + + + + Ctrl+S + + + + + Save &As + + + + + Ctrl+A + + + + + &Close + + + + + Ctrl+W + + + + + Zoom &In + + + + + Ctrl+= + + + + + Zoom &Out + + + + + Ctrl+- + + + + + &Copy to Clipboard + + + + + + Next File + + + + + PgDown + + + + + + Previous File + + + + + PgUp + + + + + Original Size + + + + + Ctrl+0 + + + + + &Fit + + + + + &Rotate Clockwise + + + + + R + + + + + Rotate &Counterclockwise + + + + + L + + + + + P&references + + + + + &Print + + + + + Ctrl+P + + + + + First File + + + + + Home + + + + + Last File + + + + + End + + + + + &New Window + + + + + Ctrl+N + + + + + Flip &Horizontally + + + + + H + + + + + Capture Screenshot + + + + + F&ull Screen + + + + + F11 + + + + + Flip &Vertically + + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + + + + + &Delete + + + + + Del + + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + + + + + &Help + + + + + Go + + + + + &View + + + + + &Edit + + + + + Toolbar + + + + + PreferencesDialog + + + Preferences + + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + + + + + Take a screenshot + + + + + Region + + + + + Whole screen + + + + + Current window only + + + + + Capture an area of the screen + + + + + Include mouse cursor + + + + + seconds + + + + + Delay: + + + + + Include window title and frame + + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_ar.ts b/src/translations/lximage-qt_ar.ts new file mode 100644 index 0000000..570e79d --- /dev/null +++ b/src/translations/lximage-qt_ar.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + خُذ لقطة للشاشة + + + + [FILE1, FILE2,...] + [الملف1، الملف2،...] + + + + LxImage::ImageShackUpload + + + unknown error response + استجابة خطأ مجهولة + + + + LxImage::ImgBBUpload + + + unknown error response + استجابة خطأ مجهولة + + + + LxImage::ImgurUpload + + + unknown error response + استجابة خطأ مجهولة + + + + LxImage::MainWindow + + + About + عن + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - عارض صور سهل وسريع + +الحقوق محفوظة © 2013 +مشروع لكسكيوت: https://lxqt.org + +المؤلفون: +Hong Jen Yee (PCMan) ‏<pcman.tw@gmail.com> + + + + Open File + افتح ملفا + + + + + Image files (%1) + ملفات الصور (%1) + + + + Open directory + افتح دليلا + + + + Save File + احفظ الملف + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (يحمّل…) - عارض الصور + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (فشل التحميل) - عارض الصور + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2×%3) - عارض الصور + + + + [*]Image Viewer + [*]عارض الصور + + + + Thumbnails + المصغّرات + + + + EXIF Data + بيانات EXIF + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + ابدأ + + + + Stop + أوقِف + + + + Close + أغلِق + + + + Error + خطأ + + + + MainWindow + + + Image Viewer + عارض الصور + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &About + &عن + + + + &Open File + ا&فتح ملفا + + + + Ctrl+O + Ctrl+O + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + ا&حفظ + + + + Ctrl+S + Ctrl+S + + + + Save &As + احفظ &كَ‍ + + + + Ctrl+A + Ctrl+A + + + + &Close + أ&غلِق + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + &قرّب + + + + Ctrl+= + Ctrl+= + + + + Zoom &Out + ب&عّد + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + ا&نسخ إلى الحافظة + + + + + Next File + الملف التالي + + + + PgDown + PgDown + + + + + Previous File + الملف السابق + + + + PgUp + PgUp + + + + Original Size + المقاس الأصلي + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + لا&ئِم + + + + &Rotate Clockwise + &دوّر مع عقارب الساعة + + + + R + R + + + + Rotate &Counterclockwise + دوّر عكس ع&قارب الساعة + + + + L + L + + + + P&references + التف&ضيلات + + + + &Print + ا&طبع + + + + Ctrl+P + Ctrl+P + + + + First File + الملف الأول + + + + Home + Home + + + + Last File + الملف الأخير + + + + End + End + + + + &New Window + نافذة &جديدة + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + اقلب أ&فقيا + + + + H + H + + + + Capture Screenshot + التقط لقطة للشاشة + + + + F&ull Screen + ملء ال&شاشة + + + + F11 + F11 + + + + Flip &Vertically + اقلب رأ&سيا + + + + V + V + + + + &Paste from Clipboard + أل&صِق من الحافظة + + + + &Slide Show + عر&ض شرائح + + + + &Delete + ا&حذف + + + + Del + Del + + + + Show Thumbnails + اعرض المصغّرات + + + + T + T + + + + File Properties + خصائص الملف + + + + Open &Directory + افتح ال&دليل + + + + Ctrl+D + Ctrl+D + + + + Upload + ارفع + + + + Upload the image + ارفع الصورة + + + + Show EXIF Data + اعرض بيانات EXIF + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &ملف + + + + &Help + م&ساعدة + + + + Go + تنقّل + + + + &View + من&ظور + + + + &Edit + ت&حرير + + + + Toolbar + شريط الأدوات + + + + PreferencesDialog + + + Preferences + التفضيلات + + + + Icon theme: + سمة الأيقونات: + + + + Normal background color: + لون الخلفية العادي: + + + + Fullscreen background color: + لون الخلفية بوضع ملء الشاشة: + + + + Slide show interval (seconds): + فترة عرض الشرائح (بالثواني): + + + + General + عام + + + + ScreenshotDialog + + + Screenshot + لقطة شاشة + + + + Take a screenshot + خُذ لقطة للشاشة + + + + Region + منطقة + + + + Whole screen + كامل الشاشة + + + + Current window only + النافذة الحالية فحسب + + + + Capture an area of the screen + التقِط مساحة من الشاشة + + + + Include mouse cursor + ضمّن مؤشّر الفأرة + + + + seconds + ثا + + + + Delay: + التأخير: + + + + Include window title and frame + ضمّن عنوان النافذة وإطارها + + + + UploadDialog + + + Upload + الرفع + + + + Copy + + + + diff --git a/src/translations/lximage-qt_ca.ts b/src/translations/lximage-qt_ca.ts new file mode 100644 index 0000000..60a76f8 --- /dev/null +++ b/src/translations/lximage-qt_ca.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Pren una captura de pantalla + + + + [FILE1, FILE2,...] + [FITXER1, FITXER2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + resposta d'error desconeguda + + + + LxImage::ImgBBUpload + + + unknown error response + resposta d'error desconeguda + + + + LxImage::ImgurUpload + + + unknown error response + resposta d'error desconeguda + + + + LxImage::MainWindow + + + About + Quant a + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - un visualitzador d'imatges senzill i ràpid + +Drets d'autor (C) 2013 +Projecte LXQt: https://lxqt.org/ + +Autors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Obre un fitxer + + + + + Image files (%1) + Fitxers d'imatges (%1) + + + + Open directory + Obre un directori + + + + Save File + Desa el fitxer + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (s'està carregant...) - Visualitzador d'imatges + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (ha fallat la càrrega) - Visualitzador d'imatges + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visualitzador d'imatges + + + + [*]Image Viewer + [*]Visualitzador d'imatges + + + + Thumbnails + Miniatures + + + + EXIF Data + Dades EXIF + + + + LxImage::MruMenu + + + &Clear + &Neteja + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Inicia + + + + Stop + Atura + + + + Close + Tanca + + + + Error + Error + + + + MainWindow + + + Image Viewer + Visualitzador d'imatges + + + + &About + &Quant a + + + + &Open File + &Obre un fitxer + + + + Ctrl+O + Ctrl+O + + + + &Save + De&sa + + + + Ctrl+S + Ctrl+S + + + + Save &As + &Anomena i desa + + + + Ctrl+A + Ctrl+A + + + + &Close + Tan&ca + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Ampl&ia el zoom + + + + Zoom &Out + Redueix el z&oom + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copia al porta-retalls + + + + + Next File + Fitxer següent + + + + + Previous File + Fitxer anterior + + + + PgDown + Re Pàg + + + + &Recently Opened Files + Fitxers oberts &recentment + + + + toolBar_2 + 2na barra d'eines + + + + &Reload File + To&rna a carregar el fitxer + + + + Ctrl+R + Ctrl+R + + + + Ctrl+= + Ctrl+= + + + + PgUp + Re Pàg + + + + Original Size + Mida original + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + A&justa + + + + &Rotate Clockwise + Gi&ra en sentit horari + + + + R + D + + + + Rotate &Counterclockwise + Gira en sentit anti&horari + + + + L + E + + + + P&references + P&referències + + + + &Print + Im&primeix + + + + Ctrl+P + Ctrl+P + + + + First File + Primer fitxer + + + + Home + Inici + + + + Last File + Últim fitxer + + + + End + Fi + + + + &New Window + Finestra &nova + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Inverteix &horitzontalment + + + + H + H + + + + Capture Screenshot + Pren una captura de pantalla + + + + F&ull Screen + Pantalla c&ompleta + + + + F11 + F11 + + + + Flip &Vertically + Inverteix &verticalment + + + + V + V + + + + &Paste from Clipboard + Enganxa del &porta-retalls + + + + &Slide Show + Presentació de diapo&sitives + + + + &Delete + &Elimina + + + + Del + Supr + + + + Show Thumbnails + Mostra les miniatures + + + + T + M + + + + File Properties + Propietats del fitxer + + + + Open &Directory + Obre un &directori + + + + Ctrl+D + Ctrl+D + + + + Upload + Puja + + + + Upload the image + Puja la imatge + + + + Show EXIF Data + Mostra les dades EXIF + + + + No Tool + Cap eina + + + + Deselect all drawing tools + Desselecciona totes les eines de dibuix + + + + Draw Arrow + Dibuixa una fletxa + + + + Draw an arrow + Dibuixa una fletxa + + + + Draw Rectangle + Dibuixa un rectangle + + + + Draw a hollow rectangle + Dibuixa un rectangle buit + + + + Draw Circle + Dibuixa un cercle + + + + Draw a hollow circle + Dibuixa un cercle buit + + + + Draw Number + Dibuixa un número + + + + Draw incrementing numbers + Dibuixa números de manera incremental + + + + &File + &Fitxer + + + + &Help + &Ajuda + + + + Go + Vés + + + + &View + &Visualitza + + + + &Edit + &Edita + + + + Toolbar + Barra d'eines + + + + PreferencesDialog + + + Preferences + Preferències + + + + Icon theme: + Tema de les icones: + + + + Normal background color: + Color del fons normal: + + + + Fullscreen background color: + Color del fons pantalla completa: + + + + Slide show interval (seconds): + Interval per mostrar la diapositiva (segons): + + + + General + General + + + + ScreenshotDialog + + + Screenshot + Captura de pantalla + + + + Take a screenshot + Pren una captura de pantalla + + + + Region + Regió + + + + Whole screen + Tota la pantalla + + + + Current window only + Tan sols la finestra activa + + + + Capture an area of the screen + Captura una àrea de la pantalla + + + + Include mouse cursor + Inclou el cursor del ratolí + + + + seconds + segons + + + + Delay: + Retard: + + + + Include window title and frame + Inclou el títol de la finestra i el marc + + + + UploadDialog + + + Upload + Puja + + + + Copy + Copia + + + diff --git a/src/translations/lximage-qt_cs.ts b/src/translations/lximage-qt_cs.ts new file mode 100644 index 0000000..206cbfb --- /dev/null +++ b/src/translations/lximage-qt_cs.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Pořídit snímek obrazovky + + + + [FILE1, FILE2,...] + [SOUBOR1, SOUBOR2, …] + + + + LxImage::ImageShackUpload + + + unknown error response + Odpověď: neznámá chyba + + + + LxImage::ImgBBUpload + + + unknown error response + neznámá chybová odpověď + + + + LxImage::ImgurUpload + + + unknown error response + Odpověď: neznámá chyba + + + + LxImage::MainWindow + + + About + O aplikaci + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt – jednoduchý a rychlý prohlížeč obrázků + +Autorské právo © 2013 +LXQt projekt: https://lxqt.org/ + +Autoři: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Otevřít soubor + + + + + Image files (%1) + Soubory s obrázky (%1) + + + + Open directory + Otevřít složku + + + + Save File + Uložit soubor + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (načítání…) – prohlížeč obrázků + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (nepodařilo se načíst) – prohlížeč obrázků + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) – prohlížeč obrázků + + + + [*]Image Viewer + [*] prohlížeč obrázků + + + + Thumbnails + Náhledy + + + + EXIF Data + EXIF data + + + + LxImage::MruMenu + + + &Clear + %Vyčistit + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Spustit + + + + Stop + Zastavit + + + + Close + Zavřít + + + + Error + Chyba + + + + MainWindow + + + Image Viewer + Prohlížeč obrázků + + + + &Recently Opened Files + Nedávno otevřené soubo&ry + + + + toolBar_2 + lištaNástrojů_2 + + + + &About + O &aplikaci + + + + &Open File + &Otevřít soubor + + + + Ctrl+O + Ctrl+O + + + + &Reload File + Načíst soubo&r znovu + + + + Ctrl+R + Ctrl+R + + + + &Save + &Uložit + + + + Ctrl+S + Ctrl+S + + + + Save &As + Uložit j&ako + + + + Ctrl+A + Ctrl+A + + + + &Close + &Zavřít + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Přiblíž&it + + + + Ctrl+= + Ctrl+= + + + + Zoom &Out + &Oddálit + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Zkopírovat do schránky + + + + + Next File + Následující soubor + + + + PgDown + PgDn + + + + + Previous File + Předchozí soubor + + + + PgUp + PgUp + + + + Original Size + Původní velikost + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Přizpůsobit + + + + &Rotate Clockwise + Otočit vp&ravo + + + + R + R + + + + Rotate &Counterclockwise + Otočit &vlevo + + + + L + L + + + + P&references + &Předvolby + + + + &Print + &Tisk + + + + Ctrl+P + Ctrl+P + + + + First File + První soubor + + + + Home + Home + + + + Last File + Poslední soubor + + + + End + End + + + + &New Window + &Nové okno + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Převrátit &vodorovně + + + + H + H + + + + Capture Screenshot + Pořídit snímek obrazovky + + + + F&ull Screen + Na celo&u obrazovku + + + + F11 + F11 + + + + Flip &Vertically + Převrátit s&visle + + + + V + V + + + + &Paste from Clipboard + &Vložit ze schránky + + + + &Slide Show + Promítání &snímků + + + + &Delete + &Smazat + + + + Del + Del + + + + Show Thumbnails + Zobrazit náhledy + + + + T + T + + + + File Properties + Vlastnosti souboru + + + + Open &Directory + Otevřít &Složku + + + + Ctrl+D + Ctrl+D + + + + Upload + Nahrát + + + + Upload the image + Nahrát obrázek + + + + Show EXIF Data + Zobrazit EXIF data + + + + No Tool + Žádný nástroj + + + + Deselect all drawing tools + Zrušit výběr jakýchkoli kreslících nástrojů + + + + Draw Arrow + Nakreslit šipku + + + + Draw an arrow + Nakreslit šipku + + + + Draw Rectangle + Nakreslit obdélník + + + + Draw a hollow rectangle + Nakreslit prázdný obdélník + + + + Draw Circle + Nakreslit kruh + + + + Draw a hollow circle + Nakreslit prázdný kruh + + + + Draw Number + Nakreslit číslici + + + + Draw incrementing numbers + Nakreslit po sobě jdoucí čísla + + + + &File + &Soubor + + + + &Help + &Nápověda + + + + Go + Jít na + + + + &View + &Zobrazit + + + + &Edit + &Upravit + + + + Toolbar + Nástrojový pruh + + + + PreferencesDialog + + + Preferences + Předvolby + + + + Icon theme: + Vzhled ikon: + + + + Normal background color: + Barva pozadí v normálním režimu: + + + + Fullscreen background color: + Barva pozadí v režimu na celou obrazovku: + + + + Slide show interval (seconds): + Interval změny obrázku při promítání snímků (s): + + + + General + Obecné + + + + ScreenshotDialog + + + Screenshot + Snímek obrazovky + + + + Take a screenshot + Pořídit snímek obrazovky + + + + Region + Oblast + + + + Whole screen + Celá obrazovka + + + + Current window only + Pouze stávající okno + + + + Capture an area of the screen + Zachytit oblast obrazovky + + + + Include mouse cursor + Zahrnout ukazatel myši + + + + seconds + sekund + + + + Delay: + Prodleva: + + + + Include window title and frame + Zahrnout titulek okna a rámeček + + + + UploadDialog + + + Upload + Nahrát + + + + Copy + Zkopírovat + + + diff --git a/src/translations/lximage-qt_cy.ts b/src/translations/lximage-qt_cy.ts new file mode 100644 index 0000000..26a7a1f --- /dev/null +++ b/src/translations/lximage-qt_cy.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + + + + + + Image files (%1) + + + + + Open directory + + + + + Save File + + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Thumbnails + + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &About + + + + + &Open File + + + + + Ctrl+O + + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + + + + + Ctrl+S + + + + + Save &As + + + + + Ctrl+A + + + + + &Close + + + + + Ctrl+W + + + + + Zoom &In + + + + + Ctrl+= + + + + + Zoom &Out + + + + + Ctrl+- + + + + + &Copy to Clipboard + + + + + + Next File + + + + + PgDown + + + + + + Previous File + + + + + PgUp + + + + + Original Size + + + + + Ctrl+0 + + + + + &Fit + + + + + &Rotate Clockwise + + + + + R + + + + + Rotate &Counterclockwise + + + + + L + + + + + P&references + + + + + &Print + + + + + Ctrl+P + + + + + First File + + + + + Home + + + + + Last File + + + + + End + + + + + &New Window + + + + + Ctrl+N + + + + + Flip &Horizontally + + + + + H + + + + + Capture Screenshot + + + + + F&ull Screen + + + + + F11 + + + + + Flip &Vertically + + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + + + + + &Delete + + + + + Del + + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + + + + + &Help + + + + + Go + + + + + &View + + + + + &Edit + + + + + Toolbar + + + + + PreferencesDialog + + + Preferences + + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + + + + + Take a screenshot + + + + + Region + + + + + Whole screen + + + + + Current window only + + + + + Capture an area of the screen + + + + + Include mouse cursor + + + + + seconds + + + + + Delay: + + + + + Include window title and frame + + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_da.ts b/src/translations/lximage-qt_da.ts new file mode 100644 index 0000000..a0d8335 --- /dev/null +++ b/src/translations/lximage-qt_da.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Tag et skærmbillede + + + + [FILE1, FILE2,...] + [FIL1, FIL2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + ukendt svar ved fejl + + + + LxImage::ImgBBUpload + + + unknown error response + ukendt svar ved fejl + + + + LxImage::ImgurUpload + + + unknown error response + ukendt svar ved fejl + + + + LxImage::MainWindow + + + About + Om + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - en simpel og hurtig billedfremviser + +Ophavsret (C) 2013 +LXQt-projektet: https://lxqt.org/ + +Forfattere: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Åbn fil + + + + + Image files (%1) + Billedfiler (%1) + + + + Open directory + Åbn mappe + + + + Save File + Gem fil + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (indlæser...) - Billedfremviser + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (kunne ikke indlæse) - Billedfremviser + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Billedfremviser + + + + [*]Image Viewer + [*]Billedfremviser + + + + Thumbnails + Miniaturer + + + + EXIF Data + EXIF-data + + + + LxImage::MruMenu + + + &Clear + &Ryd + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Start + + + + Stop + Stop + + + + Close + Luk + + + + Error + Fejl + + + + MainWindow + + + Image Viewer + Billedfremviser + + + + &Recently Opened Files + &Seneste åbnede filer + + + + toolBar_2 + værktøjsLinje_2 + + + + &About + &Om + + + + &Open File + &Åbn fil + + + + Ctrl+O + Ctrl+O + + + + &Reload File + &Genindlæs fil + + + + Ctrl+R + Ctrl+R + + + + &Save + &Gem + + + + Ctrl+S + Ctrl+S + + + + Save &As + Gem &som + + + + Ctrl+A + Ctrl+A + + + + &Close + &Luk + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Zoom &ind + + + + Ctrl+= + Ctrl+= + + + + Zoom &Out + Zoom &ud + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Kopiér til udklipsholder + + + + + Next File + Næste fil + + + + PgDown + PgDown + + + + + Previous File + Forrige fil + + + + PgUp + PgUp + + + + Original Size + Original størrelse + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Tilpas + + + + &Rotate Clockwise + &Rotér med uret + + + + R + H + + + + Rotate &Counterclockwise + Rotér &mod uret + + + + L + V + + + + P&references + &Præferencer + + + + &Print + &Udskriv + + + + Ctrl+P + Ctrl+P + + + + First File + Første fil + + + + Home + Home + + + + Last File + Sidste fil + + + + End + End + + + + &New Window + &Nyt vindue + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Vend &vandret + + + + H + V + + + + Capture Screenshot + Tag skærmbillede + + + + F&ull Screen + &Fuldskærm + + + + F11 + F11 + + + + Flip &Vertically + Vend &lodret + + + + V + L + + + + &Paste from Clipboard + &Indsæt fra udklipsholder + + + + &Slide Show + &Diasshow + + + + &Delete + &Slet + + + + Del + Del + + + + Show Thumbnails + Vis miniaturer + + + + T + M + + + + File Properties + Filegenskaber + + + + Open &Directory + Åbn &mappe + + + + Ctrl+D + Ctrl+M + + + + Upload + Upload + + + + Upload the image + Upload billedet + + + + Show EXIF Data + Vis EXIF-data + + + + No Tool + Intet værktøj + + + + Deselect all drawing tools + Fravælg alle tegningsværktøjer + + + + Draw Arrow + Tegn pil + + + + Draw an arrow + Tegn en pil + + + + Draw Rectangle + Tegn rektangel + + + + Draw a hollow rectangle + Tegn en hul rektangel + + + + Draw Circle + Tegn cirkel + + + + Draw a hollow circle + Tegn en hul cirkel + + + + Draw Number + Tegn tal + + + + Draw incrementing numbers + Tegn stigende tal + + + + &File + &Fil + + + + &Help + &Hjælp + + + + Go + + + + + &View + &Vis + + + + &Edit + &Rediger + + + + Toolbar + Værktøjslinje + + + + PreferencesDialog + + + Preferences + Præferencer + + + + Icon theme: + Ikontema: + + + + Normal background color: + Normal baggrundsfarve: + + + + Fullscreen background color: + Baggrundsfarve i fuldskærm: + + + + Slide show interval (seconds): + Interval for diasshow (sekunder): + + + + General + Generelt + + + + ScreenshotDialog + + + Screenshot + Skærmbillede + + + + Take a screenshot + Tag et skærmbillede + + + + Region + Område + + + + Whole screen + Hele skærmen + + + + Current window only + Kun nuværende vindue + + + + Capture an area of the screen + Indfang et område af skærmen + + + + Include mouse cursor + Inkluder musemarkør + + + + seconds + sekunder + + + + Delay: + Forsinkelse: + + + + Include window title and frame + Inkluder vinduets titel og ramme + + + + UploadDialog + + + Upload + Upload + + + + Copy + Kopiér + + + diff --git a/src/translations/lximage-qt_de.ts b/src/translations/lximage-qt_de.ts new file mode 100644 index 0000000..d4d091b --- /dev/null +++ b/src/translations/lximage-qt_de.ts @@ -0,0 +1,640 @@ + + + + + LxImage::Application + + + Take a screenshot + Bildschirmfoto erstellen + + + + [FILE1, FILE2,...] + [DATEI1, DATEI2, ...] + + + + LxImage::ImageShackUpload + + + unknown error response + unbekannte Fehlerantwort + + + + LxImage::ImgBBUpload + + + unknown error response + unbekannte Fehlerantwort + + + + LxImage::ImgurUpload + + + unknown error response + unbekannte Fehlerantwort + + + + LxImage::MainWindow + + + About + Über + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - ein einfacher und schneller Bildbetrachter + +Copyright (C) 2013 +LXQt-Projekt: https://lxqt.org/ + +Autoren: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Datei öffnen + + + + + Image files (%1) + Bilddateien (%1) + + + + Open directory + Verzeichnis öffnen + + + + Save File + Datei speichern + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Lade...) - Bildbetrachter + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Laden ist fehlgeschlagen) - Bildbetrachter + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Bildbetrachter + + + + [*]Image Viewer + [*]Bildbetrachter + + + + Thumbnails + Miniaturen + + + + EXIF Data + EXIF-Daten + + + + LxImage::MruMenu + + + &Clear + Lös&chen + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Start + + + + Stop + Anhalten + + + + Close + Schließen + + + + Error + Fehler + + + + MainWindow + + + Image Viewer + Bildbetrachter + + + + &About + &Über + + + + &Open File + This should be "&Open" (without "File") imho. We are in the File menu. + Ö&ffnen + + + + Ctrl+O + Shortcuts are translated automatically. No need to manually translate it to "Strg+O". + Strg+O + + + + &Save + &Speichern + + + + Ctrl+S + Strg+S + + + + Save &As + Speichern &unter + + + + Ctrl+A + Strg+A + + + + &Close + &Schließen + + + + Ctrl+W + Strg+W + + + + Zoom &In + Ver&größern + + + + Zoom &Out + Ver&kleinern + + + + Ctrl+- + Strg+- + + + + &Copy to Clipboard + In die Zwischenablage &kopieren + + + + + Next File + Nächste Datei + + + + + Previous File + Vorherige Datei + + + + PgDown + Bild ab + + + + &Recently Opened Files + &Zuletzt geöffnete Dateien + + + + toolBar_2 + + + + + &Reload File + Datei &neu laden + + + + Ctrl+R + Strg+R + + + + Ctrl+= + Strg+= + + + + PgUp + Bild auf + + + + Original Size + Originalgröße + + + + Ctrl+0 + Strg+0 + + + + &Fit + &Passend + + + + &Rotate Clockwise + Im Uhrzeigersinn &drehen + + + + R + R + + + + Rotate &Counterclockwise + &Gegen den Uhrzeigersinn drehen + + + + L + L + + + + P&references + Einste&llungen + + + + &Print + &Drucken + + + + Ctrl+P + Strg+P + + + + First File + Erste Datei + + + + Home + Pos1 + + + + Last File + Letzte Datei + + + + End + Ende + + + + &New Window + &Neues Fenster + + + + Ctrl+N + Strg+N + + + + Flip &Horizontally + &Horizontal spiegeln + + + + H + H + + + + Capture Screenshot + Bildschirmfoto aufnehmen + + + + F&ull Screen + &Gesamter Bildschirm + + + + F11 + F11 + + + + Flip &Vertically + &Vertikal spiegeln + + + + V + V + + + + &Paste from Clipboard + Aus Zwischenablage &einfügen + + + + &Slide Show + &Diaschau + + + + &Delete + &Löschen + + + + Del + Entf + + + + Show Thumbnails + Vorschaubilder anzeigen + + + + T + T + + + + File Properties + Translation of 'file' skipped, it is redundant (this is the file menu). + Eigenschaften + + + + Open &Directory + &Verzeichnis öffnen + + + + Ctrl+D + Strg+D + + + + Upload + Hochladen + + + + Upload the image + Bild hochladen + + + + Show EXIF Data + EXIF-Daten anzeigen + + + + No Tool + Kein Werkzeug + + + + Deselect all drawing tools + Alle Zeichenwerkzeuge abwählen + + + + Draw Arrow + Pfeil zeichnen + + + + Draw an arrow + Einen Pfeil zeichnen + + + + Draw Rectangle + Rechteck zeichnen + + + + Draw a hollow rectangle + Ein hohles Rechteck zeichnen + + + + Draw Circle + Kreis zeichnen + + + + Draw a hollow circle + Einen hohlen Kreis zeichnen + + + + Draw Number + Zahl zeichnen + + + + Draw incrementing numbers + Inkrementierende Zahlen zeichnen + + + + &File + &Datei + + + + &Help + &Hilfe + + + + Go + Gehe zu + + + + &View + &Ansicht + + + + &Edit + &Bearbeiten + + + + Toolbar + Werkzeugleiste + + + + PreferencesDialog + + + Preferences + Einstellungen + + + + Icon theme: + Symbolthema: + + + + Normal background color: + Normale Hintergrundfarbe: + + + + Fullscreen background color: + Vollbild-Hintergrundfarbe: + + + + Slide show interval (seconds): + Diaschau-Intervall (Sekunden): + + + + General + Allgemein + + + + ScreenshotDialog + + + Screenshot + Bildschirmfoto + + + + Take a screenshot + Bildschirmfoto machen + + + + Region + Bereich + + + + Whole screen + Gesamter Bildschirm + + + + Current window only + Nur aktuelles Fenster + + + + Capture an area of the screen + Bildschirmbereich aufnehmen + + + + Include mouse cursor + Einschließlich Mauszeiger + + + + seconds + Sekunden + + + + Delay: + Verzögerung: + + + + Include window title and frame + Einschließlich Fenstertitel und Rahmen + + + + UploadDialog + + + Upload + Hochladen + + + + Copy + Kopieren + + + diff --git a/src/translations/lximage-qt_el.ts b/src/translations/lximage-qt_el.ts new file mode 100644 index 0000000..618972b --- /dev/null +++ b/src/translations/lximage-qt_el.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Λήψη ενός στιγμιότυπου + + + + [FILE1, FILE2,...] + [ΑΡΧΕΙΟ1, ΑΡΧΕΙΟ2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + απόκριση αγνώστου σφάλματος + + + + LxImage::ImgBBUpload + + + unknown error response + απόκριση αγνώστου σφάλματος + + + + LxImage::ImgurUpload + + + unknown error response + απόκριση αγνώστου σφάλματος + + + + LxImage::MainWindow + + + About + Σχετικά + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage Qt - ένας απλός και γρήγορος προβολέας εικόνων + +Πνευματικά δικαιώματα (C) 2013 +Έργο LXQt: https://lxqt.org/ + +Συγγραφείς: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Άνοιγμα αρχείου + + + + + Image files (%1) + Αρχεία εικόνων (%1) + + + + Open directory + Άνοιγμα καταλόγου + + + + Save File + Αποθήκευση αρχείου + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Φόρτωση...) - Προβολέας εικόνων + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Αποτυχία φόρτωσης) - Προβολέας εικόνων + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Προβολέας εικόνων + + + + [*]Image Viewer + [*]Προβολέας εικόνων + + + + Thumbnails + Εικόνες επισκόπησης + + + + EXIF Data + Δεδομένα EXIF + + + + LxImage::MruMenu + + + &Clear + &Εκκαθάριση + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Εκκίνηση + + + + Stop + Διακοπή + + + + Close + Κλείσιμο + + + + Error + Σφάλμα + + + + MainWindow + + + Image Viewer + Προβολέας εικόνων + + + + &About + &Σχετικά + + + + &Open File + &Άνοιγμα αρχείου + + + + Ctrl+O + Ctrl+O + + + + &Save + Απο&θήκευση + + + + Ctrl+S + Ctrl+S + + + + Save &As + Αποθήκευση &ως + + + + Ctrl+A + Ctrl+A + + + + &Close + &Κλείσιμο + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Μεγέ&θυνση + + + + Zoom &Out + Σμίκρ&υνση + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + Αντιγραφή στο πρό&χειρο + + + + + Next File + Επόμενο αρχείο + + + + + Previous File + Προηγούμενο αρχείο + + + + PgDown + PgDown + + + + &Recently Opened Files + &Πρόσφατα ανοιγμένα αρχεία + + + + toolBar_2 + toolBar_2 + + + + &Reload File + &Επαναφόρτωση αρχείου + + + + Ctrl+R + Ctrl+R + + + + Ctrl+= + Ctrl+= + + + + PgUp + PgUp + + + + Original Size + Αρχικό Μέγεθος + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Ταίριασμα + + + + &Rotate Clockwise + Περιστροφή &δεξιόστροφα + + + + R + R + + + + Rotate &Counterclockwise + Περιστροφή &αριστερόστροφα + + + + L + L + + + + P&references + &Επιλογές + + + + &Print + Εκτύ&πωση + + + + Ctrl+P + Ctrl+P + + + + First File + Πρώτο αρχείο + + + + Home + Αρχική + + + + Last File + Τελευταίο αρχείο + + + + End + Τέλος + + + + &New Window + &Νέο παράθυρο + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Αναστροφή &οριζόντια + + + + H + H + + + + Capture Screenshot + Λήψη στιγμιότυπου + + + + F&ull Screen + Π&λήρης οθόνη + + + + F11 + F11 + + + + Flip &Vertically + Αναστροφή &κατακόρυφα + + + + V + V + + + + &Paste from Clipboard + &Επικόλληση από το πρόχειρο + + + + &Slide Show + &Προβολή διαφάνειας + + + + &Delete + &Διαγραφή + + + + Del + Del + + + + Show Thumbnails + Εμφάνιση εικόνων επισκόπησης + + + + T + T + + + + File Properties + Ιδιότητες αρχείου + + + + Open &Directory + Άνοιγμα &καταλόγου + + + + Ctrl+D + Ctrl+D + + + + Upload + Αποστολή + + + + Upload the image + Αποστολή της εικόνας + + + + Show EXIF Data + Εμφάνιση των δεδομένων EXIF + + + + No Tool + Κανένα εργαλείο + + + + Deselect all drawing tools + Αποεπιλογή όλων των εργαλείων σχεδίασης + + + + Draw Arrow + Σχεδιασμός βέλους + + + + Draw an arrow + Σχεδιάζει ένα βέλος + + + + Draw Rectangle + Σχεδιασμός ορθογώνιου + + + + Draw a hollow rectangle + Σχεδιάζει ένα κοίλο ορθογώνιο + + + + Draw Circle + Σχεδιασμός κύκλου + + + + Draw a hollow circle + Σχεδιάζει έναν κοίλο κύκλο + + + + Draw Number + Σχεδιασμός αριθμού + + + + Draw incrementing numbers + Σχεδιάζει αριθμούς σε προσαύξηση + + + + &File + &Αρχείο + + + + &Help + &Βοήθεια + + + + Go + Μετάβαση + + + + &View + &Προβολή + + + + &Edit + &Επεξεργασία + + + + Toolbar + Γραμμή εργαλείων + + + + PreferencesDialog + + + Preferences + Προτιμήσεις + + + + Icon theme: + Θέμα εικονιδίων: + + + + Normal background color: + Τυπικό χρώμα παρασκηνίου: + + + + Fullscreen background color: + Χρώμα παρασκηνίου πλήρους οθόνης: + + + + Slide show interval (seconds): + Χρονική καθυστέρηση προβολής διαφανειών (δευτερόλεπτα): + + + + General + Γενικά + + + + ScreenshotDialog + + + Screenshot + Στιγμιότυπο + + + + Take a screenshot + Λήψη στιγμιότυπου + + + + Region + Περιοχή + + + + Whole screen + Ολόκληρη η οθόνη + + + + Current window only + Μόνον το τρέχον παράθυρο + + + + Capture an area of the screen + Σύλληψη μιας περιοχής της οθόνης + + + + Include mouse cursor + Συμπερίληψη του δρομέα του ποντικιού + + + + seconds + δευτερόλεπτα + + + + Delay: + Καθυστέρηση: + + + + Include window title and frame + Συμπερίληψη του τίτλου και του πλαισίου του παραθύρου + + + + UploadDialog + + + Upload + Αποστολή + + + + Copy + Αντιγραφή + + + diff --git a/src/translations/lximage-qt_es.ts b/src/translations/lximage-qt_es.ts new file mode 100644 index 0000000..94756d7 --- /dev/null +++ b/src/translations/lximage-qt_es.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Capturar la pantalla + + + + [FILE1, FILE2,...] + [ARCHIVO1, ARCHIVO2, …] + + + + LxImage::ImageShackUpload + + + unknown error response + respuesta de error desconocido + + + + LxImage::ImgBBUpload + + + unknown error response + respuesta de error desconocido + + + + LxImage::ImgurUpload + + + unknown error response + respuesta de error desconocido + + + + LxImage::MainWindow + + + About + Acerca de + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - un visor de imágenes sencillo y rápido + +Copyright (C) 2013 +Proyecto LXQt: https://lxqt.org/ + +Autores: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Abrir un archivo + + + + + Image files (%1) + Imágenes (%1) + + + + Open directory + Abrir un directorio + + + + Save File + Guardar el archivo + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Cargando...) - Visor de imágenes + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (La carga ha fallado) - Visor de imágenes + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visor de imágenes + + + + [*]Image Viewer + [*]Visor de imágenes + + + + Thumbnails + Miniaturas + + + + EXIF Data + Datos EXIF + + + + LxImage::MruMenu + + + &Clear + Limpiar + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + Empezar + + + + Stop + Detener + + + + Close + Cerrar + + + + Error + Error + + + + MainWindow + + + Image Viewer + Visor de imágenes + + + + &About + &Acerca de + + + + &Open File + &Abrir un archivo + + + + Ctrl+O + Ctrl+O + + + + &Save + &Guardar + + + + Ctrl+S + Ctrl+S + + + + Save &As + G&uardar como… + + + + Ctrl+A + Ctrl+A + + + + &Close + &Cerrar + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + &Ampliar + + + + Zoom &Out + &Reducir + + + + Ctrl+- + Ctrl+− + + + + &Copy to Clipboard + &Copiar al portapapeles + + + + + Next File + Archivo siguiente + + + + + Previous File + Archivo anterior + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + Archivos abiertos &recientemente + + + + toolBar_2 + + + + + &Reload File + &Recargar el archivo + + + + Ctrl+R + + + + + PgDown + Av Pág + + + + PgUp + Re Pág + + + + Original Size + Tamaño original + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + A&justar + + + + &Rotate Clockwise + &Girar a la derecha + + + + R + + + + + Rotate &Counterclockwise + G&irar a la izquierda + + + + L + + + + + P&references + P&referencias + + + + &Print + Im&primir + + + + Ctrl+P + Ctrl+P + + + + First File + Primer archivo + + + + Home + Inicio + + + + Last File + Último archivo + + + + End + Fin + + + + &New Window + &Nueva ventana + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Voltear &horizontalmente + + + + H + + + + + Capture Screenshot + Capturar la pantalla + + + + F&ull Screen + Pa&ntalla completa + + + + F11 + F11 + + + + Flip &Vertically + Voltear &verticalmente + + + + V + + + + + &Paste from Clipboard + &Pegar del portapapeles + + + + &Slide Show + Pa&se de diapositivas + + + + &Delete + &Eliminar + + + + Del + Supr + + + + Show Thumbnails + Mostrar miniaturas + + + + T + + + + + File Properties + Propiedades del archivo + + + + Open &Directory + Abrir un &directorio + + + + Ctrl+D + Ctrl+D + + + + Upload + Subir + + + + Upload the image + Subir la imagen + + + + Show EXIF Data + Mostrar los datos EXIF + + + + No Tool + Ninguna herramienta + + + + Deselect all drawing tools + Deselecionar todas las herramientas de dibujo + + + + Draw Arrow + Dibujar flecha + + + + Draw an arrow + Dibuja una flecha + + + + Draw Rectangle + Dibujar rectángulo + + + + Draw a hollow rectangle + Dibuja un rectángulo hueco + + + + Draw Circle + Dibujar circunferencia + + + + Draw a hollow circle + Dibuja un círculo hueco + + + + Draw Number + Dibujar número + + + + Draw incrementing numbers + Dibuja números crecientes + + + + &File + &Archivo + + + + &Help + Ay&uda + + + + Go + Ir + + + + &View + &Ver + + + + &Edit + &Editar + + + + Toolbar + Barra de herramientas + + + + PreferencesDialog + + + Preferences + Preferencias + + + + Icon theme: + Tema de iconos: + + + + Normal background color: + Color de fondo normal: + + + + Fullscreen background color: + Color de fondo a pantalla completa: + + + + Slide show interval (seconds): + Intervalo de presentación de diapositivas (segundos): + + + + General + General + + + + ScreenshotDialog + + + Screenshot + Captura de pantalla + + + + Take a screenshot + Capturar la pantalla + + + + Region + Región + + + + Whole screen + Toda la pantalla + + + + Current window only + Solo la ventana actual + + + + Capture an area of the screen + Capturar un área de la pantalla + + + + Include mouse cursor + Incluir el puntero del ratón + + + + seconds + segundos + + + + Delay: + Retardo: + + + + Include window title and frame + Incluir el marco y el título de la ventana + + + + UploadDialog + + + Upload + Subir + + + + Copy + Copiar + + + diff --git a/src/translations/lximage-qt_fr.ts b/src/translations/lximage-qt_fr.ts new file mode 100644 index 0000000..a8062e3 --- /dev/null +++ b/src/translations/lximage-qt_fr.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Faire une copie d'écran + + + + [FILE1, FILE2,...] + [FICHIER1,FICHIER2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + réponse : erreur inconnue + + + + LxImage::ImgBBUpload + + + unknown error response + réponse : erreur inconnue + + + + LxImage::ImgurUpload + + + unknown error response + réponse : erreur inconnue + + + + LxImage::MainWindow + + + About + À propos + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - un visualiseur d'image, simple et rapide + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Auteur : +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Ouvrir un fichier + + + + + Image files (%1) + Fichier image (%1) + + + + Open directory + Ouvrir le répertoire + + + + Save File + Enregistrer un fichier + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Chargement...) - Visionneur d'image + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Échec de chargement) - Visionneur d'image + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visionneur d'image + + + + [*]Image Viewer + [*]Visionneur d'image + + + + Thumbnails + Miniatures + + + + EXIF Data + Données EXIF + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + Start + + + + Stop + Stop + + + + Close + Fermer + + + + Error + Erreur + + + + MainWindow + + + Image Viewer + Visionneur d'image + + + + &File + &Fichier + + + + &Recently Opened Files + + + + + &Help + &Aide + + + + Go + Aller à + + + + &View + A&fficher + + + + &Edit + &Editer + + + + Toolbar + Barre des outils + + + + toolBar_2 + + + + + &About + &À propos + + + + &Open File + &Ouvrir un fichier + + + + Ctrl+O + Ctrl+O + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + &Enregistrer + + + + Ctrl+S + Ctrl+S + + + + Save &As + Enregistrer &sous + + + + Ctrl+A + Ctrl+A + + + + &Close + &Fermer + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Zoom a&vant + + + + Ctrl+= + Ctrl+= + + + + Zoom &Out + Zoom a&rrière + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copie vers le presse-papier + + + + + Next File + Fichier suivant + + + + PgDown + PgDown + + + + + Previous File + Fichier précédent + + + + PgUp + PgUp + + + + Original Size + Taille d'origine + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + Adapter la &taille + + + + &Rotate Clockwise + &Rotation horaire + + + + R + R + + + + Rotate &Counterclockwise + Rotation &anti-horaire + + + + L + L + + + + P&references + &Préférences + + + + &Print + &Imprimer + + + + Ctrl+P + Ctrl+P + + + + First File + Premier fichier + + + + Home + Début + + + + Last File + Dernier fichier + + + + End + Fin + + + + &New Window + &Nouvelle fenêtre + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Retournement &horizontal + + + + H + H + + + + Capture Screenshot + Capture d'écran + + + + F&ull Screen + &Plein écran + + + + F11 + F11 + + + + Flip &Vertically + Retournement &vertical + + + + V + V + + + + &Paste from Clipboard + &Coller depuis le presse-papier + + + + &Slide Show + &Diaporama + + + + &Delete + &Supprimer + + + + Del + Suppr + + + + Show Thumbnails + Afficher les miniatures + + + + T + T + + + + File Properties + Propriétés du fichier + + + + Open &Directory + Ouvrir &répertoire + + + + Ctrl+D + Ctrl+D + + + + Upload + Envoyer + + + + Upload the image + Envoyer l'image + + + + Show EXIF Data + Afficher les données EXIF + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + PreferencesDialog + + + Preferences + Préférences + + + + General + Général + + + + Icon theme: + Thème des icônes : + + + + Normal background color: + Couleur de fond normale : + + + + Fullscreen background color: + Couleur de fond en plein écran : + + + + Slide show interval (seconds): + Intervale entre diapositives : + + + + ScreenshotDialog + + + Screenshot + Copie d'écran + + + + Take a screenshot + Faire une copie d'écran + + + + Region + Région + + + + Whole screen + Écran entier + + + + Current window only + Fenêtre courante seule + + + + Capture an area of the screen + Capturer une zone de l"écran + + + + Include mouse cursor + Inclure le pointeur de souris + + + + seconds + secondes + + + + Delay: + Délai : + + + + Include window title and frame + Inclurela barre de titre et le cadre + + + + UploadDialog + + + Upload + Envoyer + + + + Copy + + + + diff --git a/src/translations/lximage-qt_gl.ts b/src/translations/lximage-qt_gl.ts new file mode 100644 index 0000000..9d9005e --- /dev/null +++ b/src/translations/lximage-qt_gl.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Obter unha captura de pantalla + + + + [FILE1, FILE2,...] + [FICHEIRO1, FICHEIRO2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + resposta de erro descoñecida + + + + LxImage::ImgBBUpload + + + unknown error response + resposta de erro descoñecida + + + + LxImage::ImgurUpload + + + unknown error response + resposta de erro descoñecida + + + + LxImage::MainWindow + + + About + Sobre + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - Un visor de imaxes sinxelo e rápido + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Autores: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Abrir ficheiro + + + + + Image files (%1) + Ficheiros de imaxe (%1) + + + + Open directory + Abrir directorio + + + + Save File + Gardar o ficheiro + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Cargando...) - Visor de imaxes + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Produciuse un fallo na carga) - Visor de imaxes + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visor de imaxes + + + + [*]Image Viewer + [*]Visor de imaxes + + + + Thumbnails + Miniaturas + + + + EXIF Data + Datos EXIF + + + + LxImage::MruMenu + + + &Clear + &Limpar + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Iniciar + + + + Stop + Parar + + + + Close + Pechar + + + + Error + Erro + + + + MainWindow + + + Image Viewer + Visor de imaxes + + + + &About + &Sobre + + + + &Open File + &Abrir ficheiro + + + + Ctrl+O + Ctrl+O + + + + &Save + &Gardar + + + + Ctrl+S + Ctrl+S + + + + Save &As + Gardar &como + + + + Ctrl+A + Ctrl+A + + + + &Close + &Pechar + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + A&chegar + + + + Zoom &Out + A&fastar + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copiar ao portapapeis + + + + + Next File + Ficheiro seguinte + + + + + Previous File + Ficheiro anterior + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + Ficheiros abertos &recentemente + + + + toolBar_2 + barraFerramentas_2 + + + + &Reload File + &Recargar o ficheiro + + + + Ctrl+R + Ctrl+R + + + + PgDown + Av Páx + + + + PgUp + Re Páx + + + + Original Size + Tamaño orixinal + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + A&xustar + + + + &Rotate Clockwise + Rotar en sentido &horario + + + + R + D + + + + Rotate &Counterclockwise + Rotar en sentido &antihorario + + + + L + E + + + + P&references + P&referencias + + + + &Print + Im&primir + + + + Ctrl+P + Ctrl+P + + + + First File + Primeiro ficheiro + + + + Home + Cartafol persoal + + + + Last File + Último ficheiro + + + + End + Fin + + + + &New Window + &Nova xanela + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Inverter na & horizontal + + + + H + H + + + + Capture Screenshot + Captura de pantalla + + + + F&ull Screen + Pantalla c&ompleta + + + + F11 + F11 + + + + Flip &Vertically + Inverter na &vertical + + + + V + V + + + + &Paste from Clipboard + &Pegar do portapapeis + + + + &Slide Show + &Diaporama + + + + &Delete + &Eliminar + + + + Del + Supr + + + + Show Thumbnails + Amosar miniaturas + + + + T + M + + + + File Properties + Propiedades do ficheiro + + + + Open &Directory + Abrir &directorio + + + + Ctrl+D + Ctrl+D + + + + Upload + Enviar + + + + Upload the image + Enviar a imaxe + + + + Show EXIF Data + Amosar os datos EXIF + + + + No Tool + Ningunha ferramenta + + + + Deselect all drawing tools + Desmarcar todas as ferramentas de debuxo + + + + Draw Arrow + Debuxar unha frecha + + + + Draw an arrow + Debuxar unha frecha + + + + Draw Rectangle + Debuxar un rectángulo + + + + Draw a hollow rectangle + Debuxa un rectángulo oco + + + + Draw Circle + Debuxar un círculo + + + + Draw a hollow circle + Debuxar un círculo oco + + + + Draw Number + Debuxar un número + + + + Draw incrementing numbers + Debuxar números de xeito incremental + + + + &File + &Ficheiro + + + + &Help + &Axuda + + + + Go + Ir a + + + + &View + &Ver + + + + &Edit + &Editar + + + + Toolbar + Barra de ferramentas + + + + PreferencesDialog + + + Preferences + Preferencias + + + + Icon theme: + Tema de iconas: + + + + Normal background color: + Cor do fondo normal: + + + + Fullscreen background color: + Cor do fondo a pantalla completa: + + + + Slide show interval (seconds): + Intervalo do diaporama (en segundos): + + + + General + Xeral + + + + ScreenshotDialog + + + Screenshot + Captura de pantalla + + + + Take a screenshot + Obter unha captura de pantalla + + + + Region + Área + + + + Whole screen + Pantalla completa + + + + Current window only + Só a xanela actual + + + + Capture an area of the screen + Capturar unha área da pantalla + + + + Include mouse cursor + Incluír o punteiro do rato + + + + seconds + segundos + + + + Delay: + Demora: + + + + Include window title and frame + Incluír o marco e o título da xanela + + + + UploadDialog + + + Upload + Enviar + + + + Copy + Copiar + + + diff --git a/src/translations/lximage-qt_he.ts b/src/translations/lximage-qt_he.ts new file mode 100644 index 0000000..b93f7cf --- /dev/null +++ b/src/translations/lximage-qt_he.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + צילום המסך + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + תגובת שגיאה בלתי ידועה + + + + LxImage::ImgBBUpload + + + unknown error response + תגובת שגיאה בלתי ידועה + + + + LxImage::ImgurUpload + + + unknown error response + תגובת שגיאה בלתי ידועה + + + + LxImage::MainWindow + + + About + על אודות + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - מציג תמונות פשוט ומהיר + +כל הזכויות שמורות (C) 2013 +מיזם LXQt:‏ https://lxqt.org/‎ + +יוצרים: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com>‎ + + + + Open File + פתיחת קובץ + + + + + Image files (%1) + קובצי תמונה (%1) + + + + Open directory + פתיחת תיקייה + + + + Save File + שמירת קובץ + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (בטעינה…) - מציג תמונות + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (הטעינה נכשלה) - מציג תמונות + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - מציג תמונות + + + + [*]Image Viewer + [*]מציג תמונות + + + + Thumbnails + תמונות ממוזערות + + + + EXIF Data + נתוני EXIF + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + התחלה + + + + Stop + עצירה + + + + Close + סגירה + + + + Error + שגיאה + + + + MainWindow + + + Image Viewer + מציג תמונות + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &About + על &אודות + + + + &Open File + &פתיחת קובץ + + + + Ctrl+O + + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + &שמירה + + + + Ctrl+S + + + + + Save &As + שמירה &בשם + + + + Ctrl+A + + + + + &Close + &סגירה + + + + Ctrl+W + + + + + Zoom &In + הת&קרבות + + + + Ctrl+= + + + + + Zoom &Out + הת&רחקות + + + + Ctrl+- + + + + + &Copy to Clipboard + ה&עתקה ללוח גזירים + + + + + Next File + הקובץ הבא + + + + PgDown + + + + + + Previous File + הקובץ הקודם + + + + PgUp + + + + + Original Size + גודל מקורי + + + + Ctrl+0 + + + + + &Fit + הת&אמה + + + + &Rotate Clockwise + הטייה &עם כיוון השעון + + + + R + ע + + + + Rotate &Counterclockwise + הטייה &נגד כיוון השעון + + + + L + נ + + + + P&references + ה&עדפות + + + + &Print + ה&דפסה + + + + Ctrl+P + + + + + First File + קובץ ראשון + + + + Home + + + + + Last File + קובץ אחרון + + + + End + + + + + &New Window + &חלון חדש + + + + Ctrl+N + + + + + Flip &Horizontally + היפוך או&פקי + + + + H + פ + + + + Capture Screenshot + צילום המסך + + + + F&ull Screen + מ&סך מלא + + + + F11 + + + + + Flip &Vertically + היפוך א&נכי + + + + V + נ + + + + &Paste from Clipboard + ה&דבקה מלוח הגזירים + + + + &Slide Show + מ&צגת + + + + &Delete + מ&חיקה + + + + Del + + + + + Show Thumbnails + הצגת תמונות ממוזערות + + + + T + ז + + + + File Properties + מאפייני קובץ + + + + Open &Directory + פתיחת &תיקייה + + + + Ctrl+D + + + + + Upload + העלאה + + + + Upload the image + העלאת התמונה + + + + Show EXIF Data + הצגת נתוני EXIF + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &קובץ + + + + &Help + ע&זרה + + + + Go + קדימה + + + + &View + ת&צוגה + + + + &Edit + ע&ריכה + + + + Toolbar + סרגל כלים + + + + PreferencesDialog + + + Preferences + העדפות + + + + Icon theme: + ערכת סמלים: + + + + Normal background color: + צבע רקע כרגיל: + + + + Fullscreen background color: + צבע רקע מסך מלא: + + + + Slide show interval (seconds): + זמן בין החלפת תמונות (שניות): + + + + General + כללי + + + + ScreenshotDialog + + + Screenshot + צילום מסך + + + + Take a screenshot + צילום המסך + + + + Region + אזור + + + + Whole screen + המסך כולו + + + + Current window only + החלון הנוכחי בלבד + + + + Capture an area of the screen + צילום אזור מסוים מהמסך + + + + Include mouse cursor + כולל סמן העכבר + + + + seconds + שניות + + + + Delay: + השהיה: + + + + Include window title and frame + כולל הכותרת והמסגרת של החלון + + + + UploadDialog + + + Upload + העלאה + + + + Copy + + + + diff --git a/src/translations/lximage-qt_hr.ts b/src/translations/lximage-qt_hr.ts new file mode 100644 index 0000000..1442161 --- /dev/null +++ b/src/translations/lximage-qt_hr.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + Napravi sliku zaslona + + + + [FILE1, FILE2,...] + [DATOTEKA1, DATOTEKA2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + O programu + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + Otvori datoteku + + + + + Image files (%1) + Datoteke slika (%1) + + + + Open directory + + + + + Save File + Spremi datoteku + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Thumbnails + + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + Preglednik slika + + + + &About + &O programu + + + + &Open File + &Otvori datoteku + + + + Ctrl+O + Ctrl+O + + + + &Save + &Spremi + + + + Ctrl+S + Ctrl+S + + + + Save &As + Spremi &kao + + + + Ctrl+A + Ctrl+A + + + + &Close + &Zatvori + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + + + + + Zoom &Out + + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + + + + + + Next File + Slijedeća datoteka + + + + + Previous File + Prethodna datoteka + + + + Ctrl+= + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + + + + + PgUp + + + + + Original Size + Izvorna veličina + + + + Ctrl+0 + + + + + &Fit + + + + + &Rotate Clockwise + &Rotiraj u smjeru kazaljke na satu + + + + R + + + + + Rotate &Counterclockwise + Rotiraj &obrnuto od smjera kazaljke na satu + + + + L + + + + + P&references + O&sobitosti + + + + &Print + &Ispis + + + + Ctrl+P + + + + + First File + Prva datoteka + + + + Home + Osobna mapa + + + + Last File + Zadnja datoteka + + + + End + Kraj + + + + &New Window + &Novi prozor + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Obrni &vodoravno + + + + H + + + + + Capture Screenshot + Uhvati sliku zaslona + + + + F&ull Screen + C&ijeli zaslon + + + + F11 + F11 + + + + Flip &Vertically + Obrni &okomito + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + &Klizni prikaz + + + + &Delete + &Izbriši + + + + Del + Del + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Datoteka + + + + &Help + &Pomoć + + + + Go + Idi + + + + &View + &Pogled + + + + &Edit + &Uredi + + + + Toolbar + + + + + PreferencesDialog + + + Preferences + Osobitosti + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + Snimka zaslona + + + + Take a screenshot + Napravi snimku zaslona + + + + Region + Regija + + + + Whole screen + Cijeli zaslon + + + + Current window only + Samo trenutni prozor + + + + Capture an area of the screen + + + + + Include mouse cursor + uključi pokazivač miša + + + + seconds + sekundi + + + + Delay: + Odgoda: + + + + Include window title and frame + Uključi naslov prozora i okvir + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_hu.ts b/src/translations/lximage-qt_hu.ts new file mode 100644 index 0000000..7238b34 --- /dev/null +++ b/src/translations/lximage-qt_hu.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + Képernyőkép + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + Rólunk + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + Fájl megnyitás + + + + + Image files (%1) + Képfájlok (%1) + + + + Open directory + Könyvtár nyitás + + + + Save File + Fájl mentés + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Betöltés...) - Képnéző + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Betöltés sikertelen) - Képnéző + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3.) - Képnéző + + + + [*]Image Viewer + [*]Képnéző + + + + Thumbnails + Bélyegképek + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + Bezárás + + + + Error + + + + + MainWindow + + + Image Viewer + Képnéző + + + + &About + Ról&am + + + + &Open File + &Fájlnyitás + + + + Ctrl+O + + + + + &Save + &Ment + + + + Ctrl+S + + + + + Save &As + &Másként ment + + + + Ctrl+A + + + + + &Close + &Bezárás + + + + Ctrl+W + + + + + Zoom &In + &Nagyít + + + + Zoom &Out + &Kicsinyít + + + + Ctrl+- + + + + + &Copy to Clipboard + &Vágólapra másol + + + + + Next File + Következő fájl + + + + + Previous File + Előző fájl + + + + PgDown + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + Ctrl+= + + + + + PgUp + + + + + Original Size + Eredeti méret + + + + Ctrl+0 + + + + + &Fit + &Kitölt + + + + &Rotate Clockwise + &Jobbra forgat + + + + R + + + + + Rotate &Counterclockwise + &Balra forgat + + + + L + + + + + P&references + &Beállítások + + + + &Print + &Nyomtat + + + + Ctrl+P + + + + + First File + Első fájl + + + + Home + + + + + Last File + Utolsó fájl + + + + End + Vége + + + + &New Window + &Új ablak + + + + Ctrl+N + + + + + Flip &Horizontally + Vízsz&intesen átfordít + + + + H + + + + + Capture Screenshot + Képernyőkép készítés + + + + F&ull Screen + &Teljes kép + + + + F11 + + + + + Flip &Vertically + &Fejtetőre állít + + + + V + + + + + &Paste from Clipboard + Vágóla&pról beilleszt + + + + &Slide Show + &Diavetítés + + + + &Delete + &Törlés + + + + Del + + + + + Show Thumbnails + Bélyegképek + + + + T + + + + + File Properties + Fájljellemzők + + + + Open &Directory + Mappa &Megnyitása + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Fájl + + + + &Help + &Segítség + + + + Go + Ugrás + + + + &View + &Nézet + + + + &Edit + &Szerkeszt + + + + Toolbar + Eszközsáv + + + + PreferencesDialog + + + Preferences + Beállítások + + + + Icon theme: + Ikontéma: + + + + Normal background color: + Normál háttérszín: + + + + Fullscreen background color: + Teljeskép háttérszín: + + + + Slide show interval (seconds): + Diaváltás (másodperc): + + + + General + Általános + + + + ScreenshotDialog + + + Screenshot + Képernyőkép + + + + Take a screenshot + Képernyőfénykép + + + + Region + Terület + + + + Whole screen + Teljes kép + + + + Current window only + Aktuális ablak + + + + Capture an area of the screen + Képernyőrész kiválasztás + + + + Include mouse cursor + Egérkurzor is + + + + seconds + másodperc + + + + Delay: + Késleltetés: + + + + Include window title and frame + Ablakkeret és fejléc is + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_id.ts b/src/translations/lximage-qt_id.ts new file mode 100644 index 0000000..00de6fb --- /dev/null +++ b/src/translations/lximage-qt_id.ts @@ -0,0 +1,641 @@ + + + + + LxImage::Application + + + Take a screenshot + Ambil cuplikan layar + + + + [FILE1, FILE2,...] + [BERKAS1, BERKAS2, ...] + + + + LxImage::ImageShackUpload + + + unknown error response + respon kesalahan tidak diketahui + + + + LxImage::ImgBBUpload + + + unknown error response + respon kesalahan tidak diketahui + + + + LxImage::ImgurUpload + + + unknown error response + respon kesalahan tidak diketahui + + + + LxImage::MainWindow + + + About + Tentang + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - penampil gambar yang sederhana dan cepat + +Hak cipta (C) 2013 +LXQt Project: https://lxqt.org/ + +Pencipta: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Buka Berkas + + + + + Image files (%1) + Berkas gambar (%1) + + + + Open directory + Buka direktori + + + + Save File + Simpan Berkas + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Memuat...) - Penampil Gambar + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Gagal Dimuat) - Penampil Gambar + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Penampil Gambar + + + + [*]Image Viewer + [*]Penampil Gambar + + + + Thumbnails + Gambar kecil + + + + EXIF Data + Data EXIF + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + Mulai + + + + Stop + Berhenti + + + + Close + Tutup + + + + Error + Galat + + + + MainWindow + + + Image Viewer + Penampil Gambar + + + + &About + Tent&ang + + + + &Open File + &Buka Berkas + + + + Ctrl+O + Ctrl+O + + + + &Save + &Simpan + + + + Ctrl+S + Ctrl+S + + + + Save &As + Simpan Seb&agai + + + + Ctrl+A + Ctrl+A + + + + &Close + &Tutup + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Per&besar + + + + Zoom &Out + Per&kecil + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Salin ke Papan Klip + + + + + Next File + Berkas Berikutnya + + + + + Previous File + Berkas Sebelumnya + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + PgDown + + + + PgUp + PgUp + + + + Original Size + Ukuran Asli + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Pas + + + + &Rotate Clockwise + Puta&r Searah Jarum Jam + + + + R + R + + + + Rotate &Counterclockwise + Putar Ber&lawanan Jarum Jam + + + + L + L + + + + P&references + P&referensi + + + + &Print + &Cetak + + + + Ctrl+P + Ctrl+P + + + + First File + Berkas Pertama + + + + Home + asumsi: nama tombol + + Rumah + + + + Last File + Berkas Terakhir + + + + End + asumsi: nama tombol + + Akhir + + + + &New Window + Je&ndela Baru + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Balikkan Arah &Horisontal + + + + H + H + + + + Capture Screenshot + Ambil Cuplikan Layar + + + + F&ull Screen + Layar Pen&uh + + + + F11 + F11 + + + + Flip &Vertically + Balikkan Arah &Vertikal + + + + V + V + + + + &Paste from Clipboard + Tem&pel dari Papan Klip + + + + &Slide Show + Pertunjukan &Salindia + + + + &Delete + &Hapus + + + + Del + Del + + + + Show Thumbnails + Tampilkan Gambar Kecil + + + + T + T + + + + File Properties + Properti Berkas + + + + Open &Directory + Buka &Direktori + + + + Ctrl+D + Ctrl+D + + + + Upload + Unggah + + + + Upload the image + Unggah gambar + + + + Show EXIF Data + Tampilkan Data EXIF + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Berkas + + + + &Help + B&antuan + + + + Go + Pergi + + + + &View + &Lihat + + + + &Edit + &Sunting + + + + Toolbar + Bilah alat + + + + PreferencesDialog + + + Preferences + Preferensi + + + + Icon theme: + Tema ikon: + + + + Normal background color: + Warna latar belakang normal: + + + + Fullscreen background color: + Warna latar belakang layar penuh: + + + + Slide show interval (seconds): + Interval salindia (detik): + + + + General + Umum + + + + ScreenshotDialog + + + Screenshot + Cuplikan layar + + + + Take a screenshot + Ambil cuplikan layar + + + + Region + Wilayah + + + + Whole screen + Seluruh layar + + + + Current window only + Hanya jendela saat ini + + + + Capture an area of the screen + Tangkap area layar + + + + Include mouse cursor + Sertakan kursor tetikus + + + + seconds + detik + + + + Delay: + Tunda: + + + + Include window title and frame + Sertakan rangka dan judul jendela + + + + UploadDialog + + + Upload + Unggah + + + + Copy + + + + diff --git a/src/translations/lximage-qt_is.ts b/src/translations/lximage-qt_is.ts new file mode 100644 index 0000000..b2d9782 --- /dev/null +++ b/src/translations/lximage-qt_is.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + + + + + + Image files (%1) + + + + + Open directory + + + + + Save File + + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Thumbnails + + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + + + + + &About + + + + + &Open File + + + + + Ctrl+O + + + + + &Save + + + + + Ctrl+S + + + + + Save &As + + + + + Ctrl+A + + + + + &Close + + + + + Ctrl+W + + + + + Zoom &In + + + + + Zoom &Out + + + + + Ctrl+- + + + + + &Copy to Clipboard + + + + + + Next File + + + + + + Previous File + + + + + PgDown + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + Ctrl+= + + + + + PgUp + + + + + Original Size + + + + + Ctrl+0 + + + + + &Fit + + + + + &Rotate Clockwise + + + + + R + + + + + Rotate &Counterclockwise + + + + + L + + + + + P&references + + + + + &Print + + + + + Ctrl+P + + + + + First File + + + + + Home + + + + + Last File + + + + + End + + + + + &New Window + + + + + Ctrl+N + + + + + Flip &Horizontally + + + + + H + + + + + Capture Screenshot + + + + + F&ull Screen + + + + + F11 + + + + + Flip &Vertically + + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + + + + + &Delete + + + + + Del + + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + + + + + &Help + + + + + Go + + + + + &View + + + + + &Edit + + + + + Toolbar + + + + + PreferencesDialog + + + Preferences + + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + + + + + Take a screenshot + + + + + Region + + + + + Whole screen + + + + + Current window only + + + + + Capture an area of the screen + + + + + Include mouse cursor + + + + + seconds + + + + + Delay: + + + + + Include window title and frame + + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_it.ts b/src/translations/lximage-qt_it.ts new file mode 100644 index 0000000..09db593 --- /dev/null +++ b/src/translations/lximage-qt_it.ts @@ -0,0 +1,632 @@ + + + + + LxImage::Application + + + Take a screenshot + Cattura una schermata + + + + [FILE1, FILE2,...] + [File1, File2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + Errore sconosciuto + + + + LxImage::ImgBBUpload + + + unknown error response + Errore sconosciuto + + + + LxImage::ImgurUpload + + + unknown error response + Errore sconosciuto + + + + LxImage::MainWindow + + + About + Informazioni + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + Apri file + + + + + Image files (%1) + File immagini (%1) + + + + Open directory + Apri cartella + + + + Save File + Salva file + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (caricando...) - Visualizzatore immagini + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (caricamento non riuscito...) - Visualizzatore immagini + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visualizzatore immagini + + + + [*]Image Viewer + [*]Visualizzatore immagini + + + + Thumbnails + Miniature + + + + EXIF Data + Dati EXIF + + + + LxImage::MruMenu + + + &Clear + &Pulisci + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Avvio + + + + Stop + Ferma + + + + Close + Chiudi + + + + Error + Errore + + + + MainWindow + + + Image Viewer + Visualizzatore immagini + + + + &About + Inform&azioni + + + + &Open File + &Apri file + + + + Ctrl+O + Ctrl+O + + + + &Save + &Salva + + + + Ctrl+S + Ctrl+S + + + + Save &As + Salva con &nome + + + + Ctrl+A + Ctrl+A + + + + &Close + &Chiudi + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + &Ingrandisci + + + + Zoom &Out + &Rimpicciolisci + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copia negli appunti + + + + + Next File + File successivo + + + + + Previous File + File precedente + + + + PgDown + Pagina giù + + + + &Recently Opened Files + File &recenti + + + + toolBar_2 + + + + + &Reload File + &Ricarica file + + + + Ctrl+R + Ctrl+R + + + + Ctrl+= + Ctrl+= + + + + PgUp + Pagina su + + + + Original Size + Dimensioni originali + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Adatta + + + + &Rotate Clockwise + &Ruota in senso orario + + + + R + R + + + + Rotate &Counterclockwise + Ruota in &senso antiorario + + + + L + L + + + + P&references + P&referenze + + + + &Print + Stam&pa + + + + Ctrl+P + Ctrl+P + + + + First File + Primo file + + + + Home + Home + + + + Last File + Ultimo file + + + + End + Fine + + + + &New Window + &Nuova finestra + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Rispecchia &orizzontalmente + + + + H + H + + + + Capture Screenshot + Cattura schermata + + + + F&ull Screen + &Schermo intero + + + + F11 + F11 + + + + Flip &Vertically + Rispecchia &verticalmente + + + + V + V + + + + &Paste from Clipboard + &Incolla dagli appunti + + + + &Slide Show + &Presentazione + + + + &Delete + &Elimina + + + + Del + Canc + + + + Show Thumbnails + Mostra miniature + + + + T + T + + + + File Properties + Übersetzung von 'file' weggelassen, da redundant. + Proprietà del file + + + + Open &Directory + Apri &cartella + + + + Ctrl+D + Ctrl+D + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + Mostra data EXIF + + + + No Tool + + + + + Deselect all drawing tools + Deselezionato tutti + + + + Draw Arrow + Disegna freccia + + + + Draw an arrow + Disegna una freccia + + + + Draw Rectangle + Disegna un rettangolo + + + + Draw a hollow rectangle + Disegna un rettangolo vuoto + + + + Draw Circle + Disegna un cerchio + + + + Draw a hollow circle + Disegna un cerchio vuoto + + + + Draw Number + Disegna un numero + + + + Draw incrementing numbers + Disegna numeri crescenti + + + + &File + &File + + + + &Help + &Aiuto + + + + Go + Vai + + + + &View + &Visualizza + + + + &Edit + &Modifica + + + + Toolbar + Barra degli strumenti + + + + PreferencesDialog + + + Preferences + Preferenze + + + + Icon theme: + Tema delle icone: + + + + Normal background color: + Colore sfondo: + + + + Fullscreen background color: + Colore sfondo schermo intero: + + + + Slide show interval (seconds): + Ritardo presentazione (secondi): + + + + General + Generali + + + + ScreenshotDialog + + + Screenshot + Schermata + + + + Take a screenshot + Cattura schermata + + + + Region + Tipo + + + + Whole screen + Schermo intero + + + + Current window only + Finestra attuale + + + + Capture an area of the screen + Area selezionata + + + + Include mouse cursor + Includi cursore + + + + seconds + secondi + + + + Delay: + Ritardo: + + + + Include window title and frame + Includi cornice finestra + + + + UploadDialog + + + Upload + + + + + Copy + Copia + + + diff --git a/src/translations/lximage-qt_ja.ts b/src/translations/lximage-qt_ja.ts new file mode 100644 index 0000000..aeb1016 --- /dev/null +++ b/src/translations/lximage-qt_ja.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + スクリーンショットを撮る + + + + [FILE1, FILE2,...] + [ファイル1, ファイル2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + 未知のエラー + + + + LxImage::ImgBBUpload + + + unknown error response + 未知のエラー + + + + LxImage::ImgurUpload + + + unknown error response + 未知のエラー + + + + LxImage::MainWindow + + + About + このアプリケーションについて + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + ファイルを開く + + + + + Image files (%1) + 画像ファイル (%1) + + + + Open directory + ディレクトリを開く + + + + Save File + ファイルの保存 + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (ロード中...) - イメージビューア + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (ロードに失敗) - イメージビューア + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - イメージビューア + + + + [*]Image Viewer + [*]イメージビューア + + + + Thumbnails + サムネイル + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + 開始 + + + + Stop + 中止 + + + + Close + 閉じる + + + + Error + エラー + + + + MainWindow + + + Image Viewer + 画像ビューワ + + + + &About + このアプリケーションについて(&A) + + + + &Open File + ファイルを開く(&O) + + + + Ctrl+O + Ctrl+O + + + + &Save + 保存(&S) + + + + Ctrl+S + Ctrl+S + + + + Save &As + 名前を付けて保存(&A) + + + + Ctrl+A + Ctrl+A + + + + &Close + 閉じる(&C) + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + 拡大(&I) + + + + Zoom &Out + 縮小(&O) + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + クリップボードへコピー(&C) + + + + + Next File + 次のファイル + + + + + Previous File + 前のファイル + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + 最近開いたファイル(&R) + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + + + + + PgUp + + + + + Original Size + 原寸大 + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + フィット(&F) + + + + &Rotate Clockwise + 時計方向に回転(&R) + + + + R + + + + + Rotate &Counterclockwise + 反時計方向に回転(&C) + + + + L + + + + + P&references + 設定(&R) + + + + &Print + 印刷(&P) + + + + Ctrl+P + Ctrl+P + + + + First File + 最初のファイル + + + + Home + Home + + + + Last File + 最後のファイル + + + + End + End + + + + &New Window + 新規ウィンドウ(&N) + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + 水平方向に反転(&H) + + + + H + + + + + Capture Screenshot + スクリーンショットを撮る + + + + F&ull Screen + 全画面(&U) + + + + F11 + F11 + + + + Flip &Vertically + 垂直方向に反転(&V) + + + + V + + + + + &Paste from Clipboard + クリップボードからペースト(&P) + + + + &Slide Show + スライドショー(&S) + + + + &Delete + 削除(&D) + + + + Del + Del + + + + Show Thumbnails + サムネイルを表示 + + + + T + + + + + File Properties + ファイルのプロパティ + + + + Open &Directory + ディレクトリを開く(&D) + + + + Ctrl+D + Ctrl+O + + + + Upload + アップロード + + + + Upload the image + 画像をアップロード + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + ファイル(&F) + + + + &Help + ヘルプ(&H) + + + + Go + 移動 + + + + &View + 表示(&V) + + + + &Edit + 編集(&E) + + + + Toolbar + ツールバー + + + + PreferencesDialog + + + Preferences + 設定 + + + + Icon theme: + アイコンテーマ: + + + + Normal background color: + 通常の背景色: + + + + Fullscreen background color: + フルスクリーン時の背景色: + + + + Slide show interval (seconds): + スライドショーの間隔(秒): + + + + General + + + + + ScreenshotDialog + + + Screenshot + スクリーンショット + + + + Take a screenshot + スクリーンショットを撮る + + + + Region + 領域 + + + + Whole screen + 画面全体 + + + + Current window only + 現在のウィンドウのみ + + + + Capture an area of the screen + スクリーンの範囲をキャプチャーする + + + + Include mouse cursor + マウスカーソルを含む + + + + seconds + + + + + Delay: + 遅延: + + + + Include window title and frame + ウィンドウのタイトルと枠を含む + + + + UploadDialog + + + Upload + アップロード + + + + Copy + + + + diff --git a/src/translations/lximage-qt_lt.ts b/src/translations/lximage-qt_lt.ts new file mode 100644 index 0000000..1603957 --- /dev/null +++ b/src/translations/lximage-qt_lt.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Padaryti ekrano kopiją + + + + [FILE1, FILE2,...] + [FAILAS1, FAILAS2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + nežinomas klaidos atsakymas + + + + LxImage::ImgBBUpload + + + unknown error response + nežinomas klaidos atsakymas + + + + LxImage::ImgurUpload + + + unknown error response + nežinomas klaidos atsakymas + + + + LxImage::MainWindow + + + About + Apie + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - paprasta ir greita paveikslų žiūryklė + +Autorių teisės (C) 2013 +LXQt projektas: https://lxqt.org/ + +Autoriai: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Atverti failą + + + + + Image files (%1) + Paveikslų failai (%1) + + + + Open directory + Atverti katalogą + + + + Save File + Įrašyti failą + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Įkeliama...) - Paveikslų žiūryklė + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Nepavyko įkelti) - Paveikslų žiūryklė + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Paveikslų žiūryklė + + + + [*]Image Viewer + [*]Paveikslų žiūryklė + + + + Thumbnails + Miniatiūros + + + + EXIF Data + EXIF duomenys + + + + LxImage::MruMenu + + + &Clear + Iš&valyti + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Pradėti + + + + Stop + Stabdyti + + + + Close + Užverti + + + + Error + Klaida + + + + MainWindow + + + Image Viewer + Paveikslų žiūryklė + + + + &Recently Opened Files + &Paskiausiai atverti failai + + + + toolBar_2 + įrankiųJuosta_2 + + + + &About + &Apie + + + + &Open File + A&tverti failą + + + + Ctrl+O + Ctrl(Vald)+O + + + + &Reload File + Į&kelti failą iš naujo + + + + Ctrl+R + Ctrl(Vald)+R + + + + &Save + Į&rašyti + + + + Ctrl+S + Ctrl(Vald)+S + + + + Save &As + Įrašyti k&aip + + + + Ctrl+A + Ctrl(Vald)+A + + + + &Close + &Užverti + + + + Ctrl+W + Ctrl(Vald)+W + + + + Zoom &In + D&idinti + + + + Ctrl+= + Ctrl(Vald)+= + + + + Zoom &Out + &Mažinti + + + + Ctrl+- + Ctrl(Vald)+- + + + + &Copy to Clipboard + &Kopijuoti į iškarpinę + + + + + Next File + Kitas failas + + + + PgDown + PgDown(Tolesnis psl) + + + + + Previous File + Ankstesnis failas + + + + PgUp + PgUp(Ankstesnis psl) + + + + Original Size + Pradinis dydis + + + + Ctrl+0 + Ctrl(Vald)+0 + + + + &Fit + Pri&derinti + + + + &Rotate Clockwise + Pasukti &pagal laikrodžio rodyklę + + + + R + D + + + + Rotate &Counterclockwise + Pasukti p&rieš laikrodžio rodyklę + + + + L + K + + + + P&references + N&uostatos + + + + &Print + S&pausdinti + + + + Ctrl+P + Ctrl(Vald)+P + + + + First File + Pirmas failas + + + + Home + Home(Prad) + + + + Last File + Paskutinis failas + + + + End + End(Pab) + + + + &New Window + &Naujas langas + + + + Ctrl+N + Ctrl(Vald)+N + + + + Flip &Horizontally + Apversti &horizontaliai + + + + H + H + + + + Capture Screenshot + Padaryti ekrano kopiją + + + + F&ull Screen + V&isas ekranas + + + + F11 + F11 + + + + Flip &Vertically + Apversti &vertikaliai + + + + V + V + + + + &Paste from Clipboard + Į&dėti iš iškarpinės + + + + &Slide Show + &Skaidrių rodymas + + + + &Delete + Iš&trinti + + + + Del + Del(Šal) + + + + Show Thumbnails + Rodyti miniatiūras + + + + T + M + + + + File Properties + Failo savybės + + + + Open &Directory + Atverti &katalogą + + + + Ctrl+D + Ctrl(Vald)+D + + + + Upload + Įkelti + + + + Upload the image + Įkelti paveikslą + + + + Show EXIF Data + Rodyti EXIF duomenis + + + + No Tool + Jokio įrankio + + + + Deselect all drawing tools + Panaikinti bet kokių brėžimo įrankių pasirinkimą + + + + Draw Arrow + Brėžti rodyklę + + + + Draw an arrow + Nubrėžti rodyklę + + + + Draw Rectangle + Brėžti stačiakampį + + + + Draw a hollow rectangle + Nubrėžti tuščiavidurį stačiakampį + + + + Draw Circle + Brėžti apskritimą + + + + Draw a hollow circle + Nubrėžti tuščiavidurį apskritimą + + + + Draw Number + Brėžti skaitmenį + + + + Draw incrementing numbers + Nubrėžti didėjančius skaitmenis + + + + &File + &Failas + + + + &Help + Ži&nynas + + + + Go + Pereiti + + + + &View + &Rodinys + + + + &Edit + &Taisa + + + + Toolbar + Įrankių juosta + + + + PreferencesDialog + + + Preferences + Nuostatos + + + + Icon theme: + Piktogramų tema: + + + + Normal background color: + Įprasta fono spalva: + + + + Fullscreen background color: + Fono spalva viso ekrano veiksenoje: + + + + Slide show interval (seconds): + Skaidrių rodymo intervalas (sekundėmis): + + + + General + Bendra + + + + ScreenshotDialog + + + Screenshot + Ekrano kopija + + + + Take a screenshot + Padaryti ekrano kopija + + + + Region + Sritis + + + + Whole screen + Visas ekranas + + + + Current window only + Tik esamas langas + + + + Capture an area of the screen + Fotografuoti ekrano sritį + + + + Include mouse cursor + Įtraukti pelės žymeklį + + + + seconds + sekundžių + + + + Delay: + Delsa: + + + + Include window title and frame + Įtraukti lango pavadinimą ir rėmelį + + + + UploadDialog + + + Upload + Įkelti + + + + Copy + Kopijuoti + + + diff --git a/src/translations/lximage-qt_nb_NO.ts b/src/translations/lximage-qt_nb_NO.ts new file mode 100644 index 0000000..891465f --- /dev/null +++ b/src/translations/lximage-qt_nb_NO.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Ta et skjermbilde + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + Ukjent feilrespons + + + + LxImage::ImgBBUpload + + + unknown error response + Ukjent feilrespons + + + + LxImage::ImgurUpload + + + unknown error response + Ukjent feilrespons + + + + LxImage::MainWindow + + + About + Om + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - en enkel og rask bildeviser + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Opphavsmenn: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Åpne fil + + + + + Image files (%1) + Bildefiler (%1) + + + + Open directory + Åpne mappe + + + + Save File + Lagre fil + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Laster inn...) - Bildeviser + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Klarte ikke å laste inn) - Bildeviser + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Bildeviser + + + + [*]Image Viewer + [*]Bildeviser + + + + Thumbnails + Forhåndsvisninger + + + + EXIF Data + EXIF-data + + + + LxImage::MruMenu + + + &Clear + &Fjern + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + ImgBB + + + + ImageShack + + + + + Start + + + + + Stop + Stopp + + + + Close + Lukk + + + + Error + Feil + + + + MainWindow + + + Image Viewer + Bildeviser + + + + &Recently Opened Files + &Nylig åpnede filer + + + + toolBar_2 + Verktøylinje_2 + + + + &About + &Om + + + + &Open File + &Åpne fil + + + + Ctrl+O + + + + + &Reload File + &Last inn fil på nytt + + + + Ctrl+R + Ctrl+R + + + + &Save + &Lagre + + + + Ctrl+S + + + + + Save &As + Lagre &som + + + + Ctrl+A + + + + + &Close + &Lukk + + + + Ctrl+W + + + + + Zoom &In + Zoom &Inn + + + + Ctrl+= + + + + + Zoom &Out + Zoom &Ut + + + + Ctrl+- + + + + + &Copy to Clipboard + &Kopier til utklippstavlen + + + + + Next File + Neste fil + + + + PgDown + + + + + + Previous File + Forrige fil + + + + PgUp + + + + + Original Size + Original størrelse + + + + Ctrl+0 + + + + + &Fit + &Tilpass + + + + &Rotate Clockwise + &Roter med klokken + + + + R + + + + + Rotate &Counterclockwise + Roter &mot klokken + + + + L + + + + + P&references + I&nnstillinger + + + + &Print + &Skriv ut + + + + Ctrl+P + + + + + First File + Første fil + + + + Home + Hjem + + + + Last File + Siste fil + + + + End + Slutt + + + + &New Window + &Nytt vindu + + + + Ctrl+N + + + + + Flip &Horizontally + Snu &horisontalt + + + + H + + + + + Capture Screenshot + Ta skjermbilde + + + + F&ull Screen + F&ullskjerm + + + + F11 + + + + + Flip &Vertically + Snu &vertikalt + + + + V + + + + + &Paste from Clipboard + &Lim inn fra utklippsbok + + + + &Slide Show + &Lysbildeframvisning + + + + &Delete + &Slett + + + + Del + + + + + Show Thumbnails + Vis forhåndsvisninger + + + + T + + + + + File Properties + Filegenskaper + + + + Open &Directory + Åpne &mappe + + + + Ctrl+D + + + + + Upload + Last opp + + + + Upload the image + Last opp bildet + + + + Show EXIF Data + Vis EXIF-Data + + + + No Tool + Intet verktøy + + + + Deselect all drawing tools + Velg fra alle tegneverktøy + + + + Draw Arrow + Tegn pil + + + + Draw an arrow + Tegn en pil + + + + Draw Rectangle + Tegn rektangel + + + + Draw a hollow rectangle + Tegn et rektangel uten fyll + + + + Draw Circle + Tegn sirkel + + + + Draw a hollow circle + Tegn sirkel uten fyll + + + + Draw Number + Tegn tall + + + + Draw incrementing numbers + Tegn tall i rekkefølge + + + + &File + &Fil + + + + &Help + &Hjelp + + + + Go + Dra + + + + &View + &Visning + + + + &Edit + &Rediger + + + + Toolbar + Verktøylinje + + + + PreferencesDialog + + + Preferences + Innstillinger + + + + Icon theme: + Symboltema: + + + + Normal background color: + Normal bakgrunnsfarge: + + + + Fullscreen background color: + Fullskjerms bakgrunnsfarge: + + + + Slide show interval (seconds): + Lysbildeframvisningstid (sekunder): + + + + General + Generelt + + + + ScreenshotDialog + + + Screenshot + Skjermbilde + + + + Take a screenshot + Ta et skjermbilde + + + + Region + Område + + + + Whole screen + Hele skjermen + + + + Current window only + Kun nåværende vindu + + + + Capture an area of the screen + Ta bilde av et område på skjermen + + + + Include mouse cursor + Inkluder muspekeren + + + + seconds + sekunder + + + + Delay: + Venting: + + + + Include window title and frame + Inkluder tittelen på vinduet og rammen + + + + UploadDialog + + + Upload + Last opp + + + + Copy + Kopier + + + diff --git a/src/translations/lximage-qt_nl.ts b/src/translations/lximage-qt_nl.ts new file mode 100644 index 0000000..32831f0 --- /dev/null +++ b/src/translations/lximage-qt_nl.ts @@ -0,0 +1,640 @@ + + + + + LxImage::Application + + + Take a screenshot + Schermafdruk maken + + + + [FILE1, FILE2,...] + [Bestand1, Bestand2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + 'onbekende fout'-antwoord + + + + LxImage::ImgBBUpload + + + unknown error response + 'onbekende fout'-antwoord + + + + LxImage::ImgurUpload + + + unknown error response + 'onbekende fout'-antwoord + + + + LxImage::MainWindow + + + About + Over + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - een eenvoudige en snelle afbeeldingenkijker + +Auteursrecht (C) 2013 +LXQt-project: https://lxqt.org/ + +Auteurs: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Bestand openen + + + + + Image files (%1) + Afbeeldingbestanden (%1) + + + + Open directory + Map openen + + + + Save File + Bestand opslaan + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Laden...) - Afbeeldingkijker + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Laden ist fehlgeschlagen) - Bildbetrachter + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Afbeeldingkijker + + + + [*]Image Viewer + [*]Afbeeldingkijker + + + + Thumbnails + Miniaturen + + + + EXIF Data + EXIF-gegevens + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + Beginnen + + + + Stop + Stoppen + + + + Close + Sluiten + + + + Error + Fout + + + + MainWindow + + + Image Viewer + Afbeeldingkijker + + + + &About + &Over + + + + &Open File + This should be "&Open" (without "File") imho. We are in the File menu. + Bestand &openen + + + + Ctrl+O + Shortcuts are translated automatically. No need to manually translate it to "Strg+O". + Ctrl+O + + + + &Save + &Opslaan + + + + Ctrl+S + Ctrl+S + + + + Save &As + Opslaan &als + + + + Ctrl+A + Ctrl+A + + + + &Close + S&luiten + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Ver&groten + + + + Zoom &Out + Ver&kleinen + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + Kopieer naar &klembord + + + + + Next File + Volgende bestand + + + + + Previous File + Vorige bestand + + + + PgDown + Omlaag + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + Ctrl+= + Ctrl+= + + + + PgUp + Omhoog + + + + Original Size + Oorspronkelijke grootte + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + Passen&d + + + + &Rotate Clockwise + Met de klok mee &draaien + + + + R + R + + + + Rotate &Counterclockwise + &Tegen de klok in draaien + + + + L + L + + + + P&references + &Voorkeuren + + + + &Print + &Afdrukken + + + + Ctrl+P + Ctrl+P + + + + First File + Eerste bestand + + + + Home + Thuis + + + + Last File + Laatste bestand + + + + End + Einde + + + + &New Window + &Nieuw venster + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + &Horizontaal spiegelen + + + + H + H + + + + Capture Screenshot + Schermafdruk maken + + + + F&ull Screen + &Gesamter Bildschirm + + + + F11 + F11 + + + + Flip &Vertically + &Verticaal spiegelen + + + + V + V + + + + &Paste from Clipboard + &Plakken vanuit klembord + + + + &Slide Show + &Diapresentatie + + + + &Delete + &Wissen + + + + Del + Wis + + + + Show Thumbnails + Miniaturen tonen + + + + T + M + + + + File Properties + Translation of 'file' skipped, it is redundant (this is the file menu). + Eigenschappen + + + + Open &Directory + Map openen + + + + Ctrl+D + Ctrl+D + + + + Upload + Opsturen + + + + Upload the image + Afbeelding opsturen + + + + Show EXIF Data + Toon EXIF-gegevens + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Bestand + + + + &Help + &Hulp + + + + Go + Ga naar + + + + &View + &Tonen + + + + &Edit + &Bewerken + + + + Toolbar + Werkbalk + + + + PreferencesDialog + + + Preferences + Voorkeuren + + + + Icon theme: + Pictogramthema: + + + + Normal background color: + Normale achtergrondkleur: + + + + Fullscreen background color: + Schermvullende achtergrondkleur: + + + + Slide show interval (seconds): + Tussenpoze voor diapresentatie (seconden): + + + + General + Algemeen + + + + ScreenshotDialog + + + Screenshot + Schermafdruk + + + + Take a screenshot + Schermafdruk maken + + + + Region + Bereik + + + + Whole screen + Hele scherm + + + + Current window only + Alleen huidige venster + + + + Capture an area of the screen + Fotografeer een deel van het scherm + + + + Include mouse cursor + Inclusief muisaanwijzer + + + + seconds + Seconden + + + + Delay: + Vertraging: + + + + Include window title and frame + Inclusief venstertitel en rand + + + + UploadDialog + + + Upload + Opsturen + + + + Copy + + + + diff --git a/src/translations/lximage-qt_pa.ts b/src/translations/lximage-qt_pa.ts new file mode 100644 index 0000000..63a1b51 --- /dev/null +++ b/src/translations/lximage-qt_pa.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + + + + + + Image files (%1) + + + + + Open directory + + + + + Save File + + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Thumbnails + + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + + + + + &About + + + + + &Open File + + + + + Ctrl+O + + + + + &Save + + + + + Ctrl+S + + + + + Save &As + + + + + Ctrl+A + + + + + &Close + + + + + Ctrl+W + + + + + Zoom &In + + + + + Zoom &Out + + + + + Ctrl+- + + + + + &Copy to Clipboard + + + + + + Next File + + + + + + Previous File + + + + + PgDown + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + Ctrl+= + + + + + PgUp + + + + + Original Size + + + + + Ctrl+0 + + + + + &Fit + + + + + &Rotate Clockwise + + + + + R + + + + + Rotate &Counterclockwise + + + + + L + + + + + P&references + + + + + &Print + + + + + Ctrl+P + + + + + First File + + + + + Home + + + + + Last File + + + + + End + + + + + &New Window + + + + + Ctrl+N + + + + + Flip &Horizontally + + + + + H + + + + + Capture Screenshot + + + + + F&ull Screen + + + + + F11 + + + + + Flip &Vertically + + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + + + + + &Delete + + + + + Del + + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + + + + + &Help + + + + + Go + + + + + &View + + + + + &Edit + + + + + Toolbar + + + + + PreferencesDialog + + + Preferences + + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + + + + + Take a screenshot + + + + + Region + + + + + Whole screen + + + + + Current window only + + + + + Capture an area of the screen + + + + + Include mouse cursor + + + + + seconds + + + + + Delay: + + + + + Include window title and frame + + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_pl.ts b/src/translations/lximage-qt_pl.ts new file mode 100644 index 0000000..c1868c1 --- /dev/null +++ b/src/translations/lximage-qt_pl.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Wykonaj zrzut ekranu + + + + [FILE1, FILE2,...] + [PLIK1, PLIK2,…] + + + + LxImage::ImageShackUpload + + + unknown error response + nieznana odpowiedź błędu + + + + LxImage::ImgBBUpload + + + unknown error response + nieznana odpowiedź błędu + + + + LxImage::ImgurUpload + + + unknown error response + nieznana odpowiedź błędu + + + + LxImage::MainWindow + + + About + O programie + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - prosta i szybka przeglądarka obrazów + +Prawa autorskie (C) 2013 +Projekt LXQt: https://lxqt.org/ + +Autorzy: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Otwórz plik + + + + + Image files (%1) + Pliki obrazów (%1) + + + + Open directory + Otwórz katalog + + + + Save File + Zapisz plik + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Ładowanie…) - Przeglądarka obrazów + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Ładowanie nie powiodło się) - Przeglądarka obrazów + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Przeglądarka obrazów + + + + [*]Image Viewer + [*]Przeglądarka obrazów + + + + Thumbnails + Miniaturki + + + + EXIF Data + Dane EXIF + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + Rozpocznij + + + + Stop + Zatrzymaj + + + + Close + Zamknij + + + + Error + Błąd + + + + MainWindow + + + Image Viewer + Przeglądarka obrazów + + + + &About + &O programie + + + + &Open File + O&twórz plik + + + + Ctrl+O + Ctrl+O + + + + &Save + &Zapisz + + + + Ctrl+S + Ctrl+S + + + + Save &As + Z&apisz jako + + + + Ctrl+A + Ctrl+A + + + + &Close + Zam&knij + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Po&większ + + + + Zoom &Out + Po&mniejsz + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Kopiuj do schowka + + + + + Next File + Następny plik + + + + + Previous File + Poprzedni plik + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + Page Down + + + + PgUp + Page Up + + + + Original Size + Rozmiar oryginalny + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + Dopa&sowanie + + + + &Rotate Clockwise + Ob&róć zgodnie z ruchem wskazówek zegara + + + + R + R + + + + Rotate &Counterclockwise + Obróć prze&ciwnie do ruchu wskazówek zegara + + + + L + L + + + + P&references + P&referencje + + + + &Print + &Drukuj + + + + Ctrl+P + Ctrl+P + + + + First File + Pierwszy plik + + + + Home + Początek + + + + Last File + Ostatni plik + + + + End + Koniec + + + + &New Window + &Nowe okno + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Od&bij w poziomie + + + + H + H + + + + Capture Screenshot + Przechwyć zrzut ekranu + + + + F&ull Screen + &Pełny ekran + + + + F11 + F11 + + + + Flip &Vertically + Odbi&j w pionie + + + + V + V + + + + &Paste from Clipboard + &Wklej ze schowka + + + + &Slide Show + Pokaz &slajdów + + + + &Delete + & Usuń + + + + Del + Del + + + + Show Thumbnails + Pokaż miniaturki + + + + T + T + + + + File Properties + Właściwości pliku + + + + Open &Directory + Otwórz &katalog + + + + Ctrl+D + Ctrl+D + + + + Upload + Wyślij + + + + Upload the image + Wyślij obraz + + + + Show EXIF Data + Pokaż dane EXIF + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Plik + + + + &Help + &Pomoc + + + + Go + Przejdź + + + + &View + &Widok + + + + &Edit + &Edycja + + + + Toolbar + Pasek narzędziowy + + + + PreferencesDialog + + + Preferences + Ustawienia + + + + Icon theme: + Zestaw ikon: + + + + Normal background color: + Kolor tła: + + + + Fullscreen background color: + Kolor tła dla pełnego ekranu: + + + + Slide show interval (seconds): + Interwał pokazu slajdów (sekundy): + + + + General + Ogólne + + + + ScreenshotDialog + + + Screenshot + Zrzut ekranu + + + + Take a screenshot + Wykonaj zrzut ekranu + + + + Region + Obszar + + + + Whole screen + Cały ekran + + + + Current window only + Tylko bieżące okno + + + + Capture an area of the screen + Przechwyć fragment ekranu + + + + Include mouse cursor + Dołącz kursor myszy + + + + seconds + sekund + + + + Delay: + Opóźnienie: + + + + Include window title and frame + Dołącz tytuł okna i obramowanie + + + + UploadDialog + + + Upload + Wyślij + + + + Copy + + + + diff --git a/src/translations/lximage-qt_pt.ts b/src/translations/lximage-qt_pt.ts new file mode 100644 index 0000000..ab501f8 --- /dev/null +++ b/src/translations/lximage-qt_pt.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Obter captura de tela + + + + [FILE1, FILE2,...] + [ARQUIVO1, ARQUIVO2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + resposta de erro desconhecido + + + + LxImage::ImgBBUpload + + + unknown error response + resposta de erro desconhecido + + + + LxImage::ImgurUpload + + + unknown error response + resposta de erro desconhecido + + + + LxImage::MainWindow + + + About + Sobre + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - um simples e rápido visualizador de imagem + +Copyright (C) 2013 +Projeto LXQt: https://lxqt.org/ + +Autores: +Hang Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Abrir Arquivo + + + + + Image files (%1) + Arquivos de imagem (%1) + + + + Open directory + Abrir diretório + + + + Save File + Salvar Arquivo + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Carregando...) - Visualizador de Imagens + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Falha ao Carregar...) - Visualizador de Imagens + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visualizador de Imagens + + + + [*]Image Viewer + [*]Visualizador de Imagens + + + + Thumbnails + Miniaturas + + + + EXIF Data + Dados EXIF + + + + LxImage::MruMenu + + + &Clear + &Limpar + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Iniciar + + + + Stop + Parar + + + + Close + Fechar + + + + Error + Erro + + + + MainWindow + + + Image Viewer + Visualizador de Imagens + + + + &About + &Sobre + + + + &Open File + &Abrir Arquivo + + + + Ctrl+O + Ctrl+O + + + + &Save + &Salvar + + + + Ctrl+S + Ctrl+S + + + + Save &As + Salvar &Como + + + + Ctrl+A + Ctrl+A + + + + &Close + &Fechar + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Ampl&iar + + + + Zoom &Out + Redu&zir + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copiar para Área de transferência + + + + + Next File + Próximo Arquivo + + + + + Previous File + Arquivo Anterior + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + Ficheiros &recentes + + + + toolBar_2 + Barra de ferramentas 2 + + + + &Reload File + &Recarregar ficheiro + + + + Ctrl+R + Ctrl+R + + + + PgDown + PageDown + + + + PgUp + PageUp + + + + Original Size + Tamanho Original + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + Aj&ustar + + + + &Rotate Clockwise + &Girar no Sentido horário + + + + R + R + + + + Rotate &Counterclockwise + Girar no &Sentido anti-horário + + + + L + L + + + + P&references + P&referências + + + + &Print + Im&primir + + + + Ctrl+P + Ctrl+P + + + + First File + Primeiro Arquivo + + + + Home + Pasta pessoal + + + + Last File + Último Arquivo + + + + End + End + + + + &New Window + &Nova Janela + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Girar &Horizontalmente + + + + H + H + + + + Capture Screenshot + Captura de Tela + + + + F&ull Screen + Tela C&heia + + + + F11 + F11 + + + + Flip &Vertically + Girar &Verticalmente + + + + V + V + + + + &Paste from Clipboard + Colar da Área de tran&sferência + + + + &Slide Show + Apresentação de &Slide + + + + &Delete + &Excluir + + + + Del + Del + + + + Show Thumbnails + Exibir Miniaturas + + + + T + T + + + + File Properties + Propriedades do Arquivo + + + + Open &Directory + Abrir &Diretório + + + + Ctrl+D + Ctrl+D + + + + Upload + Enviar + + + + Upload the image + Enviar a imagem + + + + Show EXIF Data + Visualizar dados EXIF + + + + No Tool + Sem ferramenta + + + + Deselect all drawing tools + Desmarcar todas as ferramentas de desenho + + + + Draw Arrow + Seta + + + + Draw an arrow + Desenhar uma seta + + + + Draw Rectangle + Retângulo + + + + Draw a hollow rectangle + Desenhar um retângulo + + + + Draw Circle + Círculo + + + + Draw a hollow circle + Desenhar um círculo + + + + Draw Number + Número + + + + Draw incrementing numbers + Desenhar números por incremento + + + + &File + &Arquivo + + + + &Help + Aj&uda + + + + Go + Ir + + + + &View + &Exibir + + + + &Edit + &Editar + + + + Toolbar + Barra de ferramenta + + + + PreferencesDialog + + + Preferences + Preferências + + + + Icon theme: + Tema de Ícones: + + + + Normal background color: + Cor de fundo normal: + + + + Fullscreen background color: + Cor de fundo em tela cheia: + + + + Slide show interval (seconds): + Intervalo da apresentação de slide (segundos): + + + + General + Geral + + + + ScreenshotDialog + + + Screenshot + Captura de Tela + + + + Take a screenshot + Obter captura de tela + + + + Region + Região + + + + Whole screen + Tela inteira + + + + Current window only + Apenas janela atual + + + + Capture an area of the screen + Capturar uma área da tela + + + + Include mouse cursor + Incluir cursor do mouse + + + + seconds + segundos + + + + Delay: + Atraso: + + + + Include window title and frame + Incluir título e moldura da janela + + + + UploadDialog + + + Upload + Enviar + + + + Copy + Copiar + + + diff --git a/src/translations/lximage-qt_pt_BR.ts b/src/translations/lximage-qt_pt_BR.ts new file mode 100644 index 0000000..52ddf89 --- /dev/null +++ b/src/translations/lximage-qt_pt_BR.ts @@ -0,0 +1,638 @@ + + + + + LxImage::Application + + + Take a screenshot + Capturar a imagem da tela + + + + [FILE1, FILE2,...] + [ARQUIVO1, ARQUIVO2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + Resposta de erro desconhecido + + + + LxImage::ImgBBUpload + + + unknown error response + Resposta de erro desconhecido + + + + LxImage::ImgurUpload + + + unknown error response + Resposta de erro desconhecido + + + + LxImage::MainWindow + + + About + Sobre + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - um visualizador de imagens simples e rápido + +Copyright (C) 2013 +Projeto LXQt: https://lxqt.org/ + +Autores: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Abrir arquivo + + + + + Image files (%1) + Arquivos de imagem (%1) + + + + Open directory + Abrir diretório + + + + Save File + Salvar arquivo + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Carregando...) - Visualizador de Imagens + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Falha no carregamento) - Visualizador de Imagens + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Visualizador de Imagens + + + + [*]Image Viewer + [*]Visualizador de Imagens + + + + Thumbnails + Miniaturas + + + + EXIF Data + Dados EXIF + + + + LxImage::MruMenu + + + &Clear + &Limpar + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + imgBB + + + + ImageShack + + + + + Start + Iniciar + + + + Stop + Parar + + + + Close + Fechar + + + + Error + Erro + + + + MainWindow + + + Image Viewer + Visualizador de Imagens + + + + &About + &Sobre + + + + &Open File + &Abrir arquivo + + + + Ctrl+O + Ctrl+O + + + + &Save + &Salvar + + + + Ctrl+S + Ctrl+S + + + + Save &As + Sa&lvar como + + + + Ctrl+A + + + + + &Close + &Fechar + + + + Ctrl+W + + + + + Zoom &In + Ampl&iar + + + + Zoom &Out + &Diminuir zoom + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Copiar para a Área de Transferência + + + + + Next File + Próximo arquivo + + + + + Previous File + Arquivo anterior + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + Arquivos &recentes + + + + toolBar_2 + toolbar_2 + + + + &Reload File + &Recarregar arquivo + + + + Ctrl+R + Ctrl+R + + + + PgDown + + + + + PgUp + + + + + Original Size + Tamanho original + + + + Ctrl+0 + + + + + &Fit + A&justar à tela + + + + &Rotate Clockwise + Girar em sentido &horário + + + + R + + + + + Rotate &Counterclockwise + Girar em sentido &anti-horário + + + + L + + + + + P&references + P&referências + + + + &Print + Im&primir + + + + Ctrl+P + + + + + First File + Primeiro arquivo + + + + Home + + + + + Last File + Último arquivo + + + + End + + + + + &New Window + &Nova janela + + + + Ctrl+N + + + + + Flip &Horizontally + Espelhar &horizontalmente + + + + H + + + + + Capture Screenshot + Capturar tela + + + + F&ull Screen + &Tela cheia + + + + F11 + + + + + Flip &Vertically + Espelhar &verticalmente + + + + V + V + + + + &Paste from Clipboard + Has a problem, no similar caracter for shortcut. + &Colar da Área de Transferência + + + + &Slide Show + Apresentação de &slides + + + + &Delete + &Excluir + + + + Del + + + + + Show Thumbnails + Exibir miniaturas + + + + T + T + + + + File Properties + Propriedades do arquivo + + + + Open &Directory + Abrir &diretório + + + + Ctrl+D + Ctrl+D + + + + Upload + Enviar + + + + Upload the image + Enviar a imagem + + + + Show EXIF Data + Exibir dados EXIF + + + + No Tool + Sem ferramentas + + + + Deselect all drawing tools + Desselecionar todas as ferramentas + + + + Draw Arrow + Desenhar Seta + + + + Draw an arrow + Desenhar uma seta + + + + Draw Rectangle + Desenhar Retângulo + + + + Draw a hollow rectangle + Desenhar um retângulo sem preenchimento + + + + Draw Circle + Desenhar Círculo + + + + Draw a hollow circle + Desenhar um círculo sem preenchimento + + + + Draw Number + Desenhar Número + + + + Draw incrementing numbers + Desenhar números que se incrementam + + + + &File + &Arquivo + + + + &Help + Aj&uda + + + + Go + Ir + + + + &View + &Exibir + + + + &Edit + E&ditar + + + + Toolbar + Barra de ferramentas + + + + PreferencesDialog + + + Preferences + Preferências + + + + Icon theme: + Tema dos ícones: + + + + Normal background color: + Cor de fundo para modo janela: + + + + Fullscreen background color: + Cor de fundo para modo de tela cheia: + + + + Slide show interval (seconds): + Intervalo da apresentação entre os slides (em segundos): + + + + General + Geral + + + + ScreenshotDialog + + + Screenshot + Captura de tela + + + + Take a screenshot + Capturar a tela + + + + Region + Região + + + + Whole screen + Toda a tela + + + + Current window only + Somente a janela ativa + + + + Capture an area of the screen + Capturar parte da tela + + + + Include mouse cursor + Incluir o cursor do mouse + + + + seconds + segundos + + + + Delay: + Atraso: + + + + Include window title and frame + Incluir título da janela e moldura + + + + UploadDialog + + + Upload + Enviar + + + + Copy + Copiar + + + diff --git a/src/translations/lximage-qt_ru.ts b/src/translations/lximage-qt_ru.ts new file mode 100644 index 0000000..37b09be --- /dev/null +++ b/src/translations/lximage-qt_ru.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Сделать снимок экрана + + + + [FILE1, FILE2,...] + [ФАЙЛ1, ФАЙЛ2, ...] + + + + LxImage::ImageShackUpload + + + unknown error response + неизвестная ошибка + + + + LxImage::ImgBBUpload + + + unknown error response + неизвестная ошибка + + + + LxImage::ImgurUpload + + + unknown error response + неизвестная ошибка + + + + LxImage::MainWindow + + + About + О программе + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - простой и быстрый просмотрщик изображений + +Copyright (C) 2013 +Проект LXQt: https://lxqt.org/ + +Авторы: +Хон Джене (PCMan) <pcman.tw@gmail.com> + + + + Open File + Открыть файл + + + + + Image files (%1) + Файлы изображений (%1) + + + + Open directory + Открыть папку + + + + Save File + Сохранить файл + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Загружается...) - Просмотрщик изображений + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Ошибка загрузки) - Просмотрщик изображений + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Просмотрщик изображений + + + + [*]Image Viewer + [*]Просмотрщик изображений + + + + Thumbnails + Эскизы + + + + EXIF Data + Данные EXIF + + + + LxImage::MruMenu + + + &Clear + &Очистить + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + Запустить + + + + Stop + Остановить + + + + Close + Закрыть + + + + Error + Ошибка + + + + MainWindow + + + Image Viewer + Просмотрщик изображений + + + + &About + &О программе + + + + &Open File + &Открыть файл + + + + Ctrl+O + + + + + &Save + &Сохранить + + + + Ctrl+S + + + + + Save &As + Сохранить &как + + + + Ctrl+A + + + + + &Close + &Закрыть + + + + Ctrl+W + + + + + Zoom &In + При&близить + + + + Zoom &Out + От&далить + + + + Ctrl+- + + + + + &Copy to Clipboard + Скопировать в &буфер обмена + + + + + Next File + Следующий файл + + + + + Previous File + Предыдущий файл + + + + PgDown + + + + + &Recently Opened Files + &Последние файлы + + + + toolBar_2 + Панель 2 + + + + &Reload File + Пере&загрузить файл + + + + Ctrl+R + Ctrl+R + + + + Ctrl+= + Ctrl+= + + + + PgUp + + + + + Original Size + Исходный размер + + + + Ctrl+0 + + + + + &Fit + &Заполнить + + + + &Rotate Clockwise + Пове&рнуть по часовой стрелке + + + + R + R + + + + Rotate &Counterclockwise + Повернуть &против часовой стрелки + + + + L + L + + + + P&references + &Настройки + + + + &Print + &Печать + + + + Ctrl+P + + + + + First File + Первый файл + + + + Home + + + + + Last File + Последний файл + + + + End + + + + + &New Window + &Новое окно + + + + Ctrl+N + + + + + Flip &Horizontally + Отразить &горизонтально + + + + H + H + + + + Capture Screenshot + Сделать снимок экрана + + + + F&ull Screen + Полный &экран + + + + F11 + + + + + Flip &Vertically + Отразить &вертикально + + + + V + V + + + + &Paste from Clipboard + &Вставить из буфера обмена + + + + &Slide Show + &Слайд-шоу + + + + &Delete + &Удалить + + + + Del + + + + + Show Thumbnails + Показать эскизы + + + + T + T + + + + File Properties + Свойства файла + + + + Open &Directory + Открыть &папку + + + + Ctrl+D + + + + + Upload + Загрузить + + + + Upload the image + Загрузить изображение + + + + Show EXIF Data + Показать данные EXIF + + + + No Tool + Без инструмента + + + + Deselect all drawing tools + Отменить выбор инструмента рисования + + + + Draw Arrow + Нарисовать стрелку + + + + Draw an arrow + Нарисовать стрелку + + + + Draw Rectangle + Нарисовать прямоугольник + + + + Draw a hollow rectangle + Нарисовать прямоугольник (без заливки) + + + + Draw Circle + Нарисовать окружность + + + + Draw a hollow circle + Нарисовать окружность + + + + Draw Number + Нарисовать число + + + + Draw incrementing numbers + Нарисовать число (с увеличением счётчика) + + + + &File + &Файл + + + + &Help + &Справка + + + + Go + Перейти + + + + &View + &Вид + + + + &Edit + &Правка + + + + Toolbar + Панель инструментов + + + + PreferencesDialog + + + Preferences + Настройки + + + + Icon theme: + Тема значков: + + + + Normal background color: + Обычный цвет фона: + + + + Fullscreen background color: + Цвет фона для режима полного экрана: + + + + Slide show interval (seconds): + Интервал слайд-шоу (в секундах): + + + + General + Общие + + + + ScreenshotDialog + + + Screenshot + Снимок экрана + + + + Take a screenshot + Сделать снимок экрана + + + + Region + Область + + + + Whole screen + Весь экран + + + + Current window only + Только активное окно + + + + Capture an area of the screen + Захват области экрана + + + + Include mouse cursor + Показывать курсор мыши + + + + seconds + секунд(ы) + + + + Delay: + Задержка: + + + + Include window title and frame + Показывать заголовок и обрамление окна + + + + UploadDialog + + + Upload + Загрузить на сервер + + + + Copy + Копировать + + + diff --git a/src/translations/lximage-qt_sv.ts b/src/translations/lximage-qt_sv.ts new file mode 100644 index 0000000..61c84ee --- /dev/null +++ b/src/translations/lximage-qt_sv.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + + + + + [FILE1, FILE2,...] + + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + + + + + Open File + + + + + + Image files (%1) + + + + + Save File + + + + + Thumbnails + + + + + EXIF Data + + + + + [*]%1 (Loading...) - Image Viewer + + + + + [*]%1 (Failed to Load) - Image Viewer + + + + + [*]%1 (%2x%3) - Image Viewer + + + + + [*]Image Viewer + + + + + Open directory + + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &About + + + + + &Open File + + + + + Ctrl+O + + + + + &Reload File + + + + + Ctrl+R + + + + + &Save + + + + + Ctrl+S + + + + + Save &As + + + + + Ctrl+A + + + + + &Close + + + + + Ctrl+W + + + + + Zoom &In + + + + + Zoom &Out + + + + + Ctrl+- + + + + + &Copy to Clipboard + + + + + + Next File + + + + + + Previous File + + + + + Original Size + + + + + &Fit + + + + + &Rotate Clockwise + + + + + R + + + + + Rotate &Counterclockwise + + + + + L + + + + + P&references + + + + + &Print + + + + + First File + + + + + Home + + + + + Last File + + + + + End + + + + + &New Window + + + + + Ctrl+N + + + + + Flip &Horizontally + + + + + H + + + + + Capture Screenshot + + + + + F&ull Screen + + + + + F11 + + + + + Flip &Vertically + + + + + V + + + + + &Paste from Clipboard + + + + + &Slide Show + + + + + &Delete + + + + + Del + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + + + + + &Help + + + + + Go + + + + + &View + + + + + &Edit + + + + + Toolbar + + + + + PgDown + + + + + PgUp + + + + + Ctrl+P + + + + + Show Thumbnails + + + + + T + + + + + File Properties + + + + + Ctrl+= + + + + + Ctrl+0 + + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + PreferencesDialog + + + Preferences + + + + + Icon theme: + + + + + Normal background color: + + + + + Fullscreen background color: + + + + + Slide show interval (seconds): + + + + + General + + + + + ScreenshotDialog + + + Screenshot + + + + + Take a screenshot + + + + + Region + + + + + Whole screen + + + + + Current window only + + + + + Include mouse cursor + + + + + seconds + + + + + Delay: + + + + + Include window title and frame + + + + + Capture an area of the screen + + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_tr.ts b/src/translations/lximage-qt_tr.ts new file mode 100644 index 0000000..91332e3 --- /dev/null +++ b/src/translations/lximage-qt_tr.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + Ekran görüntüsü al + + + + [FILE1, FILE2,...] + [FILE1, FILE2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + bilinmeyen hata yanıtı + + + + LxImage::ImgBBUpload + + + unknown error response + bilinmeyen hata yanıtı + + + + LxImage::ImgurUpload + + + unknown error response + bilinmeyen hata yanıtı + + + + LxImage::MainWindow + + + About + Hakkında + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - basit ve hızlı bir resim görüntüleyici + +Telif Hakkı (C) 2013 +LXQt Projesi: https://lxqt.org/ + +Yazarlar: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + Dosya Aç + + + + + Image files (%1) + Resim dosyaları (%1) + + + + Open directory + Dizin aç + + + + Save File + Dosyayı Kaydet + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Yükleniyor...) - Resim Gösterici + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Yükleme Başarısız Oldu) - Resim Gösterici + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Resim Gösterici + + + + [*]Image Viewer + [*]Resim Gösterici + + + + Thumbnails + Küçükresimler + + + + EXIF Data + EXIF Verileri + + + + LxImage::MruMenu + + + &Clear + &Temizle + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + + + + + ImageShack + ImageShack + + + + Start + Başlat + + + + Stop + Durdur + + + + Close + Kapat + + + + Error + Hata + + + + MainWindow + + + Image Viewer + Resim Gösterici + + + + &Recently Opened Files + &Son Açılan Belgeler + + + + toolBar_2 + + + + + &About + &Hakkında + + + + &Open File + &Dosya Aç + + + + Ctrl+O + Ctrl+O + + + + &Reload File + Dosyayı &Yeniden Yükle + + + + Ctrl+R + Ctrl+R + + + + &Save + &Kaydet + + + + Ctrl+S + Ctrl+S + + + + Save &As + Farklı K&aydet + + + + Ctrl+A + Ctrl+A + + + + &Close + &Kapat + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + Büyü&t + + + + Ctrl+= + Ctrl+= + + + + Zoom &Out + Küç&ült + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + Panoya &Kopyala + + + + + Next File + Sonraki Dosya + + + + PgDown + PgDown + + + + + Previous File + Önceki Dosya + + + + PgUp + PgUp + + + + Original Size + Özgün Boyut + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + &Uydur + + + + &Rotate Clockwise + &Saat Yönüne Döndür + + + + R + + + + + Rotate &Counterclockwise + Saat Yönünün &Tersine Döndür + + + + L + + + + + P&references + &Tercihler + + + + &Print + Ya&zdır + + + + Ctrl+P + Ctrl+P + + + + First File + İlk Dosya + + + + Home + Ev + + + + Last File + Son Dosya + + + + End + End + + + + &New Window + &Yeni Pencere + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + &Yatay Çevir + + + + H + + + + + Capture Screenshot + Ekran Görüntüsü Yakala + + + + F&ull Screen + &Tam Ekran + + + + F11 + F11 + + + + Flip &Vertically + Dikey Çe&vir + + + + V + + + + + &Paste from Clipboard + &Panodan Yapıştır + + + + &Slide Show + &Slayt Gösterisi + + + + &Delete + &Sil + + + + Del + Sil + + + + Show Thumbnails + Küçükresimleri Göster + + + + T + + + + + File Properties + Dosya Özellikleri + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Dosya + + + + &Help + &Yardım + + + + Go + Git + + + + &View + &Görünüm + + + + &Edit + &Düzenle + + + + Toolbar + Araç Çubuğu + + + + PreferencesDialog + + + Preferences + Tercihler + + + + Icon theme: + Simge seti teması: + + + + Normal background color: + Normal arkaplan rengi: + + + + Fullscreen background color: + Tam ekran arkaplan rengi: + + + + Slide show interval (seconds): + Slayt gösterisi aralığı (saniye): + + + + General + Genel + + + + ScreenshotDialog + + + Screenshot + Ekran Görüntüsü + + + + Take a screenshot + Ekran görüntüsü al + + + + Region + Bölge + + + + Whole screen + Tüm ekran + + + + Current window only + Sadece geçerli pencere + + + + Capture an area of the screen + + + + + Include mouse cursor + Fare imlecini de al + + + + seconds + saniye + + + + Delay: + Geçikme: + + + + Include window title and frame + Pencere başlığı ve çerçevesini dahil et + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_uk.ts b/src/translations/lximage-qt_uk.ts new file mode 100644 index 0000000..9501ef2 --- /dev/null +++ b/src/translations/lximage-qt_uk.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + Зробити знімок + + + + [FILE1, FILE2,...] + [ФАЙЛ1, ФАЙЛ2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + + + + + LxImage::ImgBBUpload + + + unknown error response + + + + + LxImage::ImgurUpload + + + unknown error response + + + + + LxImage::MainWindow + + + About + Про програму + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + Відкрити файл + + + + + Image files (%1) + Файли зображень (%1) + + + + Open directory + + + + + Save File + Зберегти файл + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (Завантаження...) - Переглядач малюнків + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (Не вдалося завантажити) - Переглядач малюнків + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - Переглядач малюнків + + + + [*]Image Viewer + [*]Переглядач малюнків + + + + Thumbnails + Значки + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + + + + + Stop + + + + + Close + + + + + Error + + + + + MainWindow + + + Image Viewer + Переглядач зображень + + + + &About + &Про програму + + + + &Open File + &Відкрити файл + + + + Ctrl+O + Ctrl+O + + + + &Save + &Зберегти + + + + Ctrl+S + Ctrl+S + + + + Save &As + Зберегти &як + + + + Ctrl+A + Ctrl+A + + + + &Close + &Закрити + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + З&більшити + + + + Zoom &Out + &Зменшити + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + &Копіювати до буфера + + + + + Next File + Наступний файл + + + + + Previous File + Попередній Файл + + + + Ctrl+= + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + PgDown + + + + PgUp + PgUp + + + + Original Size + Оригінальний розмір + + + + Ctrl+0 + + + + + &Fit + &Підігнати + + + + &Rotate Clockwise + &Обернути за год. стрілкою + + + + R + + + + + Rotate &Counterclockwise + Обернути проти &год. стрілки + + + + L + + + + + P&references + На&лаштування + + + + &Print + &Друк + + + + Ctrl+P + Ctrl+P + + + + First File + Перший файл + + + + Home + Home + + + + Last File + Останній файл + + + + End + End + + + + &New Window + &Нове вікно + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + Віддзеркалити &горизонтально + + + + H + + + + + Capture Screenshot + Зробити знімок екрана + + + + F&ull Screen + П&овний екран + + + + F11 + F11 + + + + Flip &Vertically + Віддзеркалити &вертикально + + + + V + + + + + &Paste from Clipboard + &Вставити з буфера обміну + + + + &Slide Show + &Показ слайдів + + + + &Delete + В&илучити + + + + Del + Del + + + + Show Thumbnails + Показати значки + + + + T + + + + + File Properties + Властивості файлу + + + + Open &Directory + + + + + Ctrl+D + + + + + Upload + + + + + Upload the image + + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + &Файл + + + + &Help + &Довідка + + + + Go + Перейти + + + + &View + П&ерегляд + + + + &Edit + &Редагування + + + + Toolbar + Панель інструментів + + + + PreferencesDialog + + + Preferences + Налаштування + + + + Icon theme: + Тема значків: + + + + Normal background color: + Нормальний колір тла: + + + + Fullscreen background color: + Колір тла повного екрану: + + + + Slide show interval (seconds): + Інтервал слайд-шоу (секунди): + + + + General + Загальне + + + + ScreenshotDialog + + + Screenshot + Знімок екрану + + + + Take a screenshot + Зробити знімок + + + + Region + Регіон + + + + Whole screen + Екран цілком + + + + Current window only + Лише поточне вікно + + + + Capture an area of the screen + + + + + Include mouse cursor + Включаючи вказівник миші + + + + seconds + секунд + + + + Delay: + Затримка: + + + + Include window title and frame + Включаючи заголовок вікна та кадр + + + + UploadDialog + + + Upload + + + + + Copy + + + + diff --git a/src/translations/lximage-qt_zh_CN.ts b/src/translations/lximage-qt_zh_CN.ts new file mode 100644 index 0000000..bc9fc53 --- /dev/null +++ b/src/translations/lximage-qt_zh_CN.ts @@ -0,0 +1,631 @@ + + + + + LxImage::Application + + + Take a screenshot + 抓取屏幕截图 + + + + [FILE1, FILE2,...] + [文件1, 文件2,...] + + + + LxImage::ImageShackUpload + + + unknown error response + 未知的错误反应 + + + + LxImage::ImgBBUpload + + + unknown error response + 未知的错误反应 + + + + LxImage::ImgurUpload + + + unknown error response + 未知的错误反应 + + + + LxImage::MainWindow + + + About + 关于 + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + + Open File + 打开文件 + + + + + Image files (%1) + 图像文件 (%1) + + + + Open directory + 打开目录 + + + + Save File + 保存文件 + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (正在加载...) - 图像查看器 + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (加载失败) - 图像查看器 + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - 图像查看器 + + + + [*]Image Viewer + [*]图像查看器 + + + + Thumbnails + 缩略图 + + + + EXIF Data + + + + + LxImage::MruMenu + + + &Clear + + + + + LxImage::UploadDialog + + + Imgur + + + + + ImgBB + + + + + ImageShack + + + + + Start + 开始 + + + + Stop + 停止 + + + + Close + 关闭 + + + + Error + 错误 + + + + MainWindow + + + Image Viewer + 图像查看器 + + + + &About + 关于(&A) + + + + &Open File + 打开文件(&O) + + + + Ctrl+O + Ctrl+O + + + + &Save + 保存(&S) + + + + Ctrl+S + Ctrl+S + + + + Save &As + 另存为(&A) + + + + Ctrl+A + Ctrl+A + + + + &Close + 关闭(&C) + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + 放大(&I) + + + + Zoom &Out + 缩小(&O) + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + 复制到剪贴板(&C) + + + + + Next File + 下一个文件 + + + + + Previous File + 上一个文件 + + + + Ctrl+= + + + + + &Recently Opened Files + + + + + toolBar_2 + + + + + &Reload File + + + + + Ctrl+R + + + + + PgDown + + + + + PgUp + + + + + Original Size + 原始尺寸 + + + + Ctrl+0 + + + + + &Fit + 适合(&F) + + + + &Rotate Clockwise + 顺时针旋转(&R) + + + + R + + + + + Rotate &Counterclockwise + 逆时针旋转(&C) + + + + L + + + + + P&references + 偏好设置(&R) + + + + &Print + 打印(&P) + + + + Ctrl+P + + + + + First File + 第一个文件 + + + + Home + 起始 + + + + Last File + 最后一个文件 + + + + End + 结束 + + + + &New Window + 新建窗口(&N) + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + 水平翻转(&H) + + + + H + + + + + Capture Screenshot + 抓取屏幕截图 + + + + F&ull Screen + 全屏(&U) + + + + F11 + F11 + + + + Flip &Vertically + 垂直翻转(&V) + + + + V + + + + + &Paste from Clipboard + 从剪贴板粘贴(&P) + + + + &Slide Show + 幻灯片放映(&S) + + + + &Delete + 删除(&D) + + + + Del + 删除 + + + + Show Thumbnails + 显示缩略图 + + + + T + + + + + File Properties + 文件属性 + + + + Open &Directory + 打开目录(&D) + + + + Ctrl+D + + + + + Upload + 上传 + + + + Upload the image + 上传图像 + + + + Show EXIF Data + + + + + No Tool + + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + 文件(&F) + + + + &Help + 帮助(&H) + + + + Go + 转到 + + + + &View + 查看(&V) + + + + &Edit + 编辑(&E) + + + + Toolbar + 工具栏 + + + + PreferencesDialog + + + Preferences + 偏好设置 + + + + Icon theme: + 图标主题: + + + + Normal background color: + 默认背景颜色: + + + + Fullscreen background color: + 全屏背景颜色: + + + + Slide show interval (seconds): + 幻灯片放映间隔(秒): + + + + General + 常规 + + + + ScreenshotDialog + + + Screenshot + 屏幕截图 + + + + Take a screenshot + 抓取屏幕截图 + + + + Region + 区域 + + + + Whole screen + 整个屏幕 + + + + Current window only + 仅当前窗口 + + + + Capture an area of the screen + 截取屏幕选区 + + + + Include mouse cursor + 包括鼠标光标 + + + + seconds + + + + + Delay: + 延迟: + + + + Include window title and frame + 包括窗口标题和框架 + + + + UploadDialog + + + Upload + 上传 + + + + Copy + + + + diff --git a/src/translations/lximage-qt_zh_TW.ts b/src/translations/lximage-qt_zh_TW.ts new file mode 100644 index 0000000..fb394e5 --- /dev/null +++ b/src/translations/lximage-qt_zh_TW.ts @@ -0,0 +1,637 @@ + + + + + LxImage::Application + + + Take a screenshot + 拍攝螢幕快照 + + + + [FILE1, FILE2,...] + [檔案1、檔案2...] + + + + LxImage::ImageShackUpload + + + unknown error response + 未知的錯誤回應 + + + + LxImage::ImgBBUpload + + + unknown error response + 未知的錯誤回應 + + + + LxImage::ImgurUpload + + + unknown error response + 未知的錯誤回應 + + + + LxImage::MainWindow + + + About + 關於 + + + + LXImage-Qt - a simple and fast image viewer + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + LXImage-Qt - 一個簡單又快速的圖像觀測器 + +Copyright (C) 2013 +LXQt Project: https://lxqt.org/ + +Authors: +Hong Jen Yee (PCMan) <pcman.tw@gmail.com> + + + + Open File + 開啟檔案 + + + + + Image files (%1) + 影像檔案 (%1) + + + + Open directory + 打開資料夾 + + + + Save File + 儲存檔案 + + + + [*]%1 (Loading...) - Image Viewer + [*]%1 (讀取中...) - 看圖軟體 + + + + [*]%1 (Failed to Load) - Image Viewer + [*]%1 (讀取失敗) - 看圖軟體 + + + + [*]%1 (%2x%3) - Image Viewer + [*]%1 (%2x%3) - 看圖軟體 + + + + [*]Image Viewer + [*]看圖軟體 + + + + Thumbnails + 縮圖 + + + + EXIF Data + EXIF 資料 + + + + LxImage::MruMenu + + + &Clear + 清除(&C) + + + + LxImage::UploadDialog + + + Imgur + Imgur + + + + ImgBB + ImgBB + + + + ImageShack + ImageShack + + + + Start + 開始 + + + + Stop + 停止 + + + + Close + 關閉 + + + + Error + 錯誤 + + + + MainWindow + + + Image Viewer + 圖片檢視程式 + + + + &About + 關於(&A) + + + + &Open File + 開啟檔案(&O) + + + + Ctrl+O + Ctrl+O + + + + &Save + 儲存(&S) + + + + Ctrl+S + Ctrl+S + + + + Save &As + 另存新檔(&A) + + + + Ctrl+A + Ctrl+A + + + + &Close + 關閉(&C) + + + + Ctrl+W + Ctrl+W + + + + Zoom &In + 放大(&I) + + + + Zoom &Out + 縮小(&O) + + + + Ctrl+- + Ctrl+- + + + + &Copy to Clipboard + 複製到剪貼簿(&C) + + + + + Next File + 下一個檔案 + + + + + Previous File + 前一個檔案 + + + + Ctrl+= + Ctrl+= + + + + &Recently Opened Files + 最近開啟的檔案(&R) + + + + toolBar_2 + + + + + &Reload File + 重新載入檔案(&R) + + + + Ctrl+R + + + + + PgDown + PgDown + + + + PgUp + PgUp + + + + Original Size + 原始尺寸 + + + + Ctrl+0 + Ctrl+0 + + + + &Fit + 適合視窗大小(&F) + + + + &Rotate Clockwise + 順時鐘旋轉(&R) + + + + R + R + + + + Rotate &Counterclockwise + 逆時鐘旋轉(&C) + + + + L + L + + + + P&references + 偏好設定(&R) + + + + &Print + 列印(&P) + + + + Ctrl+P + Ctrl+P + + + + First File + 第一個檔案 + + + + Home + + + + + Last File + 最後一個檔案 + + + + End + + + + + &New Window + 新視窗(&N) + + + + Ctrl+N + Ctrl+N + + + + Flip &Horizontally + 水平翻轉(&H) + + + + H + H + + + + Capture Screenshot + 拍攝螢幕快照 + + + + F&ull Screen + 全螢幕(&U) + + + + F11 + F11 + + + + Flip &Vertically + 垂直翻轉(&V) + + + + V + V + + + + &Paste from Clipboard + 從剪貼簿貼上(&P) + + + + &Slide Show + 投影片播放(&S) + + + + &Delete + 刪除(&D) + + + + Del + Del + + + + Show Thumbnails + 顯示縮圖 + + + + T + T + + + + File Properties + 檔案屬性 + + + + Open &Directory + 打開資料夾(&D) + + + + Ctrl+D + Ctrl+D + + + + Upload + 上傳 + + + + Upload the image + 上傳影像 + + + + Show EXIF Data + 顯示EXIF資料 + + + + No Tool + 不使用註解工具 + + + + Deselect all drawing tools + + + + + Draw Arrow + + + + + Draw an arrow + + + + + Draw Rectangle + + + + + Draw a hollow rectangle + + + + + Draw Circle + + + + + Draw a hollow circle + + + + + Draw Number + + + + + Draw incrementing numbers + + + + + &File + 檔案(&F) + + + + &Help + 說明(&H) + + + + Go + 前往 + + + + &View + 檢視(&V) + + + + &Edit + 編輯(&E) + + + + Toolbar + 工具列 + + + + PreferencesDialog + + + Preferences + 偏好設定 + + + + Icon theme: + Icon 主題: + + + + Normal background color: + 預設背影顏色: + + + + Fullscreen background color: + 全螢幕背景顏色: + + + + Slide show interval (seconds): + 幻燈片放映間隔(秒): + + + + General + 一般 + + + + ScreenshotDialog + + + Screenshot + 螢幕截圖 + + + + Take a screenshot + 拍攝螢幕截圖 + + + + Region + 區域 + + + + Whole screen + 整個螢幕 + + + + Current window only + 只有目前的視窗 + + + + Capture an area of the screen + 截圖選取的區域 + + + + Include mouse cursor + 包含滑鼠游標 + + + + seconds + + + + + Delay: + 延遲: + + + + Include window title and frame + 包含視窗標題和邊框 + + + + UploadDialog + + + Upload + 上傳 + + + + Copy + + + + diff --git a/src/upload/imageshackprovider.cpp b/src/upload/imageshackprovider.cpp index a64dda5..e860cb7 100644 --- a/src/upload/imageshackprovider.cpp +++ b/src/upload/imageshackprovider.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include #include @@ -44,7 +45,7 @@ Upload *ImageShackProvider::upload(QIODevice *device) filePart.setBodyDevice(device); filePart.setHeader( QNetworkRequest::ContentDispositionHeader, - "form-data; name=\"file\"; filename=\"upload.jpg\"" + R"(form-data; name="file"; filename="upload.jpg")" ); // Create the multipart and append the file part diff --git a/src/upload/imageshackprovider.h b/src/upload/imageshackprovider.h index 524808c..ea1f9ac 100644 --- a/src/upload/imageshackprovider.h +++ b/src/upload/imageshackprovider.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_IMAGESHACKPROVIDER_H #define LXIMAGE_IMAGESHACKPROVIDER_H diff --git a/src/upload/imageshackupload.cpp b/src/upload/imageshackupload.cpp index 4dc62d4..098dc58 100644 --- a/src/upload/imageshackupload.cpp +++ b/src/upload/imageshackupload.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include #include diff --git a/src/upload/imageshackupload.h b/src/upload/imageshackupload.h index 8e708d4..0cd788c 100644 --- a/src/upload/imageshackupload.h +++ b/src/upload/imageshackupload.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_IMAGESHACKUPLOAD_H #define LXIMAGE_IMAGESHACKUPLOAD_H diff --git a/src/upload/imgbbprovider.cpp b/src/upload/imgbbprovider.cpp new file mode 100644 index 0000000..d27190a --- /dev/null +++ b/src/upload/imgbbprovider.cpp @@ -0,0 +1,64 @@ +/* + LxImage - image viewer and screenshot tool for lxqt + Copyright (C) 2017 Nathan Osman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include +#include +#include +#include + +#include "imgbbprovider.h" +#include "imgbbupload.h" + +using namespace LxImage; + +const QUrl gUploadURL("https://imgbb.com/json"); + +Upload *ImgBBProvider::upload(QIODevice *device) +{ + // Create the file part of the multipart request + QHttpPart filePart; + filePart.setBodyDevice(device); + filePart.setHeader( + QNetworkRequest::ContentDispositionHeader, + R"(form-data; name="source"; filename="upload.jpg")" + ); + + // Create the parts for the two parameters + QHttpPart typePart; + typePart.setBody("file"); + typePart.setHeader( + QNetworkRequest::ContentDispositionHeader, + "form-data; name=\"type\"" + ); + QHttpPart actionPart; + actionPart.setBody("upload"); + actionPart.setHeader( + QNetworkRequest::ContentDispositionHeader, + "form-data; name=\"action\"" + ); + + // Create the multipart and append the parts + QHttpMultiPart *multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType, device); + multiPart->append(typePart); + multiPart->append(actionPart); + multiPart->append(filePart); + + // Start the request and wrap it in an ImgBBUpload + return new ImgBBUpload(sManager.post(QNetworkRequest(gUploadURL), multiPart)); +} diff --git a/src/upload/imgbbprovider.h b/src/upload/imgbbprovider.h new file mode 100644 index 0000000..619a86c --- /dev/null +++ b/src/upload/imgbbprovider.h @@ -0,0 +1,38 @@ +/* + LxImage - image viewer and screenshot tool for lxqt + Copyright (C) 2017 Nathan Osman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#ifndef LXIMAGE_IMGBBPROVIDER_H +#define LXIMAGE_IMGBBPROVIDER_H + +#include "provider.h" + +namespace LxImage { + +class ImgBBProvider : public Provider +{ + Q_OBJECT + +public: + + virtual Upload *upload(QIODevice *device); +}; + +} + +#endif // LXIMAGE_IMGBBPROVIDER_H diff --git a/src/upload/imgbbupload.cpp b/src/upload/imgbbupload.cpp new file mode 100644 index 0000000..40f3be4 --- /dev/null +++ b/src/upload/imgbbupload.cpp @@ -0,0 +1,50 @@ +/* + LxImage - image viewer and screenshot tool for lxqt + Copyright (C) 2017 Nathan Osman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include +#include + +#include "imgbbupload.h" + +using namespace LxImage; + +ImgBBUpload::ImgBBUpload(QNetworkReply *reply) + : Upload(reply) +{ +} + +void ImgBBUpload::processReply(const QByteArray &data) +{ + // Obtain the root object from the JSON response + QJsonObject object(QJsonDocument::fromJson(data).object()); + + // Attempt to retrieve the image->url value + QString url = object.value("image").toObject().value("url").toString(); + + // Check for success + if (url.isNull()) { + QString message = object.value("error").toObject().value("message").toString(); + if (message.isNull()) { + message = tr("unknown error response"); + } + Q_EMIT error(message); + } else { + Q_EMIT completed(url); + } +} diff --git a/src/upload/imgbbupload.h b/src/upload/imgbbupload.h new file mode 100644 index 0000000..b99822c --- /dev/null +++ b/src/upload/imgbbupload.h @@ -0,0 +1,40 @@ +/* + LxImage - image viewer and screenshot tool for lxqt + Copyright (C) 2017 Nathan Osman + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#ifndef LXIMAGE_IMGBBUPLOAD_H +#define LXIMAGE_IMGBBUPLOAD_H + +#include "upload.h" + +namespace LxImage { + +class ImgBBUpload : public Upload +{ + Q_OBJECT + +public: + + explicit ImgBBUpload(QNetworkReply *reply); + + virtual void processReply(const QByteArray &data); +}; + +} + +#endif // LXIMAGE_IMGBBUPLOAD_H diff --git a/src/upload/imgurprovider.cpp b/src/upload/imgurprovider.cpp index 198150b..5b4de25 100644 --- a/src/upload/imgurprovider.cpp +++ b/src/upload/imgurprovider.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include #include diff --git a/src/upload/imgurprovider.h b/src/upload/imgurprovider.h index 664b763..e15bc90 100644 --- a/src/upload/imgurprovider.h +++ b/src/upload/imgurprovider.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_IMGURPROVIDER_H #define LXIMAGE_IMGURPROVIDER_H diff --git a/src/upload/imgurupload.cpp b/src/upload/imgurupload.cpp index e2228d2..5c8570a 100644 --- a/src/upload/imgurupload.cpp +++ b/src/upload/imgurupload.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include #include diff --git a/src/upload/imgurupload.h b/src/upload/imgurupload.h index 7bed9d6..c618850 100644 --- a/src/upload/imgurupload.h +++ b/src/upload/imgurupload.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_IMGURUPLOAD_H #define LXIMAGE_IMGURUPLOAD_H diff --git a/src/upload/provider.cpp b/src/upload/provider.cpp index b5dc7e8..5e161e9 100644 --- a/src/upload/provider.cpp +++ b/src/upload/provider.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "provider.h" diff --git a/src/upload/provider.h b/src/upload/provider.h index 99e53e3..2c756b3 100644 --- a/src/upload/provider.h +++ b/src/upload/provider.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_PROVIDER_H #define LXIMAGE_PROVIDER_H diff --git a/src/upload/upload.cpp b/src/upload/upload.cpp index 50f1a0f..a1b5d6c 100644 --- a/src/upload/upload.cpp +++ b/src/upload/upload.cpp @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #include "upload.h" diff --git a/src/upload/upload.h b/src/upload/upload.h index b98f950..2ea6084 100644 --- a/src/upload/upload.h +++ b/src/upload/upload.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_UPLOAD_H #define LXIMAGE_UPLOAD_H diff --git a/src/upload/uploaddialog.cpp b/src/upload/uploaddialog.cpp index ba9f11d..c1d87df 100644 --- a/src/upload/uploaddialog.cpp +++ b/src/upload/uploaddialog.cpp @@ -1,23 +1,26 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +#include #include +#include #include #include #include @@ -25,6 +28,7 @@ #include #include "imageshackprovider.h" +#include "imgbbprovider.h" #include "imgurprovider.h" #include "provider.h" #include "upload.h" @@ -33,6 +37,7 @@ using namespace LxImage; ImgurProvider gImgurProvider; +ImgBBProvider gImgBBProvider; ImageShackProvider gImageShackProvider; UploadDialog::UploadDialog(QWidget *parent, const QString &filename) @@ -45,6 +50,7 @@ UploadDialog::UploadDialog(QWidget *parent, const QString &filename) // Populate the list of providers ui.providerComboBox->addItem(tr("Imgur"), QVariant::fromValue(&gImgurProvider)); + ui.providerComboBox->addItem(tr("ImgBB"), QVariant::fromValue(&gImgBBProvider)); ui.providerComboBox->addItem(tr("ImageShack"), QVariant::fromValue(&gImageShackProvider)); updateUi(); @@ -65,6 +71,11 @@ void UploadDialog::on_actionButton_clicked() } } +void UploadDialog::on_copyButton_clicked() +{ + QGuiApplication::clipboard()->setText(ui.linkLineEdit->text()); +} + void UploadDialog::start() { // Attempt to open the file @@ -87,6 +98,7 @@ void UploadDialog::start() // If the request completes, show the link to the user connect(mUpload, &Upload::completed, [this](const QString &url) { ui.linkLineEdit->setText(url); + ui.linkLineEdit->selectAll(); mState = Completed; updateUi(); @@ -114,6 +126,7 @@ void UploadDialog::updateUi() ui.providerComboBox->setVisible(mState == SelectProvider); ui.progressBar->setVisible(mState == UploadInProgress); ui.linkLineEdit->setVisible(mState == Completed); + ui.copyButton->setVisible(mState == Completed); // Reset the progress bar to zero ui.progressBar->setValue(0); diff --git a/src/upload/uploaddialog.h b/src/upload/uploaddialog.h index 667ae7b..3fbb834 100644 --- a/src/upload/uploaddialog.h +++ b/src/upload/uploaddialog.h @@ -1,21 +1,22 @@ /* - LxImage - image viewer and screenshot tool for lxqt - Copyright (C) 2017 Nathan Osman - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * LXImage-Qt - a simple and fast image viewer + * Copyright (C) 2013 PCMan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef LXIMAGE_UPLOADDIALOG_H #define LXIMAGE_UPLOADDIALOG_H @@ -48,6 +49,7 @@ public: private Q_SLOTS: void on_actionButton_clicked(); + void on_copyButton_clicked(); private: diff --git a/src/upload/uploaddialog.ui b/src/upload/uploaddialog.ui index ce0ad20..feafebd 100644 --- a/src/upload/uploaddialog.ui +++ b/src/upload/uploaddialog.ui @@ -33,6 +33,13 @@
+ + + + Copy + + + @@ -48,6 +55,13 @@ + + + + Qt::Horizontal + + +