diff --git a/AUTHORS b/AUTHORS index 736871c..d3a6ca3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,10 +2,15 @@ Upstream author: Artem Galichkin Contributors: - Jerome Leclanche - Alexander Sokolov + Tonci Antunovic + Stef Binde Alf Gaida - Ilya87 Jonathan Hooverman + Ilya87 + Tsu Jan + Jerome Leclanche Paulo Lieuthier - + Peter Mattern + Luís Pereira + Thibaut Quentin + Alexander Sokolov diff --git a/CHANGELOG b/CHANGELOG index 80a638b..99d727e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,55 @@ -screengrab-1.97 / 2017-09-26 +screengrab-1.98 / 2018-05-21 ============================ + * Bumped SCREENGRAB_VERSION to 1.98 + * Spanish translation update + * A more specific condition for Ctrl+C + * Filter out Ctrl+C in Delay box + * No window screenshot with shaded windows + * Translated using Weblate (German) + * Translated using Weblate (German) + * Translated using Weblate (German) + * Rewritten the debian related build infos + * some little changes regarding headlines and copyright + * removed doomer jabber + * added our bugtracker + * use our github repo as home + * Translated using Weblate (German) + * Translated using Weblate (German) + * Translated using Weblate (Ukrainian) + * Translated using Weblate (Spanish) + * Translated using Weblate (Russian) + * Translated using Weblate (Portuguese (Brazil)) + * Translated using Weblate (Italian) + * Translated using Weblate (French) + * Translated using Weblate (German) + * Translated using Weblate (Russian) + * Translated using Weblate (French) + * Updated translation files again - changed the parameters for lupdate + * Translated using Weblate (Portuguese (Brazil)) + * Translation maintenance + * Always use contents rect Fixes https://github.com/lxqt/screengrab/issues/67 + * Never scale up beyond real size + * Several fixes, especially for the tray icon + * __DATE__ and __TIME__ macro are not very helpful for reproducible builds. + * Cleanup CMakeLists.txt and complete AUTHORS + * Added a minimum default configuration + * Handle invalid window screenshots + * Corrected a grammar mistake + * Always use native (LXQt) file dialog + * Just changed the location of a comment + * Cleanup and fixes + * Some ui polishing + * Improve screengrab app behaviour + * Drops Qt foreach + * fix some uris + * Update references in about dialog + +1.97 / 2017-09-26 +================= + + * Release 1.97: Update changelog * Added basic .gitattributes * Bump SCREENGRAB_VERSION to 1.9.7 * Added KF5WindowSystem to build requirements diff --git a/CMakeLists.txt b/CMakeLists.txt index 282af2d..251ec98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) # set project's name project(screengrab) -find_package(Qt5Widgets 5.2.0 REQUIRED) -find_package(Qt5X11Extras 5.2.0 REQUIRED) -find_package(Qt5Network 5.2.0 REQUIRED) +find_package(Qt5Widgets 5.7.1 REQUIRED) +find_package(Qt5X11Extras 5.7.1 REQUIRED) +find_package(Qt5Network 5.7.1 REQUIRED) find_package(KF5WindowSystem REQUIRED) # for translations @@ -39,7 +39,7 @@ find_package( ) # add version define -set(SCREENGRAB_VERSION "1.97") +set(SCREENGRAB_VERSION "1.98") set(SCREENGRAB_VERSION_DEV "2.0-beta1") # set(DEV_BUILD True) @@ -64,7 +64,10 @@ elseif(NOT SCREENGRAB_VERSION_DEV) set(VERSION "${SCREENGRAB_VERSION}") endif(SCREENGRAB_VERSION_DEV) -add_definitions(-DVERSION="${VERSION}") +add_definitions( + -DVERSION="${VERSION}" + -DQT_NO_FOREACH +) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) @@ -182,6 +185,10 @@ qt5_add_resources(QRC_SOURCES ${SCREENGRAB_QRC}) message(STATUS "Generating localize ...") +set(SCREENGRAB_CONFIG_FILES + screengrab.conf +) + set(SCREENGRAB_DESKTOP_FILES_IN screengrab.desktop.in ) @@ -256,31 +263,12 @@ endif() target_link_libraries(screengrab qkeysequencewidget Qt5::Widgets KF5::WindowSystem ${X11_LIBRARIES}) -# make src.tar.gz -add_custom_target(dist @echo create source package) -set(SCREENGRAB_DIST "screengrab-${SCREENGRAB_VERSION}") -add_custom_command(COMMAND cp - ARGS -R ${CMAKE_CURRENT_SOURCE_DIR} "/tmp/${SCREENGRAB_DIST}" - WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" - TARGET dist -) - -add_custom_command(COMMAND tar - ARGS cvfz "${CMAKE_CURRENT_BINARY_DIR}/${SCREENGRAB_DIST}.tar.gz" --exclude=*~ --exclude-vcs --exclude=localize/*qm --exclude=*.kdev4 --exclude=build --exclude=create-src.sh --exclude=win32 -C "/tmp" "${SCREENGRAB_DIST}" - WORKING_DIRECTORY "/tmp" - TARGET dist -) - -add_custom_command(COMMAND rm - ARGS -rf "/tmp/${SCREENGRAB_DIST}" - WORKING_DIRECTORY "/tmp" - TARGET dist -) - # installing install(TARGETS screengrab RUNTIME DESTINATION bin) # install html docs install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/html" DESTINATION "${CMAKE_INSTALL_FULL_DOCDIR}") +# install config files +install(FILES ${SCREENGRAB_CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}) # install desktop files install(FILES ${SCREENGRAB_DESKTOP_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) # install pixmap diff --git a/README.md b/README.md index 93cd4e7..5b6b7c3 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ -ScreenGrab -========== +# ScreenGrab -version 2.0-dev +##### version 2.0-dev ScreenGrab - A program for fast creating screenshots, and easily publishing them on internet image hosting services. It works on Linux and Windows operating systems. ScreenGrab uses the Qt framework and thus, it is independent from any desktop environment. -Build requirements ------------------- +### Build requirements * Qt5 >= 5.2 (Qt 4.x support only 1.x branch) * CMake >= 2.8.11 (only for building ScreenGrab from sources) @@ -14,8 +12,7 @@ Build requirements * KF5WindowSystem * [optional] Qxt Library > 0.6 (if you want to build ScreenGrab using your system Qxt version - see the "Build options" section in this file) -Build ------ +### Build To build ScreenGrab from sources, use these commands: @@ -25,8 +22,7 @@ To build ScreenGrab from sources, use these commands: make make install -Build options -------------- +### Build options You can use some or all of these parameters to customise your build. @@ -39,25 +35,28 @@ You can use some or all of these parameters to customise your build. * **-DSG_DOCDIR** - Name for the directory of user's documentation. Default setting: "screengrab". * **-DQKSW_SHARED** - Enable shared linking with qkeysequencewidget library (in src/common/qksysekwesewidget). Default setting: OFF. -**Build notes:** - - * For Debian based Linux distro (Debian Squeezy, Ubuntu 12.04, etc) - if you want to build ScreenGrab using the system version of the Qxt Library, please use this command to run CMake: - - cmake -DSG_USE_SYSTEM_QXT=ON -DQXT_QXTCORE_INCLUDE_DIR=/usr/include/qxt/QxtCore -DQXT_QXTGUI_INCLUDE_DIR=/usr/include/qxt -DCMAKE_INSTALL_PREFIX=/usr ../ +#### Build notes +For Debian based Linux distributions please use the distribution build tools. One can get the source-code with +``` +apt source screengrab # Sources for the released package +- or - +git clone https://salsa.debian.org/lxqt-team/screengrab +``` +Build with the tools provided by `devscripts` or better with `pbuilder` or `sbuild` -LICENSE -------- +### LICENSE Screengrab is licensed under the GPL v2. See file LICENSE in docs directory for more information -Contacts --------- +### Contacts + +Web homepage: https://github.com/lxqt/screengrab +Bug Tracker: https://github.com/lxqt/screengrab/issues -E-mail: doomer3d@gmail.com -Jabber: doomer@jabber.linux.it -Web homepage: http://screengrab.doomer.org/ +### Copyright -Copyright (c) 2009-2013, Artem 'DOOMer' Galichkin +(c) 2014-2018, LXQt Team +(c) 2009-2013, Artem 'DOOMer' Galichkin diff --git a/cmake/LXQtTranslateDesktop.cmake b/cmake/LXQtTranslateDesktop.cmake index 7569f03..5fb7c0c 100644 --- a/cmake/LXQtTranslateDesktop.cmake +++ b/cmake/LXQtTranslateDesktop.cmake @@ -93,7 +93,7 @@ function(lxqt_translate_desktop _RESULT) file(WRITE ${_txFile} "[ -f ${_inFile} ] || exit 0\n" - "echo '[lxde-qt.${_fileName}_${_fileType}]'\n" + "echo '[lxqt.${_fileName}_${_fileType}]'\n" "echo 'type = DESKTOP'\n" "echo 'source_lang = en'\n" "echo 'source_file = ${_tx_inFile}'\n" diff --git a/debian/changelog b/debian/changelog index f762547..7e7dae5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +screengrab (1.98-1) unstable; urgency=medium + + * Cherry-picked upstream version 1.98. + * Removed date-time patch, applied upstream + * Refreshed the remaining patches + * Fixed system-wide configuration (Closes: #893809) + * Fixed default file format (Closes: LP1733461) + + -- Alf Gaida Tue, 22 May 2018 18:01:45 +0200 + screengrab (1.97-3) unstable; urgency=medium * Bumped compat to 11 diff --git a/debian/control b/debian/control index c320cdb..c0f240e 100644 --- a/debian/control +++ b/debian/control @@ -10,8 +10,8 @@ Build-Depends: debhelper (>= 11~), libkf5windowsystem-dev, libqt5svg5-dev, libqt5x11extras5-dev, - libqt5xdg-dev (>= 2.0.0), - libqt5xdgiconloader-dev, + libqt5xdg-dev (>= 2.0.0~), + libqt5xdgiconloader-dev (>= 2.0.0~) , libx11-dev, libx11-xcb-dev, libxcb1-dev, diff --git a/debian/patches/build-date-time.patch b/debian/patches/build-date-time.patch deleted file mode 100644 index ef92b2c..0000000 --- a/debian/patches/build-date-time.patch +++ /dev/null @@ -1,22 +0,0 @@ -Description: Build date time -Author: Alf Gaida - ---- a/src/core/ui/about.cpp -+++ b/src/core/ui/about.cpp -@@ -31,16 +31,8 @@ AboutDialog::AboutDialog(QWidget *parent): - _ui->setupUi(this); - _ui->labAppName->setText(_ui->labAppName->text() + QString(" ") + qApp->applicationVersion() + QString("")); - -- QString versionInfo; -- versionInfo = tr("built on "); -- versionInfo.append(__DATE__); -- versionInfo.append(" "); -- versionInfo.append(__TIME__); -- - _ui->labQtVer->setText(tr("using Qt ") + qVersion()); - -- _ui->labVersion->setText(versionInfo); -- - QTabBar *tabs = new QTabBar; - - _ui->frame->layout()->addWidget(tabs); diff --git a/debian/patches/core-cli-upload-option.patch b/debian/patches/core-cli-upload-option.patch index 9f4d5d4..7d37c7c 100644 --- a/debian/patches/core-cli-upload-option.patch +++ b/debian/patches/core-cli-upload-option.patch @@ -5,9 +5,9 @@ Last-Update: 2016-09-19 --- a/src/core/core.cpp +++ b/src/core/core.cpp -@@ -511,8 +511,9 @@ +@@ -536,8 +536,9 @@ if (_cmdLine.isSet(_screenTypeOpts.at(i))) - _conf->setScreenshotType(i); + _conf->setDefScreenshotType(i); +/* #ifdef SG_EXT_UPLOADS @@ -16,7 +16,7 @@ Last-Update: 2016-09-19 const QString UPLOAD_CMD_PARAM = "upload"; const QString UPLOAD_CMD_PARAM_SHORT = "u"; QCommandLineOption u(QStringList() << UPLOAD_CMD_PARAM_SHORT << UPLOAD_CMD_PARAM); -@@ -524,6 +525,9 @@ +@@ -549,6 +550,9 @@ } else initWindow(); #endif diff --git a/debian/patches/disable-cli-upload-option.patch b/debian/patches/disable-cli-upload-option.patch index 3e7a66a..8402392 100644 --- a/debian/patches/disable-cli-upload-option.patch +++ b/debian/patches/disable-cli-upload-option.patch @@ -3,9 +3,9 @@ Author: Alf Gaida Bug-Debian: https://bugs.debian.org/834517 Last-Update: 2016-09-19 ---- screengrab-1.96~38-g975f8ce.orig/src/modules/uploader/moduleuploader.cpp -+++ screengrab-1.96~38-g975f8ce/src/modules/uploader/moduleuploader.cpp -@@ -36,11 +36,11 @@ const QString UPLOAD_CMD_PARAM_SHORT = " +--- a/src/modules/uploader/moduleuploader.cpp ++++ b/src/modules/uploader/moduleuploader.cpp +@@ -36,11 +36,11 @@ ModuleUploader::ModuleUploader(QObject *parent) : QObject(parent), _ignoreCmdParam(false), diff --git a/debian/patches/series b/debian/patches/series index a293dd1..c21f3de 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,2 @@ -build-date-time.patch - disable-cli-upload-option.patch core-cli-upload-option.patch diff --git a/screengrab.conf b/screengrab.conf new file mode 100644 index 0000000..72146b6 --- /dev/null +++ b/screengrab.conf @@ -0,0 +1,23 @@ +[Base] +CopyFilenameToClipboard=0 +autoSave=false +autoSaveFirst=false +defFilename=screen +defImgFormat=jpg +defScreenshotType=FullScreen +delay=0 +imageQuality=80 + +[Display] +showTrayIcon=true +timeTrayMessages=5 +trayMessages=1 +windowHeight=533 +windowWidth=700 +zoomAroundMouse=false + +[System] +AllowCopies=true +closeInTray=false +enbaleExternalView=true +fitInside=true diff --git a/src/core/config.cpp b/src/core/config.cpp index a649d79..9795d83 100644 --- a/src/core/config.cpp +++ b/src/core/config.cpp @@ -33,10 +33,8 @@ #define KEY_SAVEDIR "defDir" #define KEY_SAVENAME "defFilename" #define KEY_SAVEFORMAT "defImgFormat" -#define KEY_DELAY_DEF "defDelay" #define KEY_DELAY "delay" #define KEY_SCREENSHOT_TYPE_DEF "defScreenshotType" -#define KEY_SCREENSHOT_TYPE "screenshotType" #define KEY_IMG_QUALITY "imageQuality" #define KEY_FILENAMEDATE "insDateTimeInFilename" #define KEY_DATETIME_TPL "templateDateTime" @@ -58,6 +56,8 @@ #define KEY_INCLUDE_CURSOR "includeCursor" #define KEY_FIT_INSIDE "fitInside" +#define KEY_LAST_SELECTION "lastSelection" + static const QLatin1String FullScreen("FullScreen"); static const QLatin1String Window("Window"); @@ -108,30 +108,17 @@ static int screenshotTypeFromString(const QString& str) return r; } +const static QStringList _imageFormats = {"png", "jpg"}; + Config* Config::ptrInstance = 0; // constructor Config::Config() { - _settings = new QSettings(getConfigFile(), QSettings::IniFormat); + _settings = new Settings("screengrab", "screengrab"); _shortcuts = new ShortcutManager(_settings); - // check existing config file - if (!QFile::exists(getConfigFile())) - { - // creating conf file from set defaults - QFile cf(getConfigFile()); - if (cf.open(QIODevice::WriteOnly)) - { - cf.close(); - } - - setDefaultSettings(); - saveSettings(); - } - - _settings->setIniCodec("UTF-8"); _scrNum = 0; } @@ -168,11 +155,6 @@ void Config::killInstance() } } -QString Config::getConfigFile() -{ - return getConfigDir() + QDir::separator() + CONFIG_FILE_NAME; -} - QString Config::getConfigDir() { QString dir = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); @@ -273,16 +255,6 @@ void Config::setSaveFormat(QString format) setValue(KEY_SAVEFORMAT, format); } -quint8 Config::getDefDelay() -{ - return value(KEY_DELAY_DEF).toInt(); -} - -void Config::setDefDelay(quint8 sec) -{ - setValue(KEY_DELAY_DEF, sec); -} - quint8 Config::getDelay() { return value(KEY_DELAY).toInt(); @@ -303,16 +275,6 @@ void Config::setDefScreenshotType(const int type) setValue(QLatin1String(KEY_SCREENSHOT_TYPE_DEF), type); } -int Config::getScreenshotType() -{ - return (value(QLatin1String(KEY_SCREENSHOT_TYPE)).toInt()); -} - -void Config::setScreenshotType(const int type) -{ - setValue(QLatin1String(KEY_SCREENSHOT_TYPE), type); -} - quint8 Config::getAutoCopyFilenameOnSaving() { return value(KEY_FILENAME_TO_CLB).toInt(); @@ -466,6 +428,16 @@ void Config::setFitInside(bool val) setValue(KEY_FIT_INSIDE, val); } +QRect Config::getLastSelection() +{ + return value(KEY_LAST_SELECTION).toRect(); +} + +void Config::setLastSelection(QRect rect) +{ + setValue(KEY_LAST_SELECTION, rect); +} + void Config::saveWndSize() { // saving size @@ -482,7 +454,7 @@ void Config::loadSettings() setSaveDir(_settings->value(KEY_SAVEDIR, getDirNameDefault()).toString() ); setSaveFileName(_settings->value(KEY_SAVENAME,DEF_SAVE_NAME).toString()); setSaveFormat(_settings->value(KEY_SAVEFORMAT, DEF_SAVE_FORMAT).toString()); - setDefDelay(_settings->value(KEY_DELAY, DEF_DELAY).toInt()); + setDelay(_settings->value(KEY_DELAY, DEF_DELAY).toInt()); setDefScreenshotType(screenshotTypeFromString(_settings->value(QLatin1String(KEY_SCREENSHOT_TYPE_DEF)).toString())); setAutoCopyFilenameOnSaving(_settings->value(KEY_FILENAME_TO_CLB, DEF_FILENAME_TO_CLB).toInt()); setDateTimeInFilename(_settings->value(KEY_FILENAMEDATE, DEF_DATETIME_FILENAME).toBool()); @@ -498,6 +470,7 @@ void Config::loadSettings() setTrayMessages(_settings->value(KEY_TRAYMESSAGES, DEF_TRAY_MESS_TYPE).toInt()); setTimeTrayMess(_settings->value(KEY_TIME_NOTIFY, DEF_TIME_TRAY_MESS).toInt( )); setZoomAroundMouse(_settings->value(KEY_ZOOMBOX, DEF_ZOOM_AROUND_MOUSE).toBool()); + setLastSelection(_settings->value(KEY_LAST_SELECTION).toRect()); // TODO - make set windows size without hardcode values setRestoredWndSize(_settings->value(KEY_WND_WIDTH, DEF_WND_WIDTH).toInt(), _settings->value(KEY_WND_HEIGHT, DEF_WND_HEIGHT).toInt()); @@ -511,33 +484,26 @@ void Config::loadSettings() setFitInside(_settings->value(KEY_FIT_INSIDE, DEF_FIT_INSIDE).toBool()); _settings->endGroup(); - setDelay(getDefDelay()); - _shortcuts->loadSettings(); } void Config::saveSettings() -{ +{ // save settings except for those on the main window _settings->beginGroup("Base"); _settings->setValue(KEY_SAVEDIR, getSaveDir()); _settings->setValue(KEY_SAVENAME, getSaveFileName()); _settings->setValue(KEY_SAVEFORMAT, getSaveFormat()); - _settings->setValue(KEY_DELAY, getDefDelay()); - _settings->setValue(QLatin1String(KEY_SCREENSHOT_TYPE_DEF), screenshotTypeToString(getDefScreenshotType())); _settings->setValue(KEY_FILENAME_TO_CLB, getAutoCopyFilenameOnSaving()); _settings->setValue(KEY_FILENAMEDATE, getDateTimeInFilename()); _settings->setValue(KEY_DATETIME_TPL, getDateTimeTpl()); _settings->setValue(KEY_AUTOSAVE, getAutoSave()); _settings->setValue(KEY_AUTOSAVE_FIRST, getAutoSaveFirst()); _settings->setValue(KEY_IMG_QUALITY, getImageQuality()); - _settings->setValue(KEY_NODECOR, getNoDecoration()); - _settings->setValue(KEY_INCLUDE_CURSOR, getIncludeCursor()); _settings->endGroup(); _settings->beginGroup("Display"); _settings->setValue(KEY_TRAYMESSAGES, getTrayMessages()); _settings->setValue(KEY_TIME_NOTIFY, getTimeTrayMess()); - _settings->setValue(KEY_ZOOMBOX, getZoomAroundMouse()); _settings->setValue(KEY_SHOW_TRAY, getShowTrayIcon()); _settings->endGroup(); saveWndSize(); @@ -554,14 +520,27 @@ void Config::saveSettings() resetScrNum(); } +void Config::saveScreenshotSettings() +{ // save the main window settings + _settings->beginGroup("Base"); + _settings->setValue(QLatin1String(KEY_SCREENSHOT_TYPE_DEF), screenshotTypeToString(getDefScreenshotType())); + _settings->setValue(KEY_NODECOR, getNoDecoration()); + _settings->setValue(KEY_INCLUDE_CURSOR, getIncludeCursor()); + _settings->setValue(KEY_DELAY, getDelay()); + _settings->endGroup(); + + _settings->beginGroup("Display"); + _settings->setValue(KEY_ZOOMBOX, getZoomAroundMouse()); + _settings->setValue(KEY_LAST_SELECTION, getLastSelection()); + _settings->endGroup(); +} + // set default values void Config::setDefaultSettings() { setSaveDir(getDirNameDefault()); setSaveFileName(DEF_SAVE_NAME); setSaveFormat(DEF_SAVE_FORMAT); - setDefDelay(DEF_DELAY); - setScreenshotType(Core::FullScreen); setImageQuality(DEF_IMG_QUALITY); setDateTimeInFilename(DEF_DATETIME_FILENAME); setDateTimeTpl(DEF_DATETIME_TPL); @@ -570,7 +549,6 @@ void Config::setDefaultSettings() setAutoSaveFirst(DEF_AUTO_SAVE_FIRST); setTrayMessages(DEF_TRAY_MESS_TYPE); setIncludeCursor(DEF_INCLUDE_CURSOR); - setZoomAroundMouse(DEF_ZOOM_AROUND_MOUSE); setCloseInTray(DEF_CLOSE_IN_TRAY); setTimeTrayMess(DEF_TIME_TRAY_MESS); setAllowMultipleInstance(DEF_ALLOW_COPIES); @@ -582,9 +560,6 @@ void Config::setDefaultSettings() _shortcuts->setDefaultSettings(); - setNoDecoration(DEF_X11_NODECOR); - setDelay(DEF_DELAY); - quint8 countModules = Core::instance()->modules()->count(); for (int i = 0; i < countModules; ++i) Core::instance()->modules()->getModule(i)->defaultSettings(); @@ -596,6 +571,10 @@ QString Config::getDirNameDefault() return QDir::homePath()+QDir::separator(); } +QStringList Config::getFormatIDs() const +{ + return _imageFormats; +} // get id of default save format int Config::getDefaultFormatID() { diff --git a/src/core/config.h b/src/core/config.h index 5ea9ff4..cc9788f 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -52,6 +52,20 @@ const bool DEF_ENABLE_EXT_VIEWER = true; const bool DEF_INCLUDE_CURSOR = false; const bool DEF_FIT_INSIDE = true; +class Settings : public QSettings // prevents redundant writings +{ + Q_OBJECT +public: + Settings(const QString &organization, const QString &application = QString(), QObject *parent = nullptr) + : QSettings (organization, application, parent) {} + + void setValue(const QString &key, const QVariant &v) { + if (value(key) == v) + return; + QSettings::setValue(key, v); + } +}; + // class worker with conf data class Config { @@ -99,12 +113,6 @@ public: static void killInstance(); ~Config(); - /** - * @brief Gets the configuration file for screengrab. It's - * inside the folder returned by getConfigDir(). - */ - static QString getConfigFile(); - /** * @brief Gets the directory where to save the configuration files. * Does not end with '/'. @@ -121,6 +129,11 @@ public: */ void saveSettings(); + /** + * Save screenshot settings to conf file + */ + void saveScreenshotSettings(); + /** * Reset configuration data from default values */ @@ -138,10 +151,6 @@ public: QString getSaveFormat(); void setSaveFormat(QString format); - // default delay - quint8 getDefDelay(); - void setDefDelay(quint8 sec); - quint8 getDelay(); void setDelay(quint8 sec); @@ -149,10 +158,6 @@ public: int getDefScreenshotType(); void setDefScreenshotType(const int type); - // current screenshot type - int getScreenshotType(); - void setScreenshotType(const int type); - quint8 getAutoCopyFilenameOnSaving(); void setAutoCopyFilenameOnSaving(quint8 val); @@ -192,7 +197,8 @@ public: void setRestoredWndSize(int w, int h); void saveWndSize(); - // get default image save format + // get image save format(s) + QStringList getFormatIDs() const; int getDefaultFormatID(); QString getDirNameDefault(); @@ -229,6 +235,9 @@ public: bool getFitInside(); void setFitInside(bool val); + QRect getLastSelection(); + void setLastSelection(QRect rect); + static QString getSysLang(); ShortcutManager* shortcuts(); @@ -256,13 +265,11 @@ private: */ void setValue(const QString& key, QVariant val); - QSettings *_settings; + Settings *_settings; QHash _confData; ShortcutManager *_shortcuts; - QVector _imageFormats; - int _scrNum; // screen num in session QDateTime _dateLastSaving; }; diff --git a/src/core/core.cpp b/src/core/core.cpp index a7480f0..341f3ae 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -54,6 +54,7 @@ Core::Core() _conf = Config::instance(); _conf->loadSettings(); + _lastSelectedArea = _conf->getLastSelection(); _pixelMap = new QPixmap; _selector = 0; @@ -144,6 +145,9 @@ void Core::sleep(int msec) void Core::coreQuit() { + _conf->setLastSelection(_lastSelectedArea); + _conf->saveScreenshotSettings(); + _conf->setRestoredWndSize(_wnd->width(), _wnd->height()); _conf->saveWndSize(); @@ -183,7 +187,7 @@ void Core::screenShot(bool first) if (_firstScreen) _conf->updateLastSaveDate(); - switch(_conf->getScreenshotType()) + switch(_conf->getDefScreenshotType()) { case Core::FullScreen: { @@ -242,7 +246,7 @@ void Core::checkAutoSave(bool first) } } -void Core::getActiveWindow() +void Core::getActiveWindow() // called only with window screenshots { const QList screens = qApp->screens(); const QDesktopWidget *desktop = QApplication::desktop(); @@ -250,10 +254,34 @@ void Core::getActiveWindow() WId wnd = KWindowSystem::activeWindow(); - if (!wnd) + // this window screenshot will be invalid + // if there's no active window or the active window is ours + bool invalid(!wnd || !KWindowSystem::hasWId(wnd) || (_wnd && _wnd->winId() == wnd)); + if (!invalid) + { // or if it isn't on the current desktop + KWindowInfo info(wnd, NET::WMDesktop); + invalid = info.valid() && !info.isOnDesktop(KWindowSystem::currentDesktop()); + if (!invalid) + { // or if it is a desktop or panel/dock + info = KWindowInfo(wnd, NET::WMWindowType); + QFlags flags; + flags |= NET::DesktopMask; + flags |= NET::DockMask; + invalid = info.valid() && NET::typeMatchesMask(info.windowType(NET::AllTypesMask), flags); + } + } + + // also invalid if the window is shaded/invisible + KWindowInfo info(wnd, NET::XAWMState | NET::WMFrameExtents); + if (!invalid && info.mappingState() != NET::Visible) + invalid = true; + + // if this is an invalid screenshot, take a fullscreen shot instead + if (invalid) { + qWarning() << "Could not take a window screenshot."; *_pixelMap = screens[screenNum]->grabWindow(desktop->winId()); - exit(1); + return; } // no decorations option is selected @@ -263,11 +291,6 @@ void Core::getActiveWindow() return; } - KWindowInfo info(wnd, NET::XAWMState | NET::WMFrameExtents); - - if (info.mappingState() != NET::Visible) - qWarning() << "Window not visible"; - QRect geometry = info.frameGeometry(); *_pixelMap = screens[screenNum]->grabWindow(QApplication::desktop()->winId(), geometry.x(), @@ -290,7 +313,7 @@ void Core::grabCursor(int offsetX, int offsetY) } -void Core::sendSystemNotify(const StateNotifyMessage ¬ify) +void Core::sendSystemNotify(const StateNotifyMessage& /*notify*/) { qDebug() << "Send system notification"; } @@ -511,7 +534,7 @@ void Core::processCmdLineOpts(const QStringList& arguments) // Check commandline parameters and set screenshot type for (int i=0; i < _screenTypeOpts.count(); ++i) if (_cmdLine.isSet(_screenTypeOpts.at(i))) - _conf->setScreenshotType(i); + _conf->setDefScreenshotType(i); #ifdef SG_EXT_UPLOADS /// FIXMA - In module interface need add the mthod for geting module cmdLine options diff --git a/src/core/main.cpp b/src/core/main.cpp index 7f2fe3a..9405f1a 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -26,6 +26,10 @@ int main(int argc, char *argv[]) { SingleApp scr(argc, argv, VERSION); scr.setApplicationVersion(VERSION); + scr.setOrganizationName(QStringLiteral("lxqt")); + scr.setOrganizationDomain(QStringLiteral("https://lxqt.org")); + scr.setApplicationName(QStringLiteral("screengrab")); + scr.setAttribute(Qt::AA_UseHighDpiPixmaps, true); Core *ScreenGrab = Core::instance(); ScreenGrab->modules()->initModules(); ScreenGrab->processCmdLineOpts(scr.arguments()); diff --git a/src/core/ui/about.cpp b/src/core/ui/about.cpp index 33f2b15..b897698 100644 --- a/src/core/ui/about.cpp +++ b/src/core/ui/about.cpp @@ -31,22 +31,13 @@ AboutDialog::AboutDialog(QWidget *parent): _ui->setupUi(this); _ui->labAppName->setText(_ui->labAppName->text() + QString(" ") + qApp->applicationVersion() + QString("")); - QString versionInfo; - versionInfo = tr("built on "); - versionInfo.append(__DATE__); - versionInfo.append(" "); - versionInfo.append(__TIME__); - _ui->labQtVer->setText(tr("using Qt ") + qVersion()); - _ui->labVersion->setText(versionInfo); - QTabBar *tabs = new QTabBar; _ui->frame->layout()->addWidget(tabs); _ui->frame->layout()->addWidget(_ui->txtArea); - tabs->setFixedHeight(24); tabs->insertTab(0, tr("About")); tabs->insertTab(1, tr("Thanks")); tabs->insertTab(2, tr("Help us")); @@ -108,14 +99,11 @@ QString AboutDialog::tabAbout() str += "ScreenGrab "; str += tr("is a crossplatform application for fast creating screenshots of your desktop."); str += "

