From d061290fb172ec8b7d94a848ca713f7de46dea2e Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Tue, 8 Sep 2020 19:04:40 +0300 Subject: [PATCH] Add configurable shortcuts for drawing tools --- flameshot.pro | 6 + graphics.qrc | 5 + img/app/keyboard.svg | 1427 ++++++++++++++++++++ img/material/black/filepath.svg | 7 + img/material/black/shortcut.svg | 1 + img/material/white/filepath.svg | 88 ++ img/material/white/shortcut.svg | 54 + src/config/configwindow.cpp | 16 +- src/config/configwindow.h | 2 + src/config/setshortcutwidget.cpp | 59 + src/config/setshortcutwidget.h | 30 + src/config/shortcutswidget.cpp | 125 ++ src/config/shortcutswidget.h | 34 + src/core/controller.cpp | 3 + src/utils/confighandler.cpp | 76 ++ src/utils/confighandler.h | 11 +- src/utils/configshortcuts.cpp | 113 ++ src/utils/configshortcuts.h | 23 + src/widgets/capture/capturewidget.cpp | 127 +- src/widgets/capture/capturewidget.h | 7 + src/widgets/infowindow.cpp | 86 +- src/widgets/infowindow.h | 4 - src/widgets/panel/sidepanelwidget.cpp | 4 +- translations/Internationalization_ca.ts | 216 ++- translations/Internationalization_de_DE.ts | 212 ++- translations/Internationalization_es.ts | 214 ++- translations/Internationalization_fr.ts | 216 ++- translations/Internationalization_hu.ts | 142 +- translations/Internationalization_ja.ts | 216 ++- translations/Internationalization_ka.ts | 216 ++- translations/Internationalization_nl.ts | 214 ++- translations/Internationalization_pl.ts | 216 ++- translations/Internationalization_pt_br.ts | 216 ++- translations/Internationalization_ru.ts | 208 ++- translations/Internationalization_sk.ts | 212 ++- translations/Internationalization_sr.ts | 216 ++- translations/Internationalization_tr.ts | 216 ++- translations/Internationalization_uk.ts | 208 ++- translations/Internationalization_zh_CN.ts | 212 ++- translations/Internationalization_zh_TW.ts | 216 ++- 40 files changed, 4725 insertions(+), 1149 deletions(-) create mode 100644 img/app/keyboard.svg create mode 100644 img/material/black/filepath.svg create mode 100644 img/material/black/shortcut.svg create mode 100644 img/material/white/filepath.svg create mode 100644 img/material/white/shortcut.svg create mode 100644 src/config/setshortcutwidget.cpp create mode 100644 src/config/setshortcutwidget.h create mode 100644 src/config/shortcutswidget.cpp create mode 100644 src/config/shortcutswidget.h create mode 100644 src/utils/configshortcuts.cpp create mode 100644 src/utils/configshortcuts.h diff --git a/flameshot.pro b/flameshot.pro index 0c525b7c26..25f5dc99b2 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -85,7 +85,10 @@ DEFINES += QAPPLICATION_CLASS=QApplication SOURCES += src/main.cpp \ src/config/filepathconfiguration.cpp \ + src/config/setshortcutwidget.cpp \ + src/config/shortcutswidget.cpp \ src/tools/imgs3/imgs3settings.cpp \ + src/utils/configshortcuts.cpp \ src/widgets/historywidget.cpp \ src/utils/configenterprise.cpp \ src/utils/history.cpp \ @@ -165,7 +168,10 @@ SOURCES += src/main.cpp \ HEADERS += src/widgets/capture/buttonhandler.h \ src/config/filepathconfiguration.h \ + src/config/setshortcutwidget.h \ + src/config/shortcutswidget.h \ src/tools/imgs3/imgs3settings.h \ + src/utils/configshortcuts.h \ src/widgets/historywidget.h \ src/utils/configenterprise.h \ src/utils/history.h \ diff --git a/graphics.qrc b/graphics.qrc index 43919bdcf7..56bac9c817 100644 --- a/graphics.qrc +++ b/graphics.qrc @@ -65,5 +65,10 @@ img/material/white/circle-outline.svg img/material/white/blur.svg img/material/white/arrow-bottom-left.svg + img/app/keyboard.svg + img/material/black/shortcut.svg + img/material/white/shortcut.svg + img/material/black/filepath.svg + img/material/white/filepath.svg diff --git a/img/app/keyboard.svg b/img/app/keyboard.svg new file mode 100644 index 0000000000..bc1dc306d7 --- /dev/null +++ b/img/app/keyboard.svg @@ -0,0 +1,1427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + BTC6100C UK Compact Keyboard + 2007-04-10T15:19:27 + A symbolised reorientation of the btc6100c keyboard; the UK version (gb layout) + https://openclipart.org/detail/4946/btc6100c-uk-compact-keyboard-by-doctormo-4946 + + + doctormo + + + + + compact + computer + device + hardware + input + keyboard + + + + + + + + + + + diff --git a/img/material/black/filepath.svg b/img/material/black/filepath.svg new file mode 100644 index 0000000000..aa043c4a89 --- /dev/null +++ b/img/material/black/filepath.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + \ No newline at end of file diff --git a/img/material/black/shortcut.svg b/img/material/black/shortcut.svg new file mode 100644 index 0000000000..46bc9ce409 --- /dev/null +++ b/img/material/black/shortcut.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/material/white/filepath.svg b/img/material/white/filepath.svg new file mode 100644 index 0000000000..b0e57e497d --- /dev/null +++ b/img/material/white/filepath.svg @@ -0,0 +1,88 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon image/svg+xml + + \ No newline at end of file diff --git a/img/material/white/shortcut.svg b/img/material/white/shortcut.svg new file mode 100644 index 0000000000..90c1f717a0 --- /dev/null +++ b/img/material/white/shortcut.svg @@ -0,0 +1,54 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/src/config/configwindow.cpp b/src/config/configwindow.cpp index 43ba57ea2a..26cbea4e4a 100644 --- a/src/config/configwindow.cpp +++ b/src/config/configwindow.cpp @@ -23,6 +23,7 @@ #include "src/config/geneneralconf.h" #include "src/config/filenameeditor.h" #include "src/config/filepathconfiguration.h" +#include "src/config/shortcutswidget.h" #include "src/config/strftimechooserwidget.h" #include "src/config/visualseditor.h" #include "src/utils/globalvalues.h" @@ -67,16 +68,21 @@ ConfigWindow::ConfigWindow(QWidget *parent) : QTabWidget(parent) { addTab(m_filenameEditor, QIcon(modifier + "name_edition.svg"), tr("Filename Editor")); - // filepath - m_filePathConfiguration = new FilePathConfiguration(); - addTab(m_filePathConfiguration, QIcon(modifier + "name_edition.svg"), - tr("Path Default")); - // general m_generalConfig = new GeneneralConf(); addTab(m_generalConfig, QIcon(modifier + "config.svg"), tr("General")); + // shortcuts + m_shortcuts = new ShortcutsWidget(); + addTab(m_shortcuts, QIcon(modifier + "shortcut.svg"), + tr("Shortcuts")); + + // filepath + m_filePathConfiguration = new FilePathConfiguration(); + addTab(m_filePathConfiguration, QIcon(modifier + "filepath.svg"), + tr("Path Default")); + // connect update sigslots connect(this, &ConfigWindow::updateChildren, m_filenameEditor, &FileNameEditor::updateComponents); diff --git a/src/config/configwindow.h b/src/config/configwindow.h index f2646aa695..7bdc36be5a 100644 --- a/src/config/configwindow.h +++ b/src/config/configwindow.h @@ -21,6 +21,7 @@ class FileNameEditor; class FilePathConfiguration; +class ShortcutsWidget; class GeneneralConf; class QFileSystemWatcher; class VisualsEditor; @@ -39,6 +40,7 @@ class ConfigWindow : public QTabWidget { private: FileNameEditor *m_filenameEditor; FilePathConfiguration *m_filePathConfiguration; + ShortcutsWidget *m_shortcuts; GeneneralConf *m_generalConfig; VisualsEditor *m_visuals; QFileSystemWatcher *m_configWatcher; diff --git a/src/config/setshortcutwidget.cpp b/src/config/setshortcutwidget.cpp new file mode 100644 index 0000000000..8aef704268 --- /dev/null +++ b/src/config/setshortcutwidget.cpp @@ -0,0 +1,59 @@ +#include "setshortcutwidget.h" +#include +#include +#include +#include +#include + +SetShortcutDialog::SetShortcutDialog(QDialog *parent) : QDialog(parent) +{ + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); + setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowTitle(tr("Set Shortcut")); + m_ks = QKeySequence(); + + m_layout = new QVBoxLayout(this); + m_layout->setAlignment(Qt::AlignHCenter); + + QLabel *infoTop = new QLabel(tr("Enter new shortcut to change ")); + infoTop->setMargin(10); + infoTop->setAlignment(Qt::AlignCenter); + m_layout->addWidget(infoTop); + + QLabel *infoIcon = new QLabel(); + infoIcon->setAlignment(Qt::AlignCenter); + infoIcon->setPixmap(QPixmap(":/img/app/keyboard.svg")); + m_layout->addWidget(infoIcon); + + m_layout->addWidget(infoIcon); + + QLabel *infoBottom = new QLabel(tr("Press Esc to cancel or Backspace to disable the keyboard shortcut.")); + infoBottom->setMargin(10); + infoBottom->setAlignment(Qt::AlignCenter); + m_layout->addWidget(infoBottom); +} + +const QKeySequence& SetShortcutDialog::shortcut() { + return m_ks; +} + +void SetShortcutDialog::keyPressEvent(QKeyEvent *ke) { + if (ke->modifiers() & Qt::ShiftModifier) + m_modifier += "Shift+"; + if (ke->modifiers() & Qt::ControlModifier) + m_modifier += "Ctrl+"; + if (ke->modifiers() & Qt::AltModifier) + m_modifier += "Alt+"; + if (ke->modifiers() & Qt::MetaModifier) + m_modifier += "Meta+"; + + QString key = QKeySequence(ke->key()).toString(); + m_ks = QKeySequence(m_modifier + key); +} + +void SetShortcutDialog::keyReleaseEvent(QKeyEvent *event) { + if (m_ks == QKeySequence(Qt::Key_Escape)) { + reject(); + } + accept(); +} diff --git a/src/config/setshortcutwidget.h b/src/config/setshortcutwidget.h new file mode 100644 index 0000000000..156204d570 --- /dev/null +++ b/src/config/setshortcutwidget.h @@ -0,0 +1,30 @@ +#ifndef SETSHORTCUTWIDGET_H +#define SETSHORTCUTWIDGET_H + +#include +#include +#include + +class QVBoxLayout; + + +class SetShortcutDialog : public QDialog +{ + Q_OBJECT +public: + explicit SetShortcutDialog(QDialog *parent = nullptr); + const QKeySequence& shortcut(); + +public: + void keyPressEvent(QKeyEvent *); + void keyReleaseEvent(QKeyEvent *event); + +signals: + +private: + QVBoxLayout *m_layout; + QString m_modifier; + QKeySequence m_ks; +}; + +#endif // SETSHORTCUTWIDGET_H diff --git a/src/config/shortcutswidget.cpp b/src/config/shortcutswidget.cpp new file mode 100644 index 0000000000..919b5b7ed7 --- /dev/null +++ b/src/config/shortcutswidget.cpp @@ -0,0 +1,125 @@ +#include "shortcutswidget.h" +#include "setshortcutwidget.h" +#include +#include +#include +#include +#include +#include +#include +#include + +#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) +#include +#include +#include +#include +#endif + +#include + + +ShortcutsWidget::ShortcutsWidget(QWidget *parent) : QWidget(parent) { + setAttribute(Qt::WA_DeleteOnClose); + setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowTitle(tr("Hot Keys")); + +#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) + QRect position = frameGeometry(); + QScreen *screen = QGuiApplication::screenAt(QCursor::pos()); + position.moveCenter(screen->availableGeometry().center()); + move(position.topLeft()); +#endif + + m_layout = new QVBoxLayout(this); + m_layout->setAlignment(Qt::AlignHCenter); + + m_shortcuts = m_config.shortcuts(); + initInfoTable(); + show(); +} + +const QVector &ShortcutsWidget::shortcuts() { + return m_shortcuts; +} + +void ShortcutsWidget::initInfoTable() { + m_table = new QTableWidget(this); + m_table->setToolTip(tr("Available shortcuts in the screen capture mode.")); + + m_layout->addWidget(m_table); + + m_table->setColumnCount(2); + m_table->setRowCount(m_shortcuts.size()); + m_table->setSelectionMode(QAbstractItemView::NoSelection); + m_table->setFocusPolicy(Qt::NoFocus); + m_table->verticalHeader()->hide(); + + // header creation + QStringList names; + names << tr("Description") << tr("Key"); + m_table->setHorizontalHeaderLabels(names); + connect(m_table, SIGNAL(cellClicked(int, int)), this, SLOT(slotShortcutCellClicked(int, int))); + + //add content + for (int i= 0; i < shortcuts().size(); ++i){ + m_table->setItem(i, 0, new QTableWidgetItem(m_shortcuts.at(i).at(1))); + + QTableWidgetItem* item = new QTableWidgetItem(m_shortcuts.at(i).at(2)); + item->setTextAlignment( Qt::AlignCenter ); + m_table->setItem(i, 1, item); + + if( m_shortcuts.at(i).at(0).isEmpty() ) { + QFont font; + font.setBold(true); + item->setFont(font); + item->setFlags(item->flags() ^ Qt::ItemIsEnabled); + m_table->item(i, 1)->setFont(font); + } + } + + // Read-only table items + for (int x = 0; x < m_table->rowCount(); ++x) { + for (int y = 0; y < m_table->columnCount(); ++y) { + QTableWidgetItem *item = m_table->item(x, y); + item->setFlags(item->flags() ^ Qt::ItemIsEditable); + } + } + + // adjust size + m_table->resizeColumnsToContents(); + m_table->resizeRowsToContents(); + m_table->setMinimumWidth(400); + m_table->setMaximumWidth(600); + + m_table->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); + m_table->horizontalHeader()->setSizePolicy(QSizePolicy::Expanding, + QSizePolicy::Expanding); +} + +void ShortcutsWidget::slotShortcutCellClicked(int row, int col) { + if (col == 1) { + // Ignore non-changable shortcuts + if( Qt::ItemIsEnabled != (Qt::ItemIsEnabled & m_table->item(row, col)->flags()) ) { + return; + } + + SetShortcutDialog *setShortcutDialog = new SetShortcutDialog(); + if (0 != setShortcutDialog->exec()) { + QString shortcutName = m_shortcuts.at(row).at(0); + QKeySequence shortcutValue = setShortcutDialog->shortcut(); + + // set no shortcut is Backspace + if (shortcutValue == QKeySequence(Qt::Key_Backspace)) { + shortcutValue = QKeySequence(""); + } + + if (m_config.setShortcut(shortcutName, shortcutValue.toString())) { + QTableWidgetItem* item = new QTableWidgetItem(shortcutValue.toString()); + item->setTextAlignment( Qt::AlignCenter ); + item->setFlags(item->flags() ^ Qt::ItemIsEditable); + m_table->setItem(row, col, item); + } + } + } +} diff --git a/src/config/shortcutswidget.h b/src/config/shortcutswidget.h new file mode 100644 index 0000000000..decdcb7824 --- /dev/null +++ b/src/config/shortcutswidget.h @@ -0,0 +1,34 @@ +#ifndef HOTKEYSCONFIG_H +#define HOTKEYSCONFIG_H + +#include "src/utils/confighandler.h" +#include +#include +#include + + +class SetShortcutDialog; +class QTableWidget; +class QVBoxLayout; + +class ShortcutsWidget : public QWidget +{ + Q_OBJECT +public: + explicit ShortcutsWidget(QWidget *parent = nullptr); + const QVector &shortcuts(); + +private: + void initInfoTable(); + +private slots: + void slotShortcutCellClicked(int, int); + +private: + ConfigHandler m_config; + QTableWidget *m_table; + QVBoxLayout *m_layout; + QVector m_shortcuts; +}; + +#endif // HOTKEYSCONFIG_H diff --git a/src/core/controller.cpp b/src/core/controller.cpp index 9777d05337..e693499116 100644 --- a/src/core/controller.cpp +++ b/src/core/controller.cpp @@ -46,6 +46,9 @@ Controller::Controller() : m_captureWindow(nullptr) { qApp->setQuitOnLastWindowClosed(false); + // set default shortcusts if not set yet + ConfigHandler().setShortcutsDefault(); + // init tray icon #if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) if (!ConfigHandler().disabledTrayIconValue()) { diff --git a/src/utils/confighandler.cpp b/src/utils/confighandler.cpp index 6fe7780086..849289a11d 100644 --- a/src/utils/confighandler.cpp +++ b/src/utils/confighandler.cpp @@ -16,10 +16,13 @@ // along with Flameshot. If not, see . #include "confighandler.h" +#include "src/tools/capturetool.h" +#include "src/utils/configshortcuts.h" #include #include #include #include +#include ConfigHandler::ConfigHandler(){ m_settings.setDefaultFormat(QSettings::IniFormat); @@ -451,3 +454,76 @@ QVector ConfigHandler::fromButtonToInt( buttons << static_cast(i); return buttons; } + +QVector ConfigHandler::shortcuts() { + ConfigShortcuts configShortcuts; + m_shortcuts = configShortcuts.captureShortcutsDefault(getButtons()); + return m_shortcuts; +} + +void ConfigHandler::setShortcutsDefault() { + ConfigShortcuts configShortcuts; + for (auto shortcutItem: shortcuts()) { + QString shortcutName = shortcutItem.at(0); + QString shortcutDescription = shortcutItem.at(1); + QString shortcutValueDefault = shortcutItem.at(2); + + QString shortcutValue = shortcut(shortcutName); + + QKeySequence ks = QKeySequence(); + if(shortcutValue.isNull()) { + ks = QKeySequence(shortcutValueDefault); + if (!setShortcut(shortcutName, ks.toString())) { + shortcutValue = shortcutValueDefault; + } + } + + m_shortcuts << (QStringList() + << shortcutName + << shortcutDescription + << shortcutValue); + } +} + +bool ConfigHandler::setShortcut(const QString& shortcutName, const QString& shortutValue) { + bool error = false; + m_settings.beginGroup("Shortcuts"); + + QVector reservedShortcuts; + reservedShortcuts << QKeySequence(Qt::Key_Backspace) << QKeySequence(Qt::Key_Escape); + if(shortutValue.isEmpty()){ + m_settings.setValue(shortcutName, ""); + } + else if (reservedShortcuts.contains(QKeySequence(shortutValue))) { + // do not allow to set reserved shortcuts + error = true; + } + else { + // Make no difference for Return and Enter keys + QString shortcutItem = shortutValue; + if(shortcutItem == "Enter") { + shortcutItem = QKeySequence(Qt::Key_Return).toString(); + } + + // do not allow to set overlapped shortcuts + foreach (auto currentShortcutName, m_settings.allKeys()) { + if(m_settings.value(currentShortcutName) == shortcutItem) { + m_settings.setValue(shortcutName, ""); + error = true; + break; + } + } + if(!error) { + m_settings.setValue(shortcutName, shortcutItem); + } + } + m_settings.endGroup(); + return !error; +} + +const QString& ConfigHandler::shortcut(const QString& shortcutName) { + m_settings.beginGroup("Shortcuts"); + m_strRes = m_settings.value(shortcutName).toString(); + m_settings.endGroup(); + return m_strRes; +} diff --git a/src/utils/confighandler.h b/src/utils/confighandler.h index a4316ebcd3..583676100f 100644 --- a/src/utils/confighandler.h +++ b/src/utils/confighandler.h @@ -19,9 +19,11 @@ #include "src/widgets/capture/capturebutton.h" #include +#include #include -class ConfigHandler { +class ConfigHandler : public QObject { + public: explicit ConfigHandler(); @@ -85,10 +87,17 @@ class ConfigHandler { void setDefaults(); void setAllTheButtons(); + QVector shortcuts(); + void setShortcutsDefault(); + bool setShortcut(const QString&, const QString&); + const QString& shortcut(const QString&); + QString configFilePath() const; private: + QString m_strRes; QSettings m_settings; + QVector m_shortcuts; bool normalizeButtons(QVector &); diff --git a/src/utils/configshortcuts.cpp b/src/utils/configshortcuts.cpp new file mode 100644 index 0000000000..21baf233ed --- /dev/null +++ b/src/utils/configshortcuts.cpp @@ -0,0 +1,113 @@ +#include "configshortcuts.h" +#include "src/tools/capturetool.h" +#include + + +ConfigShortcuts::ConfigShortcuts() +{ + +} + +// QVector getButtons() + +const QVector& ConfigShortcuts::captureShortcutsDefault(const QVector &buttons) { + // get shortcuts names from tools + for (const CaptureButton::ButtonType &t: buttons) { + CaptureButton *b = new CaptureButton(t, nullptr); + QString shortcutName = QVariant::fromValue(t).toString(); + QKeySequence ks = captureShortcutDefault(t); + m_shortcuts << (QStringList() << shortcutName << b->tool()->description() << ks.toString()); + b->close(); + } + + m_shortcuts << (QStringList() << "TYPE_TOGGLE_PANEL" << QObject::tr("Toggle side panel") + << QKeySequence(Qt::Key_Space).toString()); + + m_shortcuts << (QStringList() << "TYPE_RESIZE_LEFT" << QObject::tr("Resize selection left 1px") + << QKeySequence(Qt::SHIFT + Qt::Key_Left).toString()); + m_shortcuts << (QStringList() << "TYPE_RESIZE_RIGHT" << QObject::tr("Resize selection right 1px") + << QKeySequence(Qt::SHIFT + Qt::Key_Right).toString()); + m_shortcuts << (QStringList() << "TYPE_RESIZE_UP" << QObject::tr("Resize selection up 1px") + << QKeySequence(Qt::SHIFT + Qt::Key_Up).toString()); + m_shortcuts << (QStringList() << "TYPE_RESIZE_DOWN" << QObject::tr("Resize selection down 1px") + << QKeySequence(Qt::SHIFT + Qt::Key_Down).toString()); + + m_shortcuts << (QStringList() << "TYPE_MOVE_LEFT" << QObject::tr("Move selection left 1px") + << QKeySequence(Qt::Key_Left).toString()); + m_shortcuts << (QStringList() << "TYPE_MOVE_RIGHT" << QObject::tr("Move selection right 1px") + << QKeySequence(Qt::Key_Right).toString()); + m_shortcuts << (QStringList() << "TYPE_MOVE_UP" << QObject::tr("Move selection up 1px") + << QKeySequence(Qt::Key_Up).toString()); + m_shortcuts << (QStringList() << "TYPE_MOVE_DOWN" << QObject::tr("Move selection down 1px") + << QKeySequence(Qt::Key_Down).toString()); + + m_shortcuts << (QStringList() << "" << QObject::tr("Quit capture") << QKeySequence(Qt::Key_Escape).toString()); + m_shortcuts << (QStringList() << "" << QObject::tr("Screenshot history") << "Shift+Print Screen"); + m_shortcuts << (QStringList() << "" << QObject::tr("Capture screen") << "Print Screen"); + m_shortcuts << (QStringList() << "" << QObject::tr("Show color picker") << "Right Click"); + m_shortcuts << (QStringList() << "" << QObject::tr("Change the tool's thickness") << "Mouse Wheel"); + + return m_shortcuts; +} + +const QKeySequence &ConfigShortcuts::captureShortcutDefault(const CaptureButton::ButtonType &buttonType) { + m_ks = QKeySequence(); + switch (buttonType) { + case CaptureButton::ButtonType::TYPE_PENCIL: + m_ks = QKeySequence(Qt::Key_P); + break; + case CaptureButton::ButtonType::TYPE_DRAWER: + m_ks = QKeySequence(Qt::Key_D); + break; + case CaptureButton::ButtonType::TYPE_ARROW: + m_ks = QKeySequence(Qt::Key_A); + break; + case CaptureButton::ButtonType::TYPE_SELECTION: + m_ks = QKeySequence(Qt::Key_S); + break; + case CaptureButton::ButtonType::TYPE_RECTANGLE: + m_ks = QKeySequence(Qt::Key_R); + break; + case CaptureButton::ButtonType::TYPE_CIRCLE: + m_ks = QKeySequence(Qt::Key_C); + break; + case CaptureButton::ButtonType::TYPE_MARKER: + m_ks = QKeySequence(Qt::Key_M); + break; +// case CaptureButton::ButtonType::TYPE_SELECTIONINDICATOR: + case CaptureButton::ButtonType::TYPE_MOVESELECTION: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_M); + break; + case CaptureButton::ButtonType::TYPE_UNDO: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_Z); + break; + case CaptureButton::ButtonType::TYPE_COPY: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_C); + break; + case CaptureButton::ButtonType::TYPE_SAVE: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_S); + break; + case CaptureButton::ButtonType::TYPE_EXIT: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_Q); + break; + case CaptureButton::ButtonType::TYPE_IMAGEUPLOADER: + m_ks = QKeySequence(Qt::Key_Return); + break; + case CaptureButton::ButtonType::TYPE_OPEN_APP: + m_ks = QKeySequence(Qt::CTRL + Qt::Key_O); + break; + case CaptureButton::ButtonType::TYPE_BLUR: + m_ks = QKeySequence(Qt::Key_B); + break; + case CaptureButton::ButtonType::TYPE_REDO: + m_ks = QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Z); + break; +// case CaptureButton::ButtonType::TYPE_PIN: + case CaptureButton::ButtonType::TYPE_TEXT: + m_ks = QKeySequence(Qt::Key_T); + break; + default: + break; + } + return m_ks; +} diff --git a/src/utils/configshortcuts.h b/src/utils/configshortcuts.h new file mode 100644 index 0000000000..f1e67ec68f --- /dev/null +++ b/src/utils/configshortcuts.h @@ -0,0 +1,23 @@ +#ifndef CONFIGSHORTCUTS_H +#define CONFIGSHORTCUTS_H + +#include +#include +#include +#include +#include "src/widgets/capture/capturebutton.h" + +class ConfigShortcuts +{ +public: + ConfigShortcuts(); + + const QVector& captureShortcutsDefault(const QVector &buttons); + const QKeySequence& captureShortcutDefault(const CaptureButton::ButtonType &buttonType); + +private: + QVector m_shortcuts; + QKeySequence m_ks; +}; + +#endif // CONFIGSHORTCUTS_H diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 5942a7769f..b479989063 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -1,4 +1,4 @@ -// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors +// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // // This file is part of Flameshot. // @@ -157,20 +157,42 @@ void CaptureWidget::updateButtons() { m_uiColor = m_config.uiMainColorValue(); m_contrastUiColor = m_config.uiContrastColorValue(); - auto buttons = m_config.getButtons(); QVector vectorButtons; - - for (const CaptureButton::ButtonType &t: buttons) { + for (const CaptureButton::ButtonType &t: m_config.getButtons()) { CaptureButton *b = new CaptureButton(t, this); if (t == CaptureButton::TYPE_SELECTIONINDICATOR) { m_sizeIndButton = b; } + b->setColor(m_uiColor); makeChild(b); + switch (t) { + case CaptureButton::ButtonType::TYPE_EXIT: + case CaptureButton::ButtonType::TYPE_SAVE: + case CaptureButton::ButtonType::TYPE_COPY: + case CaptureButton::ButtonType::TYPE_UNDO: + case CaptureButton::ButtonType::TYPE_REDO: + case CaptureButton::ButtonType::TYPE_IMAGEUPLOADER: + // nothing to do, just skip non-dynamic buttons with existing hard coded slots + break; + default: + // Set shortcuts for a tool + QString shortcut = ConfigHandler().shortcut(QVariant::fromValue(t).toString()); + if( !shortcut.isNull() ){ + QShortcut *key = new QShortcut(QKeySequence(shortcut), this); + CaptureWidget *captureWidget = this; + connect(key, &QShortcut::activated, this, [=]() { + emit captureWidget->setState(b); + }); + } + break; + } + connect(b, &CaptureButton::pressedButton, this, &CaptureWidget::setState); connect(b->tool(), &CaptureTool::requestAction, this, &CaptureWidget::handleButtonSignal); + vectorButtons << b; } m_buttonHandler->setButtons(vectorButtons); @@ -478,37 +500,54 @@ void CaptureWidget::mouseReleaseEvent(QMouseEvent *e) { updateCursor(); } -void CaptureWidget::keyPressEvent(QKeyEvent *e) { - if (!m_selection->isVisible()) { - return; - } else if (e->key() == Qt::Key_Up - && m_selection->geometry().top() > rect().top()) { - m_selection->move(QPoint(m_selection->x(), m_selection->y() -1)); - QRect newGeometry = m_selection->geometry().intersected(rect()); - m_context.selection = extendedRect(&newGeometry); +void CaptureWidget::leftMove() { + if (m_selection->geometry().left() > rect().left()) { + m_selection->move(QPoint(m_selection->x() - 1, m_selection->y())); m_buttonHandler->updatePosition(m_selection->geometry()); update(); - } else if (e->key() == Qt::Key_Down - && m_selection->geometry().bottom() < rect().bottom()) { - m_selection->move(QPoint(m_selection->x(), m_selection->y() +1)); + } +} + +void CaptureWidget::rightMove() { + if (m_selection->geometry().right() < rect().right()) { + m_selection->move(QPoint(m_selection->x() +1, m_selection->y())); QRect newGeometry = m_selection->geometry().intersected(rect()); m_context.selection = extendedRect(&newGeometry); m_buttonHandler->updatePosition(m_selection->geometry()); update(); - } else if (e->key() == Qt::Key_Left - && m_selection->geometry().left() > rect().left()) { - m_selection->move(QPoint(m_selection->x() -1, m_selection->y())); + } +} + +void CaptureWidget::upMove() { + if (m_selection->geometry().top() > rect().top()) { + m_selection->move(QPoint(m_selection->x(), m_selection->y() -1)); + QRect newGeometry = m_selection->geometry().intersected(rect()); + m_context.selection = extendedRect(&newGeometry); m_buttonHandler->updatePosition(m_selection->geometry()); update(); - } else if (e->key() == Qt::Key_Right - && m_selection->geometry().right() < rect().right()) { - m_selection->move(QPoint(m_selection->x() +1, m_selection->y())); + } +} + +void CaptureWidget::downMove() { + if (m_selection->geometry().bottom() < rect().bottom()) { + m_selection->move(QPoint(m_selection->x(), m_selection->y() +1)); QRect newGeometry = m_selection->geometry().intersected(rect()); m_context.selection = extendedRect(&newGeometry); m_buttonHandler->updatePosition(m_selection->geometry()); update(); + } +} + + +void CaptureWidget::keyPressEvent(QKeyEvent *e) { + if (!m_selection->isVisible()) { + return; } else if (e->key() == Qt::Key_Control) { m_adjustmentButtonPressed = true; + } else if (e->key() == Qt::Key_Enter) { + // Make no difference for Return and Enter keys + QKeyEvent * keyReturn = new QKeyEvent (QEvent::KeyPress, Qt::Key_Return, Qt::NoModifier); + QCoreApplication::postEvent (this, keyReturn); } } @@ -627,6 +666,7 @@ void CaptureWidget::setState(CaptureButton *b) { m_activeButton->setColor(m_uiColor); m_activeButton = nullptr; } + updateCursor(); update(); // clear mouse preview } } @@ -777,22 +817,37 @@ void CaptureWidget::downResize() { } void CaptureWidget::initShortcuts() { - new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q), this, SLOT(close())); - new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_S), this, SLOT(saveScreenshot())); - new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_C), this, SLOT(copyScreenshot())); - new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Z), this, SLOT(undo())); - new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Z), this, SLOT(redo())); - new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Right), this, SLOT(rightResize())); - new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Left), this, SLOT(leftResize())); - new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Up), this, SLOT(upResize())); - new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Down), this, SLOT(downResize())); - new QShortcut(Qt::Key_Space, this, SLOT(togglePanel())); - new QShortcut(Qt::Key_Escape, this, SLOT(deleteToolwidgetOrClose())); + QString shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_EXIT).toString()); + new QShortcut(QKeySequence(shortcut), this, SLOT(close())); + + shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_SAVE).toString()); + new QShortcut(QKeySequence(shortcut), this, SLOT(saveScreenshot())); + + shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_COPY).toString()); + new QShortcut(QKeySequence(shortcut), this, SLOT(copyScreenshot())); + + shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_UNDO).toString()); + new QShortcut(QKeySequence(shortcut), this, SLOT(undo())); -// new QShortcut(Qt::Key_Return, this, SLOT(copyScreenshot())); -// new QShortcut(Qt::Key_Enter, this, SLOT(copyScreenshot())); - new QShortcut(Qt::Key_Return, this, SLOT(uploadScreenshot())); - new QShortcut(Qt::Key_Enter, this, SLOT(uploadScreenshot())); + shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_REDO).toString()); + new QShortcut(QKeySequence(shortcut), this, SLOT(redo())); + + shortcut = ConfigHandler().shortcut(QVariant::fromValue(CaptureButton::ButtonType::TYPE_IMAGEUPLOADER).toString()); + new QShortcut(shortcut, this, SLOT(uploadScreenshot())); + + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_TOGGLE_PANEL")), this, SLOT(togglePanel())); + + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_RESIZE_LEFT")), this, SLOT(leftResize())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_RESIZE_RIGHT")), this, SLOT(rightResize())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_RESIZE_UP")), this, SLOT(upResize())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_RESIZE_DOWN")), this, SLOT(downResize())); + + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_MOVE_LEFT")), this, SLOT(leftMove())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_MOVE_RIGHT")), this, SLOT(rightMove())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_MOVE_UP")), this, SLOT(upMove())); + new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_MOVE_DOWN")), this, SLOT(downMove())); + + new QShortcut(Qt::Key_Escape, this, SLOT(deleteToolwidgetOrClose())); } void CaptureWidget::updateSizeIndicator() { diff --git a/src/widgets/capture/capturewidget.h b/src/widgets/capture/capturewidget.h index eb696ddede..d0d5226126 100644 --- a/src/widgets/capture/capturewidget.h +++ b/src/widgets/capture/capturewidget.h @@ -86,6 +86,11 @@ private slots: void upResize(); void downResize(); + void leftMove(); + void rightMove(); + void upMove(); + void downMove(); + void setState(CaptureButton *b); void processTool(CaptureTool *t); void handleButtonSignal(CaptureTool::Request r); @@ -133,9 +138,11 @@ private slots: void pushToolToStack(); void makeChild(QWidget *w); +private: QRect extendedSelection() const; QRect extendedRect(QRect *r) const; +private: QUndoStack m_undoStack; QPointer m_sizeIndButton; // Last pressed button diff --git a/src/widgets/infowindow.cpp b/src/widgets/infowindow.cpp index c903b161d7..14c75db04a 100644 --- a/src/widgets/infowindow.cpp +++ b/src/widgets/infowindow.cpp @@ -47,86 +47,20 @@ InfoWindow::InfoWindow(QWidget *parent) : QWidget(parent) { m_layout = new QVBoxLayout(this); m_layout->setAlignment(Qt::AlignHCenter); initLabels(); - initInfoTable(); show(); } -QVector InfoWindow::m_keys = { - "←↓↑→", - "SHIFT + ←↓↑→", - "ESC", - "CTRL + C", - "CTRL + S", - "CTRL + Z", - QT_TR_NOOP("SPACEBAR"), - QT_TR_NOOP("Right Click"), - QT_TR_NOOP("Mouse Wheel"), - "Print Screen", - "SHIFT + Print Screen" -}; - -QVector InfoWindow::m_description = { - QT_TR_NOOP("Move selection 1px"), - QT_TR_NOOP("Resize selection 1px"), - QT_TR_NOOP("Quit capture"), - QT_TR_NOOP("Copy to clipboard"), - QT_TR_NOOP("Save selection as a file"), - QT_TR_NOOP("Undo the last modification"), - QT_TR_NOOP("Toggle visibility of sidebar with options of the selected tool"), - QT_TR_NOOP("Show color picker"), - QT_TR_NOOP("Change the tool's thickness"), - QT_TR_NOOP("Capture screen"), - QT_TR_NOOP("Screenshot history") -}; - -void InfoWindow::initInfoTable() { - QTableWidget *table = new QTableWidget(this); - table->setToolTip(tr("Available shortcuts in the screen capture mode.")); - - m_layout->addWidget(table); - - table->setColumnCount(2); - table->setRowCount(m_keys.size()); - table->setSelectionMode(QAbstractItemView::NoSelection); - table->setFocusPolicy(Qt::NoFocus); - table->verticalHeader()->hide(); - // header creation - QStringList names; - names << tr("Key") << tr("Description"); - table->setHorizontalHeaderLabels(names); - - //add content - for (int i= 0; i < m_keys.size(); ++i){ - table->setItem(i, 0, new QTableWidgetItem(tr(m_keys.at(i)))); - table->setItem(i, 1, new QTableWidgetItem(tr(m_description.at(i)))); - } - - // Read-only table items - for (int x = 0; x < table->rowCount(); ++x) { - for (int y = 0; y < table->columnCount(); ++y) { - QTableWidgetItem *item = table->item(x, y); - item->setFlags(item->flags() ^ Qt::ItemIsEditable); - } - } - - // adjust size - table->resizeColumnsToContents(); - table->resizeRowsToContents(); - table->setMinimumWidth(400); - table->setMaximumWidth(600); - - table->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); - table->horizontalHeader()->setSizePolicy(QSizePolicy::Expanding, - QSizePolicy::Expanding); - m_layout->addStretch(); -} - void InfoWindow::initLabels() { - m_layout->addStretch(); + QLabel *icon = new QLabel(); + icon->setPixmap(QPixmap(":img/app/flameshot.svg")); + icon->setAlignment(Qt::AlignHCenter); + m_layout->addWidget(icon); + QLabel *licenseTitleLabel = new QLabel(tr("License"), this); licenseTitleLabel->setAlignment(Qt::AlignHCenter); m_layout->addWidget(licenseTitleLabel); + QLabel *licenseLabel = new QLabel(QStringLiteral("GPLv3+"), this); licenseLabel->setAlignment(Qt::AlignHCenter); m_layout->addWidget(licenseLabel); @@ -140,15 +74,11 @@ void InfoWindow::initLabels() { QLabel *versionLabel = new QLabel(versionMsg, this); versionLabel->setAlignment(Qt::AlignHCenter); m_layout->addWidget(versionLabel); - m_layout->addStretch(); - m_layout->addSpacing(10); - QLabel *shortcutsTitleLabel = new QLabel(tr("Shortcuts"), this); - shortcutsTitleLabel->setAlignment(Qt::AlignHCenter);; - m_layout->addWidget(shortcutsTitleLabel); + m_layout->addSpacing(30); } void InfoWindow::keyPressEvent(QKeyEvent *e) { if (e->key() == Qt::Key_Escape) { - close(); + close(); } } diff --git a/src/widgets/infowindow.h b/src/widgets/infowindow.h index e88d34d185..099f9383cc 100644 --- a/src/widgets/infowindow.h +++ b/src/widgets/infowindow.h @@ -30,10 +30,6 @@ class InfoWindow : public QWidget { void keyPressEvent(QKeyEvent *); private: - void initInfoTable(); void initLabels(); QVBoxLayout *m_layout; - - static QVector m_keys; - static QVector m_description; }; diff --git a/src/widgets/panel/sidepanelwidget.cpp b/src/widgets/panel/sidepanelwidget.cpp index b39a2fb93c..1bb5e8f3aa 100644 --- a/src/widgets/panel/sidepanelwidget.cpp +++ b/src/widgets/panel/sidepanelwidget.cpp @@ -148,9 +148,7 @@ QColor SidePanelWidget::grabPixmapColor(const QPoint &p) { } bool SidePanelWidget::handleKeyPress(QKeyEvent *e) { - if (e->key() == Qt::Key_Space) { - emit togglePanel(); - } else if (e->key() == Qt::Key_Escape) { + if (e->key() == Qt::Key_Escape) { releaseColorGrab(); updateColor(m_colorBackup); } else if (e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter) { diff --git a/translations/Internationalization_ca.ts b/translations/Internationalization_ca.ts index 705e0668e0..3b7fbcaa4e 100644 --- a/translations/Internationalization_ca.ts +++ b/translations/Internationalization_ca.ts @@ -131,7 +131,7 @@ Imposible capturar la pantalla - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -156,27 +156,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration Configuració - + Interface Interfície - + Filename Editor Editor de noms - + + Shortcuts + + + + Path Default - + General General @@ -184,32 +189,32 @@ Press Space to open the side panel. Controller - + &Open Launcher - + &Configuration &Configuració - + &Information &Informació - + &Quit &Ix - + &Latest Uploads - + &Take Screenshot @@ -650,104 +655,70 @@ Press Space to open the side panel. Quant a - - SPACEBAR - - - - Right Click - Clic dret + Clic dret - Mouse Wheel - Roda del ratolí + Roda del ratolí - Move selection 1px - Mou la selecció 1 px + Mou la selecció 1 px - Resize selection 1px - Redimensiona la selecció 1 px + Redimensiona la selecció 1 px - Quit capture - Ix de la captura + Ix de la captura - Copy to clipboard - Copia al porta-retalls + Copia al porta-retalls - Save selection as a file - Guarda la selecció com a fitxer + Guarda la selecció com a fitxer - Undo the last modification - Desfés l'última modificació - - - - Toggle visibility of sidebar with options of the selected tool - + Desfés l'última modificació - Show color picker - Mostra el selector de color + Mostra el selector de color - Change the tool's thickness - Canvia el gruix de l'eina - - - - Capture screen - + Canvia el gruix de l'eina - - Screenshot history - - - - Key - Tecla + Tecla - Description - Descripció + Descripció - + <u><b>License</b></u> <u><b>Llicència</b></u> - + <u><b>Version</b></u> <u><b>Versió</b></u> - <u><b>Shortcuts</b></u> - <u><b>Dreceres</b></u> + <u><b>Dreceres</b></u> - Available shortcuts in the screen capture mode. - Dreceres disponibles en el mode de captura de pantalla. + Dreceres disponibles en el mode de captura de pantalla. @@ -880,10 +851,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Ix de la captura + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Mou la selecció 1 px + + + + Show color picker + Mostra el selector de color + + + + Change the tool's thickness + Canvia el gruix de l'eina + RectangleTool @@ -945,6 +990,47 @@ You can find me in the system tray. Estableix la selecció com a eina de dibuix + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Dreceres disponibles en el mode de captura de pantalla. + + + + Description + Descripció + + + + Key + Tecla + + SidePanelWidget @@ -958,12 +1044,12 @@ You can find me in the system tray. - + Press ESC to cancel - + Grab Color diff --git a/translations/Internationalization_de_DE.ts b/translations/Internationalization_de_DE.ts index 7bf0de787d..33be19a97b 100644 --- a/translations/Internationalization_de_DE.ts +++ b/translations/Internationalization_de_DE.ts @@ -130,7 +130,7 @@ Bereich kann nicht erfasst werden - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Drücke die Leertaste um das Seitenmenü zu öffnen. ConfigWindow - + Configuration Einstellungen - + Interface Benutzeroberfläche - + Filename Editor Dateinamen Editor - + + Shortcuts + + + + Path Default - + General Allgemein @@ -187,32 +192,32 @@ Drücke die Leertaste um das Seitenmenü zu öffnen. Controller - + &Take Screenshot &Bildschirmaufnahme anfertigen - + &Open Launcher - + &Configuration &Einstellungen - + &Information &Informationen - + &Quit &Beenden - + &Latest Uploads @@ -653,104 +658,78 @@ Drücke die Leertaste um das Seitenmenü zu öffnen. Über - SPACEBAR - Leertaste + Leertaste - Right Click - Rechtsklick + Rechtsklick - Mouse Wheel - Mausrad + Mausrad - Move selection 1px - Verschiebe Auswahl um 1px + Verschiebe Auswahl um 1px - Resize selection 1px - Größenänderung um 1px + Größenänderung um 1px - Quit capture - Auswahl verlassen + Auswahl verlassen - Copy to clipboard - In Zwischenablage kopieren + In Zwischenablage kopieren - Save selection as a file - Speichere Auswahl als Datei + Speichere Auswahl als Datei - Undo the last modification - Letze Änderungen zurücksetzen + Letze Änderungen zurücksetzen - Toggle visibility of sidebar with options of the selected tool - Öffne/Schließe Seitenauswahlmenü des gewählten Werkzeugs + Öffne/Schließe Seitenauswahlmenü des gewählten Werkzeugs - Show color picker - Zeige Farbauswahl + Zeige Farbauswahl - Change the tool's thickness - Ändere die Dicke des Werkzeugs - - - - Capture screen - + Ändere die Dicke des Werkzeugs - - Screenshot history - - - - Available shortcuts in the screen capture mode. - Verfügbare Tastenkürzel im Aufnahmemodus. + Verfügbare Tastenkürzel im Aufnahmemodus. - Key - Taste + Taste - Description - Beschreibung + Beschreibung - + <u><b>License</b></u> <u><b>Lizenz</b></u> - + <u><b>Version</b></u> <u><b>Version</b></u> - <u><b>Shortcuts</b></u> - <u><b>Tastenkürzel</b></u> + <u><b>Tastenkürzel</b></u> @@ -883,10 +862,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Auswahl verlassen + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Verschiebe Auswahl um 1px + + + + Show color picker + Zeige Farbauswahl + + + + Change the tool's thickness + Ändere die Dicke des Werkzeugs + RectangleTool @@ -948,6 +1001,47 @@ You can find me in the system tray. Wähle Rechteck als Werkzeug + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Verfügbare Tastenkürzel im Aufnahmemodus. + + + + Description + Beschreibung + + + + Key + Taste + + SidePanelWidget @@ -961,12 +1055,12 @@ You can find me in the system tray. Aktuelle Farbe: - + Press ESC to cancel Drücke ESC für Abbruch - + Grab Color Wähle Farbe diff --git a/translations/Internationalization_es.ts b/translations/Internationalization_es.ts index ae7c33546f..77ebce9dad 100644 --- a/translations/Internationalization_es.ts +++ b/translations/Internationalization_es.ts @@ -130,7 +130,7 @@ Imposible capturar la pantalla - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Presiona Espacio para abrir el panel lateral. ConfigWindow - + Configuration Configuración - + Interface Interfaz - + Filename Editor Editor de Nombre - + + Shortcuts + + + + Path Default - + General General @@ -187,32 +192,32 @@ Presiona Espacio para abrir el panel lateral. Controller - + &Take Screenshot &Tomar captura de pantalla - + &Open Launcher - + &Configuration &Configuración - + &Information &Información - + &Quit &Salir - + &Latest Uploads @@ -653,104 +658,74 @@ Presiona Espacio para abrir el panel lateral. Información - - SPACEBAR - - - - Right Click - Click Derecho + Click Derecho - Mouse Wheel - Rueda del Ratón + Rueda del Ratón - Move selection 1px - Mover la selección 1px + Mover la selección 1px - Resize selection 1px - Redimensionar la selección 1px + Redimensionar la selección 1px - Quit capture - Salir de la captura + Salir de la captura - Copy to clipboard - Copiar al portapapeles + Copiar al portapapeles - Save selection as a file - Guardar la selección como un archivo + Guardar la selección como un archivo - Undo the last modification - Deshacer la última modificación + Deshacer la última modificación - Toggle visibility of sidebar with options of the selected tool - Alternar la visualización de la barra lateral de opciones de la herramienta seleccionada + Alternar la visualización de la barra lateral de opciones de la herramienta seleccionada - Show color picker - Mostrar el selector de color + Mostrar el selector de color - Change the tool's thickness - Cambiar el grosor de la herramienta + Cambiar el grosor de la herramienta - - Capture screen - - - - - Screenshot history - - - - Available shortcuts in the screen capture mode. - Atajos disponibles en el modo captura de pantalla. + Atajos disponibles en el modo captura de pantalla. - Key - Tecla + Tecla - Description - Descripción + Descripción - + <u><b>License</b></u> <u><b>Licencia</b></u> - + <u><b>Version</b></u> <u><b>Versión</b></u> - <u><b>Shortcuts</b></u> - <u><b>Atajos</b></u> + <u><b>Atajos</b></u> @@ -883,10 +858,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Salir de la captura + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Mover la selección 1px + + + + Show color picker + Mostrar el selector de color + + + + Change the tool's thickness + Cambiar el grosor de la herramienta + RectangleTool @@ -948,6 +997,47 @@ You can find me in the system tray. Establece la Selección como herramienta de dibujo + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Atajos disponibles en el modo captura de pantalla. + + + + Description + Descripción + + + + Key + Tecla + + SidePanelWidget @@ -961,12 +1051,12 @@ You can find me in the system tray. Color activo: - + Press ESC to cancel Presiona ESC para cancelar - + Grab Color Tomar Color diff --git a/translations/Internationalization_fr.ts b/translations/Internationalization_fr.ts index b106f60a70..ad86d1a155 100644 --- a/translations/Internationalization_fr.ts +++ b/translations/Internationalization_fr.ts @@ -130,7 +130,7 @@ Imposible de capturer l'écran - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Appuyer sur Espace pour ouvrir le panneau latéral. ConfigWindow - + Configuration Configuration - + Interface Interface - + Filename Editor Editeur de Noms - + + Shortcuts + + + + Path Default - + General Général @@ -187,32 +192,32 @@ Appuyer sur Espace pour ouvrir le panneau latéral. Controller - + &Take Screenshot &Capturer l'écran - + &Open Launcher - + &Configuration &Configuration - + &Information &Informations - + &Quit &Quitter - + &Latest Uploads @@ -653,104 +658,70 @@ Appuyer sur Espace pour ouvrir le panneau latéral. À propos - - SPACEBAR - - - - Right Click - Clic Droit + Clic Droit - Mouse Wheel - Molette de la Souris + Molette de la Souris - Move selection 1px - Déplacer la sélection 1px + Déplacer la sélection 1px - Resize selection 1px - Redimensionner la sélection 1px + Redimensionner la sélection 1px - Quit capture - Quitter la capture d'écran + Quitter la capture d'écran - Copy to clipboard - Copier vers le Presse-papier + Copier vers le Presse-papier - Save selection as a file - Sauvegarder la sélection vers un fichier + Sauvegarder la sélection vers un fichier - Undo the last modification - Annuler la dernière modification - - - - Toggle visibility of sidebar with options of the selected tool - + Annuler la dernière modification - Show color picker - Afficher la palette de couleurs + Afficher la palette de couleurs - Change the tool's thickness - Changer l'épaisseur des outils - - - - Capture screen - + Changer l'épaisseur des outils - - Screenshot history - - - - Available shortcuts in the screen capture mode. - Raccourcis disponibles en mode capture d'écran. + Raccourcis disponibles en mode capture d'écran. - Key - Clé + Clé - Description - Description + Description - + <u><b>License</b></u> <u><b>Licences</b></u> - + <u><b>Version</b></u> <u><b>Version</b></u> - <u><b>Shortcuts</b></u> - <u><b>Raccourci</b></u> + <u><b>Raccourci</b></u> @@ -883,10 +854,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Quitter la capture d'écran + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Déplacer la sélection 1px + + + + Show color picker + Afficher la palette de couleurs + + + + Change the tool's thickness + Changer l'épaisseur des outils + RectangleTool @@ -948,6 +993,47 @@ You can find me in the system tray. Sélectionner l'outil Rectangle + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Raccourcis disponibles en mode capture d'écran. + + + + Description + Description + + + + Key + Clé + + SidePanelWidget @@ -956,12 +1042,12 @@ You can find me in the system tray. Couleur actuelle: - + Press ESC to cancel Appuyer sur Echap pour annuler - + Grab Color Saisir la couleur diff --git a/translations/Internationalization_hu.ts b/translations/Internationalization_hu.ts index 9bdcea733b..c4fa8b2f76 100644 --- a/translations/Internationalization_hu.ts +++ b/translations/Internationalization_hu.ts @@ -158,6 +158,10 @@ Press Space to open the side panel. Path Default + + Shortcuts + + Controller @@ -553,51 +557,51 @@ Press Space to open the side panel. Right Click - jobb egérgomb + jobb egérgomb Mouse Wheel - Görgő + Görgő Move selection 1px - Kijelölés mozgatása 1px + Kijelölés mozgatása 1px Resize selection 1px - Kijelölés méretezése 1 px + Kijelölés méretezése 1 px Quit capture - Felvétel bezárása + Felvétel bezárása Copy to clipboard - Másolás vágólapra + Másolás vágólapra Save selection as a file - Kijelölés mentése fájlba + Kijelölés mentése fájlba Undo the last modification - Utolsó módosítás visszavonása + Utolsó módosítás visszavonása Show color picker - Színválasztó mutatása + Színválasztó mutatása Change the tool's thickness - Vastagság állítása + Vastagság állítása Key - Kulcs + Kulcs Description - Leírás + Leírás <u><b>License</b></u> @@ -609,27 +613,11 @@ Press Space to open the side panel. <u><b>Shortcuts</b></u> - <u><b>Gyorsbillentyűk</b></u> + <u><b>Gyorsbillentyűk</b></u> Available shortcuts in the screen capture mode. - Elérhető gyorsbillentyűk a képernyőfelvétel módban. - - - SPACEBAR - - - - Toggle visibility of sidebar with options of the selected tool - - - - Capture screen - - - - Screenshot history - + Elérhető gyorsbillentyűk a képernyőfelvétel módban. @@ -739,6 +727,66 @@ You can find me in the system tray. Save screenshot + + Resize selection right 1px + + + + Resize selection left 1px + + + + Resize selection up 1px + + + + Resize selection down 1px + + + + Toggle side panel + + + + Quit capture + Felvétel bezárása + + + Screenshot history + + + + Capture screen + + + + Move selection 1px + Kijelölés mozgatása 1px + + + Show color picker + Színválasztó mutatása + + + Change the tool's thickness + Vastagság állítása + + + Move selection left 1px + + + + Move selection right 1px + + + + Move selection up 1px + + + + Move selection down 1px + + RectangleTool @@ -791,6 +839,40 @@ You can find me in the system tray. Beállítja a Téglalapos kijelölő eszközt Festő eszközként + + SetShortcutDialog + + Set Shortcut + + + + Enter new shortcut to change + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + Hot Keys + + + + Available shortcuts in the screen capture mode. + Elérhető gyorsbillentyűk a képernyőfelvétel módban. + + + Description + Leírás + + + Key + Kulcs + + SidePanelWidget diff --git a/translations/Internationalization_ja.ts b/translations/Internationalization_ja.ts index f07e20a080..2f295ffe34 100644 --- a/translations/Internationalization_ja.ts +++ b/translations/Internationalization_ja.ts @@ -130,7 +130,7 @@ 画面をキャプチャーできません - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Enter を押すと画面をキャプチャー。 ConfigWindow - + Configuration 設定 - + Interface インターフェース - + Filename Editor ファイル名エディター - + + Shortcuts + + + + Path Default - + General 全般 @@ -187,32 +192,32 @@ Enter を押すと画面をキャプチャー。 Controller - + &Take Screenshot スクリーンショットを撮る(&T) - + &Open Launcher - + &Configuration 設定(&C) - + &Information 情報(&I) - + &Quit 終了(&Q) - + &Latest Uploads @@ -653,104 +658,70 @@ Enter を押すと画面をキャプチャー。 このアプリケーションについて - - SPACEBAR - - - - Right Click - 右クリック + 右クリック - Mouse Wheel - マウスホイール + マウスホイール - Move selection 1px - 選択範囲を 1px 動かす + 選択範囲を 1px 動かす - Resize selection 1px - 選択範囲を 1px リサイズする + 選択範囲を 1px リサイズする - Quit capture - キャプチャーを終了する + キャプチャーを終了する - Copy to clipboard - クリップボードにコピーする + クリップボードにコピーする - Save selection as a file - 選択範囲をファイルに保存する + 選択範囲をファイルに保存する - Undo the last modification - 最後の変更を元に戻す - - - - Toggle visibility of sidebar with options of the selected tool - + 最後の変更を元に戻す - Show color picker - カラーピッカーを表示する + カラーピッカーを表示する - Change the tool's thickness - ツールの値 (太さや濃さ) を変更する - - - - Capture screen - + ツールの値 (太さや濃さ) を変更する - - Screenshot history - - - - Key - キー + キー - Description - 説明 + 説明 - + <u><b>License</b></u> <u><b>ライセンス</b></u> - + <u><b>Version</b></u> <u><b>バージョン</b></u> - <u><b>Shortcuts</b></u> - <u><b>ショートカット</b></u> + <u><b>ショートカット</b></u> - Available shortcuts in the screen capture mode. - スクリーンキャプチャーモードで利用可能なショートカット。 + スクリーンキャプチャーモードで利用可能なショートカット。 @@ -883,10 +854,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + キャプチャーを終了する + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + 選択範囲を 1px 動かす + + + + Show color picker + カラーピッカーを表示する + + + + Change the tool's thickness + ツールの値 (太さや濃さ) を変更する + RectangleTool @@ -948,6 +993,47 @@ You can find me in the system tray. ペイントツールとして「矩形選択」をセットする + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + スクリーンキャプチャーモードで利用可能なショートカット。 + + + + Description + 説明 + + + + Key + キー + + SidePanelWidget @@ -961,12 +1047,12 @@ You can find me in the system tray. アクティブな色: - + Press ESC to cancel ESC でキャンセル - + Grab Color 色の取得 diff --git a/translations/Internationalization_ka.ts b/translations/Internationalization_ka.ts index 2d3c599e19..e84f9153fc 100644 --- a/translations/Internationalization_ka.ts +++ b/translations/Internationalization_ka.ts @@ -130,7 +130,7 @@ ეკრანის გადაღება ვერ მოხერხდა - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -155,27 +155,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration პარამეტრები - + Interface ინტერფეისი - + Filename Editor ფაილის სახელის რედაქტორი - + + Shortcuts + + + + Path Default - + General ზოგადი @@ -183,32 +188,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot - + &Open Launcher - + &Configuration &პარამეტრები - + &Information &ინფორმაცია - + &Quit &გამოსვლა - + &Latest Uploads @@ -649,104 +654,70 @@ Press Space to open the side panel. პროგრამის შესახებ - - SPACEBAR - - - - Right Click - მაუსის მარჯვენა ღილაკი + მაუსის მარჯვენა ღილაკი - Mouse Wheel - მაუსის გორგოლაჭი + მაუსის გორგოლაჭი - Move selection 1px - შერჩეულის გადაადგილება 1px-ით + შერჩეულის გადაადგილება 1px-ით - Resize selection 1px - შერჩეულის ზომის შეცვლა 1px-ით + შერჩეულის ზომის შეცვლა 1px-ით - Quit capture - გადაღებიდან გამოსვლა + გადაღებიდან გამოსვლა - Copy to clipboard - გაცვლის ბუფერში კოპირება + გაცვლის ბუფერში კოპირება - Save selection as a file - შერჩეულის ფაილად შენახვა + შერჩეულის ფაილად შენახვა - Undo the last modification - ბოლო ცვლილების გაუქმება - - - - Toggle visibility of sidebar with options of the selected tool - + ბოლო ცვლილების გაუქმება - Show color picker - ფერის შესარჩევის ჩვენება + ფერის შესარჩევის ჩვენება - Change the tool's thickness - ხელსაწყოს სისქის შეცვლა - - - - Capture screen - + ხელსაწყოს სისქის შეცვლა - - Screenshot history - - - - Available shortcuts in the screen capture mode. - გადაღების რეჟიმში ხელმისაწვდომი მალსახმობები. + გადაღების რეჟიმში ხელმისაწვდომი მალსახმობები. - Key - კლავიში + კლავიში - Description - აღწერა + აღწერა - + <u><b>License</b></u> <u><b>ლიცენზია</b></u> - + <u><b>Version</b></u> <u><b>ვერსია</b></u> - <u><b>Shortcuts</b></u> - <u><b>მალსახმობები</b></u> + <u><b>მალსახმობები</b></u> @@ -879,10 +850,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + გადაღებიდან გამოსვლა + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + შერჩეულის გადაადგილება 1px-ით + + + + Show color picker + ფერის შესარჩევის ჩვენება + + + + Change the tool's thickness + ხელსაწყოს სისქის შეცვლა + RectangleTool @@ -944,6 +989,47 @@ You can find me in the system tray. შერჩევის ხელსაწყოს არჩევა სახატავად + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + გადაღების რეჟიმში ხელმისაწვდომი მალსახმობები. + + + + Description + აღწერა + + + + Key + კლავიში + + SidePanelWidget @@ -957,12 +1043,12 @@ You can find me in the system tray. - + Press ESC to cancel - + Grab Color diff --git a/translations/Internationalization_nl.ts b/translations/Internationalization_nl.ts index 24b61b0b76..38e5842c99 100644 --- a/translations/Internationalization_nl.ts +++ b/translations/Internationalization_nl.ts @@ -130,7 +130,7 @@ Kan scherm niet vastleggen - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Druk op spatie om het zijpaneel te openen. ConfigWindow - + Configuration Configuratie - + Interface Uiterlijk - + Filename Editor Bestandsnaambewerker - + + Shortcuts + + + + Path Default - + General Algemeen @@ -187,32 +192,32 @@ Druk op spatie om het zijpaneel te openen. Controller - + &Take Screenshot Schermafdruk &maken - + &Open Launcher - + &Configuration &Configuratie - + &Information &Informatie - + &Quit &Afsluiten - + &Latest Uploads @@ -653,104 +658,74 @@ Druk op spatie om het zijpaneel te openen. Over - - SPACEBAR - - - - Right Click - Rechtsklikken + Rechtsklikken - Mouse Wheel - Muiswiel + Muiswiel - Move selection 1px - Selectie 1px verplaatsen + Selectie 1px verplaatsen - Resize selection 1px - Afmetingen van selectie 1px aanpassen + Afmetingen van selectie 1px aanpassen - Quit capture - Vastleggen afsluiten + Vastleggen afsluiten - Copy to clipboard - Kopiëren naar klembord + Kopiëren naar klembord - Save selection as a file - Selectie opslaan als bestand + Selectie opslaan als bestand - Undo the last modification - Laatste wijziging ongedaan maken + Laatste wijziging ongedaan maken - Toggle visibility of sidebar with options of the selected tool - Zijbalk met gereedschapsopties tonen/verbergen + Zijbalk met gereedschapsopties tonen/verbergen - Show color picker - Kleurkiezer tonen + Kleurkiezer tonen - Change the tool's thickness - Wijzig de gereedschapsdikte - - - - Capture screen - - - - - Screenshot history - + Wijzig de gereedschapsdikte - Available shortcuts in the screen capture mode. - Beschikbare sneltoetsen in de vastlegmodus. + Beschikbare sneltoetsen in de vastlegmodus. - Key - Toets + Toets - Description - Omschrijving + Omschrijving - + <u><b>License</b></u> <u><b>Лиценца</b></u> - + <u><b>Version</b></u> <u><b>Верзија</b></u> - <u><b>Shortcuts</b></u> - <u><b>Пречице</b></u> + <u><b>Пречице</b></u> @@ -883,10 +858,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Vastleggen afsluiten + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Selectie 1px verplaatsen + + + + Show color picker + Kleurkiezer tonen + + + + Change the tool's thickness + Wijzig de gereedschapsdikte + RectangleTool @@ -949,6 +998,47 @@ You can find me in the system tray. Selectie instellen als verfgereedschap + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Beschikbare sneltoetsen in de vastlegmodus. + + + + Description + Omschrijving + + + + Key + Toets + + SidePanelWidget @@ -962,12 +1052,12 @@ You can find me in the system tray. Actieve kleur: - + Press ESC to cancel Druk op Esc om te annuleren - + Grab Color Kleur opnemen diff --git a/translations/Internationalization_pl.ts b/translations/Internationalization_pl.ts index e4c084af12..aa0f8841b8 100644 --- a/translations/Internationalization_pl.ts +++ b/translations/Internationalization_pl.ts @@ -130,7 +130,7 @@ Nie można przechwycić ekranu - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -158,27 +158,32 @@ Spacja, aby pokazać panel boczny. ConfigWindow - + Configuration Konfiguracja - + Interface Interfejs - + Filename Editor Edytor nazw plików - + + Shortcuts + + + + Path Default - + General Ogólne @@ -186,32 +191,32 @@ Spacja, aby pokazać panel boczny. Controller - + &Take Screenshot &Zrzut ekranu - + &Open Launcher - + &Configuration &Konfiguracja - + &Information &Informacje - + &Quit &Wyjdź - + &Latest Uploads @@ -652,104 +657,70 @@ Spacja, aby pokazać panel boczny. O programie - - SPACEBAR - - - - Right Click - Prawy klik + Prawy klik - Mouse Wheel - Kółko myszy + Kółko myszy - Move selection 1px - Przesuń zaznaczenie o 1px + Przesuń zaznaczenie o 1px - Resize selection 1px - Zmień rozmiar zaznaczenia o 1px + Zmień rozmiar zaznaczenia o 1px - Quit capture - Zakończ przechwytywanie + Zakończ przechwytywanie - Copy to clipboard - Kopiuj do schowka + Kopiuj do schowka - Save selection as a file - Zapisz zaznaczenie jako plik + Zapisz zaznaczenie jako plik - Undo the last modification - Cofnij ostatnią modyfikację - - - - Toggle visibility of sidebar with options of the selected tool - + Cofnij ostatnią modyfikację - Show color picker - Pokaż próbnik kolorów + Pokaż próbnik kolorów - Change the tool's thickness - Zmień grubość narzędzia - - - - Capture screen - - - - - Screenshot history - + Zmień grubość narzędzia - Available shortcuts in the screen capture mode. - Dostępne skróty w trybie przechwytywania obrazu. + Dostępne skróty w trybie przechwytywania obrazu. - Key - Klawisz + Klawisz - Description - Działanie + Działanie - + <u><b>License</b></u> <u><b>Licencja</b></u> - + <u><b>Version</b></u> <u><b>Wersja</b></u> - <u><b>Shortcuts</b></u> - <u><b>Skróty klawiszowe</b></u> + <u><b>Skróty klawiszowe</b></u> @@ -882,10 +853,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Zakończ przechwytywanie + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Przesuń zaznaczenie o 1px + + + + Show color picker + Pokaż próbnik kolorów + + + + Change the tool's thickness + Zmień grubość narzędzia + RectangleTool @@ -947,6 +992,47 @@ You can find me in the system tray. Ustawia zaznaczenie prostokątne jako narzędzie do rysowania + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Dostępne skróty w trybie przechwytywania obrazu. + + + + Description + Działanie + + + + Key + Klawisz + + SidePanelWidget @@ -960,12 +1046,12 @@ You can find me in the system tray. Aktywny kolor: - + Press ESC to cancel Wciśnij ESC, aby anulować - + Grab Color Pobierz kolor diff --git a/translations/Internationalization_pt_br.ts b/translations/Internationalization_pt_br.ts index af102acefd..b52272e82b 100644 --- a/translations/Internationalization_pt_br.ts +++ b/translations/Internationalization_pt_br.ts @@ -130,7 +130,7 @@ Não foi possível capturar a tela - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Pressione espaço abrir o painel lateral. ConfigWindow - + Configuration Configuração - + Interface Interface - + Filename Editor Editor de nome de arquivo - + + Shortcuts + + + + Path Default - + General Geral @@ -187,32 +192,32 @@ Pressione espaço abrir o painel lateral. Controller - + &Take Screenshot &Tirar Screenshot - + &Open Launcher - + &Configuration &Configuração - + &Information &Informações - + &Quit &Sair - + &Latest Uploads @@ -653,104 +658,70 @@ Pressione espaço abrir o painel lateral. Sobre - - SPACEBAR - - - - Right Click - Botão Direito + Botão Direito - Mouse Wheel - Roda do mouse + Roda do mouse - Move selection 1px - Move a seleção em 1px + Move a seleção em 1px - Resize selection 1px - Redimensiona a seleção em 1px + Redimensiona a seleção em 1px - Quit capture - Sair da captura + Sair da captura - Copy to clipboard - Copiar ao clipboard + Copiar ao clipboard - Save selection as a file - Salva seleção em um arquivo + Salva seleção em um arquivo - Undo the last modification - Desfazer última modificação - - - - Toggle visibility of sidebar with options of the selected tool - + Desfazer última modificação - Show color picker - Mostra seletor de cores + Mostra seletor de cores - Change the tool's thickness - Muda a grossura do pincel - - - - Capture screen - - - - - Screenshot history - + Muda a grossura do pincel - Available shortcuts in the screen capture mode. - Atalhos disponívels na tela de captura. + Atalhos disponívels na tela de captura. - Key - Tecla + Tecla - Description - Descrição + Descrição - + <u><b>License</b></u> <u><b>Licença</b></u> - + <u><b>Version</b></u> <u><b>Versão</b></u> - <u><b>Shortcuts</b></u> - <u><b>Atalhos</b></u> + <u><b>Atalhos</b></u> @@ -883,10 +854,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Sair da captura + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Move a seleção em 1px + + + + Show color picker + Mostra seletor de cores + + + + Change the tool's thickness + Muda a grossura do pincel + RectangleTool @@ -948,6 +993,47 @@ You can find me in the system tray. Estabelece o Selecionador como ferramenta de desenho + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Atalhos disponívels na tela de captura. + + + + Description + Descrição + + + + Key + Tecla + + SidePanelWidget @@ -961,12 +1047,12 @@ You can find me in the system tray. Cor ativa: - + Press ESC to cancel Presione Esc para cancelar - + Grab Color Usar Cor diff --git a/translations/Internationalization_ru.ts b/translations/Internationalization_ru.ts index 62be8f2034..0200c6d7c9 100644 --- a/translations/Internationalization_ru.ts +++ b/translations/Internationalization_ru.ts @@ -130,7 +130,7 @@ Не удалось захватить экран - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration Настройка - + Interface Интерфейс - + Filename Editor Редактор имен файлов - + + Shortcuts + Горячие клавиши + + + Path Default Путь - + General Общие @@ -187,32 +192,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot &Сделать снимок - + &Open Launcher &Открыть - + &Configuration &Настройка - + &Information &Информация - + &Quit &Выход - + &Latest Uploads Последние загрузки @@ -681,104 +686,86 @@ Press Space to open the side panel. Информация - SPACEBAR - ПРОБЕЛ + ПРОБЕЛ - Right Click - Правый клик + Правый клик - Mouse Wheel - Колесико мыши + Колесико мыши - Move selection 1px - Переместить выделение на 1px + Переместить выделение на 1px - Resize selection 1px - Изменить размер выделения на 1px + Изменить размер выделения на 1px - Quit capture - Выйти из захвата экрана + Выйти из захвата экрана - Copy to clipboard - Скопировать в буфер обмена + Скопировать в буфер обмена - Save selection as a file - Сохранить выделение в файл + Сохранить выделение в файл - Undo the last modification - Отменить последнее изменение + Отменить последнее изменение - Toggle visibility of sidebar with options of the selected tool - Показать боковую панель с настройками выбранного инструмента + Показать боковую панель с настройками выбранного инструмента - Show color picker - Показать выбор цвета + Показать выбор цвета - Change the tool's thickness - Изменить толщину инструмента + Изменить толщину инструмента - Capture screen - Захватить экран + Захватить экран - Screenshot history - История скриншотов + История скриншотов - Available shortcuts in the screen capture mode. - Доступные горячие клавиши в режиме захвата экрана. + Доступные горячие клавиши в режиме захвата экрана. - Key - Клавиша + Клавиша - Description - Описание + Описание - + <u><b>License</b></u> <u><b>Лицензия</b></u> - + <u><b>Version</b></u> <u><b>Версия</b></u> - <u><b>Shortcuts</b></u> - <u><b>Горячие клавиши</b></u> + <u><b>Горячие клавиши</b></u> @@ -915,10 +902,84 @@ You can find me in the system tray. Привет, а я уже работаю!\nВы можете найти меня в системном трэе. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. Привет я тут! Щелкните значок на панели задач, чтобы сделать снимок экрана, или щелкните правой кнопкой, чтобы увидеть дополнительные параметры. + + + Resize selection right 1px + Изменить размер выделения вправо на 1 пиксель + + + + Resize selection left 1px + Изменить размер выделения влево на 1 пиксель + + + + Resize selection up 1px + Изменить размер выделения вверх на 1 пиксель + + + + Resize selection down 1px + Изменить размер выделения вниз на 1 пиксель + + + + Toggle side panel + Вызвать боковую панель + + + + Move selection left 1px + Переместить выделение влево на 1 пиксель + + + + Move selection right 1px + Переместить выделение вправо на 1 пиксель + + + + Move selection up 1px + Переместить выделение вверх на 1 пиксель + + + + Move selection down 1px + Переместить выделение вниз на 1 пиксель + + + + Quit capture + Выйти из захвата экрана + + + + Screenshot history + История скриншотов + + + + Capture screen + Захватить экран + + + Move selection 1px + Переместить выделение на 1px + + + + Show color picker + Показать выбор цвета + + + + Change the tool's thickness + Изменить толщину инструмента + RectangleTool @@ -980,6 +1041,47 @@ You can find me in the system tray. Выбрать Прямоугольное выделение инструментом для рисования + + SetShortcutDialog + + + Set Shortcut + Выбрать горячую клавишу + + + + Enter new shortcut to change + Выберите новую горячую клавишу + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + Нажмите Esc для отмены или Backspace для удаления горячей клавиши + + + + ShortcutsWidget + + + Hot Keys + Горячие клавиши + + + + Available shortcuts in the screen capture mode. + Доступные горячие клавиши в режиме захвата экрана. + + + + Description + Описание + + + + Key + Клавиша + + SidePanelWidget @@ -993,12 +1095,12 @@ You can find me in the system tray. Активный цвет: - + Press ESC to cancel Нажмите Esc для отмены - + Grab Color Захватить цвет с экрана diff --git a/translations/Internationalization_sk.ts b/translations/Internationalization_sk.ts index 61db0a2998..f235432f1c 100644 --- a/translations/Internationalization_sk.ts +++ b/translations/Internationalization_sk.ts @@ -130,7 +130,7 @@ Nepodarilo sa zachytiť obrazovku - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Stlačte medzerník pre otvorenie postranného panelu. ConfigWindow - + Configuration Konfigurácia - + Interface Interfejs - + Filename Editor Editor názvov súborov - + + Shortcuts + + + + Path Default - + General Všeobecné @@ -187,32 +192,32 @@ Stlačte medzerník pre otvorenie postranného panelu. Controller - + &Take Screenshot &Vytvoriť snímku - + &Open Launcher - + &Configuration &Konfigurácia - + &Information &Informácie - + &Quit &Ukončiť - + &Latest Uploads @@ -653,104 +658,78 @@ Stlačte medzerník pre otvorenie postranného panelu. O programe - SPACEBAR - MEDZERNÍK + MEDZERNÍK - Right Click - Kliknutie pravým tlačidlom + Kliknutie pravým tlačidlom - Mouse Wheel - Kolečko myši + Kolečko myši - Move selection 1px - Presunúť výber o 1 px + Presunúť výber o 1 px - Resize selection 1px - Zmeniť rozmery výberu o 1 px + Zmeniť rozmery výberu o 1 px - Quit capture - Ukončiť zachytávanie obrazovky + Ukončiť zachytávanie obrazovky - Copy to clipboard - Kopírovať do schránky + Kopírovať do schránky - Save selection as a file - Zapísať výber do súboru + Zapísať výber do súboru - Undo the last modification - Vrátiť poslednú úpravu + Vrátiť poslednú úpravu - Toggle visibility of sidebar with options of the selected tool - Prepnúť viditeľnosť bočnej lišty s možnosťami vybraného nástroja + Prepnúť viditeľnosť bočnej lišty s možnosťami vybraného nástroja - Show color picker - Zobraziť dialóg na výber farby + Zobraziť dialóg na výber farby - Change the tool's thickness - Zmena hrúbky nástroja - - - - Capture screen - + Zmena hrúbky nástroja - - Screenshot history - - - - Available shortcuts in the screen capture mode. - Dostupné klávesové skratky v režime zachytávania obrazovky. + Dostupné klávesové skratky v režime zachytávania obrazovky. - Key - Kláves + Kláves - Description - Popis + Popis - + <u><b>License</b></u> <u><b>Licencia</b></u> - + <u><b>Version</b></u> <u><b>Verzia</b></u> - <u><b>Shortcuts</b></u> - <u><b>Klávesové skratky</b></u> + <u><b>Klávesové skratky</b></u> @@ -883,10 +862,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Ukončiť zachytávanie obrazovky + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Presunúť výber o 1 px + + + + Show color picker + Zobraziť dialóg na výber farby + + + + Change the tool's thickness + Zmena hrúbky nástroja + RectangleTool @@ -948,6 +1001,47 @@ You can find me in the system tray. Nastaviť Výber ako nástroj pre úpravy + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Dostupné klávesové skratky v režime zachytávania obrazovky. + + + + Description + Popis + + + + Key + Kláves + + SidePanelWidget @@ -961,12 +1055,12 @@ You can find me in the system tray. Aktívna farba: - + Press ESC to cancel Stlačte ESC pre zrušenie - + Grab Color Snímať farbu diff --git a/translations/Internationalization_sr.ts b/translations/Internationalization_sr.ts index 37668c835d..4dc05af2dd 100644 --- a/translations/Internationalization_sr.ts +++ b/translations/Internationalization_sr.ts @@ -130,7 +130,7 @@ Нисам успео да снимим екран - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration Подешавања - + Interface Изглед - + Filename Editor Избор имена датотеке - + + Shortcuts + + + + Path Default - + General Опште @@ -187,32 +192,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot &Направи снимак екрана - + &Open Launcher - + &Configuration &Подешавања - + &Information Ин&формације - + &Quit &Излаз - + &Latest Uploads @@ -653,104 +658,70 @@ Press Space to open the side panel. О програму - - SPACEBAR - - - - Right Click - Десни клик + Десни клик - Mouse Wheel - Точкић миша + Точкић миша - Move selection 1px - Помери избор за 1px + Помери избор за 1px - Resize selection 1px - Увећај избор за 1px + Увећај избор за 1px - Quit capture - Излаз из снимача екрана + Излаз из снимача екрана - Copy to clipboard - Запамти у привременој меморији + Запамти у привременој меморији - Save selection as a file - Сачувај избор у датотеку + Сачувај избор у датотеку - Undo the last modification - Поништи последње измене - - - - Toggle visibility of sidebar with options of the selected tool - + Поништи последње измене - Show color picker - Прикажи избор боје + Прикажи избор боје - Change the tool's thickness - Измени дебљину линије алата - - - - Capture screen - - - - - Screenshot history - + Измени дебљину линије алата - Available shortcuts in the screen capture mode. - Доступне пречице у моду снимка екрана. + Доступне пречице у моду снимка екрана. - Key - Тастер + Тастер - Description - Опис + Опис - + <u><b>License</b></u> <u><b>Лиценца</b></u> - + <u><b>Version</b></u> <u><b>Верзија</b></u> - <u><b>Shortcuts</b></u> - <u><b>Пречице</b></u> + <u><b>Пречице</b></u> @@ -883,10 +854,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Излаз из снимача екрана + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + Помери избор за 1px + + + + Show color picker + Прикажи избор боје + + + + Change the tool's thickness + Измени дебљину линије алата + RectangleTool @@ -949,6 +994,47 @@ You can find me in the system tray. Избор цртања правоугаоног оквира + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Доступне пречице у моду снимка екрана. + + + + Description + Опис + + + + Key + Тастер + + SidePanelWidget @@ -962,12 +1048,12 @@ You can find me in the system tray. Активна боја: - + Press ESC to cancel Притисните ESC за прекид - + Grab Color Преузмите боју diff --git a/translations/Internationalization_tr.ts b/translations/Internationalization_tr.ts index 3c3beb0e87..1160935c26 100644 --- a/translations/Internationalization_tr.ts +++ b/translations/Internationalization_tr.ts @@ -130,7 +130,7 @@ Ekran resmi alınamadı - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Yan paneli açmak için Boşluk tuşuna basın. ConfigWindow - + Configuration Ayarlar - + Interface Arayüz - + Filename Editor Dosya Adı Düzenleyici - + + Shortcuts + + + + Path Default - + General Genel @@ -187,32 +192,32 @@ Yan paneli açmak için Boşluk tuşuna basın. Controller - + &Take Screenshot &Ekran Resmi Al - + &Open Launcher - + &Configuration &Ayarlar - + &Information &Bilgi - + &Quit &Çıkış - + &Latest Uploads @@ -653,104 +658,70 @@ Yan paneli açmak için Boşluk tuşuna basın. Hakkında - - SPACEBAR - - - - Right Click - Sağ Tık + Sağ Tık - Mouse Wheel - Fare Tekerleği + Fare Tekerleği - Move selection 1px - 1px seçimini hareket ettir + 1px seçimini hareket ettir - Resize selection 1px - 1px seçimini yeniden boyutlandır + 1px seçimini yeniden boyutlandır - Quit capture - Çıkış + Çıkış - Copy to clipboard - Panoya kopyala + Panoya kopyala - Save selection as a file - Seçimi dosya olarak kaydet + Seçimi dosya olarak kaydet - Undo the last modification - Son değişikliği geri al + Son değişikliği geri al - - Toggle visibility of sidebar with options of the selected tool - - - - Show color picker - Renk seçici göster + Renk seçici göster - Change the tool's thickness - Araç kalınlığını değiştirin - - - - Capture screen - + Araç kalınlığını değiştirin - - Screenshot history - - - - Available shortcuts in the screen capture mode. - Ekran yakalama modunda kullanılabilir kısayollar. + Ekran yakalama modunda kullanılabilir kısayollar. - Key - Anahtar + Anahtar - Description - Tanım + Tanım - + <u><b>License</b></u> <u><b>Lisans</b></u> - + <u><b>Version</b></u> <u><b>Sürüm</b></u> - <u><b>Shortcuts</b></u> - <u><b>Kısayollar</b></u> + <u><b>Kısayollar</b></u> @@ -883,10 +854,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + Çıkış + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + 1px seçimini hareket ettir + + + + Show color picker + Renk seçici göster + + + + Change the tool's thickness + Araç kalınlığını değiştirin + RectangleTool @@ -948,6 +993,47 @@ You can find me in the system tray. Seçimi boyama aracı olarak ayarlar + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + Ekran yakalama modunda kullanılabilir kısayollar. + + + + Description + Tanım + + + + Key + Anahtar + + SidePanelWidget @@ -961,12 +1047,12 @@ You can find me in the system tray. Aktif Renk: - + Press ESC to cancel Çıkmak için ESC'ye tıklayın - + Grab Color diff --git a/translations/Internationalization_uk.ts b/translations/Internationalization_uk.ts index bdda9bc57d..179c3c3def 100644 --- a/translations/Internationalization_uk.ts +++ b/translations/Internationalization_uk.ts @@ -130,7 +130,7 @@ Не вдалось захопити екран - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -159,27 +159,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration Налаштування - + Interface Інтерфейс - + Filename Editor Редактор імені файлів - + + Shortcuts + Гарячі клавіші + + + Path Default Шлях - + General Загальне @@ -187,32 +192,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot &Зробити знімок - + &Open Launcher &Відчинити - + &Configuration &Налаштування - + &Information &Інформація - + &Quit Ви&йти - + &Latest Uploads Останні завантаження @@ -681,104 +686,86 @@ Press Space to open the side panel. Про... - SPACEBAR - ПРОБІЛ + ПРОБІЛ - Right Click - Права кнопка миші + Права кнопка миші - Mouse Wheel - Колесо миші + Колесо миші - Move selection 1px - Перемістити виділення на 1px + Перемістити виділення на 1px - Resize selection 1px - Змінити розмір виділення на 1px + Змінити розмір виділення на 1px - Quit capture - Вийти із захоплення екрану + Вийти із захоплення екрану - Copy to clipboard - Копіювати до буферу обміну + Копіювати до буферу обміну - Save selection as a file - Зберегти вибране до файлу + Зберегти вибране до файлу - Undo the last modification - Скасувати останню зміну + Скасувати останню зміну - Toggle visibility of sidebar with options of the selected tool - Переключити видимість бічної панелі + Переключити видимість бічної панелі - Show color picker - Показати вибір кольору + Показати вибір кольору - Change the tool's thickness - Змінити товщину інструменту + Змінити товщину інструменту - Capture screen - Захватити екран + Захватити екран - Screenshot history - Історія скріншотів + Історія скріншотів - Available shortcuts in the screen capture mode. - Доступні комбінації клавіш у режимі захоплення екрану. + Доступні комбінації клавіш у режимі захоплення екрану. - Key - Клавіша + Клавіша - Description - Опис + Опис - + <u><b>License</b></u> <u><b>Ліцензія</b></u> - + <u><b>Version</b></u> <u><b>Версія</b></u> - <u><b>Shortcuts</b></u> - <u><b>Комбінації клавіш</b></u> + <u><b>Комбінації клавіш</b></u> @@ -915,10 +902,84 @@ You can find me in the system tray. Привіт, а я вже працюю!\nВи можете знайти мене у системному трэї. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. Привіт, я тут! Клацніть піктограму в лотку, щоб зробити знімок екрана, або натисніть правою кнопкою, щоб переглянути додаткові параметри. + + + Resize selection right 1px + Змінити розмір виділення праворуч 1 піксель + + + + Resize selection left 1px + Змінити розмір виділення ліворуч 1 пікс + + + + Resize selection up 1px + Змінити розмір виділення вгору 1 пікс + + + + Resize selection down 1px + Змінити розмір виділення вниз 1 пікс + + + + Toggle side panel + Визвати бічну панель + + + + Move selection left 1px + Перемістити виділення вліво на 1 пікс + + + + Move selection right 1px + Перемістити виділення вправо на 1 пікс + + + + Move selection up 1px + Перемістіть виділення вгору на 1 пікс + + + + Move selection down 1px + Перемістіть виділення вниз на 1 пікс + + + + Quit capture + Вийти із захоплення екрану + + + + Screenshot history + Історія скріншотів + + + + Capture screen + Захватити екран + + + Move selection 1px + Перемістити виділення на 1px + + + + Show color picker + Показати вибір кольору + + + + Change the tool's thickness + Змінити товщину інструменту + RectangleTool @@ -980,6 +1041,47 @@ You can find me in the system tray. Вибрати прямокутне виділення інструментом малювання + + SetShortcutDialog + + + Set Shortcut + Вибрати гарячу клавішу + + + + Enter new shortcut to change + Оберіть нову гарячу клавішу + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + Натисніть Esc для відміни або Backspace для видалення гарячої клавіші + + + + ShortcutsWidget + + + Hot Keys + Гарячі клавіші + + + + Available shortcuts in the screen capture mode. + Доступні комбінації клавіш у режимі захоплення екрану. + + + + Description + Опис + + + + Key + Клавіша + + SidePanelWidget @@ -993,12 +1095,12 @@ You can find me in the system tray. Активний колір: - + Press ESC to cancel Натисніть Esc для скасування - + Grab Color Визначити колір з екрану diff --git a/translations/Internationalization_zh_CN.ts b/translations/Internationalization_zh_CN.ts index 97c59ee4ba..710d93caeb 100644 --- a/translations/Internationalization_zh_CN.ts +++ b/translations/Internationalization_zh_CN.ts @@ -131,7 +131,7 @@ 无法捕获屏幕 - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -160,27 +160,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration 配置 - + Interface 界面 - + Filename Editor 文件名编辑器 - + + Shortcuts + + + + Path Default - + General 常规 @@ -188,32 +193,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot 进行截图(&T) - + &Open Launcher 打开启动器(&O) - + &Configuration 配置(&C) - + &Information 信息(&I) - + &Quit 退出(&Q) - + &Latest Uploads @@ -654,104 +659,78 @@ Press Space to open the side panel. 关于 - SPACEBAR - 空格 + 空格 - Right Click - 右键 + 右键 - Mouse Wheel - 鼠标滑轮 + 鼠标滑轮 - Move selection 1px - 移动选择 1 px + 移动选择 1 px - Resize selection 1px - 调整选择大小 1 px + 调整选择大小 1 px - Quit capture - 退出捕获 + 退出捕获 - Copy to clipboard - 复制到剪贴板 + 复制到剪贴板 - Save selection as a file - 将选择保存为文件 + 将选择保存为文件 - Undo the last modification - 撤消上次修改 + 撤消上次修改 - Toggle visibility of sidebar with options of the selected tool - 切换侧边栏可见性 + 切换侧边栏可见性 - Show color picker - 显示颜色选择器 + 显示颜色选择器 - Change the tool's thickness - 改变工具的厚度 - - - - Capture screen - + 改变工具的厚度 - - Screenshot history - - - - Key - + - Description - 描述 + 描述 - + <u><b>License</b></u> <u><b>许可证</b></u> - + <u><b>Version</b></u> <u><b>版本</b></u> - <u><b>Shortcuts</b></u> - <u><b>快捷键</b></u> + <u><b>快捷键</b></u> - Available shortcuts in the screen capture mode. - 屏幕捕捉模式中的可用快捷键。 + 屏幕捕捉模式中的可用快捷键。 @@ -884,10 +863,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + 退出捕获 + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + 移动选择 1 px + + + + Show color picker + 显示颜色选择器 + + + + Change the tool's thickness + 改变工具的厚度 + RectangleTool @@ -949,6 +1002,47 @@ You can find me in the system tray. 将矩形选择设置为绘画工具 + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + 屏幕捕捉模式中的可用快捷键。 + + + + Description + 描述 + + + + Key + + + SidePanelWidget @@ -962,12 +1056,12 @@ You can find me in the system tray. 活动颜色: - + Press ESC to cancel 按下 ESC 键以取消 - + Grab Color 获取颜色 diff --git a/translations/Internationalization_zh_TW.ts b/translations/Internationalization_zh_TW.ts index a61ddf790b..6194cfb4e5 100644 --- a/translations/Internationalization_zh_TW.ts +++ b/translations/Internationalization_zh_TW.ts @@ -130,7 +130,7 @@ 無法擷取螢幕 - + Select an area with the mouse, or press Esc to exit. Press Enter to capture the screen. Press Right Click to show the color picker. @@ -155,27 +155,32 @@ Press Space to open the side panel. ConfigWindow - + Configuration 設定 - + Interface 介面 - + Filename Editor 檔案名稱編輯器 - + + Shortcuts + + + + Path Default - + General 一般 @@ -183,32 +188,32 @@ Press Space to open the side panel. Controller - + &Take Screenshot - + &Open Launcher - + &Configuration &設定 - + &Information &資訊 - + &Quit &結束 - + &Latest Uploads @@ -649,104 +654,70 @@ Press Space to open the side panel. 關於 - - SPACEBAR - - - - Right Click - 右鍵 + 右鍵 - Mouse Wheel - 滑鼠滑輪 + 滑鼠滑輪 - Move selection 1px - 移動 1px + 移動 1px - Resize selection 1px - 調整大小 1px + 調整大小 1px - Quit capture - 結束擷取 + 結束擷取 - Copy to clipboard - 複製到剪貼簿 + 複製到剪貼簿 - Save selection as a file - 將選擇範圍另存新檔 + 將選擇範圍另存新檔 - Undo the last modification - 復原上次修改 - - - - Toggle visibility of sidebar with options of the selected tool - + 復原上次修改 - Show color picker - 顯示顏色選擇器 + 顯示顏色選擇器 - Change the tool's thickness - 改變工具的寬度 - - - - Capture screen - + 改變工具的寬度 - - Screenshot history - - - - Key - + - Description - 描述 + 描述 - + <u><b>License</b></u> <u><b>授權條款</b></u> - + <u><b>Version</b></u> <u><b>版本</b></u> - <u><b>Shortcuts</b></u> - <u><b>快速鍵</b></u> + <u><b>快速鍵</b></u> - Available shortcuts in the screen capture mode. - 螢幕擷取模式中的可用快速鍵 + 螢幕擷取模式中的可用快速鍵 @@ -879,10 +850,84 @@ You can find me in the system tray. - + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + Resize selection right 1px + + + + + Resize selection left 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Toggle side panel + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Quit capture + 結束擷取 + + + + Screenshot history + + + + + Capture screen + + + + Move selection 1px + 移動 1px + + + + Show color picker + 顯示顏色選擇器 + + + + Change the tool's thickness + 改變工具的寬度 + RectangleTool @@ -944,6 +989,47 @@ You can find me in the system tray. 將矩形選擇設定為繪畫工具 + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + 螢幕擷取模式中的可用快速鍵 + + + + Description + 描述 + + + + Key + + + SidePanelWidget @@ -957,12 +1043,12 @@ You can find me in the system tray. - + Press ESC to cancel - + Grab Color