"; - str += tr("It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux."); + str += tr("It is a light and powerful application, written in Qt."); str += "

"; - str += tr("E-Mail")+" - "; - str += "doomer3d@gmail.com"; - str += "
"; - str += tr("Web site")+" - "; - str += "http://screengrab.doomer.org/"; + str += tr("Website")+" - "; + str += "https://github.com/lxqt/screengrab"; str += "

"; str += tr("Licensed under the "); @@ -140,13 +128,9 @@ QString AboutDialog::tabHelpUs() str += "
  • " + tr("Report bugs and issues") + "
  • "; str += ""; - str += tr("E-Mail"); - str += "
    "; - str += "mailto:doomer3d@gmail.com"; - str += "

    "; str += tr("Bug tracker"); str += "
    "; - str += "https://github.com/DOOMer/screengrab/issues/"; + str += "https://github.com/lxqt/screengrab/issues/"; return str; } diff --git a/src/core/ui/aboutwidget.ui b/src/core/ui/aboutwidget.ui index d6c17e2..b9bbf44 100644 --- a/src/core/ui/aboutwidget.ui +++ b/src/core/ui/aboutwidget.ui @@ -52,7 +52,7 @@ - :/res/img/logo.png + :/res/img/logo.png @@ -160,8 +160,8 @@ - - + + diff --git a/src/core/ui/configwidget.cpp b/src/core/ui/configwidget.cpp index 9f257b7..e33ede8 100644 --- a/src/core/ui/configwidget.cpp +++ b/src/core/ui/configwidget.cpp @@ -39,22 +39,19 @@ ConfigDialog::ConfigDialog(QWidget *parent) : _ui->setupUi(this); conf = Config::instance(); - connect(_ui->butSaveOpt, &QPushButton::clicked, this, &ConfigDialog::saveSettings); + connect(_ui->buttonBox->button(QDialogButtonBox::Save), &QPushButton::clicked, this, &ConfigDialog::saveSettings); connect(_ui->buttonBrowse, &QPushButton::clicked, this, &ConfigDialog::selectDir); - connect(_ui->butRestoreOpt, &QPushButton::clicked, this, &ConfigDialog::restoreDefaults); + connect(_ui->buttonBox->button(QDialogButtonBox::RestoreDefaults), &QPushButton::clicked, this, &ConfigDialog::restoreDefaults); connect(_ui->checkIncDate, &QCheckBox::toggled, this, &ConfigDialog::setVisibleDateTplEdit); connect(_ui->keyWidget, &QKeySequenceWidget::keySequenceAccepted, this, &ConfigDialog::acceptShortcut); connect(_ui->keyWidget, &QKeySequenceWidget::keyNotSupported, this, &ConfigDialog::keyNotSupported); connect(_ui->checkAutoSave, &QCheckBox::toggled, this, &ConfigDialog::setVisibleAutoSaveFirst); - connect(_ui->butCancel, &QPushButton::clicked, this, &ConfigDialog::reject); + connect(_ui->buttonBox->button(QDialogButtonBox::Cancel), &QPushButton::clicked, this, &ConfigDialog::reject); connect(_ui->treeKeys, &QTreeWidget::expanded, _ui->treeKeys, &QTreeWidget::clearSelection); connect(_ui->treeKeys, &QTreeWidget::collapsed, this, &ConfigDialog::collapsTreeKeys); connect(_ui->checkShowTray, &QCheckBox::toggled, this, &ConfigDialog::toggleCheckShowTray); connect(_ui->editDateTmeTpl, &QLineEdit::textEdited, this, &ConfigDialog::editDateTmeTpl); - void (QSpinBox::*delayChange)(int) = &QSpinBox::valueChanged; - connect(_ui->defDelay, delayChange, this, &ConfigDialog::changeDefDelay); - void (QSpinBox::*timeToTray)(int) = &QSpinBox::valueChanged; connect(_ui->timeTrayMess, timeToTray, this, &ConfigDialog::changeTimeTrayMess); @@ -73,13 +70,11 @@ ConfigDialog::ConfigDialog(QWidget *parent) : connect(_ui->cbxFormat, formatChabge, this, &ConfigDialog::changeFormatType); loadSettings(); - changeDefDelay(conf->getDefDelay()); setVisibleDateTplEdit(conf->getDateTimeInFilename()); setVisibleAutoSaveFirst(conf->getAutoSave()); _ui->listWidget->setCurrentRow(0); - _ui->tabMain->setCurrentIndex(0); editDateTmeTpl(conf->getDateTimeTpl()); @@ -148,12 +143,9 @@ void ConfigDialog::loadSettings() _ui->editDir->setText(conf->getSaveDir()); _ui->editFileName->setText(conf->getSaveFileName()); - _ui->cbxFormat->addItem("png"); - _ui->cbxFormat->addItem("jpg"); + _ui->cbxFormat->addItems(conf->getFormatIDs()); _ui->cbxFormat->setCurrentIndex(conf->getDefaultFormatID()); - _ui->defDelay->setValue(conf->getDefDelay()); - _ui->cbxTypeScr->setCurrentIndex(conf->getDefScreenshotType()); _ui->checkIncDate->setChecked(conf->getDateTimeInFilename()); _ui->editDateTmeTpl->setText(conf->getDateTimeTpl()); _ui->cbxCopyFileName->setCurrentIndex(conf->getAutoCopyFilenameOnSaving()); @@ -162,15 +154,12 @@ void ConfigDialog::loadSettings() _ui->cbxTrayMsg->setCurrentIndex(conf->getTrayMessages()); changeTrayMsgType(_ui->cbxTrayMsg->currentIndex()); _ui->timeTrayMess->setValue(conf->getTimeTrayMess()); - _ui->checkAutoSave->setChecked(conf->getAutoSave());; - _ui->checkAutoSaveFirst->setChecked(conf->getAutoSaveFirst());; - _ui->checkZommMouseArea->setChecked(conf->getZoomAroundMouse()); - _ui->cbxIncludeCursor->setChecked(conf->getIncludeCursor()); + _ui->checkAutoSave->setChecked(conf->getAutoSave()); + _ui->checkAutoSaveFirst->setChecked(conf->getAutoSaveFirst()); _ui->checkInTray->setChecked(conf->getCloseInTray()); _ui->checkAllowCopies->setChecked(conf->getAllowMultipleInstance()); - _ui->checkNoDecorX11->setChecked(conf->getNoDecoration()); _ui->checkShowTray->setChecked(conf->getShowTrayIcon()); toggleCheckShowTray(conf->getShowTrayIcon()); @@ -201,17 +190,9 @@ void ConfigDialog::setVisibleAutoSaveFirst(bool status) void ConfigDialog::changeFormatType(int type) { if (type == 1) - { - _ui->slideImgQuality->setVisible(true);; - _ui->labImgQuality->setVisible(true); - _ui->labImgQualityCurrent->setVisible(true);; - } + _ui->groupQuality->setVisible(true); else - { - _ui->slideImgQuality->setVisible(false); - _ui->labImgQuality->setVisible(false); - _ui->labImgQualityCurrent->setVisible(false);; - } + _ui->groupQuality->setVisible(false); } @@ -253,8 +234,6 @@ void ConfigDialog::saveSettings() conf->setSaveDir(_ui->editDir->text()); conf->setSaveFileName(_ui->editFileName->text()); conf->setSaveFormat(_ui->cbxFormat->currentText()); - conf->setDefDelay(_ui->defDelay->value()); - conf->setDefScreenshotType(_ui->cbxTypeScr->currentIndex()); conf->setDateTimeInFilename(_ui->checkIncDate->isChecked()); conf->setDateTimeTpl(_ui->editDateTmeTpl->text()); conf->setAutoCopyFilenameOnSaving(_ui->cbxCopyFileName->currentIndex()); @@ -262,14 +241,11 @@ void ConfigDialog::saveSettings() conf->setAutoSaveFirst(_ui->checkAutoSaveFirst->isChecked()); conf->setTrayMessages(_ui->cbxTrayMsg->currentIndex()); conf->setCloseInTray(_ui->checkInTray->isChecked()); - conf->setIncludeCursor(_ui->cbxIncludeCursor->isChecked()); - conf->setZoomAroundMouse(_ui->checkZommMouseArea->isChecked()); conf->setAllowMultipleInstance(_ui->checkAllowCopies->isChecked()); conf->setTimeTrayMess(_ui->timeTrayMess->value()); conf->setShowTrayIcon(_ui->checkShowTray->isChecked()); conf->setImageQuality(_ui->slideImgQuality->value()); conf->setEnableExtView(_ui->cbxEnableExtView->isChecked()); - conf->setNoDecoration(_ui->checkNoDecorX11->isChecked()); conf->setFitInside(_ui->checkFitInside->isChecked()); // save shortcuts in shortcutmanager @@ -297,7 +273,6 @@ void ConfigDialog::saveSettings() // update values of front-end settings conf->saveSettings(); - conf->setDelay(conf->getDefDelay()); // call save method on modeule's configwidgets' for (int i = 0; i < _moduleWidgetNames.count(); ++i) @@ -349,12 +324,6 @@ void ConfigDialog::restoreDefaults() } } -void ConfigDialog::changeDefDelay(int val) -{ - if (val == 0) - _ui->defDelay->setSpecialValueText(tr("None")); -} - void ConfigDialog::changeTimeTrayMess(int sec) { conf->setTimeTrayMess(sec); diff --git a/src/core/ui/configwidget.h b/src/core/ui/configwidget.h index 1f0033c..7a9ee9b 100644 --- a/src/core/ui/configwidget.h +++ b/src/core/ui/configwidget.h @@ -62,7 +62,6 @@ private slots: void setVisibleDateTplEdit(bool); void changeTrayMsgType(int type); void changeTimeTrayMess(int sec); - void changeDefDelay(int val); void setVisibleAutoSaveFirst(bool status); void changeFormatType(int type); void changeImgQualituSlider(int pos); diff --git a/src/core/ui/configwidget.ui b/src/core/ui/configwidget.ui index 841db4a..18ec5d7 100644 --- a/src/core/ui/configwidget.ui +++ b/src/core/ui/configwidget.ui @@ -57,9 +57,6 @@ Qt::ElideNone - - QListView::TopToBottom - false @@ -109,369 +106,194 @@ 0 - - - 0 - - - 0 - - - 0 + + + 5 - - - 1 + + + Default save directory - - - Saving - - - - - - 4 - - - 0 - - - - - Default save directory: - - - - - - - - - Path to default selection dir for saving - - - - - - - - 112 - 0 - - - - Browse filesystem - - - Browse - - - - - - - - - - - 0 - - - - - - - Default filename: - - - - - - - Default filename - - - - - - - - - - - Format - - - - - - - - 112 - 0 - - - - Default saving image format - - - - - - - - - - - 4 - - - - - Copy file name to the clipboard when saving - - - - - - - - 0 - 0 - - - - - Do not copy - - - - - Copy file name only - - - + + + + + Path to default selection dir for saving + + + + + + + + 112 + 0 + + + + Browse filesystem + + + Browse + + + + + + + + + + Default file + + + + + + 0 + + + + + - Copy full file path + Name: - - - - - - - - - Qt::Vertical - - - - 20 - 82 - - - - - - - - - Screenshot - - - - - - - - Delay: - - - - - - - Default delay before grabbing screen - - - false - - - sec - - - - - - 90 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - No window decoration - - - - - - - - - - - - 0 - 0 - - - - Qt::LeftToRight - - - Type: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - true - - - Type of screenshot - - - 0 - - - - Full screen + + + + + + Default filename - - + + + + + + + + - Window + Format - - - - Screen area + + + + + + + 112 + 0 + - - - - Previous selection + + Default saving image format - - - - - - - Qt::Horizontal - - - - 118 - 28 - - - - - - - - - - Image quality - - - - - - - - - Image quality (1 - small file, 100 - high quality) - - - 100 - - - 1 - - - Qt::Horizontal - - - - - - - Current - - - Qt::AlignCenter - - - - - - - - - Include mouse pointer - - + + + + + + + + + + + + + 4 + + + + + Copy file name to the clipboard when saving + + + + + + + + 0 + 0 + + + + + Do not copy + - - - - Zoom area around mouse in selection mode - - + + + Copy file name only + - - - - Qt::Vertical - - - - 20 - 117 - - - + + + Copy full file path + - - + + + + + + + + Image quality + + + + + + Image quality (1 - small file, 100 - high quality) + + + 100 + + + 1 + + + Qt::Horizontal + + + + + + + Current + + + Qt::AlignCenter + + + + + + + + Qt::Vertical + + + + 20 + 298 + + + + + + 5 + 0 @@ -606,6 +428,9 @@ + + 5 + 0 @@ -842,63 +667,9 @@ - - - - 112 - 0 - - - - Restore default settings - - - Defaults - - - - - - - Qt::Horizontal - - - - 88 - 20 - - - - - - - - - 112 - 0 - - - - Save settings - - - Save - - - - - - - - 112 - 0 - - - - Discard changes - - - Cancel + + + QDialogButtonBox::Cancel|QDialogButtonBox::RestoreDefaults|QDialogButtonBox::Save @@ -913,10 +684,6 @@
    qkeysequencewidget.h
    - - butSaveOpt - butCancel - diff --git a/src/core/ui/mainwindow.cpp b/src/core/ui/mainwindow.cpp index 8d587ce..e6cbd4e 100644 --- a/src/core/ui/mainwindow.cpp +++ b/src/core/ui/mainwindow.cpp @@ -32,7 +32,7 @@ #include MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), - _ui(new Ui::MainWindow), _conf(NULL), _trayMenu(NULL) + _ui(new Ui::MainWindow), _conf(nullptr), _trayMenu(nullptr) { _ui->setupUi(this); _trayed = false; @@ -56,8 +56,9 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), connect(_globalShortcutSignals, SIGNAL(mapped(int)), this, SLOT(globalShortcutActivate(int))); #endif - _trayIcon = NULL; - _hideWnd = NULL; + _trayIcon = nullptr; + _hideWnd = nullptr; + _trayMenu = nullptr; // create actions menu actNew = new QAction(QIcon::fromTheme("document-new"), tr("New"), this); @@ -106,14 +107,20 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), void (QComboBox::*typeScr)(int) = &QComboBox::currentIndexChanged; connect(_ui->cbxTypeScr, typeScr, this, &MainWindow::typeScreenShotChange); connect(_ui->checkIncludeCursor, &QCheckBox::toggled, this, &MainWindow::checkIncludeCursor); + connect(_ui->checkNoDecoration, &QCheckBox::toggled, this, &MainWindow::checkNoDecoration); + connect(_ui->checkZommMouseArea, &QCheckBox::toggled, this, &MainWindow::checkZommMouseArea); - QIcon icon(":/res/img/logo.png"); - setWindowIcon(icon); + appIcon = QIcon::fromTheme ("screengrab"); + if (appIcon.isNull()) + appIcon = QIcon(":/res/img/logo.png"); + + setWindowIcon(appIcon); QRect geometry = QApplication::desktop()->availableGeometry(QApplication::desktop()->screenNumber()); move(geometry.width() / 2 - width() / 2, geometry.height() / 2 - height() / 2); _ui->scrLabel->installEventFilter(this); + _ui->delayBox->installEventFilter(this); } MainWindow::~MainWindow() @@ -151,20 +158,29 @@ void MainWindow::resizeEvent(QResizeEvent *event) // get size dcreen pixel map QSize scaleSize = Core::instance()->getPixmap()->size(); // get orig size pixmap - scaleSize.scale(_ui->scrLabel->size(), Qt::KeepAspectRatio); + scaleSize.scale(_ui->scrLabel->contentsRect().size(), Qt::KeepAspectRatio); - // if not scrlabel pixmap if (!_ui->scrLabel->pixmap() || scaleSize != _ui->scrLabel->pixmap()->size()) updatePixmap(Core::instance()->getPixmap()); } bool MainWindow::eventFilter(QObject* obj, QEvent* event) { - if (obj == _ui->scrLabel && event->type() == QEvent::ToolTip) - displatScreenToolTip(); - - else if (obj == _ui->scrLabel && event->type() == QEvent::MouseButtonDblClick) - Core::instance()->openInExtViewer(); + if (obj == _ui->scrLabel) + { + if (event->type() == QEvent::ToolTip) + displatScreenToolTip(); + else if (event->type() == QEvent::MouseButtonDblClick) + Core::instance()->openInExtViewer(); + } + else if (obj == _ui->delayBox && event->type() == QEvent::ShortcutOverride) + { // filter out Ctrl+C because we need it + if (QKeyEvent *keyEvent = static_cast(event)) + { + if ((keyEvent->modifiers() & Qt::ControlModifier) && keyEvent->key() == Qt::Key_C) + return true; + } + } return QObject::eventFilter(obj, event); } @@ -172,8 +188,11 @@ bool MainWindow::eventFilter(QObject* obj, QEvent* event) void MainWindow::updatePixmap(QPixmap *pMap) { - _ui->scrLabel->setPixmap(pMap->scaled(_ui->scrLabel->size(), - Qt::KeepAspectRatio, Qt::SmoothTransformation)); + QSize lSize = _ui->scrLabel->contentsRect().size(); + // never scale up the image beyond its real size + _ui->scrLabel->setPixmap(lSize.width() < pMap->width() || lSize.height() < pMap->height() + ? pMap->scaled(lSize, Qt::KeepAspectRatio, Qt::SmoothTransformation) + : *pMap); } void MainWindow::updateModulesActions(QList list) @@ -219,7 +238,7 @@ void MainWindow::show() if (_conf->getShowTrayIcon()) { _trayIcon->blockSignals(false); - _trayIcon->setContextMenu(_trayMenu); // enable context menu + _trayIcon->setContextMenu(_trayMenu); } if (_trayIcon) @@ -230,7 +249,7 @@ void MainWindow::show() bool MainWindow::isTrayed() const { - return _trayIcon != NULL; + return _trayIcon != nullptr; } void MainWindow::showTrayMessage(const QString& header, const QString& message) @@ -294,7 +313,7 @@ void MainWindow::showHelp() void MainWindow::showOptions() { - ConfigDialog *options = new ConfigDialog(); + ConfigDialog *options = new ConfigDialog(this); #ifdef SG_GLOBAL_SHORTCUTS globalShortcutBlock(true); #endif @@ -302,9 +321,12 @@ void MainWindow::showOptions() if (isMinimized()) { showNormal(); + disableTrayMenuActions(true); if (options->exec() == QDialog::Accepted) updateUI(); - hideToShot(); + disableTrayMenuActions(false); + if (_trayIcon) // the tray may have been removed + windowHideShow(); // hides the window in this case } else { @@ -325,8 +347,10 @@ void MainWindow::showAbout() if (isMinimized()) { showNormal(); + disableTrayMenuActions(true); about->exec(); - hideToShot(); + disableTrayMenuActions(false); + windowHideShow(); // hides the window in this case } else about->exec(); @@ -343,7 +367,7 @@ void MainWindow::displatScreenToolTip() if (_conf->getEnableExtView()) { toolTip += "\n\n"; - toolTip += tr("Double click for open screenshot in external default image viewer"); + toolTip += tr("Double click to open screenshot in external default image viewer"); } _ui->scrLabel->setToolTip(toolTip); @@ -370,36 +394,53 @@ void MainWindow::createTray() _trayMenu->addSeparator(); _trayMenu->addAction(actQuit); - // icon menu - QIcon icon(":/res/img/logo.png"); - _trayIcon = new QSystemTrayIcon(this); _trayIcon->setContextMenu(_trayMenu); - _trayIcon->setIcon(icon); + _trayIcon->setIcon(appIcon); _trayIcon->show(); connect(_trayIcon, &QSystemTrayIcon::activated, this, &MainWindow::trayClick); } +void MainWindow::disableTrayMenuActions(bool disable) +{ + // On the one hand, QSystemTrayIcon::setContextMenu() can't be used for changing/removing + // the menu. On the other hand, deleting/recreating the current menu isn't a good way of + // disabling the context menu. Instead, we disable/enable menu ACTIONS when needed. + if (_trayMenu) + { + const QList actions = _trayMenu->actions(); + for (QAction *action : actions) + action->setDisabled(disable); + } +} + void MainWindow::killTray() { + // the actions should be enabled because they're shared with the main window + disableTrayMenuActions(false); + _trayed = false; - _trayMenu->clear(); + + delete _trayMenu; + _trayMenu = nullptr; delete _trayIcon; - _trayIcon = NULL; + _trayIcon = nullptr; } void MainWindow::delayBoxChange(int delay) { - if (delay == 0) - _ui->delayBox->setSpecialValueText(tr("None")); _conf->setDelay(delay); } void MainWindow::typeScreenShotChange(int type) { - _conf->setScreenshotType(type); + _conf->setDefScreenshotType(type); + // show/hide checkboxes according to the type + _ui->checkNoDecoration->setVisible(type == 1); + _ui->checkIncludeCursor->setVisible(type < 2); + _ui->checkZommMouseArea->setVisible(type >= 2); } void MainWindow::checkIncludeCursor(bool include) @@ -407,11 +448,30 @@ void MainWindow::checkIncludeCursor(bool include) _conf->setIncludeCursor(include); } +void MainWindow::checkNoDecoration(bool noDecor) +{ + _conf->setNoDecoration(noDecor); +} + +void MainWindow::checkZommMouseArea(bool zoom) +{ + _conf->setZoomAroundMouse(zoom); +} + // updating UI from configdata void MainWindow::updateUI() { _ui->delayBox->setValue(_conf->getDelay()); - _ui->cbxTypeScr->setCurrentIndex(_conf->getDefScreenshotType()); + + int type = _conf->getDefScreenshotType(); + _ui->cbxTypeScr->setCurrentIndex(type); + // show/hide checkboxes according to the type + _ui->checkNoDecoration->setVisible(type == 1); + _ui->checkIncludeCursor->setVisible(type < 2); + _ui->checkZommMouseArea->setVisible(type >= 2); + + _ui->checkZommMouseArea->setChecked(_conf->getZoomAroundMouse()); + _ui->checkNoDecoration->setChecked(_conf->getNoDecoration()); _ui->checkIncludeCursor->setChecked(_conf->getIncludeCursor()); updateShortcuts(); @@ -428,6 +488,12 @@ void MainWindow::updateUI() // mouse clicks on tray icom void MainWindow::trayClick(QSystemTrayIcon::ActivationReason reason) { + if (findChildren().count() > 0) + { // just activate the window when there's a dialog + activateWindow(); + raise(); + return; + } switch(reason) { case QSystemTrayIcon::Trigger: @@ -460,7 +526,7 @@ void MainWindow::hideToShot() if (_conf->getShowTrayIcon()) { _trayIcon->blockSignals(true); - _trayIcon->setContextMenu(NULL); // enable context menu + disableTrayMenuActions(true); } hide(); @@ -479,47 +545,51 @@ void MainWindow::showWindow(const QString& str) void MainWindow::restoreFromShot() { - if (!isVisible() && !_trayed) - showNormal(); - - // if show tray if (_conf->getShowTrayIcon()) { _trayIcon->blockSignals(false); - _trayIcon->setContextMenu(_trayMenu); // enable context menu + disableTrayMenuActions(false); } + showNormal(); } void MainWindow::saveScreen() { + bool wasMinimized(isMinimized()); + if (wasMinimized) + { + showNormal(); + disableTrayMenuActions(true); + } + // create initial filepath QHash formatsAvalible; + const QStringList formatIDs = _conf->getFormatIDs(); + for (const QString &formatID : formatIDs) + formatsAvalible[formatID] = tr("%1 Files").arg(formatID.toUpper()); - formatsAvalible["png"] = tr("PNG Files"); - formatsAvalible["jpg"] = tr("JPEG Files"); - - QString format = "png"; + QString format = formatIDs.at(_conf->getDefaultFormatID()); _conf->getSaveFormat(); Core* c = Core::instance(); QString filePath = c->getSaveFilePath(format); - // create file filters - QString fileFilters; - QString filterSelected; - filterSelected = formatsAvalible[format]; + // create file filters + QStringList fileFilters; QHash::const_iterator iter = formatsAvalible.constBegin(); while (iter != formatsAvalible.constEnd()) { - fileFilters.append(iter.value() + " (*." + iter.key() + ");;"); + QString str = iter.value() + " (*." + iter.key() + ")"; + if (iter.key() == format) + filterSelected = str; + fileFilters << str; ++iter; } - fileFilters.chop(2); QString fileName; - fileName = QFileDialog::getSaveFileName(this, tr("Save As..."), filePath, fileFilters, &filterSelected, QFileDialog::DontUseNativeDialog); + fileName = QFileDialog::getSaveFileName(this, tr("Save As..."), filePath, fileFilters.join(";;"), &filterSelected); QRegExp rx("\\(\\*\\.[a-z]{3,4}\\)"); quint8 tmp = filterSelected.size() - rx.indexIn(filterSelected); @@ -527,6 +597,12 @@ void MainWindow::saveScreen() filterSelected.chop(tmp + 1); format = formatsAvalible.key(filterSelected); + if (wasMinimized) + { + disableTrayMenuActions(false); + windowHideShow(); // hides the window in this case + } + // if user canceled saving if (fileName.isEmpty()) return; diff --git a/src/core/ui/mainwindow.h b/src/core/ui/mainwindow.h index 7a774a9..0cefdd3 100644 --- a/src/core/ui/mainwindow.h +++ b/src/core/ui/mainwindow.h @@ -82,6 +82,7 @@ private: QMenu *_trayMenu; QShortcut *_hideWnd; bool _trayed; + QIcon appIcon; #ifdef SG_GLOBAL_SHORTCUTS QxtGlobalShortcut *_fullScreen; @@ -95,6 +96,7 @@ private: void displatScreenToolTip(); void createTray(); void killTray(); + void disableTrayMenuActions(bool disable); void updateShortcuts(); private Q_SLOTS: @@ -105,6 +107,8 @@ private Q_SLOTS: void delayBoxChange(int); void typeScreenShotChange(int type); void checkIncludeCursor(bool include); + void checkNoDecoration(bool noDecor); + void checkZommMouseArea(bool zoom); void updateUI(); void trayClick(QSystemTrayIcon::ActivationReason reason); diff --git a/src/core/ui/mainwindow.ui b/src/core/ui/mainwindow.ui index af1abe3..fd9db20 100644 --- a/src/core/ui/mainwindow.ui +++ b/src/core/ui/mainwindow.ui @@ -6,16 +6,10 @@ 0 0 - 480 - 343 + 640 + 498 - - - 480 - 299 - - ScreenGrab @@ -26,10 +20,10 @@ 0 - - Qt::RightToLeft - + + 5 + @@ -40,8 +34,8 @@ - 450 - 190 + 600 + 400 @@ -59,147 +53,137 @@ - - - - 0 - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Qt::Horizontal - - - - 40 - 13 - - - - - - - - true - - - Type of screenshot - - - 0 - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - - - - - 0 - 0 - - - - Qt::LeftToRight - + + + + + Qt::Horizontal + + + + 5 + 5 + + + + + + + + + 0 + 0 + + + + Type: + + + + + + + true + + + Type of screenshot + + + 0 + + - Type: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - Delay in seconds before taking screenshot - - - sec - - - 90 - - - - - - - - 0 - 0 - + Full screen + + - Delay + Window - - - - - - Qt::Horizontal + + + + Screen area - - - 40 - 13 - + + + + Last selected area - - - - + +
    + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 20 + 5 + + + + + + + + + 0 + 0 + + + + Delay: + + + + + + + + 0 + 0 + + + + Delay in seconds before taking screenshot + + + None + + + sec + + + 90 + + + + + + + Qt::Horizontal + + + + 5 + 5 + + + + + + + 10 + @@ -207,12 +191,26 @@ - 40 - 20 + 5 + 5 + + + + Zoom area around mouse + + + + + + + No window decoration + + + @@ -227,8 +225,8 @@ - 40 - 20 + 5 + 5 diff --git a/src/modules/extedit/extedit.cpp b/src/modules/extedit/extedit.cpp index aea43d9..05074e4 100644 --- a/src/modules/extedit/extedit.cpp +++ b/src/modules/extedit/extedit.cpp @@ -88,6 +88,6 @@ void ExtEdit::createAppList() QMimeType mt = db.mimeTypeForFile(fileName); _appList = XdgDesktopFileCache::getApps(mt.name()); - foreach (XdgDesktopFile *app, _appList) + for (XdgDesktopFile *app : qAsConst(_appList)) _actionList << new XdgAction(app); } diff --git a/src/modules/extedit/moduleextedit.cpp b/src/modules/extedit/moduleextedit.cpp index 09eb09b..af1445a 100644 --- a/src/modules/extedit/moduleextedit.cpp +++ b/src/modules/extedit/moduleextedit.cpp @@ -47,9 +47,9 @@ void ModuleExtEdit::init() QMenu* ModuleExtEdit::initModuleMenu() { QMenu *menu = new QMenu(QObject::tr("Edit in..."), 0); - QList actionsList = _extEdit->getActions(); + const QList actionsList = _extEdit->getActions(); - foreach (XdgAction *appAction, actionsList) + for (XdgAction *appAction : actionsList) { menu->addAction(appAction); appAction->disconnect(SIGNAL(triggered())); diff --git a/src/modules/uploader/uploaderconfig.cpp b/src/modules/uploader/uploaderconfig.cpp index 287a806..ac792fe 100644 --- a/src/modules/uploader/uploaderconfig.cpp +++ b/src/modules/uploader/uploaderconfig.cpp @@ -33,8 +33,7 @@ QStringList UploaderConfig::_labelsList = QStringList() << "Imgur"; UploaderConfig::UploaderConfig() { - QString configFile = Config::getConfigDir() + QDir::separator() + "uploader.conf"; - _settings = new QSettings(configFile, QSettings::IniFormat); + _settings = new QSettings ("screengrab", "uploader"); _groupsList << "imgur.com" << "mediacru.sh"; } diff --git a/translations/extedit.ts b/translations/extedit.ts deleted file mode 100644 index bcf4273..0000000 --- a/translations/extedit.ts +++ /dev/null @@ -1,1064 +0,0 @@ - - - - - AboutDialog - - - built on - - - - - using Qt - - - - - About - - - - - Thanks - - - - - Help us - - - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - - - - - - E-Mail - - - - - Web site - - - - - Licensed under the - - - - - Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - - - - - You can join us and help us if you want. This is an invitation if you like this application. - - - - - What you can do? - - - - - Translate ScreenGrab to other languages - - - - - Make suggestions for next releases - - - - - Report bugs and issues - - - - - Bug tracker - - - - - Translate: - - - - - Brazilian Portuguese translation - - - - - Marcio Moraes - - - - - Ukrainian translation - - - - - Gennadi Motsyo - - - - - Spanish translation - - - - - Burjans L García D - - - - - Italian translation - - - - - Testing: - - - - - Dual monitor support and other in Linux - - - - - Dual monitor support in Linux - - - - - win32-build [Windows XP and 7] - - - - - old win32-build [Windows Vista] - - - - - win32-build [Windows 7] - - - - - ConfigDialog - - - Directory %1 does not exist. Do you want to create it? - - - - - - Warning - - - - - Select directory - - - - - Do you want to reset the settings to the defaults? - - - - - None - - - - - Example: - - - - - This key is already used in your system! Please select another. - - - - - This key is already used in ScreenGrab! Please select another. - - - - - This key is not supported on your system! - - - - - Error - - - - - Core - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - Take a fullscreen screenshot - - - - - Take a screenshot of the active window - - - - - Take a screenshot of a selection of the screen - - - - - Run the application with a hidden main window - - - - - Saved - - - - - Saved to - - - - - Name of saved file is copied to the clipboard - - - - - Path to saved file is copied to the clipboard - - - - - Copied - - - - - Screenshot is copied to clipboard - - - - - DialogUploader - - - Upload to internet - - - - - Upload to - - - - - Direct link: - - - - - - Open this link in the default web-browser - - - - - - Open - - - - - - Copy this link to the clipboard - - - - - - Copy - - - - - Extended preformed html or bb codes: - - - - - Link to delete image: - - - - - Upload - - - - - Cancel - - - - - Size: - - - - - pixel - - - - - Uploaded - - - - - - Ready to upload - - - - - Upload processing... Please wait - - - - - Receiving a response from the server - - - - - Upload completed - - - - - - Close - - - - - Error uploading screenshot - - - - - Error - - - - - Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. - - - - - Are you sure you want to continue? - - - - - MainWindow - - - ScreenGrab - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Type: - - - - - Delay in seconds before taking screenshot - - - - - sec - - - - - Delay - - - - - Include mouse pointer - - - - - toolBar - - - - - New - - - - - Save - - - - - Copy - - - - - Options - - - - - - Help - - - - - About - - - - - Quit - - - - - Screenshot - - - - - Double click for open screenshot in external default image viewer - - - - - - Hide - - - - - None - - - - - Show - - - - - PNG Files - - - - - JPEG Files - - - - - Save As... - - - - - ModuleUploader - - - Upload the screenshot to the default image host - - - - - Uploading - - - - - QApplication - - - Use your mouse to draw a rectangle to screenshot or exit pressing -any key or using the right or middle mouse buttons. - - - - - %1 x %2 pixels - - - - - QObject - - - External edit - - - - - Edit in... - - - - - Upload - - - - - Uploader - - - Direct link - - - - - HTML code - - - - - BB code - - - - - HTML code with thumb image - - - - - BB code with thumb image - - - - - URl to delete image - - - - - UploaderConfigWidget - - - Common settings - - - - - Default image host - - - - - Always copy the link to the clipboard - - - - - Hosts settings - - - - - Settings for: - - - - - UploaderConfigWidget_ImgUr - - - Configuration for imgur.com upload - - - - - No settings available right now - - - - - Uploader_ImgUr_Widget - - - Upload to Imgur - - - - - aboutWidget - - - About Qt - - - - - Close - - - - - configwidget - - - - Options - - - - - Main - - - - - Advanced - - - - - System tray - - - - - Shortcuts - - - - - Saving - - - - - Default save directory: - - - - - Path to default selection dir for saving - - - - - Browse filesystem - - - - - Browse - - - - - Default filename: - - - - - Default filename - - - - - Format - - - - - Default saving image format - - - - - Copy file name to the clipboard when saving - - - - - Do not copy - - - - - Copy file name only - - - - - Copy full file path - - - - - Screenshot - - - - - Delay: - - - - - Default delay before grabbing screen - - - - - - sec - - - - - No window decoration - - - - - Type: - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Image quality - - - - - Image quality (1 - small file, 100 - high quality) - - - - - Include mouse pointer - - - - - Zoom area around mouse in selection mode - - - - - Inserting current date time into saved filename - - - - - Insert current date and time in file name - - - - - Template: - - - - - Example: - - - - - Automatically saving screenshots in grabbing process - - - - - Autosave screenshot - - - - - Save first screenshot - - - - - Allow run multiplies copy of ScreenGrab - - - - - Allow multiple instances of ScreenGrab - - - - - Open in external viewer on double click - - - - - Enable external viewer - - - - - Fit to edges only inside selected screen area - - - - - Fit to edges inside selected area - - - - - Show ScreenGrab in the system tray - - - - - Tray messages: - - - - - Tray messages display mode - - - - - Never - - - - - Tray mode - - - - - Always - - - - - Time of display tray messages - - - - - Time to display tray messages - - - - - Minimize to tray on click close button - - - - - Minimize to tray when closing - - - - - Action - - - - - Shortcut - - - - - Global shortcuts - - - - - Fill screen - - - - - Active window - - - - - Area select - - - - - Local shortcuts - - - - - New screen - - - - - Save screen - - - - - Copy screen - - - - - Help - - - - - Quit - - - - - Selected shortcut: - - - - - Not defined - - - - - Restore default settings - - - - - Defaults - - - - - Save settings - - - - - Save - - - - - Discard changes - - - - - Cancel - - - - diff --git a/translations/extedit_fr_FR.ts b/translations/extedit_fr_FR.ts deleted file mode 100644 index b898faa..0000000 --- a/translations/extedit_fr_FR.ts +++ /dev/null @@ -1,1064 +0,0 @@ - - - - - AboutDialog - - - built on - - - - - using Qt - - - - - About - - - - - Thanks - - - - - Help us - - - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - - - - - - E-Mail - - - - - Web site - - - - - Licensed under the - - - - - Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - - - - - You can join us and help us if you want. This is an invitation if you like this application. - - - - - What you can do? - - - - - Translate ScreenGrab to other languages - - - - - Make suggestions for next releases - - - - - Report bugs and issues - - - - - Bug tracker - - - - - Translate: - - - - - Brazilian Portuguese translation - - - - - Marcio Moraes - - - - - Ukrainian translation - - - - - Gennadi Motsyo - - - - - Spanish translation - - - - - Burjans L García D - - - - - Italian translation - - - - - Testing: - - - - - Dual monitor support and other in Linux - - - - - Dual monitor support in Linux - - - - - win32-build [Windows XP and 7] - - - - - old win32-build [Windows Vista] - - - - - win32-build [Windows 7] - - - - - ConfigDialog - - - Directory %1 does not exist. Do you want to create it? - - - - - - Warning - - - - - Select directory - - - - - Do you want to reset the settings to the defaults? - - - - - None - - - - - Example: - - - - - This key is already used in your system! Please select another. - - - - - This key is already used in ScreenGrab! Please select another. - - - - - This key is not supported on your system! - - - - - Error - - - - - Core - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - Take a fullscreen screenshot - - - - - Take a screenshot of the active window - - - - - Take a screenshot of a selection of the screen - - - - - Run the application with a hidden main window - - - - - Saved - - - - - Saved to - - - - - Name of saved file is copied to the clipboard - - - - - Path to saved file is copied to the clipboard - - - - - Copied - - - - - Screenshot is copied to clipboard - - - - - DialogUploader - - - Upload to internet - - - - - Upload to - - - - - Direct link: - - - - - - Open this link in the default web-browser - - - - - - Open - - - - - - Copy this link to the clipboard - - - - - - Copy - - - - - Extended preformed html or bb codes: - - - - - Link to delete image: - - - - - Upload - - - - - Cancel - - - - - Size: - - - - - pixel - - - - - Uploaded - - - - - - Ready to upload - - - - - Upload processing... Please wait - - - - - Receiving a response from the server - - - - - Upload completed - - - - - - Close - - - - - Error uploading screenshot - - - - - Error - - - - - Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. - - - - - Are you sure you want to continue? - - - - - MainWindow - - - ScreenGrab - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Type: - - - - - Delay in seconds before taking screenshot - - - - - sec - - - - - Delay - - - - - Include mouse pointer - - - - - toolBar - - - - - New - - - - - Save - - - - - Copy - - - - - Options - - - - - - Help - - - - - About - - - - - Quit - - - - - Screenshot - - - - - Double click for open screenshot in external default image viewer - - - - - - Hide - - - - - None - - - - - Show - - - - - PNG Files - - - - - JPEG Files - - - - - Save As... - - - - - ModuleUploader - - - Upload the screenshot to the default image host - - - - - Uploading - - - - - QApplication - - - Use your mouse to draw a rectangle to screenshot or exit pressing -any key or using the right or middle mouse buttons. - - - - - %1 x %2 pixels - - - - - QObject - - - External edit - Édition externe - - - - Edit in... - Éditer avec... - - - - Upload - - - - - Uploader - - - Direct link - - - - - HTML code - - - - - BB code - - - - - HTML code with thumb image - - - - - BB code with thumb image - - - - - URl to delete image - - - - - UploaderConfigWidget - - - Common settings - - - - - Default image host - - - - - Always copy the link to the clipboard - - - - - Hosts settings - - - - - Settings for: - - - - - UploaderConfigWidget_ImgUr - - - Configuration for imgur.com upload - - - - - No settings available right now - - - - - Uploader_ImgUr_Widget - - - Upload to Imgur - - - - - aboutWidget - - - About Qt - - - - - Close - - - - - configwidget - - - - Options - - - - - Main - - - - - Advanced - - - - - System tray - - - - - Shortcuts - - - - - Saving - - - - - Default save directory: - - - - - Path to default selection dir for saving - - - - - Browse filesystem - - - - - Browse - - - - - Default filename: - - - - - Default filename - - - - - Format - - - - - Default saving image format - - - - - Copy file name to the clipboard when saving - - - - - Do not copy - - - - - Copy file name only - - - - - Copy full file path - - - - - Screenshot - - - - - Delay: - - - - - Default delay before grabbing screen - - - - - - sec - - - - - No window decoration - - - - - Type: - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Image quality - - - - - Image quality (1 - small file, 100 - high quality) - - - - - Include mouse pointer - - - - - Zoom area around mouse in selection mode - - - - - Inserting current date time into saved filename - - - - - Insert current date and time in file name - - - - - Template: - - - - - Example: - - - - - Automatically saving screenshots in grabbing process - - - - - Autosave screenshot - - - - - Save first screenshot - - - - - Allow run multiplies copy of ScreenGrab - - - - - Allow multiple instances of ScreenGrab - - - - - Open in external viewer on double click - - - - - Enable external viewer - - - - - Fit to edges only inside selected screen area - - - - - Fit to edges inside selected area - - - - - Show ScreenGrab in the system tray - - - - - Tray messages: - - - - - Tray messages display mode - - - - - Never - - - - - Tray mode - - - - - Always - - - - - Time of display tray messages - - - - - Time to display tray messages - - - - - Minimize to tray on click close button - - - - - Minimize to tray when closing - - - - - Action - - - - - Shortcut - - - - - Global shortcuts - - - - - Fill screen - - - - - Active window - - - - - Area select - - - - - Local shortcuts - - - - - New screen - - - - - Save screen - - - - - Copy screen - - - - - Help - - - - - Quit - - - - - Selected shortcut: - - - - - Not defined - - - - - Restore default settings - - - - - Defaults - - - - - Save settings - - - - - Save - - - - - Discard changes - - - - - Cancel - - - - diff --git a/translations/screengrab.ts b/translations/screengrab.ts index 153c806..adcf138 100644 --- a/translations/screengrab.ts +++ b/translations/screengrab.ts @@ -4,158 +4,118 @@ AboutDialog - - built on - - - - using Qt - About - Thanks - Help us - is a crossplatform application for fast creating screenshots of your desktop. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. + It is a light and powerful application, written in Qt. - - - E-Mail + Website - - Web site - - - - Licensed under the - Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - You can join us and help us if you want. This is an invitation if you like this application. - What you can do? - Translate ScreenGrab to other languages - Make suggestions for next releases - Report bugs and issues - Bug tracker - Translate: - Brazilian Portuguese translation - Marcio Moraes - Ukrainian translation - Gennadi Motsyo - Spanish translation - Burjans L García D - Italian translation - Testing: - Dual monitor support and other in Linux - Dual monitor support in Linux - win32-build [Windows XP and 7] - old win32-build [Windows Vista] - win32-build [Windows 7] @@ -163,53 +123,38 @@ ConfigDialog - Directory %1 does not exist. Do you want to create it? - - Warning - Select directory - Do you want to reset the settings to the defaults? - - None - - - - Example: - This key is already used in your system! Please select another. - This key is already used in ScreenGrab! Please select another. - This key is not supported on your system! - Error @@ -217,57 +162,46 @@ Core - is a crossplatform application for fast creating screenshots of your desktop. - Take a fullscreen screenshot - Take a screenshot of the active window - Take a screenshot of a selection of the screen - Run the application with a hidden main window - Saved - Saved to - Name of saved file is copied to the clipboard - Path to saved file is copied to the clipboard - Copied - Screenshot is copied to clipboard @@ -275,123 +209,94 @@ DialogUploader - Upload to internet - Upload to - Direct link: - - Open this link in the default web-browser - - Open - - Copy this link to the clipboard - - Copy - Extended preformed html or bb codes: - Link to delete image: - Upload - Cancel - Size: - pixel - Uploaded - - Ready to upload - Upload processing... Please wait - Receiving a response from the server - Upload completed - - Close - Error uploading screenshot - Error - Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. - Are you sure you want to continue? @@ -399,139 +304,114 @@ MainWindow - ScreenGrab - - Type: + Type: - Type of screenshot - Full screen - Window - Screen area - - Previous selection + Last selected area - - Delay + Delay: - Delay in seconds before taking screenshot - + None + + + sec - + Zoom area around mouse + + + + No window decoration + + + Include mouse pointer - toolBar - New - Save - Copy - Options - - Help - About - Quit - Screenshot - - Double click for open screenshot in external default image viewer + Double click to open screenshot in external default image viewer - - Hide - - None - - - - Show - - PNG Files + %1 Files - - JPEG Files - - - - Save As... @@ -539,12 +419,10 @@ ModuleUploader - Upload the screenshot to the default image host - Uploading @@ -552,13 +430,11 @@ QApplication - Use your mouse to draw a rectangle to screenshot or exit pressing any key or using the right or middle mouse buttons. - %1 x %2 pixels @@ -566,17 +442,14 @@ any key or using the right or middle mouse buttons. QObject - External edit - Edit in... - Upload @@ -584,32 +457,26 @@ any key or using the right or middle mouse buttons. Uploader - Direct link - HTML code - BB code - HTML code with thumb image - BB code with thumb image - URl to delete image @@ -617,27 +484,22 @@ any key or using the right or middle mouse buttons. UploaderConfigWidget - Common settings - Default image host - Always copy the link to the clipboard - Hosts settings - Settings for: @@ -645,12 +507,10 @@ any key or using the right or middle mouse buttons. UploaderConfigWidget_ImgUr - Configuration for imgur.com upload - No settings available right now @@ -658,7 +518,6 @@ any key or using the right or middle mouse buttons. Uploader_ImgUr_Widget - Upload to Imgur @@ -666,12 +525,10 @@ any key or using the right or middle mouse buttons. aboutWidget - About Qt - Close @@ -679,386 +536,236 @@ any key or using the right or middle mouse buttons. configwidget - - Options - Main - Advanced - System tray - Shortcuts - - Saving + Default save directory - - Default save directory: - - - - Path to default selection dir for saving - Browse filesystem - Browse - - Default filename: + Default file + + + + Name: - Default filename - Format - Default saving image format - Copy file name to the clipboard when saving - Do not copy - Copy file name only - Copy full file path - - Screenshot - - - - - Delay: - - - - - Default delay before grabbing screen - - - - - - sec - - - - - No window decoration - - - - - Type: - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - Image quality - Image quality (1 - small file, 100 - high quality) - - Include mouse pointer - - - - - Zoom area around mouse in selection mode - - - - Inserting current date time into saved filename - Insert current date and time in file name - Template: - Example: - Automatically saving screenshots in grabbing process - Autosave screenshot - Save first screenshot - Allow run multiplies copy of ScreenGrab - Allow multiple instances of ScreenGrab - Open in external viewer on double click - Enable external viewer - Fit to edges only inside selected screen area - Fit to edges inside selected area - Show ScreenGrab in the system tray - Tray messages: - Tray messages display mode - Never - Tray mode - Always - Time of display tray messages - Time to display tray messages - + sec + + + Minimize to tray on click close button - Minimize to tray when closing - Action - Shortcut - Global shortcuts - Fill screen - Active window - Area select - Local shortcuts - New screen - Save screen - Copy screen - Help - Quit - Selected shortcut: - Not defined - - - Restore default settings - - - - - Defaults - - - - - Save settings - - - - - Save - - - - - Discard changes - - - - - Cancel - - diff --git a/translations/screengrab_de.ts b/translations/screengrab_de.ts index 3674fa8..e8523e7 100644 --- a/translations/screengrab_de.ts +++ b/translations/screengrab_de.ts @@ -4,162 +4,147 @@ AboutDialog - - built on - erstellt - - - + using Qt mit Qt - + About Über - + Thanks Dank an - - Licensed under the - Lizensiert unter + + It is a light and powerful application, written in Qt. + ScreenGrab ist eine einfache, aber leistungsstarke Anwendung, die auf die Qt-Bibliotheken aufsetzt. - - - E-Mail - E-Mail + + Website + Webseite - - Help us - Unterstützen Sie uns + + Licensed under the + Lizensiert unter - - Web site - Webseite + + Help us + Unterstützen Sie uns - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - + What you can do? Was können Sie tun? - + is a crossplatform application for fast creating screenshots of your desktop. ist eine plattformunabhängige Anwendung, um Bildschirmfotos aufzunehmen. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - ScreenGrab ist eine einfache, aber leistungsstarke Anwendung, die auf die Qt-Bibliotheken aufsetzt. Daher kann sie unter Windows und Linux genutzt werden. - - - + You can join us and help us if you want. This is an invitation if you like this application. Sie können sich anschließen und mithelfen, wenn Sie wollen. Dies ist eine Einladung dazu, wenn Sie ScreenGrab mögen. - + Translate ScreenGrab to other languages Übersetzen Sie ScreenGrab in andere Sprachen - + Make suggestions for next releases Machen Sie Verbesserungsvorschläge für nächste Versionen - + Report bugs and issues Melden Sie Problem und Fehler - + Bug tracker Bug-Tracker - + Translate: Übersetzung: - + Brazilian Portuguese translation Portugiesisch-Brasilianische Übersetzung - + Marcio Moraes Marcio Moraes - + Ukrainian translation Ukrainische Übersetzung - + Gennadi Motsyo Gennadi Motsyo - + Spanish translation Spanische Übersetzung - + Burjans L García D - Burjans L García D - Burjans L García D - - - + Italian translation Italienische Übersetzung - + Testing: Tester: - + Dual monitor support and other in Linux Dual-Monitor Unterstützung unter Linux und anderes - + Dual monitor support in Linux Dual-Monitor Unterstützung unter Linux - + win32-build [Windows XP and 7] win32-build [Windows XP and 7] - + old win32-build [Windows Vista] Vorheriger win32-build [Windows Vista] - + win32-build [Windows 7] win32-build [Windows 7] @@ -167,53 +152,48 @@ ConfigDialog - + Select directory Ordner wählen - - + + Warning Warnung - + Directory %1 does not exist. Do you want to create it? Der Ordner %1 existiert nicht. Möchten Sie ihn erstellen? - + Do you want to reset the settings to the defaults? Möchten Sie die Standardeinstellungen wieder herstellen? - - None - Keine - - - + Example: Beispiel: - + This key is already used in your system! Please select another. Diese Tastenkombination ist bereits von Ihrem System belegt! Bitte wählen Sie eine andere. - + This key is already used in ScreenGrab! Please select another. Diese Tastenkombination wird bereits von ScreenGrab verwendet! Bitte wählen Sie eine andere. - + This key is not supported on your system! Diese Tastenkombination wird von Ihrem System nicht unterstützt! - + Error Fehler @@ -221,65 +201,57 @@ Core - New screen - Neues Foto - - - New screen is getted! - Ein neues Foto wird aufgenommen! - - - + Saved Gespeichert - + Name of saved file is copied to the clipboard Der Name der gespeicherten Datei wird in die Zwischenablage kopiert - + Copied Kopiert - + Saved to Gespeichert nach - + is a crossplatform application for fast creating screenshots of your desktop. - ist eine plattformunabhängige Anwendung, um Bildschirmfotos aufzunehmen. + ist eine plattformunabhängige Anwendung, um Bildschirmfotos aufzunehmen. - + Take a fullscreen screenshot - + Take a screenshot of the active window - + Mache einen Screenshot des aktiven Fensters - + Take a screenshot of a selection of the screen - + Mache einen Screenshot von einem Ausschnitt des Bildschirms - + Run the application with a hidden main window - + Path to saved file is copied to the clipboard Der Pfad zur gespeicherten Datei wird in die Zwischenablage kopiert - + Screenshot is copied to clipboard Das Bildschirmfoto wird in die Zwischenablage kopiert @@ -411,203 +383,144 @@ MainWindow - + ScreenGrab ScreenGrab - - Type: - Aufnahme: + + Type: + Typ: - + Type of screenshot Art des Bildschirmfotos - + Full screen Vollbild - + Window Aktives Fenster - + Screen area Bildschirm-Bereich - - Previous selection - Vorige Auswahl + + Last selected area + Letzter gewählter Ausschnitt - - Include mouse pointer - - - - - toolBar - + + Delay: + Verzögerung: - Getting new screenshot - Erstelle neues Bildschirmfoto + + Zoom area around mouse + Bereich um die Maus zoomen - New Screen - Neues Foto + + No window decoration + Keine Fensterdekoration - Ctrl+N - Strg+N + + Include mouse pointer + Einschließlich Mauszeiger - - Delay - Verzögerung + + toolBar + - + Delay in seconds before taking screenshot Aufnahme-Verzögerung in Sekunden - + sec Sek - Save current screenshot into graphical file - Aktuelles Bildschirmfoto in Datei speichern - - - Save Screen - Foto speichern - - - Ctrl+S - Strg+S - - - Copy current screenshot into clipboard - Aktuelles Bildschirmfoto in die Zwischenablage kopieren - - - Copy Screen - Bildschirmfoto kopieren - - - Ctrl+C - Strg+C - - - Options dialog - Optionen-Dialog - - - + Options Optionen - Ctrl+O - Strg+O - - - Show help information - Hilfe anzeigen - - - - + + Help Hilfe - F1 - F1 - - - Exit from ScreenGrab - ScreenGrab beenden - - - Ctrl+Q - Strg+Q - - - + Quit Beenden - + Save Speichern - + New Neu - + Copy Kopieren - - + + Double click to open screenshot in external default image viewer + Doppelklicken, um das Bildschirmfoto in einem externen Bildbetrachter zu öffnen + + + + Hide Verbergen - + + %1 Files + %1 Dateien + + + About Über - + Screenshot Bildschirmfoto - - Double click for open screenshot in external default image viewer - Doppelklicken, um das Bildschirmfoto in einem externen Bildbetrachter zu öffnen - - - + None Keine - + Show Anzeigen - - PNG Files - PNG-Dateien - - - - JPEG Files - JPEG-Dateien - - - BMP Files - BMP-Dateien - - - + Save As... Speichern als... @@ -696,7 +609,7 @@ indem Sie die <Esc>-Taste oder die mittlere Maustaste drücken. Common settings - Allgemein + Allgemeine Einstellungen @@ -706,7 +619,7 @@ indem Sie die <Esc>-Taste oder die mittlere Maustaste drücken. Always copy the link to the clipboard - Immer den Link in die Zwischenablage kopieren + Den Link immer in die Zwischenablage kopieren @@ -729,19 +642,11 @@ indem Sie die <Esc>-Taste oder die mittlere Maustaste drücken. No settings available right now - - - - Now is nothing yet - Keine Konfiguration vorhanden + Zur Zeit keine Einstellungen verfügbar Uploader_ImgUr_Widget - - Upload to ImgUr.com - Nach <ImgUr.com> hochladen - Upload to Imgur @@ -765,389 +670,294 @@ indem Sie die <Esc>-Taste oder die mittlere Maustaste drücken.configwidget - + Options Optionen - + Default saving image format Standard-Bildformat - - Default delay before grabbing screen - Standard-Verzögerung vor der Aufnahme - - - + Inserting current date time into saved filename Aktuelles Datum und Uhrzeit in den Dateinamen einfügen - + Insert current date and time in file name Aktuelles Datum und Uhrzeit in den Dateinamen einfügen - + Autosave screenshot Foto automatisch speichern - + Save first screenshot Erstes Foto speichern - + Image quality Bildqualität - - Type: - Aufnahme: - - - - Type of screenshot - Art des Bildschirmfotos - - - - Full screen - Vollbild - - - - Window - Aktives Fenster - - - - Screen area - Bildschirm-Bereich - - - - Previous selection - Vorige Auswahl - - - + Image quality (1 - small file, 100 - high quality) Bildqualität (1 - kleine Datei, 100 - hohe Qualität) - - Include mouse pointer - - - - + Allow run multiplies copy of ScreenGrab Mehrere Instanzen von ScreenGrab zulassen - + Enable external viewer Externen Bildbetrachter aktivieren - + Fit to edges only inside selected screen area - + Fit to edges inside selected area - + Show ScreenGrab in the system tray Screengrab im Systemtray anzeigen - + Minimize to tray on click close button Beim Schließen in den Systemtray minimieren - + Minimize to tray when closing Beim Beenden in den Systemtray minimieren - + Action Aktion - + Global shortcuts Globale Tastenkombinationen - + Fill screen Bildschirmfoto ausfüllen - + Active window Aktives Fenster - + Area select Bereich wählen - + Local shortcuts Lokale Tastenkombinationen - + New screen Neues Bildschirmfoto - + Save screen Bildschirmfoto speichern - + Copy screen Bildschirmfoto kopieren - + Help Hilfe - Exit - Beenden - - - + Not defined Nicht definiert - - Restore default settings - Standard-Einstellungen wieder herstellen - - - - Defaults - Standardwerte - - - - Save settings - Einstellungen speichern - - - - Save - Speichern - - - - Discard changes - Änderungen verwerfen - - - - Cancel - Abbrechen - - - + Main Allgemein - + System tray Systemtray - - Saving - Speichere - - - - Default save directory: - Standard-Speicherordner: - - - + Path to default selection dir for saving Pfad zum Standard-Speicherordner - + Browse filesystem Dateisystem durchsuchen - + Browse Durchsuchen - - Default filename: - Standard-Dateiname: - - - + Default filename Standard-Dateiname - + Format Format - + Copy file name to the clipboard when saving Dateinamen beim Speichern in die Zwischenablage kopieren - + Do not copy Nicht kopieren - + Copy file name only Nur den Dateinamen kopieren - + Copy full file path Den vollständigen Dateipfad kopieren - - Screenshot - Bildschirmfoto + + sec + Sek - - Delay: - Verzögerung: + + Advanced + Erweitert - - - sec - Sek + + Default save directory + - - No window decoration - Keine Fensterdekoration + + Default file + - - Advanced - Erweitert + + Name: + - + Template: Vorlage: - + Example: Beispiel: - + Automatically saving screenshots in grabbing process Fotos während der Aufnahme automatisch speichern - + Tray messages: Symbolleisten-Meldungen: - + Tray messages display mode Meldungen in der Symbolleiste anzeigen - + Never Keine - + Tray mode Systemtray-Modus - + Always Immer - + Time of display tray messages Anzeigedauer in der Symbolleiste - + Time to display tray messages Anzeigedauer der Symbolleisten-Meldungen - + Shortcuts Tastenkombinationen - + Allow multiple instances of ScreenGrab Mehrere Instanzen von ScreenGrab zulassen - + Open in external viewer on double click Bei Doppel-Klick in externem Bildbetrachter öffnen - + Shortcut Tastenkombination - + Quit - Beenden + Beenden - + Selected shortcut: Ausgewählte Tastenkombination: - - - Zoom area around mouse in selection mode - Bereich um den Mauszeiger beim Auswählen vergrößern - diff --git a/translations/screengrab_es.desktop b/translations/screengrab_es.desktop new file mode 100644 index 0000000..8f95d57 --- /dev/null +++ b/translations/screengrab_es.desktop @@ -0,0 +1,3 @@ +Name[es]=ScreenGrab +GenericName[es]=Programa para capturas de pantalla +Comment[es]=Captura la pantalla diff --git a/translations/screengrab_es_ES.ts b/translations/screengrab_es.ts similarity index 60% rename from translations/screengrab_es_ES.ts rename to translations/screengrab_es.ts index 920f20f..63dc89c 100644 --- a/translations/screengrab_es_ES.ts +++ b/translations/screengrab_es.ts @@ -1,215 +1,199 @@ - + AboutDialog - - built on - construído en - - - + using Qt usando Qt - + About - Acerca + Acerca de - + Thanks Agradecimientos - - Licensed under the - Licencia bajo la + + It is a light and powerful application, written in Qt. + Es una aplicación ligera y potente, escrita usando Qt. - - Help us - + + Website + Sitio web - - - E-Mail - Correo E + + Licensed under the + Licenciado bajo la - - Web site - + + Help us + Ayúdenos - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - Copyright &copy; 2009-2012, Artem 'DOOMer' Galichkin {2009-2013,?} + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - + What you can do? - + ¿Qué puede hacer? - + is a crossplatform application for fast creating screenshots of your desktop. - - - - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - + es una aplicación multiplataforma para hacer rápidamente capturas de pantalla del escritorio. - + You can join us and help us if you want. This is an invitation if you like this application. - + Puede unirse a nosotros y ayudarnos si quiere. Es una invitación si le gusta esta aplicación. - + Translate ScreenGrab to other languages - + Traducir ScreenGrab a otros idiomas. - + Make suggestions for next releases - + Hacer sugerencias para próximas versiones - + Report bugs and issues - + Informar de fallos y otras cuestiones - + Bug tracker - + Seguimiento de errores - + Translate: - Traducciones: + Traducción: - + Brazilian Portuguese translation - Brasil - Portugués + traducción al portugués de Brasil - + Marcio Moraes Marcio Moraes - + Ukrainian translation - Ucraniano + traducción al ucraniano - + Gennadi Motsyo Gennadi Motsyo - + Spanish translation - + traducción al español - + Burjans L García D - + Burjans L García D - + Italian translation - + traducción al italiano - + Testing: Pruebas: - + Dual monitor support and other in Linux - + Soporte para monitor doble y otros en Linux - + Dual monitor support in Linux - + Soporte para monitor doble en Linux - + win32-build [Windows XP and 7] - + win32-build [Windows XP y 7] - + old win32-build [Windows Vista] - + antiguo win32-build [Windows Vista] - + win32-build [Windows 7] - + ConfigDialog - + Select directory - Selecciona el directorio + Seleccione el directorio - - + + Warning - Cuidado + Aviso - + Directory %1 does not exist. Do you want to create it? - + El directorio %1 no existe. ¿Desea crearlo? - + Do you want to reset the settings to the defaults? - + ¿Quiere reiniciar la configuración a la predefinida? - - None - No - - - + Example: Ejemplo: - + This key is already used in your system! Please select another. - + ¡La tecla ya está siendo usada por el sistema! Seleccione otra. - + This key is already used in ScreenGrab! Please select another. - + ¡La tecla ya está siendo usada en ScreenGrab! Seleccione otra. - + This key is not supported on your system! - Esta tecla nos es admitida en su sistema! + ¡La tecla no está permitida en su sistema! - + Error Error @@ -217,67 +201,59 @@ Core - New screen - Nueva captura - - - New screen is getted! - Nueva captura obtenida - - - + Saved Guardado - + Name of saved file is copied to the clipboard - + El nombre del archivo guardado se copia al portapapeles - + Copied Copiado - + Saved to - + Guardado en - + is a crossplatform application for fast creating screenshots of your desktop. - + es una aplicación multiplataforma para hacer rápidamente capturas de pantalla del escritorio. - + Take a fullscreen screenshot - + Hacer una captura de la pantalla completa - + Take a screenshot of the active window - + Hacer una captura de pantalla de la ventana activa - + Take a screenshot of a selection of the screen - + Hacer una captura de pantalla de un área de la pantalla - + Run the application with a hidden main window - + Ejecutar la aplicación con la ventana principal oculta - + Path to saved file is copied to the clipboard - + La ruta al archivo guardado se copia al portapapeles - + Screenshot is copied to clipboard - Captura copiada al portapapeles + La captura de pantalla se copia al portapapeles @@ -285,340 +261,281 @@ Upload to internet - + Subir a internet Upload to - + Subir a Direct link: - Enlace directo: + Enlace directo: Open this link in the default web-browser - + Abrir el enlace en el navegador por defecto Open - + Abrir Copy this link to the clipboard - + Copiar el enlace al portapapeles Copy - Copiar + Copiar Extended preformed html or bb codes: - + Códigos html o bb preformados extendidos: Link to delete image: - + Enlace para borrar la imagen: Upload - Subir + Subir Cancel - Cancelar + Cancelar Close - Cerrar + Cerrar Uploaded - Subido + Subido Size: - + Tamaño: pixel - + píxel Ready to upload - + Listo para subir Upload processing... Please wait - + Subida en proceso... Por favor, espere Receiving a response from the server - Recibiendo respuesta desde el servidor + Recibiendo respuesta desde el servidor Upload completed - + Subida completada Error uploading screenshot - + Error al subir la captura de pantalla Error - Error + Error Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. - + Abrir el enlace en el navegador por defecto; puede borrar directamente la imagen subida, sin ningún aviso. Are you sure you want to continue? - + ¿Seguro que quiere continuar? MainWindow - + Screenshot - + Captura de pantalla - - Double click for open screenshot in external default image viewer - - - - + Quit Salir - + Save Guardar - + New Nuevo - + Copy Copiar - - - Hide - Ocultar - - - - About - Acerca de SG - - - - PNG Files - Archivo PNG + + Double click to open screenshot in external default image viewer + Haga doble clic para abrir la captura de pantalla en el visor de imágenes externo por defecto + - JPEG Files - Archivo JPEG + Hide + Ocultar - BMP Files - Archivo BMP + + About + Acerca de - + Options Opciones - + None - No + Ninguna - + Show - Ver + Mostrar + + + + %1 Files + %1 archivos - + Save As... Guardar como... - + ScreenGrab - + ScreenGrab - - Type: - Tipo: + + Type: + Tipo: - + Type of screenshot - Tipo de captura + Tipo de captura de pantalla - + Full screen Pantalla completa - + Window Ventana - + Screen area - Area o porción - - - - Previous selection - + Área de la pantalla - - Include mouse pointer - + + Last selected area + Última área seleccionada - - toolBar - + + Delay: + Demora: - Getting new screenshot - Obtener nueva captura + + Zoom area around mouse + Ampliar el área alrededor del ratón - New Screen - Nueva captura + + No window decoration + Sin decoración de ventana - Ctrl+N - Ctrl+N + + Include mouse pointer + Incluir el puntero del ratón - - Delay - Retardo + + toolBar + - + Delay in seconds before taking screenshot - Demora en segundos antes hacer la captura + Demora en segundos antes hacer la captura de pantalla - + sec - seg - - - Save current screenshot into graphical file - Guardar actual captura como - - - Save Screen - Guardar captura - - - Ctrl+S - Ctrl+S - - - Copy current screenshot into clipboard - Copiar captura al portapapeles - - - Copy Screen - Copiar captura - - - Ctrl+C - Ctrl+C + s - Options dialog - Opciones de configuración - - - Ctrl+O - Ctrl+O - - - Show help information - Ver información de ayuda - - - - + + Help Ayuda - - F1 - F1 - - - Exit from ScreenGrab - Salir de ScreenGrab - - - Ctrl+Q - Ctrl+Q - ModuleUploader Upload the screenshot to the default image host - + Subir la captura de pantalla al sitio para imágenes por defecto Uploading - + Subiendo @@ -627,12 +544,13 @@ Use your mouse to draw a rectangle to screenshot or exit pressing any key or using the right or middle mouse buttons. - Use el arrastre del ratón para marcar el área y luego presione cualquier tecla. + Use el ratón para dibujar el rectángulo a capturar o salga pulsando +cualquier tecla o los botones derecho o central del ratón. %1 x %2 pixels - + %1 x %2 píxeles @@ -640,17 +558,17 @@ any key or using the right or middle mouse buttons. Upload - Subir + Subir External edit - + Edición externa Edit in... - + Editar en... @@ -658,32 +576,32 @@ any key or using the right or middle mouse buttons. Direct link - + Enlace directo HTML code - + Código HTML BB code - + Código BB HTML code with thumb image - + Código HTML con miniatura de imagen BB code with thumb image - + Código BB con miniatura de imagen URl to delete image - + URI para borrar la imagen @@ -691,27 +609,27 @@ any key or using the right or middle mouse buttons. Common settings - + Configuración general Default image host - + Sitio de imágenes por defecto Always copy the link to the clipboard - + Copiar siempre el enlace al portapapeles Hosts settings - + Configuración de los servidores Settings for: - + Configuración para: @@ -719,12 +637,12 @@ any key or using the right or middle mouse buttons. Configuration for imgur.com upload - + Configuración para subir a imgur.com No settings available right now - + No hay ajustes disponibles de momento @@ -732,7 +650,7 @@ any key or using the right or middle mouse buttons. Upload to Imgur - + Subir a Imgur @@ -752,389 +670,294 @@ any key or using the right or middle mouse buttons. configwidget - + Options Opciones - + Default saving image format - Formato por defecto para salvar imagen - - - - Default delay before grabbing screen - Tiempo predeterminando antes de grabar la captura + Formato por defecto al guardar imágenes - + Inserting current date time into saved filename - Agregando fecha y tiempo actual al nombre de archivo + Inserta la fecha y hora actuales en el nombre de archivo guardado - + Insert current date and time in file name - + Insertar la fecha y hora actuales en el nombre de archivo - + Autosave screenshot - Autosalvar captura + Guardar automáticamente la captura de pantalla - + Save first screenshot - Salvar primera captura + Guardar la primera captura de pantalla - + Image quality Calidad de la imagen - - Type: - Tipo: - - - - Type of screenshot - Tipo de captura - - - - Full screen - Pantalla completa - - - - Window - Ventana - - - - Screen area - Area o porción - - - - Previous selection - - - - + Image quality (1 - small file, 100 - high quality) Calidad de imagen (1 - archivo pequeño, 100 - alta calidad) - - Include mouse pointer - - - - + Allow run multiplies copy of ScreenGrab - + Permitir múltiples instancias de ScreenGrab - + Enable external viewer - + Habilitar el visor externo - + Fit to edges only inside selected screen area - + Ajustar a los bordes solo en el área de pantalla seleccionada - + Fit to edges inside selected area - + Ajustar a los bordes en el área seleccionada - + Show ScreenGrab in the system tray - + Mostrar ScreenGrab en la bandeja del sistema - + Minimize to tray on click close button - + Minimizar a la bandeja al hacer clic en el botón de cierre - + Minimize to tray when closing - + Minimizar a la bandeja al cerrar - + Action Acción - + Global shortcuts Atajos globales - + Fill screen - Pantalla completa + Rellenar la pantalla - + Active window Ventana activa - + Area select - Seleccione area + Selección del area - + Local shortcuts - + Atajos locales - + New screen - Nueva captura + Nueva pantalla - + Save screen - Guardar captura + Grabar la pantalla - + Copy screen - Copiar captura + Copiar la pantalla - + Help Ayuda - Exit - Salir - - - + Not defined No definido - - Restore default settings - Restaurar configuración por defecto - - - - Defaults - Predeterminado - - - - Save settings - Guardar configuración - - - - Save - Guardar - - - - Discard changes - Descartar cambios - - - - Cancel - Cancelar - - - + Main Principal - + System tray - - - - - Saving - - - - - Default save directory: - Directorio de salva por defecto: + Bandeja del sistema - + Path to default selection dir for saving - Camino elegido por defecto para salvar + Ruta al directorio seleccionado por defecto para guardar - + Browse filesystem - Elije otro dir y carpeta + Explorar el sistema de archivos - + Browse - Cambiar - - - - Default filename: - Nombre por defecto: + Explorar - + Default filename Nombre por defecto - + Format Formato - + Copy file name to the clipboard when saving - + Copiar el nombre de archivo al portapapeles al guardar - + Do not copy - + No copiar - + Copy file name only - + Copiar solo el nombre del archivo - + Copy full file path - + Copiar la ruta completa del archivo - - Screenshot - + + sec + s - - Delay: - Demorar: + + Advanced + Avanzado - - - sec - seg + + Default save directory + Directorio por omisión donde guardar - - No window decoration - Sin decoración de ventana + + Default file + Archivo por omisión - - Advanced - Avanzado + + Name: + Nombre: - + Template: Plantilla: - + Example: Ejemplo: - + Automatically saving screenshots in grabbing process - Salvar captura automaticamente en el proceso de grabacion + Guarda automaticamente las capturas de pantalla en un proceso de grabacion - + Tray messages: - Notificar mensajes + Mensajes en bandeja: - + Tray messages display mode - Mostrar notificación de mensajes + Modo de presentación de mensajes en bandeja - + Never Nunca - + Tray mode - Notificar + Modo en bandeja - + Always Siempre - + Shortcuts Atajos de teclado - + Allow multiple instances of ScreenGrab - + Permitir múltiples instancias de ScreenGrab - + Open in external viewer on double click - + Abrir en el visor externo al hacer doble clic - + Shortcut Atajos - + Quit - Salir + Salir - + Selected shortcut: - Atajo seleccionado: + Atajo seleccionado: - + Time of display tray messages - Tiempo que muestra la notificación + Duración de los mensajes de bandeja - + Time to display tray messages - Tiempo que muestra la notificación - - - - Zoom area around mouse in selection mode - Ampliar el área cerca del ratón en el modo de selección + Tiempo hasta mostrar mensajes de bandeja diff --git a/translations/screengrab_fr_FR.ts b/translations/screengrab_fr.ts similarity index 80% rename from translations/screengrab_fr_FR.ts rename to translations/screengrab_fr.ts index 5a0cf96..70628f7 100644 --- a/translations/screengrab_fr_FR.ts +++ b/translations/screengrab_fr.ts @@ -4,158 +4,147 @@ AboutDialog - - built on - compilé le - - - + using Qt en utilisant Qt - + About À propos - + Thanks Remerciements - + Help us Aidez nous - + is a crossplatform application for fast creating screenshots of your desktop. est une application multi-plateforme pour créer des captures d'écran de votre bureau. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - C'est une application puissante et légére écrite avec le framework Qt de manière à être utilisé sous Windows et Linux. - - - - - E-Mail - E-Mail + + It is a light and powerful application, written in Qt. + - - Web site - Site Web + + Website + - + Licensed under the Sous licence - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - + You can join us and help us if you want. This is an invitation if you like this application. Vous pouvez nous rejoindre et nous aider si vous appréciez cette application. - + What you can do? Que pouvez vous faire ? - + Translate ScreenGrab to other languages Traduire ScreenGrab dans d'autres langues - + Make suggestions for next releases Faire des suggestions pour les prochaines versions - + Report bugs and issues Rapporter les bugs - + Bug tracker Bug tracker - + Translate: Traductions: - + Brazilian Portuguese translation Brésilien - Portuguais - + Marcio Moraes Marcio Moraes - + Ukrainian translation Ukrainien - + Gennadi Motsyo Gennadi Motsyo - + Spanish translation Espagnol - + Burjans L García D Burjans L García D - + Italian translation Italien - + Testing: Tests: - + Dual monitor support and other in Linux Support du double écran et autres sous Linux - + Dual monitor support in Linux Support du double écran sous Linux - + win32-build [Windows XP and 7] - + old win32-build [Windows Vista] - + win32-build [Windows 7] @@ -163,53 +152,48 @@ ConfigDialog - + Directory %1 does not exist. Do you want to create it? Le répertoire %1 n'existe pas. Voulez vous le crééer ? - - + + Warning Attention - + Select directory Choisissez un répertoire - + Do you want to reset the settings to the defaults? Voulez vous restaurer les paramètres par défaut ? - - None - Non - - - + Example: Exemple: - + This key is already used in your system! Please select another. Cette touche est déjà utilisé sur votre système! Veuillez en sélectionner une autre. - + This key is already used in ScreenGrab! Please select another. Cette touche est déjà utilisé dans ScreenGrab! Veuillez en sélectionner une autre. - + This key is not supported on your system! Cette touche n'est pas supportée par votre système! - + Error Erreur @@ -217,57 +201,57 @@ Core - + is a crossplatform application for fast creating screenshots of your desktop. est une application multi-plateforme pour créer des captures d'écran de votre bureau. - + Take a fullscreen screenshot Prendre une capture d'écran de l'écran entier - + Take a screenshot of the active window Prendre une capture d'écran de la fenêtre active - + Take a screenshot of a selection of the screen Prendre une capture d'écran d'une zone sélectionnée - + Run the application with a hidden main window Cacher la fenêtre principale - + Saved Enregistrement - + Saved to Enregistré vers - + Name of saved file is copied to the clipboard Le nom du fichier a été copié dans le presse-papiers - + Path to saved file is copied to the clipboard Le chemin du fichier a été copié dans le presse-papiers - + Copied Copié - + Screenshot is copied to clipboard La capture d'écran a été copié dans le presse-papiers @@ -399,139 +383,144 @@ MainWindow - + ScreenGrab ScreenGrab - + + Type: + + + + Type of screenshot Type de capture - + Full screen Plein écran - + Window Fenêtre active - + Screen area Sélection - - Previous selection - Sélection précedente + + Last selected area + + + + + Delay: + Délai: - - Type: - Type: + + Zoom area around mouse + - + + No window decoration + Pas de décoration des fenêtres + + + Delay in seconds before taking screenshot Délai en secondes avant de faire la capture - + sec sec - - Delay - Délai - - - + Include mouse pointer Inclure le pointeur de la souris - + toolBar - + New Nouveau - + Save Enregistrer - + Copy Copier - + Options Options - - + + Help Aide - + About À propos - + Quit Quitter - + Screenshot Capture d'écran - - Double click for open screenshot in external default image viewer - Double cliquer pour visualiser la capture dans le lecteur externe + + Double click to open screenshot in external default image viewer + Double cliquer pour visualiser la capture dans le lecteur externe - - + + %1 Files + + + + + Hide Cacher - + None Non - + Show Montrer - - PNG Files - Fichiers PNG - - - - JPEG Files - Fichiers JPEG - - - + Save As... Enregistrer sous... @@ -680,385 +669,294 @@ any key or using the right or middle mouse buttons. configwidget - + Options Options - + Main Principal - + Advanced Avancé - + System tray Barre des tâches - + Shortcuts Raccourcis - - Saving - Enregistrement - - - - Default save directory: - Répertoire d'enregistrement par défaut: - - - + Path to default selection dir for saving Chemin vers le répertoire d'enregistrement par défaut - + Browse filesystem Parcourir le système de fichiers - + Browse Parcourir - - Default filename: - Nom de fichier par défaut: - - - + Default filename Nom de fichier par défaut - + Format Format - + Default saving image format Format d'image par défaut - + Copy file name to the clipboard when saving Copier le nom du fichier dans le presse-papiers lors de l'enregistrement - + Do not copy Ne pas copier - + Copy file name only Copier le nom du fichier seulement - + Copy full file path Copier le chemin complet - - Screenshot - Capture - - - - Delay: - Délai: - - - - Default delay before grabbing screen - Délai par défaut - - - - + sec sec - - No window decoration - Pas de décoration des fenêtres - - - - Type: - Types: - - - - Type of screenshot - Type de capture - - - - Full screen - Plein écran - - - - Window - Fenêtre active - - - - Screen area - Sélection - - - - Previous selection - Sélection précedente - - - + Image quality Qualité d'image - + Image quality (1 - small file, 100 - high quality) Qualité d'image (1 - basse qualité, 100 - haute qualité) - - Include mouse pointer - Inclure le pointeur de la souris + + Default save directory + + + + + Default file + - - Zoom area around mouse in selection mode - Zoom autour du pointeur en mode sélection + + Name: + - + Inserting current date time into saved filename Ajouter la date au nom de fichier - + Insert current date and time in file name Ajouter la date au nom du fichier - + Template: Modèle: - + Example: Exemple: - + Automatically saving screenshots in grabbing process Enregistrer automatiquement à la capture - + Autosave screenshot Enregistrer automatiquement les captures - + Save first screenshot Enregistrer la première capture - + Allow run multiplies copy of ScreenGrab Autoriser plusieurs instances de ScreenGrab - + Allow multiple instances of ScreenGrab Autoriser plusieurs instances de ScreenGrab - + Open in external viewer on double click Ouvir dans le visualiseur externe au double clic - + Enable external viewer Activer le visualiseur externe - + Fit to edges only inside selected screen area Faire correspondre les bords de la sélection avec les bords de la zone rectangulaire sélectionné - + Fit to edges inside selected area Faire correspondre les bords de la sélection avec les bords de la zone rectangulaire sélectionné - + Show ScreenGrab in the system tray Placer ScreenGrab dans la barre des tâches - + Tray messages: Notifications: - + Tray messages display mode Mode d'affichage des notifications - + Never Jamais - + Tray mode - + Always Toujours - + Time of display tray messages Temps d'affichage des notifications - + Time to display tray messages Temps d'affichage des notifications - + Minimize to tray on click close button Minimiser lors d'un clic sur le bouton de fermeture - + Minimize to tray when closing Minimiser lors d'un clic sur le bouton de fermeture - + Action Action - + Shortcut Raccourci - + Global shortcuts Raccourcis globaux - + Fill screen Plein écran - + Active window Fenêtre active - + Area select Sélection - + Local shortcuts Raccourcis locaux - + New screen Nouvelle capture - + Save screen Enregistrer la capture - + Copy screen Copier la capture - + Help Aide - + Quit Quitter - + Selected shortcut: Raccourci sélectionné: - + Not defined Non défini - - - Restore default settings - Paramètres par défaut - - - - Defaults - Défaut - - - - Save settings - Enregister les paramètres - - - - Save - Enregistrer - - - - Discard changes - Abandonner les changements - - - - Cancel - Annuler - diff --git a/translations/screengrab_it.ts b/translations/screengrab_it.ts index 41fe9c1..57fd9b7 100644 --- a/translations/screengrab_it.ts +++ b/translations/screengrab_it.ts @@ -4,159 +4,148 @@ AboutDialog - - built on - compilato il - - - + using Qt usando le librerie QT - + About Informazioni su - + Thanks Grazie a - - Licensed under the - Rilasciato sotto licenza + + It is a light and powerful application, written in Qt. + - - - E-Mail - email + + Website + - - Help us - Contribuisci + + Licensed under the + Rilasciato sotto licenza - - Web site - Sito web + + Help us + Contribuisci - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin copyright updated to 2015, ok? - Copyright &copy; 2009-2015, Artem 'DOOMer' Galichkin + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - + What you can do? Cosa puoi fare? - + is a crossplatform application for fast creating screenshots of your desktop. è una applicazione per catturare velocemente schermate per tutte le piattaforme. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - E' una applicazione leggera e e potente ed è stato scritta usando il Qt-framework, così puoi usarla in Windows e Linux - - - + You can join us and help us if you want. This is an invitation if you like this application. Se ti piace questa applicazione puoi aiutarci! - + Translate ScreenGrab to other languages Puoi tradurre ScreenGrab in altre lingue - + Make suggestions for next releases Fai proposte per le prossime versioni - + Report bugs and issues Segnala problemi e bug - + Bug tracker Segnala bug - + Translate: Traduzioni: - + Brazilian Portuguese translation Traduzioni in Portoghese Brasiliano - + Marcio Moraes - + Ukrainian translation Traduzioni in Ucraino - + Gennadi Motsyo - + Spanish translation - + Burjans L García D - + Italian translation Traduziona italiana - + Testing: Test: - + Dual monitor support and other in Linux Supporto per due monitor e altro in Linux - + Dual monitor support in Linux Supporto dual monitor in Linux - + win32-build [Windows XP and 7] win32-build [Windows XP and 7] - + old win32-build [Windows Vista] win32-build vecchio [Windows Vista] - + win32-build [Windows 7] win32-build [Windows 7] @@ -164,53 +153,48 @@ ConfigDialog - + Select directory Selezionare la cartella - - + + Warning Attenzione - + Directory %1 does not exist. Do you want to create it? La cartella %1 non esiste. Vuoi crearla? - + Do you want to reset the settings to the defaults? Vuoi ripristinare la configurazione iniziale? - - None - Nessuno - - - + Example: Esempio: - + This key is already used in your system! Please select another. Questa scorciatoia è già in uso. Seleziona un altra per favore. - + This key is already used in ScreenGrab! Please select another. Questa scorciatoia è già usata in ScreenGrab. Seleziona un altra. - + This key is not supported on your system! Questa chiave non è supportata dal tuo sistema! - + Error Errore @@ -218,65 +202,57 @@ Core - New screen - Nuova cattura - - - New screen is getted! - Nuova cattura ottenuta! - - - + Saved Salvata - + Name of saved file is copied to the clipboard Il nome del file salvato è stato copiato negli appunti - + Copied Copiata - + Saved to Salvata in - + is a crossplatform application for fast creating screenshots of your desktop. è una applicazione per catturare velocemente schermate per tutte le piattaforme. - + Take a fullscreen screenshot Cattura lo schermo intero - + Take a screenshot of the active window Cattura la finestra attiva - + Take a screenshot of a selection of the screen Cattura una selezione dello schermo - + Run the application with a hidden main window Avvia l''applicazione con la finestra principale nascosta - + Path to saved file is copied to the clipboard Il percorso del file salvato è stato copiato negli appunti - + Screenshot is copied to clipboard La schermata è stata copiata negli appunti @@ -284,200 +260,283 @@ DialogUploader + + Upload to internet + + + + + Upload to + + + + + Direct link: + + + + + + Open this link in the default web-browser + + + + + + Open + + + + + + Copy this link to the clipboard + + + + + Copy - Copia + Copia + + + + Extended preformed html or bb codes: + + + + + Link to delete image: + + + + + Upload + + Cancel - Annulla + Annulla + + + + Size: + + + + + pixel + + + + + Uploaded + + + + + + Ready to upload + + + + + Upload processing... Please wait + + + Receiving a response from the server + + + + + Upload completed + + + + + Close - Chiudi + Chiudi + + Error uploading screenshot + + + + Error - Errore + Errore + + + + Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. + + + + + Are you sure you want to continue? + MainWindow - + ScreenGrab ScreenGrab - - Type: - Tipo: + + Type: + - + Type of screenshot Tipo di cattura - + Full screen Schermo intero - + Window Finestra - + Screen area Area dello schermo - - Previous selection - Selezione precedente + + Last selected area + - - Include mouse pointer - Cattura cursore + + Delay: + Ritardo: - - toolBar - Barra degli strumenti + + Zoom area around mouse + - Getting new screenshot - Effettua una nuova cattura + + No window decoration + Escludi le decorazioni delle finestre - New Screen - Nuova Cattura + + Include mouse pointer + Cattura cursore - - Delay - Ritardo + + toolBar + Barra degli strumenti - + Delay in seconds before taking screenshot Ritardo in secondi prima di effettuare la cattura - + sec sec - Save current screenshot into graphical file - Salva la cattura corrente in un file - - - Save Screen - Salva Cattura - - - Copy current screenshot into clipboard - Copia la cattura corrente negli appunti - - - Copy Screen - Copia Cattura - - - Options dialog - Finestra delle impostazioni - - - + Options Impostazioni - Show help information - Mosta la guida in linea - - - - + + Help Guida - Exit from ScreenGrab - Esci da ScreenGrab - - - + Quit Esci - + Save Salva - + New Nuovo - + Copy Copia - - + + Double click to open screenshot in external default image viewer + Doppio clic per aprire la cattura in un editor esterno + + + + Hide Nascondi - + + %1 Files + + + + About Informazioni su - + Screenshot Schermata - - Double click for open screenshot in external default image viewer - Doppio clic per aprire la cattura in un editor esterno - - - + None Nessuno - + Show Mostra - - PNG Files - File PNG - - - - JPEG Files - File JPEG + + Save As... + Salva con nome... + + + ModuleUploader - BMP Files - File BMP + + Upload the screenshot to the default image host + - - Save As... - Salva con nome... + + Uploading + @@ -495,6 +554,106 @@ un tasto qualsiasi o usando il tasto destro o centrale del mouse. %1 x %2 pixel + + QObject + + + External edit + + + + + Edit in... + + + + + Upload + + + + + Uploader + + + Direct link + + + + + HTML code + + + + + BB code + + + + + HTML code with thumb image + + + + + BB code with thumb image + + + + + URl to delete image + + + + + UploaderConfigWidget + + + Common settings + + + + + Default image host + + + + + Always copy the link to the clipboard + + + + + Hosts settings + + + + + Settings for: + + + + + UploaderConfigWidget_ImgUr + + + Configuration for imgur.com upload + + + + + No settings available right now + + + + + Uploader_ImgUr_Widget + + + Upload to Imgur + + + aboutWidget @@ -512,390 +671,295 @@ un tasto qualsiasi o usando il tasto destro o centrale del mouse. configwidget - + Options Impostazioni - + Default saving image format Formato standard di salvataggio immagine - - Default delay before grabbing screen - Ritardo prima della cattura predefinito - - - + Inserting current date time into saved filename Inserisci la data e l'orario corrente nel nome file - + Insert current date and time in file name Inserisci data e ora nel nome del file - + Autosave screenshot Salva la cattura automaticamente - + Save first screenshot Salva la prima cattura - + Image quality Qualità imagine - - Type: - Tipo: - - - - Type of screenshot - Tipo di cattura - - - - Full screen - Schermo intero - - - - Window - Finestra - - - - Screen area - Area dello schermo - - - - Previous selection - Selezione precedente - - - + Image quality (1 - small file, 100 - high quality) Qualità immagine (1 -bassa, 100 massima qualità) - - Include mouse pointer - Cattura cursore - - - + Allow run multiplies copy of ScreenGrab Permetti istanze multiple di ScreenGrab - + Enable external viewer Abilita visualizzatore esterno - + Fit to edges only inside selected screen area Looks like not present in GUI Adatta ai bordi all'interno della selezione - + Fit to edges inside selected area Adatta a bordi all'interno della selezione - + Show ScreenGrab in the system tray Mostra ScreenGrab nel vassoio di sistema - + Minimize to tray on click close button Minimizza nel vassoio di sistema cliccando il pulsante chiudi - + Minimize to tray when closing Minimizza nel vassoio alla chiusura - + Action Azione - + Global shortcuts Scorciatoie globali - + Fill screen Tutto schermo - + Active window Finestra attiva - + Area select Selezione area - + Local shortcuts Scorciatoie locali - + New screen Nuova cattura - + Save screen Salva cattura - + Copy screen Copia cattura - + Help Guida - Exit - Esci - - - + Not defined Non definito - - Restore default settings - Ripristina le impostazioni di fabbrica - - - - Defaults - Ripristina - - - - Save settings - Salva le impostazioni - - - - Save - Salva - - - - Discard changes - Annulla le modifiche - - - - Cancel - Annulla - - - + Main Generale - + System tray Vassoio - - Saving - Salvataggio - - - - Default save directory: - Cartella dei salvataggi predefinita: - - - + Path to default selection dir for saving Percorso per i salvataggi predefinito - + Browse filesystem Sfoglia le cartelle - + Browse Sfoglia - - Default filename: - Nome file predefinito: - - - + Default filename Nome file predefinito - + Format Formato - + Copy file name to the clipboard when saving Copia nome del file negli appunti quando salvi - + Do not copy Non copiare - + Copy file name only Copia solo il nome del file - + Copy full file path Copia il percorso completo - - Screenshot - Cattura + + sec + - - Delay: - Ritardo: + + Advanced + Avanzate - - - sec - + + Default save directory + - - No window decoration - Escludi le decorazioni delle finestre + + Default file + - - Advanced - Avanzate + + Name: + - + Template: Modello: - + Example: Esempio: - + Automatically saving screenshots in grabbing process Salva la schermata automaticamente durante la cattura - + Tray messages: Messaggi nell'area di notifica: - + Tray messages display mode Modalità di visualizzazione nell'area di notifica - + Never Mai - + Tray mode Modalità area di notifica - + Always Sempre - + Time of display tray messages Tempo di esposizione dei messaggi - + Time to display tray messages Tempo di esposizione dei messaggi nell'area di notifica - + Shortcuts Scorciatoie - + Allow multiple instances of ScreenGrab Permetti istanze multiple di ScreenGrab - + Open in external viewer on double click Apri la cattura in un visualizzatore esterno con doppio clic - + Shortcut Scorciatoia - + Quit Esci - + Selected shortcut: Seleziona scorciatoia: - - - Zoom area around mouse in selection mode - Ingrandisci l'area attorno al puntatore nella modalità selezione - diff --git a/translations/screengrab_pt_BR.ts b/translations/screengrab_pt_BR.ts index 4720c22..d5d056e 100644 --- a/translations/screengrab_pt_BR.ts +++ b/translations/screengrab_pt_BR.ts @@ -4,158 +4,147 @@ AboutDialog - - built on - construído em - - - + using Qt usando o QT - + About Sobre - + Thanks Agradecimentos - - Licensed under the - Licenciado sob a + + It is a light and powerful application, written in Qt. + - - - E-Mail - E-Mail + + Website + - - Help us - + + Licensed under the + Licenciado sob a - - Web site + + Help us - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - Copyright &copy; 2009-2011, Artem 'DOOMer' Galichkin {2009-2010,?} {2009-2012,?} {2009-2013,?} + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - + What you can do? - + is a crossplatform application for fast creating screenshots of your desktop. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - - - - + You can join us and help us if you want. This is an invitation if you like this application. - + Translate ScreenGrab to other languages - + Make suggestions for next releases - + Report bugs and issues - + Bug tracker - + Translate: Tradução: - + Brazilian Portuguese translation Tradução para o Português do Brasil - + Marcio Moraes Márcio Moraes - + Ukrainian translation Tradução para o Ucraniano - + Gennadi Motsyo Gennadi Motsyo - + Spanish translation - + Burjans L García D - + Burjans L García D - + Italian translation - + Testing: Testado em: - + Dual monitor support and other in Linux - + Dual monitor support in Linux - + win32-build [Windows XP and 7] - + old win32-build [Windows Vista] - + win32-build [Windows 7] @@ -163,53 +152,48 @@ ConfigDialog - + Select directory Selecionar diretório - - + + Warning Aviso - + Directory %1 does not exist. Do you want to create it? - + Do you want to reset the settings to the defaults? - - None - Nenhum - - - + Example: Exemplo: - + This key is already used in your system! Please select another. - + This key is already used in ScreenGrab! Please select another. - + This key is not supported on your system! Esta tecla não é suportada no seu sistema! - + Error Erro @@ -217,65 +201,57 @@ Core - New screen - Nova tela - - - New screen is getted! - A nova tela foi obtida! - - - + Saved Salva - + Name of saved file is copied to the clipboard - + Copied Copiada - + Saved to Salva em - + is a crossplatform application for fast creating screenshots of your desktop. - + Take a fullscreen screenshot - + Take a screenshot of the active window - + Take a screenshot of a selection of the screen - + Run the application with a hidden main window - + Path to saved file is copied to the clipboard - + Screenshot is copied to clipboard A captura de tela foi copiada para a área de transferência @@ -407,203 +383,144 @@ MainWindow - + ScreenGrab ScreenGrab - - Type: - Tipo: + + Type: + - + Type of screenshot Tipo de captura de tela - + Full screen Tela cheia - + Window Janela ativa - + Screen area Área da tela - - Previous selection + + Last selected area - - Include mouse pointer - + + Delay: + Atraso: - - toolBar + + Zoom area around mouse - Getting new screenshot - Obtendo uma nova captura de tela - - - New Screen - Nova + + No window decoration + Sem decoração da janela - Ctrl+N - Ctrl+N + + Include mouse pointer + - - Delay - Atraso + + toolBar + - + Delay in seconds before taking screenshot Atrasar em segundos antes de obter a captura de tela - + sec seg - Save current screenshot into graphical file - Salvar tela atual para um arquivo - - - Save Screen - Salvar tela - - - Ctrl+S - Ctrl+S - - - Copy current screenshot into clipboard - Copiar captura de tela atual para a área de transferência - - - Copy Screen - Copiar tela - - - Ctrl+C - Ctrl+C - - - Options dialog - Opções - - - + Options Opções - Ctrl+O - Ctrl+O - - - Show help information - Mostrar informações de ajuda - - - - + + Help Ajuda - F1 - F1 - - - Exit from ScreenGrab - Sair do ScreenGrab - - - Ctrl+Q - Ctrl+Q - - - + Quit Sair - + Save Salvar - + New Nova - + Copy Copiar - - + + Double click to open screenshot in external default image viewer + + + + + Hide Ocultar - + + %1 Files + + + + About Sobre - + Screenshot - - Double click for open screenshot in external default image viewer - - - - + None Nenhum - + Show Mostrar - - PNG Files - Arquivos PNG - - - - JPEG Files - Arquivos JPEG - - - BMP Files - Arquivos BMP - - - + Save As... Salvar Como... @@ -753,389 +670,294 @@ qualquer tecla ou usando os botões direito ou do meio do mouse. configwidget - + Options Opções - + Default saving image format Salvando formato de imagem padrão - - Default delay before grabbing screen - Atraso padrão antes de capturar a tela - - - + Inserting current date time into saved filename Inserindo data atual no nome do arquivo salvo - + Insert current date and time in file name - + Autosave screenshot Salvar automaticamente a captura de tela - + Save first screenshot Salvar primeiro a captura de tela - + Image quality - - Type: - Tipo: - - - - Type of screenshot - Tipo de captura de tela - - - - Full screen - Tela cheia - - - - Window - Janela ativa - - - - Screen area - Área da tela - - - - Previous selection - - - - + Image quality (1 - small file, 100 - high quality) - - Include mouse pointer - - - - + Allow run multiplies copy of ScreenGrab - + Enable external viewer - + Fit to edges only inside selected screen area - + Fit to edges inside selected area - + Show ScreenGrab in the system tray - + Minimize to tray on click close button - + Minimize to tray when closing - + Action Ação - + Global shortcuts Atalhos globais - + Fill screen Toda a tela - + Active window Janela ativa - + Area select Selecionar área - + Local shortcuts - + New screen Nova tela - + Save screen Salvar tela - + Copy screen Copiar tela - + Help Ajuda - Exit - Sair - - - + Not defined Não definida - - Restore default settings - Restaurar configurações padrões - - - - Defaults - Padrões - - - - Save settings - Salvar configurações - - - - Save - Salvar - - - - Discard changes - Descartar alterações - - - - Cancel - Cancelar - - - + Main Principal - + System tray - - Saving - - - - - Default save directory: - Salvar no diretório padrão: - - - + Path to default selection dir for saving Caminho do diretório padrão para salvar - + Browse filesystem Navegar no sistema de arquivos - + Browse Navegar - - Default filename: - Nome do arquivo padrão: - - - + Default filename Nome do arquivo padrão - + Format Formato - + Copy file name to the clipboard when saving - + Do not copy - + Copy file name only - + Copy full file path - - Screenshot - + + sec + seg - - Delay: - Atraso: + + Advanced + Avançado - - - sec - seg + + Default save directory + - - No window decoration - Sem decoração da janela + + Default file + - - Advanced - Avançado + + Name: + - + Template: Modelo: - + Example: Exemplo: - + Automatically saving screenshots in grabbing process Salvar automaticamente capturas de telas no processo de obtenção - + Tray messages: Mensagens na área de notificação: - + Tray messages display mode Modo de exibição das mensagens na área de notificação - + Never Nunca - + Tray mode Modo da área de notificação - + Always Sempre - + Time of display tray messages Tempo de exibição das mensagens na área de notificação - + Time to display tray messages Tempo para exibir as mensagens na área de notificação - + Shortcuts Atalhos - + Allow multiple instances of ScreenGrab - + Open in external viewer on double click - + Shortcut Atalho - + Quit Sair - + Selected shortcut: Atalho selecionado: - - - Zoom area around mouse in selection mode - Zoom na área ao redor do mouse no modo de seleção - diff --git a/translations/screengrab_ru.ts b/translations/screengrab_ru.ts index 74a1890..d496851 100644 --- a/translations/screengrab_ru.ts +++ b/translations/screengrab_ru.ts @@ -4,158 +4,147 @@ AboutDialog - - built on - дата сборки - - - + using Qt использует Qt - + About О программе - + Thanks Благодарности - - Licensed under the - Лицензировано по + + It is a light and powerful application, written in Qt. + - - - E-Mail - Электронная почта + + Website + - - Help us - Помощь проекту + + Licensed under the + Лицензировано по - - Web site - Сайт + + Help us + Помощь проекту - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - Copyright &copy; 2009-2010, Артём 'DOOMer' Галичкин {2009-2012,?} {2009-2013,?} + Copyright &copy; 2009-2013, Артём 'DOOMer' Галичкин - + What you can do? Чем можно помочь? - + is a crossplatform application for fast creating screenshots of your desktop. кроссплатформенное приложение для быстрого создания снимков вашего рабочего стола. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - Это лёгкое и мощное приложение, написанное с помощью библиотек Qt, так что вы можете использовать его в Windows и Linux. - - - + You can join us and help us if you want. This is an invitation if you like this application. Если хотите, вы можете присоединиться к нам и помочь. Это приглашение, если вам понравилось приложение. - + Translate ScreenGrab to other languages Перевести ScreenGrab на другие языки - + Make suggestions for next releases Выразить пожелания для следующих выпусков - + Report bugs and issues Сообщать об ошибках в работе приложения - + Bug tracker Баг-трекер - + Translate: Переводы: - + Brazilian Portuguese translation Бразильская Португальская локализация - + Marcio Moraes - + Ukrainian translation Украинская локализация - + Gennadi Motsyo Геннадий Моцьо - + Spanish translation Испанская локализация - + Burjans L García D - + Italian translation Итальянская локализация - + Testing: Тестирование: - + Dual monitor support and other in Linux Поддержка работы на двух мониторах и другие тесты в Linux - + Dual monitor support in Linux Поддержка работы на двух мониторах в Linux - + win32-build [Windows XP and 7] win32-версии [Windows XP and 7] - + old win32-build [Windows Vista] Ранние win32-версии [Windows Vista] - + win32-build [Windows 7] win32-версии [Windows 7] @@ -163,53 +152,48 @@ ConfigDialog - + Select directory Выбрать папку - - + + Warning Предупрждение - + Directory %1 does not exist. Do you want to create it? Папка %1 не существует. Вы хотите создать её? - + Do you want to reset the settings to the defaults? Сбросить настройки на настройки по умолчанию? - - None - Нет - - - + Example: Пример: - + This key is already used in your system! Please select another. Эта комбинация уже используется в вашей системе! Выберите другую. - + This key is already used in ScreenGrab! Please select another. Эта комбинация уже используется в ScreenGrab! Выберите другую. - + This key is not supported on your system! Эта комбинация не поддерживается вашей системой! - + Error Ошибка @@ -217,65 +201,57 @@ Core - New screen - Новый скриншот - - - New screen is getted! - Получен новый скриншот! - - - + Saved Сохранено - + Name of saved file is copied to the clipboard Имя сохранённого файла скопировано в буфер обмена - + Copied Скопировано - + Saved to Слхранено в - + is a crossplatform application for fast creating screenshots of your desktop. кроссплатформенное приложение для быстрого создания снимков вашего рабочего стола. - + Take a fullscreen screenshot - + Take a screenshot of the active window - + Take a screenshot of a selection of the screen - + Run the application with a hidden main window - + Path to saved file is copied to the clipboard Путь к сохранённому файлу скопирован в буфер обмена - + Screenshot is copied to clipboard Скриншот скопирован в буфер обмена @@ -407,206 +383,147 @@ MainWindow - + Screenshot Скриншот - - Double click for open screenshot in external default image viewer - Двойной клик откроет скриншот во внешнем вьювере изображений - - - + Quit Выход - + Save Сохранить - + New Новый - + Copy Копировать - - + + Double click to open screenshot in external default image viewer + Подвійний клік відкриє скріншот у зовнішньому переглядачі + + + + Hide Скрыть окно - + About О программе - - PNG Files - файлы PNG - - - - JPEG Files - файлы JPEG - - - BMP Files - файлы BMP - - - + Options Настройки - + None Нет - + Show Показать окно - + + %1 Files + + + + Save As... Сохранить как... - + ScreenGrab - - Type: - Тип: + + Type: + - + Type of screenshot Тип скриншота - + Full screen Весь экран - + Window Окно - + Screen area Область экрана - - Previous selection - Предыдущая выбрананя область - - - - Include mouse pointer + + Last selected area - - toolBar - + + Delay: + Задержка: - Getting new screenshot - Получить новый скриншот + + Zoom area around mouse + - New Screen - Новый снимок + + No window decoration + Без декораций окна - Ctrl+N - Ctrl+N + + Include mouse pointer + - - Delay - Задержка + + toolBar + - + Delay in seconds before taking screenshot Задержка в секундах перед получением скриншота - + sec сек - Save current screenshot into graphical file - Сохранить скриншот в графический файл - - - Save Screen - Сохранить - - - Ctrl+S - Ctrl+S - - - Copy current screenshot into clipboard - Копировать скриншот в буфер обмена - - - Copy Screen - Копировать - - - Ctrl+C - Ctrl+C - - - Options dialog - Настрйоки программы - - - Ctrl+O - Ctrl+O - - - Show help information - Показать справочную информацию - - - - + + Help Справка - - F1 - F1 - - - Exit from ScreenGrab - Выход из программы - - - Ctrl+Q - Ctrl+Q - ModuleUploader @@ -728,17 +645,9 @@ any key or using the right or middle mouse buttons. No settings available right now - - Now is nothing yet - Пока ничего нет - Uploader_ImgUr_Widget - - Upload to ImgUr.com - Загрузка на ImgUr.com - Upload to Imgur @@ -762,385 +671,294 @@ any key or using the right or middle mouse buttons. configwidget - + Options Настройки - + Default saving image format Формат скриншотов по умолчанию - - Default delay before grabbing screen - Задержка перед получением скриншота - - - + Inserting current date time into saved filename Вставка даты и времени в имя сохраняемого файла - + Insert current date and time in file name Добавить текущую дату и время к имени файла - + Autosave screenshot Австосохранение скриншота - + Save first screenshot Сохранять первый скриншот - + Image quality Качество изображения - - Type: - Тип: - - - - Type of screenshot - Тип скриншота - - - - Full screen - Весь экран - - - - Window - Окно - - - - Screen area - Область экрана - - - - Previous selection - Предыдущая выбрананя область - - - + Image quality (1 - small file, 100 - high quality) Качество изображения (1 - меньший размер файла, 100 - лучшее качество) - - Include mouse pointer - - - - + Allow run multiplies copy of ScreenGrab Разрешить запускать несколько копий ScreenGrab - + Enable external viewer Использовать внешний просмотрщик - + Fit to edges only inside selected screen area - + Fit to edges inside selected area - + Show ScreenGrab in the system tray Показывать ScreenGrab в системном трее - + Minimize to tray on click close button Сворачивает в трей по клику на кнопку закрытия - + Minimize to tray when closing Сворачивать в трей при закрытии - + Action Действие - + Global shortcuts Глобальные комбинации - + Fill screen Весь экран - + Active window Активное окно - + Area select Выбранная область - + Local shortcuts Внутренние комбинации - + New screen Новый скриншот - + Save screen Сохранить скриншот - + Copy screen Копировать скриншот - + Help Справка - + Not defined Не определена - - Restore default settings - Восстановить исходные настройки - - - - Defaults - По умолчанию - - - - Save settings - Сохранить настройки - - - - Save - Сохранить - - - - Discard changes - Закрыть без изменений - - - - Cancel - Отмена - - - + Main Основные - + System tray Системный трей - - Saving - Сохранение - - - - Default save directory: - Исходный каталог: - - - + Path to default selection dir for saving Исходный каталог для сохраняемых файлов - + Browse filesystem Обзор файловой системы - + Browse Обзор - - Default filename: - Исходное имя файла: - - - + Default filename Имя файла по умолчанию - + Format Формат - + Copy file name to the clipboard when saving Копировать имя файла в буфер обмена при сохранении - + Do not copy Не копировать - + Copy file name only Копировать только имя файла - + Copy full file path Копировать полный путь файла - - Screenshot - Скриншот + + sec + сек - - Delay: - Задержка: + + Advanced + Расширенные - - - sec - сек + + Default save directory + - - No window decoration - Без декораций окна + + Default file + - - Advanced - Расширенные + + Name: + - + Template: Шаблон: - + Example: Пример: - + Automatically saving screenshots in grabbing process Автоматическое сохранение скриншотов при их получении - + Tray messages: Всплывающие уведомления: - + Tray messages display mode Режим отображения всплывающих уведомлений - + Never Никогда - + Tray mode Если свёрнуто - + Always Всегда - + Shortcuts Комбинации клавиш - + Allow multiple instances of ScreenGrab Разрешить несколько копий ScreenGrab - + Open in external viewer on double click Открывать во внешнем просмотрщике по двойному щелчку - + Shortcut Клавиши - + Quit Выход - + Selected shortcut: Выбранная комбинация: - + Time of display tray messages Время отображения всплывающих уведомлений - + Time to display tray messages Время отображения всплывающих уведомлений - - - Zoom area around mouse in selection mode - Масштабирование области курсора в режиме выбора - diff --git a/translations/screengrab_uk_UA.ts b/translations/screengrab_uk_UA.ts index f65f6fd..2cdb938 100644 --- a/translations/screengrab_uk_UA.ts +++ b/translations/screengrab_uk_UA.ts @@ -4,158 +4,147 @@ AboutDialog - - built on - дата збірки - - - + using Qt використовує Qt - + About Про програму - + Thanks Подяки - - Licensed under the - За ліцензією + + It is a light and powerful application, written in Qt. + - - - E-Mail - + + Website + - - Help us - Допомога проекту + + Licensed under the + За ліцензією - - Web site - Сайт + + Help us + Допомога проекту - + Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - Авторські права &copy; 2009-2012, Артем 'DOOMer' Галічкін {2009-2013,?} + Авторські права &copy; 2009-2013, Артем 'DOOMer' Галічкін - + What you can do? Чим можна допомогти? - + is a crossplatform application for fast creating screenshots of your desktop. - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - - - - + You can join us and help us if you want. This is an invitation if you like this application. - + Translate ScreenGrab to other languages - + Make suggestions for next releases Побажання для майбутніх версій - + Report bugs and issues Повідомлення про помилки та проблеми - + Bug tracker Баг-трекер - + Translate: Переклади: - + Brazilian Portuguese translation Бразильський португальський переклад - + Marcio Moraes - + Ukrainian translation Український переклад - + Gennadi Motsyo - + Spanish translation Іспанський переклад - + Burjans L García D - + Italian translation Італійський переклад - + Testing: Тестування: - + Dual monitor support and other in Linux Двомоніторну підтримку та інші тести в Linux - + Dual monitor support in Linux Двомоніторну підтримку в Linux - + win32-build [Windows XP and 7] win32-версії [Windows XP and 7] - + old win32-build [Windows Vista] Ранні win32-версії [Windows Vista] - + win32-build [Windows 7] win32-версії [Windows 7] @@ -163,53 +152,48 @@ ConfigDialog - + Select directory Вибір теки - - + + Warning Попередження - + Directory %1 does not exist. Do you want to create it? - + Do you want to reset the settings to the defaults? - - None - Немає - - - + Example: Приклад: - + This key is already used in your system! Please select another. - + This key is already used in ScreenGrab! Please select another. - + This key is not supported on your system! Ця комбінація не підтримується вашою системою! - + Error Помилка @@ -217,65 +201,57 @@ Core - New screen - Новий скріншот - - - New screen is getted! - Новий знімок отримано! - - - + Saved Збережено - + Name of saved file is copied to the clipboard Ім'я збереженого файлу скопійовано в буфер обміну - + Copied Скопійовано - + Saved to Збережено до - + is a crossplatform application for fast creating screenshots of your desktop. - + Take a fullscreen screenshot - + Take a screenshot of the active window - + Take a screenshot of a selection of the screen - + Run the application with a hidden main window - + Path to saved file is copied to the clipboard - + Screenshot is copied to clipboard Скріншот скопійовано до кишені @@ -407,182 +383,147 @@ MainWindow - + Screenshot Скріншот - - Double click for open screenshot in external default image viewer - Подвійний клік відкриє скріншот у зовнішньому переглядачі - - - + Quit Вихід - + Save Зберегти - + New Новий - + Copy Копіювати - - + + Double click to open screenshot in external default image viewer + Двойной клик откроет скриншот во внешнем вьювере изображений + + + + Hide Сховати вікно - + About Про програму - - PNG Files - файли PNG - - - - JPEG Files - файли JPEG - - - BMP Files - файли BMP - - - + Options Налаштування - + None Немає - + Show Показати вікно - + + %1 Files + + + + Save As... Зберегти як... - + ScreenGrab - - Type: - Тип: + + Type: + - + Type of screenshot Тип скріншоту - + Full screen Весь екран - + Window Вікно - + Screen area Частина екрану - - Previous selection - Попередня вибрана частина + + Last selected area + - - Include mouse pointer - + + Delay: + Затримка: - - toolBar + + Zoom area around mouse - Getting new screenshot - Отримати новий скріншот + + No window decoration + Без декорацій вікна - New Screen - Новий знімок + + Include mouse pointer + - - Delay - Затримка + + toolBar + - + Delay in seconds before taking screenshot Затримка в секундах перед отримання скріншоту - + sec сек - Save current screenshot into graphical file - Зберегти скріншот в графічний файл - - - Save Screen - Зберегти - - - Copy current screenshot into clipboard - Копіювати скріншот до кишені - - - Copy Screen - Копіювати - - - Options dialog - Параметри програми - - - Show help information - Показати довідкову інформацію - - - - + + Help Довідка - - Exit from ScreenGrab - Вийти з програми - ModuleUploader @@ -703,17 +644,9 @@ any key or using the right or middle mouse buttons. No settings available right now - - Now is nothing yet - Ще нічого немає - Uploader_ImgUr_Widget - - Upload to ImgUr.com - Завантаження на ImgUr.com - Upload to Imgur @@ -737,389 +670,294 @@ any key or using the right or middle mouse buttons. configwidget - + Options Налаштування - + Default saving image format Формат зображень за замовчанням - - Default delay before grabbing screen - Затримка перед отримання скріншоту - - - + Inserting current date time into saved filename Вставка дати та часу в ім'я файлу при збереженні - + Insert current date and time in file name - + Autosave screenshot Автозберігання скріншотів - + Save first screenshot Зберігати перший скріншот - + Image quality Якість картинки - - Type: - Тип: - - - - Type of screenshot - Тип скріншоту - - - - Full screen - Весь екран - - - - Window - Вікно - - - - Screen area - Частина екрану - - - - Previous selection - Попередня вибрана частина - - - + Image quality (1 - small file, 100 - high quality) Якість картинки (1--меньшийрозмір файла, 100--найкраща якість) - - Include mouse pointer - - - - + Allow run multiplies copy of ScreenGrab - + Enable external viewer Дозволити зовнішній переглядач - + Fit to edges only inside selected screen area - + Fit to edges inside selected area - + Show ScreenGrab in the system tray - + Minimize to tray on click close button - + Minimize to tray when closing - + Action Дія - + Global shortcuts Глобальні - + Fill screen Весь екран - + Active window Активне вікно - + Area select Вибрану ділянку - + Local shortcuts - + New screen Новий скріншот - + Save screen Зберегти скріншот - + Copy screen Копіювати скріншот - + Help Довідка - Exit - Вихід - - - + Not defined Не вибрана - - Restore default settings - Відновити початкові налаштування - - - - Defaults - За умовчанням - - - - Save settings - Зберегти налаштування - - - - Save - Зберегти - - - - Discard changes - Закрити без змін - - - - Cancel - Відміна - - - + Main Головні - + System tray - - Saving - - - - - Default save directory: - Тека для збереження: - - - + Path to default selection dir for saving Шлях до теки для збереження - + Browse filesystem Огляд файлової системи - + Browse Огляд - - Default filename: - Вихідне ім'я файлу: - - - + Default filename Вихідне ім'я файлу - + Format Формат - + Copy file name to the clipboard when saving - + Do not copy - + Copy file name only - + Copy full file path - - Screenshot - + + sec + сек - - Delay: - Затримка: + + Advanced + Розширені - - - sec - сек + + Default save directory + - - No window decoration - Без декорацій вікна + + Default file + - - Advanced - Розширені + + Name: + - + Template: Шаблон: - + Example: Приклад: - + Automatically saving screenshots in grabbing process Автоматичне збереження скріншотів при їх отриманні - + Tray messages: Спливаючі повідомлення: - + Tray messages display mode Режим відображення спливаючих повідомлень - + Never Ніколи - + Tray mode Якщо згорнуто - + Always Завжди - + Shortcuts Комбінації клавіш - + Allow multiple instances of ScreenGrab - + Open in external viewer on double click - + Shortcut Клавіші - + Quit Вихід - + Selected shortcut: Вибрана комбінація: - + Time of display tray messages Час показу спливаючих повідомлень - + Time to display tray messages Час показу спливаючих повідомлень - - - Zoom area around mouse in selection mode - Масштаб області курсора в режимі вибору - diff --git a/translations/uploader.ts b/translations/uploader.ts deleted file mode 100644 index 1ce042c..0000000 --- a/translations/uploader.ts +++ /dev/null @@ -1,1064 +0,0 @@ - - - - - AboutDialog - - - built on - - - - - using Qt - - - - - About - - - - - Thanks - - - - - Help us - - - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - It is a light and powerful application and has been written using the Qt framework, so that you are able to use in Windows and Linux. - - - - - - E-Mail - - - - - Web site - - - - - Licensed under the - - - - - Copyright &copy; 2009-2013, Artem 'DOOMer' Galichkin - - - - - You can join us and help us if you want. This is an invitation if you like this application. - - - - - What you can do? - - - - - Translate ScreenGrab to other languages - - - - - Make suggestions for next releases - - - - - Report bugs and issues - - - - - Bug tracker - - - - - Translate: - - - - - Brazilian Portuguese translation - - - - - Marcio Moraes - - - - - Ukrainian translation - - - - - Gennadi Motsyo - - - - - Spanish translation - - - - - Burjans L García D - - - - - Italian translation - - - - - Testing: - - - - - Dual monitor support and other in Linux - - - - - Dual monitor support in Linux - - - - - win32-build [Windows XP and 7] - - - - - old win32-build [Windows Vista] - - - - - win32-build [Windows 7] - - - - - ConfigDialog - - - Directory %1 does not exist. Do you want to create it? - - - - - - Warning - - - - - Select directory - - - - - Do you want to reset the settings to the defaults? - - - - - None - - - - - Example: - - - - - This key is already used in your system! Please select another. - - - - - This key is already used in ScreenGrab! Please select another. - - - - - This key is not supported on your system! - - - - - Error - - - - - Core - - - is a crossplatform application for fast creating screenshots of your desktop. - - - - - Take a fullscreen screenshot - - - - - Take a screenshot of the active window - - - - - Take a screenshot of a selection of the screen - - - - - Run the application with a hidden main window - - - - - Saved - - - - - Saved to - - - - - Name of saved file is copied to the clipboard - - - - - Path to saved file is copied to the clipboard - - - - - Copied - - - - - Screenshot is copied to clipboard - - - - - DialogUploader - - - Upload to internet - - - - - Upload to - - - - - Direct link: - - - - - - Open this link in the default web-browser - - - - - - Open - - - - - - Copy this link to the clipboard - - - - - - Copy - - - - - Extended preformed html or bb codes: - - - - - Link to delete image: - - - - - Upload - - - - - Cancel - - - - - Size: - - - - - pixel - - - - - Uploaded - - - - - - Ready to upload - - - - - Upload processing... Please wait - - - - - Receiving a response from the server - - - - - Upload completed - - - - - - Close - - - - - Error uploading screenshot - - - - - Error - - - - - Open this link in your default web-browser, it may directly delete your uploaded image, without any warnings. - - - - - Are you sure you want to continue? - - - - - MainWindow - - - ScreenGrab - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Type: - - - - - Delay in seconds before taking screenshot - - - - - sec - - - - - Delay - - - - - Include mouse pointer - - - - - toolBar - - - - - New - - - - - Save - - - - - Copy - - - - - Options - - - - - - Help - - - - - About - - - - - Quit - - - - - Screenshot - - - - - Double click for open screenshot in external default image viewer - - - - - - Hide - - - - - None - - - - - Show - - - - - PNG Files - - - - - JPEG Files - - - - - Save As... - - - - - ModuleUploader - - - Upload the screenshot to the default image host - - - - - Uploading - - - - - QApplication - - - Use your mouse to draw a rectangle to screenshot or exit pressing -any key or using the right or middle mouse buttons. - - - - - %1 x %2 pixels - - - - - QObject - - - Upload - - - - - External edit - - - - - Edit in... - - - - - Uploader - - - Direct link - - - - - HTML code - - - - - BB code - - - - - HTML code with thumb image - - - - - BB code with thumb image - - - - - URl to delete image - - - - - UploaderConfigWidget - - - Common settings - - - - - Default image host - - - - - Always copy the link to the clipboard - - - - - Hosts settings - - - - - Settings for: - - - - - UploaderConfigWidget_ImgUr - - - Configuration for imgur.com upload - - - - - No settings available right now - - - - - Uploader_ImgUr_Widget - - - Upload to Imgur - - - - - aboutWidget - - - About Qt - - - - - Close - - - - - configwidget - - - - Options - - - - - Main - - - - - Advanced - - - - - System tray - - - - - Shortcuts - - - - - Saving - - - - - Default save directory: - - - - - Path to default selection dir for saving - - - - - Browse filesystem - - - - - Browse - - - - - Default filename: - - - - - Default filename - - - - - Format - - - - - Default saving image format - - - - - Copy file name to the clipboard when saving - - - - - Do not copy - - - - - Copy file name only - - - - - Copy full file path - - - - - Screenshot - - - - - Delay: - - - - - Default delay before grabbing screen - - - - - - sec - - - - - No window decoration - - - - - Type: - - - - - Type of screenshot - - - - - Full screen - - - - - Window - - - - - Screen area - - - - - Previous selection - - - - - Image quality - - - - - Image quality (1 - small file, 100 - high quality) - - - - - Include mouse pointer - - - - - Zoom area around mouse in selection mode - - - - - Inserting current date time into saved filename - - - - - Insert current date and time in file name - - - - - Template: - - - - - Example: - - - - - Automatically saving screenshots in grabbing process - - - - - Autosave screenshot - - - - - Save first screenshot - - - - - Allow run multiplies copy of ScreenGrab - - - - - Allow multiple instances of ScreenGrab - - - - - Open in external viewer on double click - - - - - Enable external viewer - - - - - Fit to edges only inside selected screen area - - - - - Fit to edges inside selected area - - - - - Show ScreenGrab in the system tray - - - - - Tray messages: - - - - - Tray messages display mode - - - - - Never - - - - - Tray mode - - - - - Always - - - - - Time of display tray messages - - - - - Time to display tray messages - - - - - Minimize to tray on click close button - - - - - Minimize to tray when closing - - - - - Action - - - - - Shortcut - - - - - Global shortcuts - - - - - Fill screen - - - - - Active window - - - - - Area select - - - - - Local shortcuts - - - - - New screen - - - - - Save screen - - - - - Copy screen - - - - - Help - - - - - Quit - - - - - Selected shortcut: - - - - - Not defined - - - - - Restore default settings - - - - - Defaults - - - - - Save settings - - - - - Save - - - - - Discard changes - - - - - Cancel - - - -