Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
632 KB
Referenced Files
None
Subscribers
None
This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/dialogs/namingdialog.ui b/dialogs/namingdialog.ui
index c8dcaf9..5f20883 100644
--- a/dialogs/namingdialog.ui
+++ b/dialogs/namingdialog.ui
@@ -1,218 +1,221 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NamingDialog</class>
<widget class="QDialog" name="NamingDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>174</width>
- <height>88</height>
+ <width>168</width>
+ <height>82</height>
</rect>
</property>
<property name="windowTitle">
<string>Naming Options - Lightscreen</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
+ <property name="margin">
+ <number>6</number>
+ </property>
<item>
<widget class="QWidget" name="container" native="true">
<layout class="QVBoxLayout" name="verticalLayout_11">
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QStackedWidget" name="stack">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="numericStackPage">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout" name="namePageLayout">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="leadingZerosLabel">
<property name="text">
<string>Leading zeros:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="leadingZerosSpinBox">
<property name="buttonSymbols">
<enum>QAbstractSpinBox::PlusMinus</enum>
</property>
<property name="suffix">
<string notr="true"/>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>25</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="dateStackPage">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="dateFormatLabel">
<property name="text">
<string>Date Format:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>1</width>
<height>1</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<widget class="QLabel" name="dateHelpLabel">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">margin-left: 4px</string>
</property>
<property name="text">
<string notr="true"> &lt;a href=&quot;http://lightscreen.sourceforge.net/help/date&quot;&gt;[?]&lt;/a&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="dateFormatComboBox">
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">yyyy-MM-dd</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">yyyy-MM-dd HH.mm.ss</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="timestampStackPage">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QCheckBox" name="flipNamingCheckBox">
<property name="text">
<string>Flip naming.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>NamingDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>NamingDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>
diff --git a/dialogs/optionsdialog.cpp b/dialogs/optionsdialog.cpp
index 6e3d0c2..a9fe728 100644
--- a/dialogs/optionsdialog.cpp
+++ b/dialogs/optionsdialog.cpp
@@ -1,725 +1,725 @@
/*
* Copyright (C) 2011 Christian Kaiser
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <QCompleter>
#include <QDate>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QDirModel>
#include <QFileDialog>
#include <QKeyEvent>
#include <QMessageBox>
#include <QProcess>
#include <QSettings>
#include <QTimer>
#include <QUrl>
#include <QDebug>
#ifdef Q_WS_WIN
#include <windows.h>
#endif
#include "optionsdialog.h"
#include "namingdialog.h"
#include "historydialog.h"
#include "../tools/os.h"
#include "../tools/screenshot.h"
#include "../tools/screenshotmanager.h"
#include "../updater/updater.h"
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent)
{
ui.setupUi(this);
setModal(true);
if (os::aeroGlass(this)) {
layout()->setMargin(2);
resize(minimumSizeHint());
}
#if defined(Q_WS_X11)
// KDE-specific style tweaks.
if (qApp->style()->objectName() == "oxygen") {
ui.browsePushButton->setMaximumWidth(30);
ui.namingOptionsButton->setMaximumWidth(30);
ui.fileGroupBox->setFlat(false);
ui.startupGroupBox->setFlat(false);
ui.capturesGroupBox->setFlat(false);
ui.controlGroupBox->setFlat(false);
ui.interfaceGroupBox->setFlat(false);
ui.screenshotsGroupBox->setFlat(false);
ui.previewGroupBox->setFlat(false);
ui.updaterGroupBox->setFlat(false);
ui.optionsTab->layout()->setContentsMargins(0, 0, 6, 0);
ui.aboutTab->layout()->setMargin(8);
}
#endif
QTimer::singleShot(0, this, SLOT(init()));
QTimer::singleShot(1, this, SLOT(loadSettings()));
}
void OptionsDialog::accepted()
{
if (hotkeyCollision()) {
QMessageBox::critical(this, tr("Hotkey conflict"), tr("You have assigned the same hotkeys to more than one action."));
return;
}
if (ui.prefixLineEdit->text().contains(QRegExp("[?:\\\\/*\"<>|]"))) {
QMessageBox::critical(this, tr("Filename character error"), tr("The filename can't contain any of the following characters: ? : \\ / * \" < > |"));
return;
}
if (!ui.fileGroupBox->isChecked() && !ui.clipboardCheckBox->isChecked()) {
QMessageBox::critical(this, tr("Final Destination"), tr("You can't take screenshots unless you enable either file saving or the clipboard."));
return;
}
saveSettings();
accept();
}
void OptionsDialog::checkUpdatesNow()
{
Updater::instance()->checkWithFeedback();
}
void OptionsDialog::languageChange(QString language)
{
os::translate(language);
}
void OptionsDialog::loadSettings()
{
settings()->sync();
os::translate(settings()->value("options/language").toString()); // Why? Don't ask me, I'm just the programmer.
if (!settings()->contains("file/format")) {
// If there are no settings, get rid of the cancel button so that the user is forced to save them
ui.buttonBox->clear();
ui.buttonBox->addButton(QDialogButtonBox::Ok);
// Move the first option window to the center of the screen, since Windows usually positions it in a random location since it has no visible parent.
if (!(static_cast<QWidget*>(parent())->isVisible()))
move(qApp->desktop()->screen(qApp->desktop()->primaryScreen())->rect().center()-QPoint(height()/2, width()/2));
}
ui.startupCheckBox->toggle();
ui.trayCheckBox->toggle();
ui.previewAutocloseCheckBox->toggle();
QString targetDefault;
if (ScreenshotManager::instance()->portableMode()) {
targetDefault = tr("Screenshots");
}
else {
targetDefault = os::getDocumentsPath() + QDir::separator() + tr("Screenshots");
}
settings()->beginGroup("file");
ui.formatComboBox->setCurrentIndex(settings()->value("format", 1).toInt());
ui.prefixLineEdit->setText(settings()->value("prefix", tr("screenshot.")).toString());
ui.namingComboBox->setCurrentIndex(settings()->value("naming", 0).toInt());
ui.targetLineEdit->setText(settings()->value("target", targetDefault).toString());
ui.fileGroupBox->setChecked(settings()->value("enabled", true).toBool());
settings()->endGroup();
settings()->beginGroup("options");
ui.startupCheckBox->setChecked(settings()->value("startup", false).toBool());
ui.startupHideCheckBox->setChecked(settings()->value("startupHide", true).toBool());
ui.hideCheckBox->setChecked(settings()->value("hide", true).toBool());
ui.delaySpinBox->setValue(settings()->value("delay", 0).toInt());
flipToggled(settings()->value("flip", false).toBool());
ui.trayCheckBox->setChecked(settings()->value("tray", true).toBool());
ui.messageCheckBox->setChecked(settings()->value("message", true).toBool());
ui.qualitySlider->setValue(settings()->value("quality", 100).toInt());
ui.playSoundCheckBox->setChecked(settings()->value("playSound", false).toBool());
ui.updaterCheckBox->setChecked(!settings()->value("disableUpdater", false).toBool());
ui.magnifyCheckBox->setChecked(settings()->value("magnify", true).toBool());
ui.cursorCheckBox->setChecked(settings()->value("cursor", false).toBool());
ui.saveAsCheckBox->setChecked(settings()->value("saveAs", false).toBool());
ui.previewGroupBox->setChecked(settings()->value("preview", false).toBool());
ui.previewSizeSpinBox->setValue(settings()->value("previewSize", 300).toInt());
ui.previewPositionComboBox->setCurrentIndex(settings()->value("previewPosition", 3).toInt());
ui.previewAutocloseCheckBox->setChecked(settings()->value("previewAutoclose", false).toBool());
ui.previewAutocloseTimeSpinBox->setValue(settings()->value("previewAutocloseTime", 15).toInt());
ui.previewAutocloseActionComboBox->setCurrentIndex(settings()->value("previewAutocloseAction", 0).toInt());
ui.previewDefaultActionComboBox->setCurrentIndex(settings()->value("previewDefaultAction", 0).toInt());
ui.areaAutocloseCheckBox->setChecked(settings()->value("areaAutoclose", false).toBool());
ui.historyCheckBox->setChecked(settings()->value("history", true).toBool());
// Advanced
ui.clipboardCheckBox->setChecked(settings()->value("clipboard", true).toBool());
ui.optiPngCheckBox->setChecked(settings()->value("optipng", true).toBool());
ui.warnHideCheckBox->setChecked(!settings()->value("disableHideAlert", false).toBool());
ui.currentMonitorCheckBox->setChecked(settings()->value("currentMonitor", false).toBool());
ui.replaceCheckBox->setChecked(settings()->value("replace", false).toBool());
ui.uploadCheckBox->setChecked(settings()->value("uploadAuto", false).toBool());
#ifdef Q_WS_WIN
if (!QFile::exists(qApp->applicationDirPath() + QDir::separator() + "optipng.exe")) {
ui.optiPngCheckBox->setEnabled(false);
ui.optiPngLabel->setText("optipng.exe not found");
}
#elif defined(Q_WS_X11)
if (!QProcess::startDetached("optipng")) {
ui.optiPngCheckBox->setChecked(false);
ui.optiPngCheckBox->setEnabled(false);
ui.optiPngLabel->setText(tr("Install 'OptiPNG'"));
}
//TODO: Sound cue support on Linux
ui.playSoundCheckBox->setVisible(false);
ui.playSoundCheckBox->setChecked(false);
//TODO: Cursor support on X11
ui.cursorCheckBox->setVisible(false);
ui.cursorCheckBox->setChecked(false);
#endif
//TODO: Must replace with not-stupid system
QString lang = settings()->value("language").toString();
int index = ui.languageComboBox->findText(lang);
if (index == -1)
index = ui.languageComboBox->findText("English");
ui.languageComboBox->setCurrentIndex(index);
settings()->endGroup();
settings()->beginGroup("actions");
// This toggle is for the first run
ui.screenCheckBox->toggle();
ui.areaCheckBox->toggle();
ui.windowCheckBox->toggle();
ui.windowPickerCheckBox->toggle();
ui.openCheckBox->toggle();
ui.directoryCheckBox->toggle();
settings()->beginGroup("screen");
ui.screenCheckBox->setChecked(settings()->value("enabled", true).toBool());
- ui.screenHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::Key_Print)).value<QKeySequence> ());
+ ui.screenHotkeyWidget->setHotkey(settings()->value("hotkey", "Print").toString());
settings()->endGroup();
settings()->beginGroup("area");
ui.areaCheckBox->setChecked(settings()->value("enabled").toBool());
- ui.areaHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::CTRL + Qt::Key_Print)).value<QKeySequence> ());
+ ui.areaHotkeyWidget->setHotkey(settings()->value("hotkey", "Ctrl+Print").toString());
settings()->endGroup();
settings()->beginGroup("window");
ui.windowCheckBox->setChecked(settings()->value("enabled").toBool());
- ui.windowHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::ALT + Qt::Key_Print)).value<QKeySequence> ());
+ ui.windowHotkeyWidget->setHotkey(settings()->value("hotkey", "Alt + Print").toString());
settings()->endGroup();
settings()->beginGroup("windowPicker");
ui.windowPickerCheckBox->setChecked(settings()->value("enabled").toBool());
- ui.windowPickerHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Print)).value<QKeySequence> ());
+ ui.windowPickerHotkeyWidget->setHotkey(settings()->value("hotkey", "Ctrl + Alt + Print").toString());
settings()->endGroup();
settings()->beginGroup("open");
ui.openCheckBox->setChecked(settings()->value("enabled").toBool());
- ui.openHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::CTRL + Qt::Key_PageUp)).value<QKeySequence> ());
+ ui.openHotkeyWidget->setHotkey(settings()->value("hotkey", "Ctrl + PgUp").toString());
settings()->endGroup();
settings()->beginGroup("directory");
ui.directoryCheckBox->setChecked(settings()->value("enabled").toBool());
- ui.directoryHotkeyWidget->setHotkey(settings()->value("hotkey", QKeySequence(Qt::SHIFT + Qt::Key_PageUp)).value<QKeySequence> ());
+ ui.directoryHotkeyWidget->setHotkey(settings()->value("hotkey", "Ctrl + PgDown").toString());
settings()->endGroup();
settings()->endGroup();
QTimer::singleShot(0, this, SLOT(updatePreview()));
setEnabled(true);
setUpdatesEnabled(true);
}
void OptionsDialog::openUrl(QString url)
{
if (url == "#aboutqt") {
qApp->aboutQt();
}
else {
QDesktopServices::openUrl(QUrl(url));
}
}
void OptionsDialog::rejected()
{
languageChange(settings()->value("options/language").toString()); // Revert language to default.
}
void OptionsDialog::saveSettings()
{
settings()->beginGroup("file");
settings()->setValue("format", ui.formatComboBox->currentIndex());
settings()->setValue("prefix", ui.prefixLineEdit->text());
settings()->setValue("naming", ui.namingComboBox->currentIndex());
settings()->setValue("target", ui.targetLineEdit->text());
settings()->setValue("enabled", ui.fileGroupBox->isChecked());
settings()->endGroup();
settings()->beginGroup("options");
settings()->setValue("startup", ui.startupCheckBox->isChecked());
settings()->setValue("startupHide", ui.startupHideCheckBox->isChecked());
settings()->setValue("hide", ui.hideCheckBox->isChecked());
settings()->setValue("delay", ui.delaySpinBox->value());
settings()->setValue("tray", ui.trayCheckBox->isChecked());
settings()->setValue("message", ui.messageCheckBox->isChecked());
settings()->setValue("quality", ui.qualitySlider->value());
settings()->setValue("playSound", ui.playSoundCheckBox->isChecked());
// We save the explicit string because addition/removal of language files can cause it to change
settings()->setValue("language", ui.languageComboBox->currentText());
// This settings is inverted because the first iteration of the Updater did not have a settings but instead relied on the messagebox choice of the user.
settings()->setValue("disableUpdater", !ui.updaterCheckBox->isChecked());
settings()->setValue("magnify", ui.magnifyCheckBox->isChecked());
settings()->setValue("cursor", ui.cursorCheckBox->isChecked());
settings()->setValue("saveAs", ui.saveAsCheckBox->isChecked());
settings()->setValue("preview", ui.previewGroupBox->isChecked());
settings()->setValue("previewSize", ui.previewSizeSpinBox->value());
settings()->setValue("previewPosition", ui.previewPositionComboBox->currentIndex());
settings()->setValue("previewAutoclose", ui.previewAutocloseCheckBox->isChecked());
settings()->setValue("previewAutocloseTime", ui.previewAutocloseTimeSpinBox->value());
settings()->setValue("previewAutocloseAction", ui.previewAutocloseActionComboBox->currentIndex());
settings()->setValue("previewDefaultAction", ui.previewDefaultActionComboBox->currentIndex());
settings()->setValue("areaAutoclose", ui.areaAutocloseCheckBox->isChecked());
settings()->setValue("history", ui.historyCheckBox->isChecked());
// Advanced
settings()->setValue("disableHideAlert", !ui.warnHideCheckBox->isChecked());
settings()->setValue("clipboard", ui.clipboardCheckBox->isChecked());
settings()->setValue("optipng", ui.optiPngCheckBox->isChecked());
settings()->setValue("currentMonitor", ui.currentMonitorCheckBox->isChecked());
settings()->setValue("replace", ui.replaceCheckBox->isChecked());
//Upload
settings()->setValue("uploadAuto", ui.uploadCheckBox->isChecked());
settings()->endGroup();
settings()->beginGroup("actions");
settings()->beginGroup("screen");
settings()->setValue("enabled", ui.screenCheckBox->isChecked());
settings()->setValue("hotkey", ui.screenHotkeyWidget->hotkey());
settings()->endGroup();
settings()->beginGroup("area");
settings()->setValue("enabled", ui.areaCheckBox->isChecked());
settings()->setValue("hotkey", ui.areaHotkeyWidget->hotkey());
settings()->endGroup();
settings()->beginGroup("window");
settings()->setValue("enabled", ui.windowCheckBox->isChecked());
settings()->setValue("hotkey", ui.windowHotkeyWidget->hotkey());
settings()->endGroup();
settings()->beginGroup("windowPicker");
settings()->setValue("enabled", ui.windowPickerCheckBox->isChecked());
settings()->setValue("hotkey", ui.windowPickerHotkeyWidget->hotkey());
settings()->endGroup();
settings()->beginGroup("open");
settings()->setValue("enabled", ui.openCheckBox->isChecked());
settings()->setValue("hotkey", ui.openHotkeyWidget->hotkey());
settings()->endGroup();
settings()->beginGroup("directory");
settings()->setValue("enabled", ui.directoryCheckBox->isChecked());
settings()->setValue("hotkey", ui.directoryHotkeyWidget->hotkey());
settings()->endGroup();
settings()->endGroup();
}
void OptionsDialog::updatePreview()
{
Screenshot::NamingOptions options;
options.naming = (Screenshot::Naming)ui.namingComboBox->currentIndex();
options.flip = settings()->value("options/flip").toBool();
options.leadingZeros = settings()->value("options/naming/leadingZeros").toInt();
options.dateFormat = settings()->value("options/naming/dateFormat").toString();
ui.namingOptionsButton->setDisabled((options.naming == Screenshot::Empty));
QString preview = Screenshot::getName(options,
ui.prefixLineEdit->text(),
QDir(ui.targetLineEdit->text()));
preview = QString("%1.%2").arg(preview).arg(ui.formatComboBox->currentText().toLower());
if (preview.length() >= 40) {
preview.truncate(37);
preview.append("...");
}
ui.previewLabel->setText(preview);
}
void OptionsDialog::viewHistory()
{
HistoryDialog historyDialog(this);
historyDialog.exec();
}
//
bool OptionsDialog::event(QEvent* event)
{
if (event->type() == QEvent::LanguageChange) {
// ComboBoxes revert to the first index when translated:
int naming = ui.namingComboBox->currentIndex();
int format = ui.formatComboBox->currentIndex();
int previewPosition = ui.previewPositionComboBox->currentIndex();
int previewAutoclose = ui.previewAutocloseActionComboBox->currentIndex();
int previewDefault = ui.previewDefaultActionComboBox->currentIndex();
ui.retranslateUi(this);
// Restoring comboboxes
ui.namingComboBox->setCurrentIndex(naming);
ui.formatComboBox->setCurrentIndex(format);
ui.previewPositionComboBox->setCurrentIndex(previewPosition);
ui.previewAutocloseActionComboBox->setCurrentIndex(previewAutoclose);
ui.previewDefaultActionComboBox->setCurrentIndex(previewDefault);
updatePreview();
resize(minimumSizeHint());
}
else if (event->type() == QEvent::Close) {
if (!settings()->contains("file/format")) {
// I'm afraid I can't let you do that, Dave.
event->ignore();
return false;
}
}
return QDialog::event(event);
}
#ifdef Q_WS_WIN
// Qt does not send the print screen key as a regular QKeyPress event, so we must use the Windows API
bool OptionsDialog::winEvent(MSG *message, long *result)
{
if ((message->message == WM_KEYUP || message->message == WM_SYSKEYUP)
&& message->wParam == VK_SNAPSHOT) {
qApp->postEvent(qApp->focusWidget(), new QKeyEvent(QEvent::KeyPress, Qt::Key_Print, qApp->keyboardModifiers()));
}
return QDialog::winEvent(message, result);
}
#endif
//
void OptionsDialog::browse()
{
QString fileName = QFileDialog::getExistingDirectory(this,
tr("Select where you want to save the screenshots"),
ui.targetLineEdit->text());
if (fileName.isEmpty())
return;
ui.targetLineEdit->setText(fileName);
}
void OptionsDialog::dialogButtonClicked(QAbstractButton *button)
{
if (ui.buttonBox->buttonRole(button) == QDialogButtonBox::ResetRole) {
QMessageBox msgBox;
msgBox.setWindowTitle(tr("Lightscreen - Restore Default Options"));
msgBox.setText(tr("Restoring the default options will cause you to lose all of your current configuration."));
msgBox.setIcon(QMessageBox::Warning);
QPushButton *restoreButton = msgBox.addButton(tr("Restore"), QMessageBox::ActionRole);
QPushButton *dontRestoreButton = msgBox.addButton(tr("Don't Restore"), QMessageBox::ActionRole);
msgBox.setDefaultButton(dontRestoreButton);
msgBox.exec();
Q_UNUSED(restoreButton)
if (msgBox.clickedButton() == dontRestoreButton)
return;
QString language = settings()->value("options/language").toString(); // Only mantain language.
settings()->clear();
settings()->setValue("options/language", language);
loadSettings();
}
}
void OptionsDialog::flipToggled(bool checked)
{
setUpdatesEnabled(false);
ui.filenameLayout->removeWidget(ui.prefixLineEdit);
ui.filenameLayout->removeWidget(ui.namingComboBox);
if (checked) {
ui.filenameLayout->addWidget(ui.namingComboBox);
ui.filenameLayout->addWidget(ui.prefixLineEdit);
}
else {
ui.filenameLayout->addWidget(ui.prefixLineEdit);
ui.filenameLayout->addWidget(ui.namingComboBox);
}
if (ui.prefixLineEdit->text() == tr("screenshot.")
&& checked)
ui.prefixLineEdit->setText(tr(".screenshot"));
if (ui.prefixLineEdit->text() == tr(".screenshot")
&& !checked)
ui.prefixLineEdit->setText(tr("screenshot."));
setUpdatesEnabled(true); // Avoids flicker
}
void OptionsDialog::init()
{
// Make the scroll area share the Tab Widget background color
QPalette optionsPalette = ui.optionsScrollArea->palette();
optionsPalette.setColor(QPalette::Window, ui.tabWidget->palette().color(QPalette::Base));
ui.optionsScrollArea->setPalette(optionsPalette);
ui.buttonBox->addButton(new QPushButton(" " + tr("Restore Defaults") + " ", this), QDialogButtonBox::ResetRole);
// Set up the autocomplete for the directory.
QCompleter *completer = new QCompleter(this);
completer->setModel(new QDirModel(QStringList(), QDir::Dirs, QDir::Name, completer));
ui.targetLineEdit->setCompleter(completer);
// HotkeyWidget icons.
ui.screenHotkeyWidget->setIcon (QIcon(":/icons/screen"));
ui.windowHotkeyWidget->setIcon (QIcon(":/icons/window"));
ui.windowPickerHotkeyWidget->setIcon(QIcon(":/icons/picker"));
ui.areaHotkeyWidget->setIcon (QIcon(":/icons/area"));
ui.openHotkeyWidget->setIcon (QIcon(":/icons/lightscreen.small"));
ui.directoryHotkeyWidget->setIcon (QIcon(":/icons/folder"));
// Version
ui.versionLabel->setText(tr("Version %1").arg(qApp->applicationVersion()));
setEnabled(false); // We disable the widgets to prevent any user interaction until the settings have loaded.
setUpdatesEnabled(false);
//
// Connections
//
connect(ui.buttonBox , SIGNAL(clicked(QAbstractButton*)), this , SLOT(dialogButtonClicked(QAbstractButton*)));
connect(ui.buttonBox , SIGNAL(accepted()) , this , SLOT(accepted()));
connect(ui.buttonBox , SIGNAL(rejected()) , this , SLOT(rejected()));
connect(ui.namingOptionsButton , SIGNAL(clicked()) , this , SLOT(namingOptions()));
connect(ui.prefixLineEdit , SIGNAL(textChanged(QString)) , this , SLOT(updatePreview()));
connect(ui.formatComboBox , SIGNAL(currentIndexChanged(int)) , this , SLOT(updatePreview()));
connect(ui.namingComboBox , SIGNAL(currentIndexChanged(int)) , this , SLOT(updatePreview()));
connect(ui.browsePushButton , SIGNAL(clicked()) , this , SLOT(browse()));
connect(ui.checkUpdatesPushButton , SIGNAL(clicked()) , this , SLOT(checkUpdatesNow()));
connect(ui.historyPushButton , SIGNAL(clicked()) , this , SLOT(viewHistory()));
connect(ui.screenCheckBox , SIGNAL(toggled(bool)), ui.screenHotkeyWidget , SLOT(setEnabled(bool)));
connect(ui.areaCheckBox , SIGNAL(toggled(bool)), ui.areaHotkeyWidget , SLOT(setEnabled(bool)));
connect(ui.windowCheckBox , SIGNAL(toggled(bool)), ui.windowHotkeyWidget , SLOT(setEnabled(bool)));
connect(ui.windowPickerCheckBox, SIGNAL(toggled(bool)), ui.windowPickerHotkeyWidget, SLOT(setEnabled(bool)));
connect(ui.openCheckBox , SIGNAL(toggled(bool)), ui.openHotkeyWidget , SLOT(setEnabled(bool)));
connect(ui.directoryCheckBox , SIGNAL(toggled(bool)), ui.directoryHotkeyWidget, SLOT(setEnabled(bool)));
// "Save as" disables the file target input field.
connect(ui.saveAsCheckBox , SIGNAL(toggled(bool)), ui.targetLineEdit , SLOT(setDisabled(bool)));
connect(ui.saveAsCheckBox , SIGNAL(toggled(bool)), ui.browsePushButton , SLOT(setDisabled(bool)));
connect(ui.saveAsCheckBox , SIGNAL(toggled(bool)), ui.directoryLabel , SLOT(setDisabled(bool)));
connect(ui.startupCheckBox , SIGNAL(toggled(bool)), ui.startupHideCheckBox , SLOT(setEnabled(bool)));
connect(ui.qualitySlider , SIGNAL(valueChanged(int)), ui.qualityValueLabel, SLOT(setNum(int)));
connect(ui.trayCheckBox , SIGNAL(toggled(bool)), ui.messageCheckBox , SLOT(setEnabled(bool)));
// Auto-upload disables the default action button in the previews.
connect(ui.uploadCheckBox , SIGNAL(toggled(bool)), ui.previewDefaultActionLabel , SLOT(setDisabled(bool)));
connect(ui.uploadCheckBox , SIGNAL(toggled(bool)), ui.previewDefaultActionComboBox, SLOT(setDisabled(bool)));
connect(ui.directoryCheckBox , SIGNAL(toggled(bool)), ui.directoryHotkeyWidget, SLOT(setEnabled(bool)));
connect(ui.moreInformationLabel, SIGNAL(linkActivated(QString)) , this, SLOT(openUrl(QString)));
connect(ui.languageComboBox , SIGNAL(currentIndexChanged(QString)), this, SLOT(languageChange(QString)));
connect(ui.mainLabel , SIGNAL(linkActivated(QString)), this, SLOT(openUrl(QString)));
connect(ui.licenseAboutLabel, SIGNAL(linkActivated(QString)), this, SLOT(openUrl(QString)));
connect(ui.linksLabel, SIGNAL(linkActivated(QString)), this, SLOT(openUrl(QString)));
//
// Languages
//
QDir languages(":/translations");
ui.languageComboBox->addItem("English");
foreach (QString language, languages.entryList()) {
ui.languageComboBox->addItem(language);
}
}
void OptionsDialog::namingOptions()
{
NamingDialog namingDialog((Screenshot::Naming) ui.namingComboBox->currentIndex());
namingDialog.exec();
flipToggled(settings()->value("options/flip").toBool());
updatePreview();
}
//
bool OptionsDialog::hotkeyCollision()
{
// Check for hotkey collision (there's probably a better way to do this...=)
if (ui.screenCheckBox->isChecked()) {
if (ui.screenHotkeyWidget->hotkey() == ui.areaHotkeyWidget->hotkey()
&& ui.areaCheckBox->isChecked())
return true;
if (ui.screenHotkeyWidget->hotkey() == ui.windowHotkeyWidget->hotkey()
&& ui.windowCheckBox->isChecked())
return true;
if (ui.screenHotkeyWidget->hotkey() == ui.windowPickerHotkeyWidget->hotkey()
&& ui.windowPickerCheckBox->isChecked())
return true;
if (ui.screenHotkeyWidget->hotkey() == ui.openHotkeyWidget->hotkey()
&& ui.openCheckBox->isChecked())
return true;
if (ui.screenHotkeyWidget->hotkey() == ui.directoryHotkeyWidget->hotkey()
&& ui.directoryCheckBox->isChecked())
return true;
}
if (ui.areaCheckBox->isChecked()) {
if (ui.areaHotkeyWidget->hotkey() == ui.screenHotkeyWidget->hotkey()
&& ui.screenCheckBox->isChecked())
return true;
if (ui.areaHotkeyWidget->hotkey() == ui.windowHotkeyWidget->hotkey()
&& ui.windowCheckBox->isChecked())
return true;
if (ui.areaHotkeyWidget->hotkey() == ui.windowPickerHotkeyWidget->hotkey()
&& ui.windowPickerCheckBox->isChecked())
return true;
if (ui.areaHotkeyWidget->hotkey() == ui.openHotkeyWidget->hotkey()
&& ui.openCheckBox->isChecked())
return true;
if (ui.areaHotkeyWidget->hotkey() == ui.directoryHotkeyWidget->hotkey()
&& ui.directoryCheckBox->isChecked())
return true;
}
if (ui.windowCheckBox->isChecked()) {
if (ui.windowHotkeyWidget->hotkey() == ui.screenHotkeyWidget->hotkey()
&& ui.screenCheckBox->isChecked())
return true;
if (ui.windowHotkeyWidget->hotkey() == ui.areaHotkeyWidget->hotkey()
&& ui.areaCheckBox->isChecked())
return true;
if (ui.windowHotkeyWidget->hotkey() == ui.windowPickerHotkeyWidget->hotkey()
&& ui.windowPickerCheckBox->isChecked())
return true;
if (ui.windowHotkeyWidget->hotkey() == ui.openHotkeyWidget->hotkey()
&& ui.openCheckBox->isChecked())
return true;
if (ui.windowHotkeyWidget->hotkey() == ui.directoryHotkeyWidget->hotkey()
&& ui.directoryCheckBox->isChecked())
return true;
}
if (ui.openCheckBox->isChecked()) {
if (ui.openHotkeyWidget->hotkey() == ui.screenHotkeyWidget->hotkey()
&& ui.screenCheckBox->isChecked())
return true;
if (ui.openHotkeyWidget->hotkey() == ui.areaHotkeyWidget->hotkey()
&& ui.areaCheckBox->isChecked())
return true;
if (ui.openHotkeyWidget->hotkey() == ui.windowPickerHotkeyWidget->hotkey()
&& ui.windowPickerCheckBox->isChecked())
return true;
if (ui.openHotkeyWidget->hotkey() == ui.windowHotkeyWidget->hotkey()
&& ui.windowCheckBox->isChecked())
return true;
if (ui.openHotkeyWidget->hotkey() == ui.directoryHotkeyWidget->hotkey()
&& ui.directoryCheckBox->isChecked())
return true;
}
if (ui.directoryCheckBox->isChecked()) {
if (ui.directoryHotkeyWidget->hotkey() == ui.screenHotkeyWidget->hotkey()
&& ui.screenCheckBox->isChecked())
return true;
if (ui.directoryHotkeyWidget->hotkey() == ui.areaHotkeyWidget->hotkey()
&& ui.areaCheckBox->isChecked())
return true;
if (ui.directoryHotkeyWidget->hotkey() == ui.windowPickerHotkeyWidget->hotkey()
&& ui.windowPickerCheckBox->isChecked())
return true;
if (ui.directoryHotkeyWidget->hotkey() == ui.windowHotkeyWidget->hotkey()
&& ui.windowCheckBox->isChecked())
return true;
if (ui.directoryHotkeyWidget->hotkey() == ui.openHotkeyWidget->hotkey()
&& ui.openCheckBox->isChecked())
return true;
}
return false;
}
QSettings *OptionsDialog::settings() const
{
return ScreenshotManager::instance()->settings();
}
diff --git a/dialogs/optionsdialog.ui b/dialogs/optionsdialog.ui
index aa55734..7cc50a3 100644
--- a/dialogs/optionsdialog.ui
+++ b/dialogs/optionsdialog.ui
@@ -1,1358 +1,1388 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OptionsDialog</class>
<widget class="QDialog" name="OptionsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>399</width>
<height>317</height>
</rect>
</property>
<property name="windowTitle">
<string>Options - Lightscreen</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="generalTab">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QGroupBox" name="fileGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>File</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="fileGroupBoxLayout">
<property name="verticalSpacing">
<number>4</number>
</property>
<property name="margin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="directoryLabel">
<property name="text">
<string>&amp;Directory:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>targetLineEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="targetLineEdit">
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="browsePushButton">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../lightscreen.qrc">
<normaloff>:/icons/folder</normaloff>:/icons/folder</iconset>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="filenameLabel">
<property name="toolTip">
<string>The prefix for the screenshot file</string>
</property>
<property name="text">
<string>&amp;Filename:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>prefixLineEdit</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="filenameLayout">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QLineEdit" name="prefixLineEdit">
<property name="whatsThis">
<string>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="namingComboBox">
<property name="whatsThis">
<string>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</string>
</property>
<item>
<property name="text">
<string>(number)</string>
</property>
</item>
<item>
<property name="text">
<string>(date)</string>
</property>
</item>
<item>
<property name="text">
<string>(timestamp)</string>
</property>
</item>
<item>
<property name="text">
<string>(none)</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="namingOptionsButton">
<property name="icon">
<iconset resource="../lightscreen.qrc">
<normaloff>:/icons/configure</normaloff>:/icons/configure</iconset>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="formatLabel">
<property name="toolTip">
<string>The file format for the screenshot</string>
</property>
<property name="text">
<string>F&amp;ormat:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>formatComboBox</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="formatComboBox">
<item>
<property name="text">
<string notr="true">PNG</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">JPG</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">BMP</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="qualityLabel">
<property name="text">
<string>&amp;Quality:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>qualitySlider</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSlider" name="qualitySlider">
<property name="whatsThis">
<string>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</string>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="pageStep">
<number>5</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="4" column="2">
<layout class="QHBoxLayout" name="qualityLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<item>
<widget class="QLabel" name="qualityValueLabel">
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="text">
<string notr="true">100</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="qualityPercentLabel">
<property name="font">
<font>
<pointsize>7</pointsize>
</font>
</property>
<property name="text">
<string notr="true">%</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="0">
- <widget class="QLabel" name="label">
+ <widget class="QLabel" name="previewTextLabel">
+ <property name="font">
+ <font>
+ <underline>true</underline>
+ </font>
+ </property>
<property name="text">
- <string>&lt;i&gt;Preview:&lt;/i&gt;</string>
+ <string>Preview:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="previewLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="startupGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>System Startup</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="startupCheckBox">
<property name="whatsThis">
<string/>
</property>
<property name="text">
<string>&amp;Run Lightscreen at system startup.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="startupHideLayout">
<item>
<spacer name="startupHideSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>15</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="startupHideCheckBox">
<property name="whatsThis">
<string/>
</property>
<property name="text">
<string>H&amp;ide the main window.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="hotkeyTab">
<attribute name="title">
<string>Hotkeys</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="capturesGroupBox">
<property name="title">
<string>Captures</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="screenCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Fullscreen</string>
+ <string>&amp;Fullscreen</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="HotkeyWidget" name="screenHotkeyWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="windowPickerCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Window Picker</string>
+ <string>Window &amp;Picker</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="HotkeyWidget" name="windowPickerHotkeyWidget"/>
</item>
<item row="2" column="1">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="windowCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Active Window</string>
+ <string>Active &amp;Window</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="HotkeyWidget" name="windowHotkeyWidget"/>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="areaCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Screen Area</string>
+ <string>Screen &amp;Area</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="HotkeyWidget" name="areaHotkeyWidget"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="controlGroupBox">
<property name="title">
<string>Lightscreen Control</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="openCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Open the program window</string>
+ <string>&amp;Open the program window</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="HotkeyWidget" name="openHotkeyWidget"/>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="directoryCheckBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
- <string>Open the directory</string>
+ <string>Open the &amp;directory</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="HotkeyWidget" name="directoryHotkeyWidget"/>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="optionsTab">
<attribute name="title">
<string>Options</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QScrollArea" name="optionsScrollArea">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>375</width>
<height>0</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>358</width>
<height>726</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>4</number>
</property>
<property name="margin">
<number>6</number>
</property>
<item>
<widget class="QGroupBox" name="interfaceGroupBox">
<property name="title">
<string>Interface</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QCheckBox" name="trayCheckBox">
<property name="whatsThis">
<string/>
</property>
<property name="text">
<string>Sho&amp;w a system tray icon.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="hideCheckBox">
<property name="text">
<string>&amp;Hide Lightscreen while taking a screenshot.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="warnHideCheckBox">
<property name="text">
<string>Warn when hiding without a tra&amp;y icon.</string>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="notifyLayout">
<property name="topMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item row="1" column="1">
<widget class="QCheckBox" name="messageCheckBox">
<property name="whatsThis">
<string>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</string>
</property>
<property name="text">
<string>Tray icon Popup</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="playSoundCheckBox">
<property name="text">
<string>&amp;Sound cue</string>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>15</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="notifyLabel">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<underline>true</underline>
</font>
</property>
<property name="text">
<string>&amp;Notify with:</string>
</property>
<property name="buddy">
<cstring>messageCheckBox</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="languageLayout">
<item>
<widget class="QLabel" name="languageLabel">
<property name="text">
<string>&amp;Language:</string>
</property>
<property name="buddy">
<cstring>languageComboBox</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="languageComboBox">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="moreInformationLabel">
<property name="whatsThis">
<string>Click here to go to the Lightscreen homepage to learn more about translations.</string>
</property>
<property name="text">
<string>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</string>
</property>
</widget>
</item>
<item>
<spacer name="languageSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="previewGroupBox">
<property name="title">
<string>Screenshot Previews</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="previewSizeLabel">
<property name="text">
<string>Maximum Size:</string>
</property>
<property name="buddy">
<cstring>previewSizeSpinBox</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="previewSizeSpinBox">
<property name="buttonSymbols">
<enum>QAbstractSpinBox::PlusMinus</enum>
</property>
<property name="accelerated">
<bool>true</bool>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="suffix">
<string notr="true"> px</string>
</property>
<property name="minimum">
<number>200</number>
</property>
<property name="maximum">
<number>800</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="value">
<number>300</number>
</property>
</widget>
</item>
<item row="0" column="4" rowspan="4">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QLabel" name="previewPositionLabel">
<property name="text">
<string>Position:</string>
</property>
<property name="buddy">
<cstring>previewPositionComboBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="previewPositionComboBox">
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string>Top Left</string>
</property>
</item>
<item>
<property name="text">
<string>Top Right</string>
</property>
</item>
<item>
<property name="text">
<string>Bottom Left</string>
</property>
</item>
<item>
<property name="text">
<string>Bottom Right</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="previewAutocloseCheckBox">
<property name="text">
<string>Auto-close after</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="previewAutocloseTimeSpinBox">
<property name="suffix">
<string> seconds</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="andLabel">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="text">
<string> and </string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
+ <property name="buddy">
+ <cstring>previewAutocloseActionComboBox</cstring>
+ </property>
</widget>
</item>
<item row="2" column="3">
<widget class="QComboBox" name="previewAutocloseActionComboBox">
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>save</string>
</property>
</item>
<item>
<property name="text">
<string>upload</string>
</property>
</item>
<item>
<property name="text">
<string>cancel</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="previewDefaultActionLabel">
<property name="text">
<string>Default action:</string>
</property>
+ <property name="buddy">
+ <cstring>previewDefaultActionComboBox</cstring>
+ </property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="previewDefaultActionComboBox">
<item>
<property name="text">
<string>save</string>
</property>
</item>
<item>
<property name="text">
<string>upload</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="screenshotsGroupBox">
<property name="title">
<string>Screenshots</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QCheckBox" name="saveAsCheckBox">
<property name="text">
<string>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="clipboardCheckBox">
<property name="text">
<string>&amp;Copy the screenshot to the clipboard.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="currentMonitorCheckBox">
<property name="text">
<string>&amp;Grab only the active monitor.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cursorCheckBox">
<property name="text">
<string>Inc&amp;lude the cursor in the screenshot.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="magnifyCheckBox">
<property name="text">
<string>&amp;Magnify around the mouse in Area mode.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QCheckBox" name="optiPngCheckBox">
<property name="toolTip">
<string>Runs OptiPNG which reduces screenshot file size.</string>
</property>
<property name="text">
<string>O&amp;ptimize PNG screenshots.</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="optiPngLabel">
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>128</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>141</red>
<green>138</green>
<blue>136</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_10">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="replaceCheckBox">
<property name="text">
<string>Replace screenshots when there's an existing file.</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="areaAutocloseCheckBox">
<property name="text">
<string>Snap area screenshots automatically (no resizing).</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="uploadCheckBox">
<property name="text">
<string>Upload all my screenshots automatically.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="delayLabel">
<property name="text">
<string>D&amp;elay:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>delaySpinBox</cstring>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="delaySpinBox">
<property name="whatsThis">
<string>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</string>
</property>
<property name="specialValueText">
<string>none</string>
</property>
<property name="accelerated">
<bool>true</bool>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="suffix">
<string> seconds</string>
</property>
<property name="prefix">
<string/>
</property>
<property name="maximum">
<number>32767</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>114</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="historyGroupBox">
<property name="title">
<string>History</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="historyLayout">
<item>
<widget class="QCheckBox" name="historyCheckBox">
<property name="text">
<string>Save my screenshot history.</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>95</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="historyPushButton">
<property name="text">
- <string>View History</string>
+ <string>View &amp;History</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="updaterGroupBox">
<property name="title">
<string>Updater</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="updaterLayout">
<item>
<widget class="QCheckBox" name="updaterCheckBox">
<property name="text">
<string>Check for updates regularly.</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="checkUpdatesPushButton">
<property name="text">
<string>Chec&amp;k Now</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="aboutTab">
<attribute name="title">
<string>About</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QLabel" name="mainLabel">
<property name="text">
<string>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
+ <property name="textInteractionFlags">
+ <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
+ </property>
</widget>
</item>
<item>
<widget class="QLabel" name="licenseAboutLabel">
<property name="text">
<string>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</string>
</property>
+ <property name="textInteractionFlags">
+ <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
+ </property>
</widget>
</item>
<item>
<widget class="QLabel" name="versionLabel">
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="linksLabel">
<property name="text">
<string>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
+ <property name="textInteractionFlags">
+ <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
+ </property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>HotkeyWidget</class>
<extends>QPushButton</extends>
<header>widgets/hotkeywidget.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>fileGroupBox</tabstop>
<tabstop>targetLineEdit</tabstop>
<tabstop>browsePushButton</tabstop>
<tabstop>prefixLineEdit</tabstop>
<tabstop>namingComboBox</tabstop>
<tabstop>namingOptionsButton</tabstop>
<tabstop>formatComboBox</tabstop>
<tabstop>qualitySlider</tabstop>
<tabstop>startupCheckBox</tabstop>
<tabstop>startupHideCheckBox</tabstop>
<tabstop>screenCheckBox</tabstop>
<tabstop>screenHotkeyWidget</tabstop>
+ <tabstop>areaCheckBox</tabstop>
+ <tabstop>areaHotkeyWidget</tabstop>
<tabstop>windowCheckBox</tabstop>
<tabstop>windowHotkeyWidget</tabstop>
<tabstop>windowPickerCheckBox</tabstop>
<tabstop>windowPickerHotkeyWidget</tabstop>
<tabstop>openCheckBox</tabstop>
<tabstop>openHotkeyWidget</tabstop>
<tabstop>directoryCheckBox</tabstop>
<tabstop>directoryHotkeyWidget</tabstop>
+ <tabstop>optionsScrollArea</tabstop>
<tabstop>trayCheckBox</tabstop>
<tabstop>hideCheckBox</tabstop>
<tabstop>warnHideCheckBox</tabstop>
- <tabstop>languageComboBox</tabstop>
+ <tabstop>messageCheckBox</tabstop>
+ <tabstop>playSoundCheckBox</tabstop>
+ <tabstop>previewGroupBox</tabstop>
+ <tabstop>previewSizeSpinBox</tabstop>
+ <tabstop>previewPositionComboBox</tabstop>
+ <tabstop>previewAutocloseCheckBox</tabstop>
+ <tabstop>previewAutocloseTimeSpinBox</tabstop>
+ <tabstop>previewAutocloseActionComboBox</tabstop>
+ <tabstop>previewDefaultActionComboBox</tabstop>
<tabstop>saveAsCheckBox</tabstop>
<tabstop>clipboardCheckBox</tabstop>
<tabstop>currentMonitorCheckBox</tabstop>
<tabstop>cursorCheckBox</tabstop>
<tabstop>magnifyCheckBox</tabstop>
<tabstop>optiPngCheckBox</tabstop>
<tabstop>replaceCheckBox</tabstop>
<tabstop>areaAutocloseCheckBox</tabstop>
+ <tabstop>uploadCheckBox</tabstop>
<tabstop>delaySpinBox</tabstop>
- <tabstop>previewSizeSpinBox</tabstop>
- <tabstop>previewPositionComboBox</tabstop>
- <tabstop>previewAutocloseCheckBox</tabstop>
- <tabstop>previewAutocloseTimeSpinBox</tabstop>
- <tabstop>previewAutocloseActionComboBox</tabstop>
+ <tabstop>historyCheckBox</tabstop>
+ <tabstop>historyPushButton</tabstop>
<tabstop>updaterCheckBox</tabstop>
<tabstop>checkUpdatesPushButton</tabstop>
<tabstop>buttonBox</tabstop>
+ <tabstop>tabWidget</tabstop>
</tabstops>
<resources>
<include location="../lightscreen.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>OptionsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>307</x>
<y>304</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>previewAutocloseCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>previewAutocloseTimeSpinBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>118</x>
<y>511</y>
</hint>
<hint type="destinationlabel">
<x>210</x>
<y>529</y>
</hint>
</hints>
</connection>
<connection>
<sender>previewAutocloseCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>previewAutocloseActionComboBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>115</x>
<y>511</y>
</hint>
<hint type="destinationlabel">
<x>302</x>
<y>529</y>
</hint>
</hints>
</connection>
</connections>
</ui>
diff --git a/dialogs/screenshotdialog.cpp b/dialogs/screenshotdialog.cpp
index 2748914..ed55df2 100644
--- a/dialogs/screenshotdialog.cpp
+++ b/dialogs/screenshotdialog.cpp
@@ -1,140 +1,141 @@
/*
* Copyright (C) 2011 Christian Kaiser
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include "screenshotdialog.h"
#include "../tools/screenshot.h"
#include <QApplication>
#include <QDesktopWidget>
#include <QHBoxLayout>
#include <QLabel>
#include <QMouseEvent>
#include <QScrollArea>
#include <QScrollBar>
#include <QDebug>
ScreenshotDialog::ScreenshotDialog(Screenshot *screenshot, QWidget *parent) :
QDialog(parent)
{
setWindowTitle(tr("Lightscreen Screenshot Viewer"));
- setWindowFlags(windowFlags() | Qt::WindowMaximizeButtonHint | Qt::WindowMinimizeButtonHint | Qt::WindowContextHelpButtonHint);
- setWhatsThis(tr("You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press \"Ctrl-0\"."));
+ setWindowFlags(windowFlags() | Qt::WindowMinMaxButtonsHint);
mScrollArea = new QScrollArea(this);
mScrollArea->verticalScrollBar()->installEventFilter(this);
+ mScrollArea->setToolTip(tr("You can zoom in and out using the mouse wheel while holding the CTRL key. To return to the default zoom press \"Ctrl-0\"."));
QPalette newPalette = mScrollArea->palette();
newPalette.setBrush(QPalette::Background, QBrush(QPixmap(":/backgrounds/checkerboard")));
mScrollArea->setPalette(newPalette);
mLabel = new QLabel(this);
QHBoxLayout *layout = new QHBoxLayout(this);
mLabel->setPixmap(screenshot->pixmap());
mLabel->setScaledContents(true);
mScrollArea->setAlignment(Qt::AlignCenter);
mScrollArea->setWidget(mLabel);
layout->addWidget(mScrollArea);
layout->setMargin(0);
setLayout(layout);
setCursor(Qt::OpenHandCursor);
mOriginalSize = mLabel->size();
QSize size = (mLabel->pixmap()->size() + QSize(10, 10)); //TODO: Good padding for all platforms
if (size.width() >= qApp->desktop()->availableGeometry().width()) {
size.setWidth(qApp->desktop()->availableGeometry().size().width() - 300);
}
if (size.height() >= qApp->desktop()->availableGeometry().height()) {
size.setHeight(qApp->desktop()->availableGeometry().size().height() - 300);
}
resize(size);
+ move(qApp->desktop()->screen(qApp->desktop()->primaryScreen())->rect().center()-QPoint(size.width()/2, size.height()/2));
show();
}
void ScreenshotDialog::zoom(int offset)
{
if (offset == 0) {
mLabel->resize(mOriginalSize);
}
else {
QSize newSize = mLabel->size();
- newSize.scale(mLabel->size() + QSize(offset, offset), Qt::KeepAspectRatio);
+ newSize.scale(mLabel->size() + QSize(offset, offset), Qt::KeepAspectRatio);
if (offset < 0 && (newSize.width() < 200 || newSize.height() < 200)) {
return;
}
mLabel->resize(newSize);
}
}
//
bool ScreenshotDialog::eventFilter(QObject *obj, QEvent *event)
{
if (event->type() == QEvent::Wheel
&& qApp->keyboardModifiers() & Qt::ControlModifier) {
QWheelEvent *wheelEvent = static_cast<QWheelEvent *>(event);
zoom(wheelEvent->delta());
return true;
}
return QObject::eventFilter(obj, event);
}
void ScreenshotDialog::closeEvent(QCloseEvent *event)
{
Q_UNUSED(event)
deleteLater();
}
void ScreenshotDialog::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_0 && event->modifiers() & Qt::ControlModifier) {
zoom(0);
}
}
void ScreenshotDialog::mouseMoveEvent(QMouseEvent *event)
{
QPoint diff = event->pos() - mMousePos;
mMousePos = event->pos();
mScrollArea->verticalScrollBar()->setValue(mScrollArea->verticalScrollBar()->value() - diff.y());
mScrollArea->horizontalScrollBar()->setValue(mScrollArea->horizontalScrollBar()->value() - diff.x());
}
void ScreenshotDialog::mousePressEvent(QMouseEvent *event)
{
mMousePos = event->pos();
setCursor(Qt::ClosedHandCursor);
}
void ScreenshotDialog::mouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event)
setCursor(Qt::OpenHandCursor);
}
diff --git a/lightscreen.qrc b/lightscreen.qrc
index 062e9bd..c477842 100644
--- a/lightscreen.qrc
+++ b/lightscreen.qrc
@@ -1,35 +1,35 @@
<RCC>
<qresource prefix="/icons">
<file alias="lightscreen">images/LS.ico</file>
<file alias="lightscreen.small">images/LSSmall.png</file>
<file alias="lightscreen.yes">images/LS.systemtray.good.png</file>
<file alias="lightscreen.no">images/LS.systemtray.bad.png</file>
<file alias="yes">images/good.png</file>
<file alias="no">images/bad.png</file>
<file alias="yes.big">images/area-accept.png</file>
<file alias="no.big">images/area-cancel.png</file>
<file alias="folder">images/document-open-folder.png</file>
<file alias="configure">images/configure.png</file>
<file alias="help">images/help.png</file>
<file alias="arrow-left">images/previewArrowLeft.png</file>
<file alias="arrow-right">images/previewArrowRight.png</file>
<file alias="picker">images/picker.png</file>
<file alias="zoom.in">images/zoom-in.png</file>
<file alias="zoom.out">images/zoom-out.png</file>
<file alias="screen">images/screen.png</file>
<file alias="area">images/area.png</file>
<file alias="window">images/window.png</file>
<file alias="imgur">images/imgur.png</file>
<file alias="imgur.yes">images/imgur.yes.png</file>
<file alias="view-history">images/view-history.png</file>
</qresource>
<qresource prefix="/backgrounds">
<file alias="checkerboard">images/checkerboard.png</file>
</qresource>
<qresource prefix="/translations">
<file alias="Español">translations/spanish.qm</file>
</qresource>
<qresource prefix="/translations_qt">
- <file alias="Spanish">translations/qt/qt_es.qm</file>
+ <file alias="Español">translations/qt/qt_es.qm</file>
</qresource>
</RCC>
diff --git a/lightscreenwindow.cpp b/lightscreenwindow.cpp
index 0f9181b..fdc92a0 100644
--- a/lightscreenwindow.cpp
+++ b/lightscreenwindow.cpp
@@ -1,1027 +1,1027 @@
/*
* Copyright (C) 2011 Christian Kaiser
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <QDate>
#include <QDesktopServices>
#include <QFileInfo>
#include <QHttp>
#include <QKeyEvent>
#include <QMenu>
#include <QMessageBox>
#include <QPointer>
#include <QProcess>
#include <QSettings>
#include <QSound>
#include <QSystemTrayIcon>
#include <QTimer>
#include <QToolTip>
#include <QUrl>
#include <QDebug>
#ifdef Q_WS_WIN
#include <windows.h>
#include "tools/qwin7utils/Taskbar.h"
#include "tools/qwin7utils/TaskbarButton.h"
using namespace QW7;
#endif
/*
* Lightscreen includes
*/
#include "lightscreenwindow.h"
#include "dialogs/optionsdialog.h"
#include "dialogs/previewdialog.h"
#include "dialogs/historydialog.h"
#include "tools/globalshortcut/globalshortcutmanager.h"
#include "tools/os.h"
#include "tools/screenshot.h"
#include "tools/screenshotmanager.h"
#include "tools/qtwin.h"
#include "tools/uploader.h"
#include "updater/updater.h"
LightscreenWindow::LightscreenWindow(QWidget *parent) :
QDialog(parent),
mDoCache(false),
mHideTrigger(false),
mReviveMain(false),
mWasVisible(true),
- mOptimizeCount(0),
- mLastMode(-1),
mLastMessage(0),
+ mLastMode(-1),
+ mOptimizeCount(0),
mLastScreenshot()
{
os::translate(settings()->value("options/language", "English").toString());
ui.setupUi(this);
if (QtWin::isCompositionEnabled()) {
layout()->setMargin(0);
resize(minimumSizeHint());
}
setMaximumSize(size());
setMinimumSize(size());
setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint); // Remove the what's this button, no real use in the main window.
#ifdef Q_WS_WIN
if (QSysInfo::windowsVersion() >= QSysInfo::WV_WINDOWS7) {
mTaskbarButton = new TaskbarButton(this);
}
#endif
// Actions
connect(ui.optionsPushButton , SIGNAL(clicked()), this, SLOT(showOptions()));
connect(ui.hidePushButton , SIGNAL(clicked()), this, SLOT(toggleVisibility()));
connect(ui.screenshotPushButton, SIGNAL(clicked()), this, SLOT(showScreenshotMenu()));
connect(ui.quitPushButton , SIGNAL(clicked()), this, SLOT(quit()));
// Uploader
connect(Uploader::instance(), SIGNAL(progress(qint64,qint64)), this, SLOT(uploadProgress(qint64, qint64)));
connect(Uploader::instance(), SIGNAL(done(QString, QString)) , this, SLOT(showUploaderMessage(QString, QString)));
connect(Uploader::instance(), SIGNAL(error(QString)) , this, SLOT(showUploaderError(QString)));
// Manager
connect(ScreenshotManager::instance(), SIGNAL(confirm(Screenshot*)), this, SLOT(preview(Screenshot*)));
connect(ScreenshotManager::instance(), SIGNAL(windowCleanup(Screenshot::Options&)), this, SLOT(cleanup(Screenshot::Options&)));
if (!settings()->contains("file/format")) {
showOptions(); // There are no options (or the options config is invalid or incomplete)
}
else {
QTimer::singleShot(0 , this, SLOT(applySettings()));
QTimer::singleShot(5000, this, SLOT(checkForUpdates()));
}
}
LightscreenWindow::~LightscreenWindow()
{
settings()->setValue("lastScreenshot", mLastScreenshot);
GlobalShortcutManager::instance()->clear();
delete mTrayIcon;
}
void LightscreenWindow::action(int mode)
{
if (mode == 4) {
goToFolder();
}
else {
show();
}
}
void LightscreenWindow::areaHotkey()
{
screenshotAction(2);
}
void LightscreenWindow::checkForUpdates()
{
if (settings()->value("options/disableUpdater", false).toBool())
return;
if (settings()->value("lastUpdateCheck").toInt() + 7
> QDate::currentDate().dayOfYear())
return; // If 7 days have not passed since the last update check.
connect(Updater::instance(), SIGNAL(done(bool)), this, SLOT(updaterDone(bool)));
Updater::instance()->check();
}
void LightscreenWindow::cleanup(Screenshot::Options &options)
{
// Reversing settings
if (settings()->value("options/hide").toBool()) {
#ifndef Q_WS_X11 // X is not quick enough and the notification ends up everywhere but in the icon
if (settings()->value("options/tray").toBool() && mTrayIcon) {
mTrayIcon->show();
}
#endif
if (mPreviewDialog) {
if (mPreviewDialog->count() <= 1 && mWasVisible) {
show();
}
mPreviewDialog->show();
}
else if (mWasVisible) {
show();
}
mHideTrigger = false;
}
if (settings()->value("options/tray").toBool() && mTrayIcon) {
notify(options.result);
if (settings()->value("options/message").toBool() && options.file) {
showScreenshotMessage(options.result, options.fileName);
}
}
if (settings()->value("options/playSound", false).toBool()) {
if (options.result == Screenshot::Success) {
QSound::play("sounds/ls.screenshot.wav");
}
else {
#ifdef Q_WS_WIN
QSound::play("afakepathtomakewindowsplaythedefaultsoundtheresprobablyabetterwaybuticantbebothered");
#else
QSound::play("sound/ls.error.wav");
#endif
}
}
if (options.result != Screenshot::Success
|| !options.file)
return;
if (settings()->value("options/optipng").toBool()
&& options.format == Screenshot::PNG) {
optiPNG(options.fileName, options.upload);
}
else if (options.upload) {
upload(options.fileName);
}
else {
ScreenshotManager::instance()->saveHistory(options.fileName);
}
mLastScreenshot = options.fileName;
}
bool LightscreenWindow::closingWithoutTray()
{
if (settings()->value("options/disableHideAlert", false).toBool())
return false;
QMessageBox msgBox;
msgBox.setWindowTitle(tr("Lightscreen"));
msgBox.setText(tr("You have chosen to hide Lightscreen when there's no system tray icon, so you will not be able to access the program <b>unless you have selected a hotkey to do so</b>.<br>What do you want to do?"));
msgBox.setIcon(QMessageBox::Warning);
msgBox.setStyleSheet("QPushButton { padding: 4px 8px; }");
QPushButton *enableButton = msgBox.addButton(tr("Hide but enable tray"),
QMessageBox::ActionRole);
QPushButton *enableAndDenotifyButton = msgBox.addButton(tr("Hide and don't warn"),
QMessageBox::ActionRole);
QPushButton *hideButton = msgBox.addButton(tr("Just hide"),
QMessageBox::ActionRole);
QPushButton *abortButton = msgBox.addButton(QMessageBox::Cancel);
Q_UNUSED(abortButton);
msgBox.exec();
if (msgBox.clickedButton() == hideButton) {
return false;
}
else if (msgBox.clickedButton() == enableAndDenotifyButton) {
settings()->setValue("options/disableHideAlert", true);
applySettings();
return false;
}
else if (msgBox.clickedButton() == enableButton) {
settings()->setValue("options/tray", true);
applySettings();
return false;
}
return true; // Cancel
}
void LightscreenWindow::goToFolder()
{
#ifdef Q_WS_WIN
if (!mLastScreenshot.isEmpty()) {
QProcess::startDetached("explorer /select, \"" + mLastScreenshot +"\"");
}
else {
#endif
QString folder = settings()->value("file/target").toString();
if (folder.isEmpty())
folder = qApp->applicationDirPath();
if (QDir::toNativeSeparators(folder.at(folder.size()-1)) != QDir::separator())
folder.append(QDir::separator());
QDesktopServices::openUrl("file:///"+folder);
#ifdef Q_WS_WIN
}
#endif
}
void LightscreenWindow::messageClicked()
{
if (mLastMessage == 1) {
goToFolder();
}
else {
QDesktopServices::openUrl(QUrl(Uploader::instance()->lastUrl()));
}
}
void LightscreenWindow::messageReceived(const QString &message)
{
if (message.contains(' ')) {
foreach (QString argument, message.split(' ')) {
messageReceived(argument);
}
}
if (message == "--wake") {
show();
qApp->alert(this, 500);
return;
}
if (message == "--screen")
screenshotAction();
else if (message == "--area")
screenshotAction(2);
else if (message == "--activewindow")
screenshotAction(1);
else if (message == "--pickwindow")
screenshotAction(3);
else if (message == "--folder")
action(4);
else if (message == "--uploadlast")
uploadLast();
else if (message == "--viewhistory")
showUploadDialog();
}
void LightscreenWindow::notify(const Screenshot::Result &result)
{
switch (result)
{
case Screenshot::Success:
mTrayIcon->setIcon(QIcon(":/icons/lightscreen.yes"));
#ifdef Q_WS_WIN
if (mTaskbarButton)
mTaskbarButton->SetOverlayIcon(QIcon(":/icons/yes"), tr("Success!"));
#endif
setWindowTitle(tr("Success!"));
break;
case Screenshot::Fail:
mTrayIcon->setIcon(QIcon(":/icons/lightscreen.no"));
setWindowTitle(tr("Failed!"));
#ifdef Q_WS_WIN
if (mTaskbarButton)
mTaskbarButton->SetOverlayIcon(QIcon(":/icons/no"), tr("Failed!"));
#endif
break;
case Screenshot::Cancel:
setWindowTitle(tr("Cancelled!"));
break;
}
QTimer::singleShot(2000, this, SLOT(restoreNotification()));
}
void LightscreenWindow::optimizationDone()
{
// A mouthful :D
mOptimizeCount--;
QString screenshot = (qobject_cast<QProcess*>(sender()))->property("screenshot").toString();
upload(screenshot);
}
void LightscreenWindow::preview(Screenshot* screenshot)
{
if (screenshot->options().preview) {
if (!mPreviewDialog) {
mPreviewDialog = new PreviewDialog(this);
}
mPreviewDialog->add(screenshot);
}
else {
screenshot->confirm(true);
}
}
void LightscreenWindow::quit()
{
settings()->setValue("position", pos());
QString doing;
int answer = 0;
if (Uploader::instance()->uploading() > 0) {
doing = tr("uploading one or more screenshots");
}
if (mOptimizeCount > 0) {
if (!doing.isNull()) {
doing = tr("optimizing and uploading screenshots");
}
else {
doing = tr("optimizing one or more screenshots");
}
}
if (!doing.isNull()) {
answer = QMessageBox::question(this,
tr("Are you sure you want to quit?"),
- tr("Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?").arg(doing),
+ tr("Lightscreen is currently %1, this will finish momentarily.<br>Are you sure you want to quit?").arg(doing),
tr("Quit"),
tr("Don't Quit"));
}
if (answer == 0)
accept();
}
void LightscreenWindow::restoreNotification()
{
if (mTrayIcon)
mTrayIcon->setIcon(QIcon(":/icons/lightscreen.small"));
#ifdef Q_WS_WIN
if (mTaskbarButton)
mTaskbarButton->SetOverlayIcon(QIcon(), "");
#endif
updateUploadStatus();
}
void LightscreenWindow::screenshotAction(int mode)
{
int delayms = -1;
bool optionsHide = settings()->value("options/hide").toBool(); // Option cache, used a couple of times.
if (!mHideTrigger) {
mWasVisible = isVisible();
mHideTrigger = true;
}
// Applying pre-screenshot settings
if (optionsHide) {
hide();
#ifndef Q_WS_X11 // X is not quick enough and the notification ends up everywhere but in the icon
if (mTrayIcon)
mTrayIcon->hide();
#endif
}
// Screenshot delay
delayms = settings()->value("options/delay", 0).toInt();
delayms = delayms * 1000; // Converting the delay to milliseconds.
delayms += 400;
if (optionsHide && mPreviewDialog) {
if (mPreviewDialog->count() >= 1) {
mPreviewDialog->hide();
}
}
// The delayed functions works using the static variable lastMode
// which keeps the argument so a QTimer can call this function again.
if (delayms > 0) {
if (mLastMode < 0) {
mLastMode = mode;
QTimer::singleShot(delayms, this, SLOT(screenshotAction()));
return;
}
else {
mode = mLastMode;
mLastMode = -1;
}
}
static Screenshot::Options options;
if (!mDoCache) {
// Populating the option object that will then be passed to the screenshot engine (sounds fancy huh?)
options.file = settings()->value("file/enabled").toBool();
options.format = (Screenshot::Format) settings()->value("file/format").toInt();
options.prefix = settings()->value("file/prefix").toString();
options.directory = QDir(settings()->value("file/target").toString());
options.quality = settings()->value("options/quality", 100).toInt();
options.currentMonitor = settings()->value("options/currentMonitor", false).toBool();
options.clipboard = settings()->value("options/clipboard", true).toBool();
options.preview = settings()->value("options/preview", false).toBool();
options.magnify = settings()->value("options/magnify", false).toBool();
options.cursor = settings()->value("options/cursor" , false).toBool();
options.saveAs = settings()->value("options/saveAs" , false).toBool();
options.animations = settings()->value("options/animations" , true).toBool();
options.replace = settings()->value("options/replace", false).toBool();
options.upload = settings()->value("options/uploadAuto", false).toBool();
Screenshot::NamingOptions namingOptions;
namingOptions.naming = (Screenshot::Naming) settings()->value("file/naming").toInt();
namingOptions.leadingZeros = settings()->value("options/naming/leadingZeros", 0).toInt();
namingOptions.flip = settings()->value("options/flip", false).toBool();
namingOptions.dateFormat = settings()->value("options/naming/dateFormat", "yyyy-MM-dd").toString();
options.namingOptions = namingOptions;
mDoCache = true;
}
options.mode = mode;
ScreenshotManager::instance()->take(options);
}
void LightscreenWindow::screenshotActionTriggered(QAction* action)
{
screenshotAction(action->data().toInt());
}
void LightscreenWindow::showHotkeyError(const QStringList &hotkeys)
{
static bool dontShow = false;
if (dontShow)
return;
QString messageText;
messageText = tr("Some hotkeys could not be registered, they might already be in use");
if (hotkeys.count() > 1) {
messageText += tr("<br>The failed hotkeys are the following:") + "<ul>";
foreach(const QString &hotkey, hotkeys) {
messageText += QString("%1%2%3").arg("<li><b>").arg(hotkey).arg("</b></li>");
}
messageText += "</ul>";
}
else {
messageText += tr("<br>The failed hotkey is <b>%1</b>").arg(hotkeys[0]);
}
messageText += tr("<br><i>What do you want to do?</i>");
QMessageBox msgBox(this);
msgBox.setWindowTitle(tr("Lightscreen"));
msgBox.setText(messageText);
QPushButton *changeButton = msgBox.addButton(tr("Change") , QMessageBox::ActionRole);
QPushButton *disableButton = msgBox.addButton(tr("Disable"), QMessageBox::ActionRole);
QPushButton *exitButton = msgBox.addButton(tr("Quit") , QMessageBox::ActionRole);
msgBox.exec();
if (msgBox.clickedButton() == exitButton) {
dontShow = true;
QTimer::singleShot(10, this, SLOT(quit()));
}
else if (msgBox.clickedButton() == changeButton) {
showOptions();
}
else if (msgBox.clickedButton() == disableButton) {
foreach(const QString &hotkey, hotkeys) {
settings()->setValue(QString("actions/%1/enabled").arg(hotkey), false);
}
}
}
void LightscreenWindow::showOptions()
{
GlobalShortcutManager::clear();
QPointer<OptionsDialog> optionsDialog = new OptionsDialog(this);
optionsDialog->exec();
optionsDialog->deleteLater();
applySettings();
}
void LightscreenWindow::showScreenshotMenu()
{
// This slot is called only on the first click
QMenu *buttonMenu = new QMenu;
QAction *screenAction = new QAction(QIcon(":/icons/screen"), tr("&Screen"), buttonMenu);
screenAction->setData(QVariant(0));
QAction *windowAction = new QAction(QIcon(":/icons/window"),tr("Active &Window"), buttonMenu);
windowAction->setData(QVariant(1));
QAction *windowPickerAction = new QAction(QIcon(":/icons/picker"), tr("&Pick Window"), buttonMenu);
windowPickerAction->setData(QVariant(3));
QAction *areaAction = new QAction(QIcon(":/icons/area"), tr("&Area"), buttonMenu);
areaAction->setData(QVariant(2));
QAction *uploadAction = new QAction(QIcon(":/icons/imgur"), tr("&Upload last"), buttonMenu);
uploadAction->setToolTip(tr("Upload the last screenshot you took to imgur.com"));
connect(uploadAction, SIGNAL(triggered()), this, SLOT(uploadLast()));
QAction *historyAction = new QAction(QIcon(":/icons/view-history"), tr("View &History"), buttonMenu);
connect(historyAction, SIGNAL(triggered()), this, SLOT(showUploadDialog()));
QAction *goAction = new QAction(QIcon(":/icons/folder"), tr("&Go to Folder"), buttonMenu);
connect(goAction, SIGNAL(triggered()), this, SLOT(goToFolder()));
QActionGroup *screenshotGroup = new QActionGroup(buttonMenu);
screenshotGroup->addAction(screenAction);
screenshotGroup->addAction(windowAction);
screenshotGroup->addAction(windowPickerAction);
screenshotGroup->addAction(areaAction);
QMenu* imgurMenu = new QMenu(tr("Upload"));
imgurMenu->addAction(uploadAction);
imgurMenu->addAction(historyAction);
imgurMenu->addSeparator();
connect(screenshotGroup, SIGNAL(triggered(QAction*)), this, SLOT(screenshotActionTriggered(QAction*)));
buttonMenu->addAction(screenAction);
buttonMenu->addAction(areaAction);
buttonMenu->addAction(windowAction);
buttonMenu->addAction(windowPickerAction);
buttonMenu->addSeparator();
buttonMenu->addMenu(imgurMenu);
buttonMenu->addSeparator();
buttonMenu->addAction(goAction);
ui.screenshotPushButton->setMenu(buttonMenu);
ui.screenshotPushButton->showMenu();
}
void LightscreenWindow::showScreenshotMessage(const Screenshot::Result &result, const QString &fileName)
{
if (result == Screenshot::Cancel
|| mPreviewDialog)
return;
// Showing message.
QString title;
QString message;
if (result == Screenshot::Success) {
title = QFileInfo(fileName).fileName();
if (settings()->value("file/target").toString().isEmpty()) {
message = QDir::toNativeSeparators(QCoreApplication::applicationDirPath());
}
else {
message = tr("Saved to \"%1\"").arg(settings()->value("file/target").toString());
}
}
else {
title = tr("The screenshot was not taken");
message = tr("An error occurred.");
}
mLastMessage = 1;
mTrayIcon->showMessage(title, message);
}
void LightscreenWindow::showUploadDialog()
{
HistoryDialog historyDialog(this);
historyDialog.exec();
}
void LightscreenWindow::showUploaderError(const QString &error)
{
mLastMessage = -1;
if (mTrayIcon && !error.isEmpty()) {
mTrayIcon->showMessage(tr("Upload error"), error);
}
updateUploadStatus();
}
void LightscreenWindow::showUploaderMessage(QString fileName, QString url)
{
if (!mTrayIcon)
return;
QString screenshot = QFileInfo(fileName).fileName();
mLastMessage = 2;
mTrayIcon->showMessage(tr("%1 uploaded").arg(screenshot), tr("Click here to go to %1").arg(url));
updateUploadStatus();
}
void LightscreenWindow::toggleVisibility(QSystemTrayIcon::ActivationReason reason)
{
if (reason != QSystemTrayIcon::DoubleClick)
return;
if (isVisible()) {
if (settings()->value("options/tray").toBool() == false
&& closingWithoutTray())
return;
hide();
}
else {
show();
}
}
void LightscreenWindow::updateUploadStatus()
{
int uploading = Uploader::instance()->uploading();
QString statusString;
if (uploading > 0) {
statusString = tr("Uploading %1 screenshot(s)").arg(uploading);
}
else {
statusString = tr("Lightscreen");
#ifdef Q_WS_WIN
if (mTaskbarButton) {
mTaskbarButton->SetProgresValue(0, 0);
mTaskbarButton->SetState(STATE_NOPROGRESS);
}
#endif
}
if (mTrayIcon) {
mTrayIcon->setToolTip(statusString);
}
setWindowTitle(statusString);
}
void LightscreenWindow::updaterDone(bool result)
{
settings()->setValue("lastUpdateCheck", QDate::currentDate().dayOfYear());
if (!result)
return;
QMessageBox msgBox;
msgBox.setWindowTitle(tr("Lightscreen"));
msgBox.setText(tr("There's a new version of Lightscreen available.<br>Would you like to see more information?<br>(<em>You can turn this notification off</em>)"));
msgBox.setIcon(QMessageBox::Information);
QPushButton *yesButton = msgBox.addButton(QMessageBox::Yes);
QPushButton *turnOffButton = msgBox.addButton(tr("Turn Off"), QMessageBox::ActionRole);
QPushButton *remindButton = msgBox.addButton(tr("Remind Me Later"), QMessageBox::RejectRole);
Q_UNUSED(remindButton);
msgBox.exec();
if (msgBox.clickedButton() == yesButton) {
QDesktopServices::openUrl(QUrl("http://lightscreen.sourceforge.net/whatsnew/?from=" + qApp->applicationVersion()));
}
else if (msgBox.clickedButton() == turnOffButton) {
settings()->setValue("options/disableUpdater", true);
}
}
void LightscreenWindow::upload(const QString &fileName)
{
Uploader::instance()->upload(fileName);
}
void LightscreenWindow::uploadAction(QAction *upload)
{
QString url = upload->text();
if (url == tr("Uploading...")) {
int confirm = QMessageBox::question(this, tr("Upload cancel"), tr("Do you want to cancel the upload of %1").arg(upload->toolTip()), tr("Cancel"), tr("Don't Cancel"));
if (confirm == 0) {
Uploader::instance()->cancel(upload->whatsThis()); // Full path stored in the whatsThis
}
}
else {
QDesktopServices::openUrl(QUrl(url));
}
}
void LightscreenWindow::uploadLast()
{
upload(mLastScreenshot);
updateUploadStatus();
}
void LightscreenWindow::uploadProgress(qint64 sent, qint64 total)
{
#ifdef Q_WS_WIN
if (mTaskbarButton)
mTaskbarButton->SetProgresValue(sent, total);
#endif
//TODO: Update mTrayIcon & windowTitle()
}
void LightscreenWindow::windowHotkey()
{
screenshotAction(1);
}
void LightscreenWindow::windowPickerHotkey()
{
screenshotAction(3);
}
//
void LightscreenWindow::applySettings()
{
bool tray = settings()->value("options/tray").toBool();
if (tray && !mTrayIcon) {
createTrayIcon();
mTrayIcon->show();
}
else if (!tray && mTrayIcon) {
mTrayIcon->deleteLater();
}
connectHotkeys();
mDoCache = false;
if (settings()->value("lastScreenshot").isValid())
mLastScreenshot = settings()->value("lastScreenshot").toString();
os::setStartup(settings()->value("options/startup").toBool(), settings()->value("options/startupHide").toBool());
}
//
void LightscreenWindow::connectHotkeys()
{
// Set to true because if the hotkey is disabled it will show an error.
bool screen = true, area = true, window = true, windowPicker = true, open = true, directory = true;
if (settings()->value("actions/screen/enabled").toBool())
screen = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/screen/hotkey").value<QKeySequence> (), this, SLOT(screenshotAction()));
if (settings()->value("actions/area/enabled").toBool())
area = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/area/hotkey").value<QKeySequence> (), this, SLOT(areaHotkey()));
if (settings()->value("actions/window/enabled").toBool())
window = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/window/hotkey").value<QKeySequence> (), this, SLOT(windowHotkey()));
if (settings()->value("actions/windowPicker/enabled").toBool())
windowPicker = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/windowPicker/hotkey").value<QKeySequence> (), this, SLOT(windowPickerHotkey()));
if (settings()->value("actions/open/enabled").toBool())
open = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/open/hotkey").value<QKeySequence> (), this, SLOT(show()));
if (settings()->value("actions/directory/enabled").toBool())
directory = GlobalShortcutManager::instance()->connect(settings()->value(
"actions/directory/hotkey").value<QKeySequence> (), this, SLOT(goToFolder()));
QStringList failed;
if (!screen) failed << "screen";
if (!area) failed << "area";
if (!window) failed << "window";
if (!windowPicker) failed << "window picker";
if (!open) failed << "open";
if (!directory) failed << "directory";
if (!failed.isEmpty())
showHotkeyError(failed);
}
void LightscreenWindow::createTrayIcon()
{
mTrayIcon = new QSystemTrayIcon(QIcon(":/icons/lightscreen.small"), this);
updateUploadStatus();
connect(mTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(toggleVisibility(QSystemTrayIcon::ActivationReason)));
connect(mTrayIcon, SIGNAL(messageClicked()), this, SLOT(messageClicked()));
QAction *hideAction = new QAction(QIcon(":/icons/lightscreen.small"), tr("Show&/Hide"), mTrayIcon);
connect(hideAction, SIGNAL(triggered()), this, SLOT(toggleVisibility()));
QAction *screenAction = new QAction(QIcon(":/icons/screen"), tr("&Screen"), mTrayIcon);
screenAction->setData(QVariant(0));
QAction *windowAction = new QAction(QIcon(":/icons/window"), tr("Active &Window"), this);
windowAction->setData(QVariant(1));
QAction *windowPickerAction = new QAction(QIcon(":/icons/picker"), tr("&Pick Window"), this);
windowPickerAction->setData(QVariant(3));
QAction *areaAction = new QAction(QIcon(":/icons/area"), tr("&Area"), mTrayIcon);
areaAction->setData(QVariant(2));
QActionGroup *screenshotGroup = new QActionGroup(mTrayIcon);
screenshotGroup->addAction(screenAction);
screenshotGroup->addAction(areaAction);
screenshotGroup->addAction(windowAction);
screenshotGroup->addAction(windowPickerAction);
connect(screenshotGroup, SIGNAL(triggered(QAction*)), this, SLOT(screenshotActionTriggered(QAction*)));
// Duplicated for the screenshot button :(
QAction *uploadAction = new QAction(QIcon(":/icons/imgur"), tr("&Upload last"), mTrayIcon);
uploadAction->setToolTip(tr("Upload the last screenshot you took to imgur.com"));
connect(uploadAction, SIGNAL(triggered()), this, SLOT(uploadLast()));
QAction *historyAction = new QAction(QIcon(":/icons/view-history"), tr("View History"), mTrayIcon);
connect(historyAction, SIGNAL(triggered()), this, SLOT(showUploadDialog()));
//
QAction *optionsAction = new QAction(QIcon(":/icons/configure"), tr("View &Options"), mTrayIcon);
connect(optionsAction, SIGNAL(triggered()), this, SLOT(showOptions()));
QAction *goAction = new QAction(QIcon(":/icons/folder"), tr("&Go to Folder"), mTrayIcon);
connect(goAction, SIGNAL(triggered()), this, SLOT(goToFolder()));
QAction *quitAction = new QAction(tr("&Quit"), mTrayIcon);
connect(quitAction, SIGNAL(triggered()), this, SLOT(quit()));
QMenu* screenshotMenu = new QMenu(tr("Screenshot"));
screenshotMenu->addAction(screenAction);
screenshotMenu->addAction(areaAction);
screenshotMenu->addAction(windowAction);
screenshotMenu->addAction(windowPickerAction);
// Duplicated for the screenshot button :(
QMenu* imgurMenu = new QMenu(tr("Upload"));
imgurMenu->addAction(uploadAction);
imgurMenu->addAction(historyAction);
imgurMenu->addSeparator();
QMenu* trayIconMenu = new QMenu;
trayIconMenu->addAction(hideAction);
trayIconMenu->addSeparator();
trayIconMenu->addMenu(imgurMenu);
trayIconMenu->addSeparator();
trayIconMenu->addMenu(screenshotMenu);
trayIconMenu->addAction(optionsAction);
trayIconMenu->addAction(goAction);
trayIconMenu->addSeparator();
trayIconMenu->addAction(quitAction);
mTrayIcon->setContextMenu(trayIconMenu);
}
void LightscreenWindow::optiPNG(const QString &fileName, bool upload)
{
if (upload) {
// If the user has chosen to upload the screenshots we have to track the progress of the optimization, so we use QProcess
QProcess* optipng = new QProcess(this);
// To be read by optimizationDone() (for uploading)
optipng->setProperty("screenshot", fileName);
// Delete the QProcess once it's done.
connect(optipng, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(optimizationDone()));
connect(optipng, SIGNAL(finished(int, QProcess::ExitStatus)), optipng, SLOT(deleteLater()));
#ifdef Q_OS_UNIX
optipng->start("optipng", QStringList() << fileName);
#else
optipng->start(qApp->applicationDirPath() + QDir::separator() + "optipng.exe", QStringList() << fileName);
#endif
mOptimizeCount++;
}
else {
// Otherwise start it detached from this process.
#ifdef Q_WS_WIN
ShellExecuteW(NULL, NULL, (LPCWSTR)QString(qApp->applicationDirPath() + QDir::separator() + "optipng.exe").toStdWString().data(), (LPCWSTR)fileName.toStdWString().data(), NULL, SW_HIDE);
#endif
#ifdef Q_OS_UNIX
- QProcess::startDetached("optipng " + fileName + " -quiet");
+ QProcess::startDetached("optipng \"" + fileName + "\" -quiet");
#endif
ScreenshotManager::instance()->saveHistory(fileName);
}
}
#ifdef Q_WS_WIN
bool LightscreenWindow::winEvent(MSG *message, long *result)
{
Taskbar::GetInstance()->winEvent(message, result);
return false;
}
#endif
QSettings *LightscreenWindow::settings() const
{
return ScreenshotManager::instance()->settings();
}
// Event handling
bool LightscreenWindow::event(QEvent *event)
{
if (event->type() == QEvent::Hide) {
settings()->setValue("position", pos());
}
else if (event->type() == QEvent::Close) {
quit();
}
else if (event->type() == QEvent::Show) {
os::aeroGlass(this);
if (!settings()->value("position").toPoint().isNull())
move(settings()->value("position").toPoint());
}
else if (event->type() == QEvent::KeyPress) {
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
#ifdef Q_WS_MAC
if (keyEvent->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
keyEvent->ignore();
if(isVisible())
toggleVisibility();
return false;
}
else
#endif
if (!keyEvent->modifiers() && keyEvent->key() == Qt::Key_Escape) {
keyEvent->ignore();
if(isVisible())
toggleVisibility();
return false;
}
}
else if (event->type() == QEvent::LanguageChange) {
ui.retranslateUi(this);
resize(minimumSizeHint());
}
return QDialog::event(event);
}
diff --git a/translations/dutch.ts b/translations/dutch.ts
index 52eff19..b1d8865 100644
--- a/translations/dutch.ts
+++ b/translations/dutch.ts
@@ -1,1081 +1,1097 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="nl">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">Sluiten</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>Klik om sneltoets in te stellen... </translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>Sneltoets invoeren</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>Ongeldige sneltoets</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>U koos ervoor om Lightscreen te verbergen terwijl er geen pictogram is in het systeemvak. Hierdoor kunt u het programma alleen openen &lt;b&gt;als u een sneltoets hebt ingesteld&lt;/b&gt;.&lt;br&gt;Wat wilt u doen?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation>Verbergen maar pictogram in systeemvak inschakelen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>Verbergen en niet waarschuwen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>Enkel verbergen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>Er werd geen schermafdruk gemaakt</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation>Mislukt!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>Sommige sneltoetsen konden niet geregistreerd worden en zijn mogelijk al in gebruik</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation>&lt;b&gt;Dit zijn de mislukte sneltoetsen:</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;De mislukte sneltoets is &lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;Wat wilt u doen?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>Veranderen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>Uitzetten</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>Afsluiten</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>Er is een nieuwe versie van Lightscreen beschikbaar.&lt;br&gt;Wilt u meer informatie?&lt;br&gt;(&lt;em&gt;U kunt deze melding uitschakelen&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>Uitschakelen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>Herinner mij later</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>&amp;Bureaublad</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>&amp;Gebied</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>Ga naar &amp;map</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>&amp;Tonen/Verbergen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>&amp;Voorkeuren</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>&amp;Afsluiten</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Lightscreen instellen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>&amp;Voorkeuren</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Lightscreen verbergen </translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>Verber&amp;gen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>&amp;Aflsuiten</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">Versie %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>Conflicterende sneltoetsen</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>U hebt dezelfde sneltoetsen toegewezen aan verschillende acties.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation>Tekenfout in bestandsnaam</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation>De bestandsnaam kan volgende tekens niet bevatten: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>Selecteer waar u de schermafdrukken wilt opslaan</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>U zult uw huidige voorkeuren verliezen als u de standaardwaarden herstelt.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>Herstellen</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>Niet herstellen</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>Voorkeuren</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>Bestand</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>&amp;Map:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>Het voorvoegsel voor het bestand met de schermafdruk</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>&amp;Bestandsnaam:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>Het voorvoegsel zal ingevoegd worden voor de &lt;em&gt;Naamgeving&lt;/em&gt; in het bestand met de schermafdruk. Het wordt gewoonlijk gebruikt om bestanden te onderscheiden. U kunt dit leeg laten.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(nummer)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(datum)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>Het bestandsformaat voor de schermafdruk</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>&amp;Formaat:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>V&amp;ertraging:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>Het programma zal het hier opgegeven aantal seconden &lt;b&gt;wachten&lt;/b&gt; voor de schermafdruk wordt gemaakt.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>geen</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> seconden</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Projectsite op Sourceforge bezoeken&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Website van Lightscreen bezoeken&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>&amp;Lightscreen opstarten bij systeemstart.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>&amp;Hoofdvenster verbergen.</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>&amp;Map openen</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>&amp;Programmavenster openen</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>&amp;Pictogram tonen in systeemvak.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>&amp;Lightscreen verbergen bij aanmaak schermafdruk.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>Vergr&amp;ootglas tonen bij schermafdruk van gebied.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>&amp;Taal:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>Klik hier om de website van Lightscreen te bezoeken om meer te weten te komen over vertalingen.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Meer informatie.&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>&amp;Notificeer met:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>Toont een bericht wanneer de schermafdruk is opgeslagen. Als u op dit bericht klikt, dan wordt de map geöpend waarin de schermafdruk werd opgeslagen.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>Bericht bij systeemvakpictogram</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>Gel&amp;uidsnotificatie</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>Deze schuifbalk gaat van 0 (laagst) tot 100 (hoogst).&lt;br&gt;
De kwaliteit heeft invloed op de bestandsgrootte en de duidelijkheid van de schermafdruk.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>Schermafdruk &amp;kopiëren naar het klipbord.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>Cursor op&amp;nemen in de schermafdruk.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>Schermafdrukken in &amp;PNG-formaat optimaliseren.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>&amp;Waarschuwen bij verbergen zonder pictogram in systeemvak.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>Opslaan als...</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">Sluiten</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">Sluiten</translation>
</message>
</context>
</TS>
diff --git a/translations/italian.ts b/translations/italian.ts
index 98ea5bd..e1ae5f7 100644
--- a/translations/italian.ts
+++ b/translations/italian.ts
@@ -1,1081 +1,1097 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="it_IT">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">Chiudi</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>Clicca per selezionare la scorciatoia...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>Inserisci la scorciatoia</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>Scorciatoia non valida</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>Hai scelto di nascondere Lightscreen quando non c&apos;è nessuna icona nel tray, perciò non potrai accedere al programma &lt;b&gt;a meno che non hai selezionato una scorciatoia per fare ciò&lt;/b&gt;.&lt;br&gt;Cosa vuoi fare?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation>Nascondi ma abilita tray</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>Nascondi e non avvisare</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>Nascondi</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>Lo screenshot non è stato creato</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation>Fallito!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>Alcune scorciatoie non possono essere registrate, potrebbero essere in uso</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation>&lt;br&gt;Le scorciatoie non accettate sono le seguenti:</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;La scorciatoia non accettata è &lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;Cosa vuoi fare?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>Cambia</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>Disabilita</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>Esci</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>E&apos; disponibile una nuova versione di Lightscreen.&lt;br&gt;Vuoi vedere più informazioni?&lt;br&gt;(&lt;em&gt;Puoi disattivare questa notifica&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>Spegni</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>Ricordamelo più tardi</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>&amp;Schermo</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>&amp;Area</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>&amp;Vai alla cartella</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>Mostra&amp;/Nascondi</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>Visualizza &amp;Opzioni</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>&amp;Esci</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Configura Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>&amp;Opzioni</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Nascondi Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>&amp;Nascondi</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>&amp;Esci</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">Versione %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>Conflitto di scorciatoie</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>Hai assegnato la stessa scorciatoia a più azioni.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation>Errore nei caratteri del nome del file</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation>Il nome del file non può contenere nessuno dei seguenti caratteri: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>Seleziona dove vuoi salvare gli screenshot</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>Ripristinare le opzioni di default causerà la perdita della corrente configurazione.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>Ripristina</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>Non ripristinare</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>Opzioni - Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>File</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>&amp;Cartella:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>Il prefisso per il file dello screenshot</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>&amp;Nome file:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>Il prefisso verrà inserito prima del &lt;em&gt;Nome&lt;/em&gt; nel file nome del file dello screenshot ed è solitamente usato per distinguere i file. Può essere lasciato vuoto.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(numero)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation>(timestamp)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(data)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>Il formato del file dello screenshot</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>F&amp;ormato:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>&amp;Ritardo:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>Selezionando qualsiasi numero oltre lo 0 &lt;b&gt;fermerà&lt;/b&gt; il programma per lo stesso numero di secondi prima di fare lo screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>niente</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> secondi</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>Esegui &amp;Lightscreen all&apos;avvio del sistema.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>Nas&amp;condi la finestra principale.</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>Apri la cartella</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>Apri la finestra del programma</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>&amp;Mostra l&apos;icona nel tray.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>&amp;Nascondi Lightscreen mentre scatta lo screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>&amp;Ingrandisci attorno il mouse nella modalità area.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>&amp;Lingua:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>Clicca qui per andare nella Home page di Lightscreen e sapere di più sulla traduzione.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Maggiori informazioni..&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>&amp;Notifica con:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>Mostra un messaggio di completamento quando lo screenshot è salvato, cliccando su questo messagio si aprirà la cartella in cui lo screenshot è salvato.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>Popup Icona Tray</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>&amp;Suono</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visita la pagina del progetto su Sourceforge&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visita l&apos;home page di Lightscreen&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;i&gt;Tradotto da Sum90&lt;/i&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>Lo slider va da 0 a 100. 100 è la massima qualità e 0 la più bassa.&lt;bt&gt;
La qualità determina la grandezza del file e naturalmente la leggibilità e la qualità generale dell&apos;imagine.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>&amp;Copia lo screenshot negli appunti.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>Inc&amp;ludi il cursore nello screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>Ot&amp;timizza screenshot PNG.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>Avvisa quando nascondi senza icona tra&amp;y.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>Salva come..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">Chiudi</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">Chiudi</translation>
</message>
</context>
</TS>
diff --git a/translations/japanese.ts b/translations/japanese.ts
index ea58042..f624e52 100644
--- a/translations/japanese.ts
+++ b/translations/japanese.ts
@@ -1,1081 +1,1097 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ja_JP">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">閉じる</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>ボタンのクリックでホットキーの変更...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>ホットキーの指定</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>無効なホットキー</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>トレイ アイコンを表示せずにウィンドウを隠すと &lt;b&gt;ホットキー&lt;/b&gt; 以外では Lightscreen を操作できなくなります。&lt;br&gt;どうしますか ?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation>トレイへ隠す</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>以降、確認せず隠す</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>今回は隠す</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>キャプチャできませんでした</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation type="unfinished">失敗 !</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>既にホットキーに使用されている使用されているキーは指定できません</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation>&lt;br&gt;無効なホットキー:</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;無効なホットキー:&lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;どうしますか?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>変更</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>無効化</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>終了</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>Lightscreen 新たなバージョンがリリースされています。&lt;br&gt;サイトに接続して情報をチェックしますか ?&lt;br&gt;(&lt;em&gt;この通知をオフにすることもできます。&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>通知しない</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>あとで通知</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>画面全体(&amp;S)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>指定範囲(&amp;A)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>保存フォルダを開く(&amp;G)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>表示/隠す(&amp;H)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>オプションの表示(&amp;O)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>終了(&amp;X)</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Lightscreen の設定</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>オプション(&amp;O)</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Lightscreen を隠す</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>隠す(&amp;H)</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>終了(&amp;X)</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">バージョン %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>ホットキーの重複</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>同じキーが違う操作に重複指定されています。</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation>ファイル名のエラー</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation>以下の文字はファイル名に使用できません: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>キャプチャ画像の保存先の選択</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>現在の設定をクリアして初期状態に戻します。</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>復元</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>復元しない</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>オプション - Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>ファイル</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>ディレクトリ(&amp;D):</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>保存ファイル名のプリフィクス</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>ファイル名(&amp;F):</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>プリフィクスは画像の保存時に&lt;em&gt;ファイル名に常に使用&lt;/em&gt;される語句です。空欄にしておくこともできます。</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(連番)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(日時)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>画像ファイルの保存フォーマット</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>フォーマット(&amp;O):</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>遅延(&amp;E):</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>プログラムがキャプチャーを行うときの&lt;b&gt;待機時間&lt;/b&gt;(秒)を設定します。0 より大きい数値で指定してください。</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>なし</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> 秒</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;SourceForge プロジェクト ページへ&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Lightscreen のホーム ページへ&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>Lightscreen を Windows のスタートアップに登録(&amp;R).</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>メイン ウィンドウを表示しない(&amp;I).</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>画像の保存先を開く</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>プログラムのウィンドウを表示</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>システム トレイにアイコンを表示(&amp;W).</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>キャプチャー後に Lightscreen を隠す(&amp;H).</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>指定範囲モードでカーソルの周辺を拡大(&amp;M).</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>使用言語(&amp;L):</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>ここをクリックして、Lightscreen のホームページで翻訳情報を確認。</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;情報をチェック..&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>通知方法(&amp;N):</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>スクリーンショットの保存後にメッセージが表示されます。メッセージ バルーンをクリックすれば保存先を開くことができます。</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>トレイにポップアップ</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>通知音(&amp;S)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>このスライダでキャプチャの品質を変更します。0 から 100 まで。低品質は左へ、高品質は右はへ。&lt;br&gt;
品質は画像のファイル サイズと見映えに影響を及ぼします。</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>スナップショットをクリップボードにコピー(&amp;C).</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>カーソルもキャプチャーする(&amp;L).</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>最適化 PNG スクリーンショットを使用(&amp;P).</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>トレイ アイコンを非表示のままウィンドウを隠そうとしたとき警告(&amp;Y).</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>名づけて保存..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">閉じる</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">閉じる</translation>
</message>
</context>
</TS>
diff --git a/translations/polish.ts b/translations/polish.ts
index 612e67a..574ff7c 100644
--- a/translations/polish.ts
+++ b/translations/polish.ts
@@ -1,1082 +1,1098 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pl_PL">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">Zamknij</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>Kliknij aby wybrać klawisz skrótu...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>Wpisz twój klawisz skrótu</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>Błąd klawisza skrótu</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>Wybrałeś ukrycie programu Lightscreen bez ikony w zasobniku systemowym, dlatego program będzie niedostępny &lt;b&gt;chyba że ustawiłeś dla niego klawisz skrótu&lt;/b&gt;.&lt;br&gt;Czy chcesz to wykonać?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation>Ukryj ale włącz zasobnik</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>Ukryj i nie ostrzegaj</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>Tylko ukryj</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>Nie zrobiono zrzutu ekranu</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation>Błąd!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>Nie można zarejestrować niektórych klawiszy skrótu, mogą już być w użytku</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translatorcomment>&lt;br&gt;Błędne klawisze skrótu to:</translatorcomment>
<translation></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;Błędny klawisz skrótu to &lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;Co chcesz wykonać?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>Zmień</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>Wyłącz</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>Zakończ</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>Dostępna jest nowa wersja programu Lightscreen.&lt;br&gt;Czy chcesz zobaczyć dalsze informacje?&lt;br&gt;(&lt;em&gt;Możesz wyłączyć ten komunikat&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>Wyłącz</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>Przypominaj później</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>&amp;Ekran</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>Obsz&amp;ar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>&amp;Przejdź do folderu</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>Pokaż&amp;/Ukryj</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>Pokaż &amp;Opcje</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>&amp;Zakończ</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Skonfiguruj Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>&amp;Opcje</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Ukryj Lightscreen </translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>&amp;Ukryj</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>&amp;Zakończ</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">Wersja %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>Konflikt z klawiszami skrótu</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>Ustawiłeś te same skróty klawiszy dla więcej niż jednej akcji.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>Wybierz gdzie chcesz zapisywać zrzuty ekranu</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>Odtworzenie domyślnych opcji powoduje utratę aktualnej konfiguracji.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>Odtwórz</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>Nie Odtwarzaj</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>Opcje - Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>&amp;Plik</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>K&amp;atalog:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>Prefiks dla pliku zrzutu ekranu</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>&amp;Nazwa pliku:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>Prefiks zostanie wstawiony przed nadaniem nazwy pliku zrzutu ekranu i jest zwykle używany do odróżnienia plików. Może być pusty.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(numer)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation>(czas)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(data)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>Format pliku dla zrzutu ekranu</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>&amp;Format:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>Opóźni&amp;enie:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>Wybór wartości tej opcji innej niż 0 spowoduje, że program &lt;b&gt;czeka&lt;/b&gt; podaną ilość sekund przed podjęciem zrzutu ekranu.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>brak</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> sekund(y)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>Uruchom Lightscreen przy &amp;starcie systemu.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>&amp;Ukryj główne okno.</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>Otwórz katalog</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>Otwórz okno programu</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>&amp;Pokaż ikonę w zasobniku systemowym.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>&amp;Ukryj Lightscreen podczas zrzutu ekranu.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>&amp;Szkło powiększające wokół myszy w trybie obszaru.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>&amp;Język:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>Kliknij tutaj aby przejść do strony głównej Lightscreen, aby dowiedzieć się więcej na temat tłumaczeń.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Więcej informacji..&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>Zawiadom przez:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>Pokazuje komunikat po zapisaniu zrzutu ekranu, kliknięcie na tą wiadomość przenosi cię do katalogu, w którym został zapisany zrzut ekranu.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>&amp;Ikonę Popup w zasobniku</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>Efekt &amp;dźwiękowy</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Odwiedź stronę projektu na Sourceforge&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Odwieź główną stronę Lightscreen&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>Ten suwak ma wartości od 0 do 100. 100 to najwyższa jakość a 0 najniższa.&lt;br&gt;
Różnica jakości związana jest z rozmiarem pliku, jego czytelnością i ogólnym wyglądem obrazu.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>Kopiuj zrzut ekranu do &amp;schowka.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>&amp;Dołącz kursor w zrzucie ekranu.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>&amp;Polepsz pliki PNG.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>Ostrzegaj gdy chowasz bez ikony w &amp;trayu.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>Zapisz jako..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">Zamknij</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">Zamknij</translation>
</message>
</context>
</TS>
diff --git a/translations/portuguese.ts b/translations/portuguese.ts
index cd4a217..4b1d746 100644
--- a/translations/portuguese.ts
+++ b/translations/portuguese.ts
@@ -1,1081 +1,1097 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pt_BR" sourcelanguage="en">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">Fechar</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>Clique para selecionar uma hotkey...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>Pressione sua hotkey</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>Hotkey inválida</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>Você escolheu esconder o lightscreen mesmo sem o ícone na área de notificaçao, então você não terá acesso ao programa &lt;b&gt;a menos que você selecione uma hotkey para isso&lt;/b&gt;.&lt;br&gt;O que você deseja fazer?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation>Esconder e habilitar o ícone na área de notificaçao</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>Esconder e não avisar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>Apenas esconda</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>A screenshot não foi feita</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation>Falhou!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>Alguma(s) hotkey(s) não pode(puderam) ser registrada(s), ela(s) pode(m) estar em uso</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation>&lt;br&gt;A(s) hotkey(s) é(são):</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;A hotkey é &lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;O que você deseja fazer?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>Trocar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>Desabilitar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>Sair</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>Existe uma nova versão do Lightscreen.&lt;br&gt;Você gostaria de mais informaçoes?&lt;br&gt;(&lt;em&gt;Você pode desligar essa notificação&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>Desligar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>Lembrar mais tarde</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>T&amp;ela</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>Áre&amp;a</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>&amp;Ir para a pasta</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>Mostrar/Escond&amp;er</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>Ver &amp;Opções</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>Sa&amp;ir</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Configurar o Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>&amp;Opções</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Esconder o Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>&amp;Esconder</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>Sa&amp;ir</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">Versão %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>Conflito entre Hotkeys</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>Você designou a mesma hotkey para mais de uma ação.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation>Caractere não permitido no nome do arquivo</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation>O nome do arquivo não pode conter os seguintes caracteres: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>Selecione um local para salvar as screenshots</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>Restaurando as opções padrão causará a perda das configurações atuais.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>Restaurar</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>Não restaurar</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>Opções do Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>Arquivo</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>&amp;Pasta:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>O prefixo para o nome do arquivo</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>&amp;Nome do arquivo:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(número)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(data)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>Formato de arquivo</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>F&amp;ormato:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>Atras&amp;o:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>nenhum</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visite o site do projeto na Sourceforge&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visite o site do Lightscreen&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>&amp;Abrir o Lighscreen na inicialização do sistema.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>Esconder a janela pr&amp;incipal.</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>Abrir pasta</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>Abrir a janela do programa</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>Mostrar ícone na área de n&amp;otificação.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>&amp;Esconder o Lighscreen durande a screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>Zoom da área do &amp;mouse.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>&amp;Idioma:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>Clique aqui para ir até a página no Lightscreen e aprenda mais sobre atualizações.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Mais informações...&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>&amp;Notificar com:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>Mostrar mensagem quando uma screenshot for capturada.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>Balão na área de notificação</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>&amp;Som</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>&amp;Copiar a Screenshot para a área de transferência.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>Inc&amp;luir o cursor do mouse na screenshot.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>O&amp;ptimizar as screenshots salvas como PNG.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>Avisar quando esconder sem um ícone na área de noti&amp;ficaçao.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>Salvar como..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">Fechar</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">Fechar</translation>
</message>
</context>
</TS>
diff --git a/translations/russian.ts b/translations/russian.ts
index 53f6eac..e7f9541 100644
--- a/translations/russian.ts
+++ b/translations/russian.ts
@@ -1,1081 +1,1097 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ru_RU">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished">Закрыть</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation type="unfinished">Нажмите для выбора горячей клавиши...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation type="unfinished">Нажмите Ваши горячие клавиши</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation type="unfinished">Недействительная горячая клавиша</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation type="unfinished">Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation type="unfinished">Вы выбрали скрыть Lightscreen так, что иконка в системном трее не будет отображаться, и Вы не сможете получить доступ к программе, &lt;b&gt;если не определены горячие клавиши&lt;/b&gt;.&lt;br&gt;Что Вы хотите сделать?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation type="unfinished">Скрыть, но оставить в системном трее</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation type="unfinished">Скрыть не предупреждая</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation type="unfinished">Просто скрыть</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation type="unfinished">Скриншот не сделан</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation type="unfinished">Ошибка!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation type="unfinished">Некоторые клавиши не зарегистрированы, поскольку уже могут быть в эксплуатации</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation type="unfinished">&lt;br&gt; Следующие клавиши не верны:</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation type="unfinished">&lt;br&gt;Неверная горячая клавиша&lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation type="unfinished">&lt;br&gt;&lt;i&gt;Что Вы хотите сделать?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation type="unfinished">Изменить</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation type="unfinished">Отключить</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation type="unfinished">Выход</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation type="unfinished">В новой версии Lightscreen.&lt;br&gt;Вы хотели бы увидеть больше информации?&lt;br&gt;(&lt;em&gt;Вы можете просто выключить это уведомление&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation type="unfinished">Отключить</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation type="unfinished">Напомнить позже</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation type="unfinished">&amp;Экран</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation type="unfinished">О&amp;бласть</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation type="unfinished">&amp;Перейти в папку</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation type="unfinished">Показать&amp;/Скрыть</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation type="unfinished">Просмотр &amp;Настроек</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation type="unfinished">Выхо&amp;д</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation type="unfinished">Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation type="unfinished">Конфигурация Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation type="unfinished">&amp;Настройки</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation type="unfinished">Скрыть Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation type="unfinished">&amp;Скрыть</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation type="unfinished">Выхо&amp;д</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished">Версия %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation type="unfinished">Конфликт горячих клавиш</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation type="unfinished">Вы присвоили одинаковые горячие клавиши для более одного действия.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation type="unfinished">Ошибка в символе имени файла</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation type="unfinished">Имя файла не может содержать любой из следующих символов: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation type="unfinished">Выберите, где вы хотите сохранить скриншот</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation type="unfinished">Восстановление настроек по умолчанию приведет к потере всей вашей текущей конфигурации.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation type="unfinished">Восстановить</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation type="unfinished">Не восстанавливать</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation type="unfinished">Настройки - Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation type="unfinished">Файл</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation type="unfinished">&amp;Папка:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation type="unfinished">Префикс в имени файла скиншота</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation type="unfinished">Имя &amp;файла:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation type="unfinished">Префикс будет вставлен в &lt;em&gt;Имя&lt;/em&gt; файла скриншота и он,обычно, используется для индентификации фалов. Он может остаться пустым.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation type="unfinished">(номер)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation type="unfinished">(timestamp)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation type="unfinished">(дата)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation type="unfinished">Формат файла для скриншота</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation type="unfinished">&amp;Формат:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation type="unfinished">Пау&amp;за:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation type="unfinished">Выбор любого значения кроме 0, заставит программу подождать прежде, чем сделать скриншот.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation type="unfinished">нет</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation type="unfinished">секунд</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation type="unfinished">&amp;Запустить Lightscreen при запуске системы.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation type="unfinished">Скр&amp;ыть главное окно.</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation type="unfinished">Открыть папку</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation type="unfinished">Открыть окно программы</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation type="unfinished">Показывать иконку в &amp;системном трее.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation type="unfinished">C&amp;крыть Lightscreen при создании скриншота.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation type="unfinished">Пре&amp;увеличить область захвата вокруг курсора в режиме захвата области.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation type="unfinished">&amp;Язык:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation type="unfinished">Нажмите здесь, чтобы перейти на домашнюю страницу Lightscreen и получить больше информацию о переводе.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Больше информации..&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation type="unfinished">&amp;Уведомлять:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation type="unfinished">Показывать сообщение о выполнении, после сохранении скриншота, нажав на это сообщение Вы перейдёте в папку, где был сохранён скриншот.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation type="unfinished">Всплывающее сообщение</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation type="unfinished">Зв&amp;уковой сигнал</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished">&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Посетить сайт Sourceforge project&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Посетитьдомашнюю страницу Lightscreen&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation type="unfinished">Бегунок перемещается от 0 до 100. 100 - это наивысшее качество, а 0 - самое низкое.&lt;br&gt;
От качества зависит размер файла, читабельность и общее качество изображения.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation type="unfinished">&amp;Копировать скриншот в буфер.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation type="unfinished">Вк&amp;лючить курсор в скриншот.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation type="unfinished">О&amp;птимизация PNG скриншота.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation type="unfinished">Предупреждать, когда программа скрывается без &amp;иконки в системном трее.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation type="unfinished">Сохранить как..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished">Закрыть</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished">Закрыть</translation>
</message>
</context>
</TS>
diff --git a/translations/spanish.qm b/translations/spanish.qm
index d7ab708..f08cdbd 100644
Binary files a/translations/spanish.qm and b/translations/spanish.qm differ
diff --git a/translations/spanish.ts b/translations/spanish.ts
index f768c6d..d866538 100644
--- a/translations/spanish.ts
+++ b/translations/spanish.ts
@@ -1,1093 +1,1109 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation>Lightscreen - Modo de Área</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation>Modo de área de pantalla:
Use el mouse para dibujar un rectangulo a capturar.
Presione cualquier tecla o el botón derecho del mouse para salir.</translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation>Historial de Capturas</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation>Escriba aqui para filtrar las capturas de la lista.</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation>Haga doble click en el nombre de archivo para abrir la imagen y en la URL para abirla en su navegador.
+
+Haga click con el botón derecho del mouse para acceder a mas opciones.</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation>Limpiar</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation>Subir</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation>Filtrar..</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation>Limpiando el historial de capturas</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation>Esta seguro que desea borrar todo su historial de capturas?
+No podra volver atras.</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation>Limpiar Historial</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation>No Limpiar</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation>Copiar Ruta</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation>Copiar URL</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation>Abir Carpeta</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation>Captura</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation>URL</translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation>Click para elegir atajo...</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation>Escriba su atajo</translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation>Atajo invalido</translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation>Ha elegido esconder Lightscreen cuando este no tiene un ícono en la barra de tareas, por lo que no podrá acceder al programa &lt;b&gt;a menos que haya seleccionado un atajo para hacerlo.&lt;/b&gt;.&lt;br&gt;Que desea hacer?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
- <translation>Esconder pero habilitar icono</translation>
+ <translation>Esconder pero habilitar ícono</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation>Esconder y no advertir</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation>Solo esconder</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation>subiendo una o mas capturas</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation>optimizando y subiendo capturas</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation>optimizando una o mas capturas</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation>Esta seguro que desea salir?</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation>Lightscreen esta %1, esto terminara momentaneamente, esta seguro que desea salir?</translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation>Guardada en &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation>La captura no fue realizada</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation>%1 subido</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation>Haga click aqui para ir a %1</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation>Error de subida</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation>Lightscreen esta %1, esto terminara momentáneamente.&lt;br&gt;¿Esta seguro que desea salir?</translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation>&amp;Ventana Activa</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation>&amp;Elegir Ventana</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation>&amp;Subir ultima</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation>Subir la ultima captura que tomó a imgur.com</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
- <translation>Ver Historial</translation>
+ <translation>Ver &amp;Historial</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation>Ver Historial</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation>Subida</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation>Éxito!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation>Cancelada!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation>Algunos atajos no pudieron ser registrados, puede que ya estén en uso</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation>&lt;br&gt;&lt;i&gt;Que desea hacer?&lt;/i&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation>Mostrar&amp;/Esconder</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation>Captura</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation>Subiendo...</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation>Cancelar subida</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation>Desea cancelar la subida de %1</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation>No Cancelar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation>Subiendo %1 captura(s)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation>&amp;Pantalla</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation>No Salir</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation>Error!</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation>&lt;br&gt;Las hotkeys en uso son las siguientes:</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation>&lt;br&gt;El atajo que ha fallado es &lt;b&gt;%1&lt;/b&gt;</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation>Cambiar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation>Deshabilitar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation>Salir</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation>&amp;Área</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation>Ver las &amp;Opciones</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation>&amp;Ir a la carpeta</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation>Ha ocurrido un error.</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation>&amp;Salir</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation>Hay una nueva versión de Lightscreen disponible.&lt;br&gt;Desea ver más información?&lt;br&gt;(&lt;em&gt;Puede desactivar esta notificación&lt;/em&gt;)</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation>Desactivar</translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation>Más Tarde</translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation>Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation>&amp;Captura</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation>Configurar Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation>&amp;Opciones</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation>Esconder Lightscreen</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation>&amp;Esconder</translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation>&amp;Salir</translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation>Opciones de Nombre - Lightscreen</translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation>Ceros a la izquierda:</translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation>Formato de fecha:</translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation>Dar vuelta el nombre.</translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation>Restablecer por defecto</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation>Versión %1</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation>Conflicto de atajos</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation>Has asignado el mismo atajo a más de una acción.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation>Error de nombre de archivo</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation>El nombre de archivo no puede contener ninguno de los siguientes caracteres: ? : \ / * &quot; &lt; &gt; |</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation>Destino Final</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation>No puede realizar capturas a menos que active guardar archivos o copiar al portapeles.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation>Seleccione donde quiere guardar las capturas</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation>Lightscreen - Restablecer Opciones por Defecto</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation>captura.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation>.captura</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation>Instale &apos;OptiPNG&apos;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation>Opciones - Lightscreen</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation>General</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation>El prefijo para la captura</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation>El nombre es insertado despues del prefijo y es lo que hace unico a cada archivo de captura.&lt;br&gt;
&lt;b&gt;Numero&lt;/b&gt;: inserta un numero secuencial: 1, 2, 3...&lt;br&gt;
&lt;b&gt;Fecha&lt;/b&gt;: inserta la fecha y hora actual, en formato dd-MM-yyyy, haga click en el botón de configuracion a la derecha para configurar el formato.&lt;br&gt;
&lt;b&gt;Tiempo Unix&lt;/b&gt;: inserta la cantidad de segundos desde 1970-1-1 00:00:00 (timestamp de Unix)&lt;br&gt;
</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation>(numero)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation>(tiempo unix)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation>El formato de la captura</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation>Cali&amp;dad:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation>(ninguno)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation>&lt;i&gt;Vista Previa:&lt;/i&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation>Inicio del Sistema</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation>Atajos</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation>Capturas</translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation>&amp;Pantalla Completa</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation>Elegir &amp;Ventana</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation>Ventana &amp;Activa</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation>Á&amp;rea de Pantalla</translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation>Control del Lightscreen</translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation>A&amp;brir la ventana del programa</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation>Abrir el &amp;directorio</translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation>Opciones</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation>Interface</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation>Acción por defecto:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation>Capturas</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation>Elegir cuando y &amp;donde guardar cada captura (&quot;Guardar como&quot;).</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation>Reemplazar captura cuando el archivo ya existe.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation>Historial</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation>Guardar un historial de capturas.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation>Capturar áreas automaticamente (sin ajustar tamaño).</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation>Lightscreen es una herramienta simple para sacar capturas de pantalla, diseñada para ser configurable y liviana.&lt;br&gt;&lt;br&gt;
Creada por &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, usando las &lt;a href=&quot;#aboutqt&quot;&gt;herramientas Qt&lt;/a&gt; para la interface grafica.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation>Bajo la licencia &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Un agradecimiento especial a los &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donadores y Traductores&lt;/a&gt;.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation>Tamaño Máximo:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation>Posicion:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation> y </translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation>guardar</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation>subir</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation>cancelar</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation>Subir todas mis capturas automaticamente.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation>Buscar A&amp;hora</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation>Acerca De</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visite la pagina del proyecto en SourceForge&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visite la pagina principal del Lightscreen&lt;/a&gt;</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation>Restablecer las opciones por defecto hara que pierda toda su configuración actual.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation>Restablecer</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation>No Restablecer</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation> segundos</translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation>Abrir la ventana del programa</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation>Abrir el directorio</translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation>Mo&amp;strar un ícono en la barra de tareas.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation>Esconder Lig&amp;htscreen mientras se captura.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation>Haz click aquí para ir a la página del Lightscreen y aprender mas sobre traducciones.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;Más información..&lt;/a&gt;</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation>Este slider va desde a 0 a 100. 100 siendo la mayor calidad y 0 la más baja.&lt;br&gt;
La calidad tiene relacion con el tamaño del archivo y la legibilidad/calidad general de la imagen.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation>El prefijo sera insertado antes del &lt;em&gt;Nombre&lt;/em&gt; en la captura y es generalmente usado para distinguir los archivos. Puede ser dejado en blanco.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation>Seleccionar algo que no sea 0 causara que el programa &lt;b&gt;espere&lt;/b&gt; esa cantidad de segundos antes de sacar la captura.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation>Aumentar alrededor del &amp;mouse en modo Área.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation>&amp;Idioma:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation>&amp;Noficar con:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation>Popup en el ícono de barra de tareas</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation>&amp;Sonido</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation>Archivo</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation>&amp;Directorio:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation>&amp;Archivo:</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation>(fecha)</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation>F&amp;ormato:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation>R&amp;etraso:</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation>ninguno</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation>Ejecuta&amp;r Lightscreen cuando inicia el sistema.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation>Esconder la ventana pr&amp;incipal.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation>&amp;Copiar la captura al portapeles.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation>Inc&amp;luir el cursor en la captura.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation>O&amp;ptimizar capturas PNG.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation>A&amp;visar al esconder sin un ícono de sistema.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation>Pantalla completa</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation>&amp;Elegir ventana</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation>&amp;Ventana activa</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation>Área de p&amp;antalla</translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
- <translation>&amp;Tomar solo el monitor activo</translation>
+ <translation>&amp;Tomar solo el monitor activo.</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
- <translation>Ejecuta OptiPNG el cual reduce el peso de las capturas.</translation>
+ <translation>Ejecuta OptiPNG el cual reduce el tamaño de archivo de las capturas.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation>Vista Previa de Capturas</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation>Arriba-Izquierda</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation>Abajo-Derecha</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation>Abajo-Izquierda</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation>Abajo-Derecha</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation>Cerrar despues de</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation>Ver &amp;Historial</translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation>Actualizador</translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation>Buscar actualizaciones periodicamente.</translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation>Muestra un mensaje al completar una captura, clickear en este mensaje lleva al directorio donde la misma fue guardada.</translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation>Vista Previa de Captura</translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation>Subir</translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation>Guardar</translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation>Vista Previa de Captura (%1 de %2)</translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation>Vista Previa: Cerrando en %1</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation>- no subida -</translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation>Pantalla</translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation>Área</translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation>Ventana Activa</translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation>Elegir Ventana</translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation>Subir Ultima</translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation>Ver Historial</translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation>Ir a la carpeta</translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation>Guardar como..</translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation>Lightscreen: Visor de Capturas</translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation>Puede hacer zoom usando la rueda del mouse mientras aprieta la tecla CTRL. Para volver al zoom por defecto presione &quot;Ctrl-0&quot;.</translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation>Historial de Capturas</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation>Escriba aqui para filtrar las capturas de la lista.</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation>Doble click en el nombre de archivo para abrir la imagen con visor por defecto, puede tambien hacer doble click en la URL para abirla en su navegador.
-
-Haga click con el botón derecho para acceder a mas opciones.</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation>Limpiar</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation>Subir</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation>Cerrar</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation>Filtrar..</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation>Copiar Ruta</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation>Copiar URL</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation>Abir Carpeta</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation>Captura</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation>URL</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation>Limpiando el historial de capturas</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation>Esta seguro que desea limpiar todo su historial de capturas?
-No podra volver atras.</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation>Limpiar Historial</translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation>No Limpiar</translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation>Subiendo...</translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation>Archivo de captura no encontrado.</translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation>No se pudo conectar a imgur.com</translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation>Ha excedido su cuota de subida.</translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation>La subida ha fallado.</translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation>Lightscreen: Eligiendo Ventana</translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation>Haga click y mantenga apretado para mover el seleccionador a la ventana que desee capturar.</translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation> - Comienze a arrastrar para seleccionar ventanas</translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation>Cerrar</translation>
</message>
</context>
</TS>
diff --git a/translations/untranslated.ts b/translations/untranslated.ts
index 4a731ea..969e6ab 100644
--- a/translations/untranslated.ts
+++ b/translations/untranslated.ts
@@ -1,1080 +1,1096 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AreaDialog</name>
<message>
- <location filename="../dialogs/areadialog.cpp" line="142"/>
+ <location filename="../dialogs/areadialog.cpp" line="56"/>
+ <source>Lightscreen Area Mode</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/areadialog.cpp" line="364"/>
<source>Lightscreen area mode:
Use your mouse to draw a rectangle to capture.
Press any key or right click to exit.</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>HistoryDialog</name>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="14"/>
+ <source>Screenshot History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="30"/>
+ <source>Type here to filter through the screenshots in the list.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="40"/>
+ <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
+
+Right click items to get access to more options.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="54"/>
+ <source>Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="77"/>
+ <source>Upload</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.ui" line="84"/>
+ <source>Close</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="32"/>
+ <location filename="../dialogs/historydialog.cpp" line="193"/>
+ <location filename="../dialogs/historydialog.cpp" line="204"/>
+ <location filename="../dialogs/historydialog.cpp" line="210"/>
+ <source>Filter..</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="76"/>
+ <source>Clearing the screenshot history</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="77"/>
+ <source>Are you sure you want to clear your entire screenshot history?
+This cannot be undone.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="78"/>
+ <source>Clear History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="79"/>
+ <source>Don&apos;t Clear</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy Path</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="93"/>
+ <source>Copy URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="97"/>
+ <source>Open Location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>Screenshot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/historydialog.cpp" line="140"/>
+ <source>URL</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
<context>
<name>HotkeyWidget</name>
<message>
<location filename="../widgets/hotkeywidget.cpp" line="36"/>
<source>Click to select hotkey...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="75"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="86"/>
<source>Type your hotkey</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../widgets/hotkeywidget.cpp" line="84"/>
- <location filename="../widgets/hotkeywidget.cpp" line="105"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="95"/>
+ <location filename="../widgets/hotkeywidget.cpp" line="116"/>
<source>Invalid hotkey</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LightscreenWindow</name>
<message>
- <location filename="../lightscreenwindow.cpp" line="142"/>
- <location filename="../lightscreenwindow.cpp" line="632"/>
- <location filename="../lightscreenwindow.cpp" line="883"/>
- <location filename="../lightscreenwindow.cpp" line="947"/>
+ <location filename="../lightscreenwindow.cpp" line="221"/>
+ <location filename="../lightscreenwindow.cpp" line="530"/>
+ <location filename="../lightscreenwindow.cpp" line="703"/>
+ <location filename="../lightscreenwindow.cpp" line="727"/>
<source>Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="143"/>
+ <location filename="../lightscreenwindow.cpp" line="222"/>
<source>You have chosen to hide Lightscreen when there&apos;s no system tray icon, so you will not be able to access the program &lt;b&gt;unless you have selected a hotkey to do so&lt;/b&gt;.&lt;br&gt;What do you want to do?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="148"/>
+ <location filename="../lightscreenwindow.cpp" line="227"/>
<source>Hide but enable tray</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="150"/>
+ <location filename="../lightscreenwindow.cpp" line="229"/>
<source>Hide and don&apos;t warn</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="152"/>
+ <location filename="../lightscreenwindow.cpp" line="231"/>
<source>Just hide</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="324"/>
+ <location filename="../lightscreenwindow.cpp" line="378"/>
<source>uploading one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="329"/>
+ <location filename="../lightscreenwindow.cpp" line="383"/>
<source>optimizing and uploading screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="332"/>
+ <location filename="../lightscreenwindow.cpp" line="386"/>
<source>optimizing one or more screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="338"/>
+ <location filename="../lightscreenwindow.cpp" line="392"/>
<source>Are you sure you want to quit?</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="339"/>
- <source>Lightscreen is currently %1, this will finish momentarily, are you sure you want to quit?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../lightscreenwindow.cpp" line="481"/>
+ <location filename="../lightscreenwindow.cpp" line="640"/>
<source>The screenshot was not taken</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>%1 uploaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="503"/>
+ <location filename="../lightscreenwindow.cpp" line="673"/>
<source>Click here to go to %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="512"/>
+ <location filename="../lightscreenwindow.cpp" line="659"/>
<source>Upload error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="526"/>
- <location filename="../lightscreenwindow.cpp" line="788"/>
+ <location filename="../lightscreenwindow.cpp" line="574"/>
+ <location filename="../lightscreenwindow.cpp" line="875"/>
<source>Active &amp;Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="529"/>
- <location filename="../lightscreenwindow.cpp" line="791"/>
+ <location filename="../lightscreenwindow.cpp" line="577"/>
+ <location filename="../lightscreenwindow.cpp" line="878"/>
<source>&amp;Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="535"/>
- <location filename="../lightscreenwindow.cpp" line="806"/>
+ <location filename="../lightscreenwindow.cpp" line="583"/>
+ <location filename="../lightscreenwindow.cpp" line="893"/>
<source>&amp;Upload last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="536"/>
- <location filename="../lightscreenwindow.cpp" line="807"/>
+ <location filename="../lightscreenwindow.cpp" line="584"/>
+ <location filename="../lightscreenwindow.cpp" line="894"/>
<source>Upload the last screenshot you took to imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="539"/>
+ <location filename="../lightscreenwindow.cpp" line="587"/>
<source>View &amp;History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="810"/>
+ <location filename="../lightscreenwindow.cpp" line="897"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="551"/>
- <location filename="../lightscreenwindow.cpp" line="830"/>
+ <location filename="../lightscreenwindow.cpp" line="599"/>
+ <location filename="../lightscreenwindow.cpp" line="917"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="584"/>
- <location filename="../lightscreenwindow.cpp" line="586"/>
+ <location filename="../lightscreenwindow.cpp" line="334"/>
+ <location filename="../lightscreenwindow.cpp" line="337"/>
<source>Failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="341"/>
<source>Cancelled!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="614"/>
+ <location filename="../lightscreenwindow.cpp" line="393"/>
+ <source>Lightscreen is currently %1, this will finish momentarily.&lt;br&gt;Are you sure you want to quit?</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../lightscreenwindow.cpp" line="512"/>
<source>Some hotkeys could not be registered, they might already be in use</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="617"/>
+ <location filename="../lightscreenwindow.cpp" line="515"/>
<source>&lt;br&gt;The failed hotkeys are the following:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="626"/>
+ <location filename="../lightscreenwindow.cpp" line="524"/>
<source>&lt;br&gt;The failed hotkey is &lt;b&gt;%1&lt;/b&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="629"/>
+ <location filename="../lightscreenwindow.cpp" line="527"/>
<source>&lt;br&gt;&lt;i&gt;What do you want to do?&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="635"/>
+ <location filename="../lightscreenwindow.cpp" line="533"/>
<source>Change</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="636"/>
+ <location filename="../lightscreenwindow.cpp" line="534"/>
<source>Disable</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="823"/>
+ <location filename="../lightscreenwindow.cpp" line="910"/>
<source>Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="912"/>
+ <location filename="../lightscreenwindow.cpp" line="756"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Upload cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Do you want to cancel the upload of %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="913"/>
+ <location filename="../lightscreenwindow.cpp" line="757"/>
<source>Don&apos;t Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="944"/>
+ <location filename="../lightscreenwindow.cpp" line="700"/>
<source>Uploading %1 screenshot(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="340"/>
- <location filename="../lightscreenwindow.cpp" line="637"/>
+ <location filename="../lightscreenwindow.cpp" line="394"/>
+ <location filename="../lightscreenwindow.cpp" line="535"/>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="884"/>
+ <location filename="../lightscreenwindow.cpp" line="728"/>
<source>There&apos;s a new version of Lightscreen available.&lt;br&gt;Would you like to see more information?&lt;br&gt;(&lt;em&gt;You can turn this notification off&lt;/em&gt;)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="888"/>
+ <location filename="../lightscreenwindow.cpp" line="732"/>
<source>Turn Off</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="889"/>
+ <location filename="../lightscreenwindow.cpp" line="733"/>
<source>Remind Me Later</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="523"/>
- <location filename="../lightscreenwindow.cpp" line="785"/>
+ <location filename="../lightscreenwindow.cpp" line="571"/>
+ <location filename="../lightscreenwindow.cpp" line="872"/>
<source>&amp;Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="341"/>
+ <location filename="../lightscreenwindow.cpp" line="395"/>
<source>Don&apos;t Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="477"/>
+ <location filename="../lightscreenwindow.cpp" line="636"/>
<source>Saved to &quot;%1&quot;</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="482"/>
+ <location filename="../lightscreenwindow.cpp" line="641"/>
<source>An error occurred.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="532"/>
- <location filename="../lightscreenwindow.cpp" line="794"/>
+ <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="881"/>
<source>&amp;Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="542"/>
- <location filename="../lightscreenwindow.cpp" line="817"/>
+ <location filename="../lightscreenwindow.cpp" line="590"/>
+ <location filename="../lightscreenwindow.cpp" line="904"/>
<source>&amp;Go to Folder</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="578"/>
- <location filename="../lightscreenwindow.cpp" line="580"/>
+ <location filename="../lightscreenwindow.cpp" line="327"/>
+ <location filename="../lightscreenwindow.cpp" line="330"/>
<source>Success!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="782"/>
+ <location filename="../lightscreenwindow.cpp" line="869"/>
<source>Show&amp;/Hide</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="814"/>
+ <location filename="../lightscreenwindow.cpp" line="901"/>
<source>View &amp;Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../lightscreenwindow.cpp" line="820"/>
+ <location filename="../lightscreenwindow.cpp" line="907"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LightscreenWindowClass</name>
<message>
<location filename="../lightscreenwindow.ui" line="14"/>
<source>Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="41"/>
<source>&amp;Screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="66"/>
<source>Configure Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="69"/>
<source>&amp;Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="94"/>
<source>Hide Lightscreen </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="100"/>
<source>&amp;Hide</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../lightscreenwindow.ui" line="128"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NamingDialog</name>
<message>
<location filename="../dialogs/namingdialog.ui" line="14"/>
<source>Naming Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="42"/>
+ <location filename="../dialogs/namingdialog.ui" line="45"/>
<source>Leading zeros:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="97"/>
+ <location filename="../dialogs/namingdialog.ui" line="100"/>
<source>Date Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/namingdialog.ui" line="164"/>
+ <location filename="../dialogs/namingdialog.ui" line="167"/>
<source>Flip naming.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="90"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="514"/>
<source>Restore Defaults</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="106"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="530"/>
<source>Version %1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>Hotkey conflict</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="188"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="84"/>
<source>You have assigned the same hotkeys to more than one action.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>Filename character error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="193"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="89"/>
<source>The filename can&apos;t contain any of the following characters: ? : \ / * &quot; &lt; &gt; |</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>Final Destination</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="198"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="94"/>
<source>You can&apos;t take screenshots unless you enable either file saving or the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="209"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="443"/>
<source>Select where you want to save the screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="227"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="456"/>
<source>Lightscreen - Restore Default Options</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="228"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="457"/>
<source>Restoring the default options will cause you to lose all of your current configuration.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="231"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="460"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="232"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="461"/>
<source>Don&apos;t Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="263"/>
- <location filename="../dialogs/optionsdialog.cpp" line="269"/>
- <location filename="../dialogs/optionsdialog.cpp" line="400"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="142"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="496"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="502"/>
<source>screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="265"/>
- <location filename="../dialogs/optionsdialog.cpp" line="267"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="498"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="500"/>
<source>.screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.cpp" line="448"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="189"/>
<source>Install &apos;OptiPNG&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="14"/>
<source>Options - Lightscreen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="39"/>
<source>File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="57"/>
<source>&amp;Directory:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="97"/>
<source>The prefix for the screenshot file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="100"/>
<source>&amp;Filename:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="118"/>
<source>The prefix will be inserted before the &lt;em&gt;Naming&lt;/em&gt; in the screenshot file and it is usually used to distinguish files. It can be left blank.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="125"/>
<source>The naming is inserted after the prefix and is what makes each screenshot file unique to avoid overwriting.&lt;br /&gt;
&lt;b&gt;Numeric&lt;/b&gt;: inserts a number in sequence, 1, 2, 3..&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;: inserts the current date and time, in the form of dd-MM-yyyy, click the &quot;wrench&quot; button on the right to customize the format.&lt;br /&gt;
&lt;b&gt;Timestamp&lt;/b&gt;: inserts a number, a Unix timestamp, which is the number of seconds passed since 1970-1-1 00:00:00.&lt;br /&gt;
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="134"/>
<source>(number)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="139"/>
<source>(date)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="144"/>
<source>(timestamp)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="170"/>
<source>The file format for the screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="173"/>
<source>F&amp;ormat:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="205"/>
<source>&amp;Quality:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="149"/>
<source>(none)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="272"/>
<source>&lt;i&gt;Preview:&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="311"/>
<source>System Startup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="364"/>
<source>Hotkeys</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="370"/>
<source>Captures</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="391"/>
+ <source>&amp;Fullscreen</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="414"/>
+ <source>Window &amp;Picker</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="443"/>
+ <source>Active &amp;Window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="459"/>
+ <source>Screen &amp;Area</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="472"/>
<source>Lightscreen Control</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="493"/>
+ <source>&amp;Open the program window</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="509"/>
+ <source>Open the &amp;directory</source>
+ <translation type="unfinished"></translation>
+ </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="536"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="584"/>
<source>Interface</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="892"/>
+ <location filename="../dialogs/optionsdialog.ui" line="895"/>
<source>Default action:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="916"/>
- <location filename="../dialogs/optionsdialog.cpp" line="402"/>
+ <location filename="../dialogs/optionsdialog.ui" line="922"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="134"/>
+ <location filename="../dialogs/optionsdialog.cpp" line="137"/>
<source>Screenshots</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="925"/>
+ <location filename="../dialogs/optionsdialog.ui" line="931"/>
<source>Choose where to save each screenshot (&quot;&amp;Save as&quot;).</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="939"/>
+ <location filename="../dialogs/optionsdialog.ui" line="945"/>
<source>&amp;Grab only the active monitor.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="965"/>
+ <location filename="../dialogs/optionsdialog.ui" line="971"/>
<source>Runs OptiPNG which reduces screenshot file size.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1034"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1040"/>
<source>Replace screenshots when there&apos;s an existing file.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1041"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1119"/>
+ <source>History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1128"/>
<source>Save my screenshot history.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1055"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1054"/>
<source>Upload all my screenshots automatically.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1064"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1063"/>
<source>D&amp;elay:</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1077"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1076"/>
<source>Selecting anything other than 0 in this option will cause the program to &lt;b&gt;wait&lt;/b&gt; that amount of seconds before taking the screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1080"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1079"/>
<source>none</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1172"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1208"/>
<source>Lightscreen is a simple tool to take screenshots, designed to be customizable and lightweight.&lt;br&gt;&lt;br&gt;
Created by &lt;a href=&quot;http://ckaiser.com.ar&quot;&gt;Christian Kaiser&lt;/a&gt;, using the &lt;a href=&quot;#aboutqt&quot;&gt;Qt toolkit&lt;/a&gt; for the graphical user interface.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1201"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1219"/>
<source>Released under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-2.0.html&quot;&gt;GNU General Public License&lt;/a&gt;.&lt;br&gt;&lt;br&gt;
Special thanks goes to the &lt;a href=&quot;http://lightscreen.sourceforge.net/about&quot;&gt;Donators and Translators&lt;/a&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="847"/>
- <location filename="../dialogs/optionsdialog.ui" line="1089"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1088"/>
<source> seconds</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="752"/>
<source>Maximum Size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="803"/>
<source>Position:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="860"/>
<source> and </source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="874"/>
- <location filename="../dialogs/optionsdialog.ui" line="900"/>
+ <location filename="../dialogs/optionsdialog.ui" line="877"/>
+ <location filename="../dialogs/optionsdialog.ui" line="906"/>
<source>save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="879"/>
- <location filename="../dialogs/optionsdialog.ui" line="905"/>
+ <location filename="../dialogs/optionsdialog.ui" line="882"/>
+ <location filename="../dialogs/optionsdialog.ui" line="911"/>
<source>upload</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="884"/>
+ <location filename="../dialogs/optionsdialog.ui" line="887"/>
<source>cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1149"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1187"/>
<source>Chec&amp;k Now</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1164"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1202"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1223"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1241"/>
<source>&lt;a href=&quot;https://sourceforge.net/projects/lightscreen/&quot;&gt;Visit Sourceforge project site&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://lightscreen.sourceforge.net/&quot;&gt;Visit Lightscreen home page&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="323"/>
<source>&amp;Run Lightscreen at system startup.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="351"/>
<source>H&amp;ide the main window.</source>
<translation type="unfinished"></translation>
</message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="509"/>
- <source>Open the directory</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="493"/>
- <source>Open the program window</source>
- <translation type="unfinished"></translation>
- </message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="596"/>
<source>Sho&amp;w a system tray icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="603"/>
<source>&amp;Hide Lightscreen while taking a screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="953"/>
+ <location filename="../dialogs/optionsdialog.ui" line="959"/>
<source>&amp;Magnify around the mouse in Area mode.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="692"/>
<source>&amp;Language:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="709"/>
<source>Click here to go to the Lightscreen homepage to learn more about translations.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="712"/>
<source>&lt;a href=&quot;http://lightscreen.sourceforge.net/translation&quot;&gt;More information..&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="678"/>
<source>&amp;Notify with:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="625"/>
<source>Shows a completion message once the screenshot is saved, clicking this message takes you to the directory where the screenshot was saved.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="628"/>
<source>Tray icon Popup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="635"/>
<source>&amp;Sound cue</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="218"/>
<source>This slider goes from 0 to 100. 100 being the highest quality and 0 the lowest.&lt;br&gt;
Quality is related to file size and of course to readability and overall quality of the image.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="932"/>
+ <location filename="../dialogs/optionsdialog.ui" line="938"/>
<source>&amp;Copy the screenshot to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="946"/>
+ <location filename="../dialogs/optionsdialog.ui" line="952"/>
<source>Inc&amp;lude the cursor in the screenshot.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="968"/>
+ <location filename="../dialogs/optionsdialog.ui" line="974"/>
<source>O&amp;ptimize PNG screenshots.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="610"/>
<source>Warn when hiding without a tra&amp;y icon.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="391"/>
- <source>Fullscreen</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="414"/>
- <source>Window Picker</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="443"/>
- <source>Active Window</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="459"/>
- <source>Screen Area</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/optionsdialog.ui" line="1048"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1047"/>
<source>Snap area screenshots automatically (no resizing).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="737"/>
<source>Screenshot Previews</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="817"/>
<source>Top Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="822"/>
<source>Top Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="827"/>
<source>Bottom Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="832"/>
<source>Bottom Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/optionsdialog.ui" line="840"/>
<source>Auto-close after</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1120"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1148"/>
+ <source>View &amp;History</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../dialogs/optionsdialog.ui" line="1158"/>
<source>Updater</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/optionsdialog.ui" line="1129"/>
+ <location filename="../dialogs/optionsdialog.ui" line="1167"/>
<source>Check for updates regularly.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>PreviewDialog</name>
<message>
<location filename="../dialogs/previewdialog.cpp" line="47"/>
- <location filename="../dialogs/previewdialog.cpp" line="329"/>
+ <location filename="../dialogs/previewdialog.cpp" line="309"/>
<source>Screenshot Preview</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="160"/>
<source>Upload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dialogs/previewdialog.cpp" line="182"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="326"/>
+ <location filename="../dialogs/previewdialog.cpp" line="306"/>
<source>Screenshot Preview (%1 of %2)</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/previewdialog.cpp" line="399"/>
+ <location filename="../dialogs/previewdialog.cpp" line="404"/>
<source>Preview: Closing in %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
- <location filename="../dialogs/uploaddialog.cpp" line="90"/>
- <location filename="../dialogs/uploaddialog.cpp" line="126"/>
+ <location filename="../dialogs/historydialog.cpp" line="104"/>
+ <location filename="../dialogs/historydialog.cpp" line="178"/>
<location filename="../tools/screenshotmanager.h" line="49"/>
<source>- not uploaded -</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="65"/>
+ <location filename="../main.cpp" line="67"/>
<source>Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="66"/>
+ <location filename="../main.cpp" line="68"/>
<source>Area</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="67"/>
+ <location filename="../main.cpp" line="69"/>
<source>Active Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="68"/>
+ <location filename="../main.cpp" line="70"/>
<source>Pick Window</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="70"/>
+ <location filename="../main.cpp" line="72"/>
<source>Upload Last</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="71"/>
+ <location filename="../main.cpp" line="73"/>
<source>View History</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../main.cpp" line="73"/>
+ <location filename="../main.cpp" line="75"/>
<source>Go to Folder</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Screenshot</name>
<message>
- <location filename="../tools/screenshot.cpp" line="312"/>
+ <location filename="../tools/screenshot.cpp" line="186"/>
<source>Save as..</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ScreenshotDialog</name>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="36"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="35"/>
<source>Lightscreen Screenshot Viewer</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../dialogs/screenshotdialog.cpp" line="38"/>
+ <location filename="../dialogs/screenshotdialog.cpp" line="37"/>
<source>You can zoom using the mouse wheel while holding the CTRL key. To return to the default zoom press &quot;Ctrl-0&quot;.</source>
<translation type="unfinished"></translation>
</message>
</context>
-<context>
- <name>UploadDialog</name>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="14"/>
- <source>Screenshot History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="30"/>
- <source>Type here to filter through the screenshots in the list.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="40"/>
- <source>Double click the path to open the image with the default picture viewer, you can also double-click the URL to open it on your web browser.
-
-Right click items to get access to more options.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="54"/>
- <source>Clear</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="77"/>
- <source>Upload</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.ui" line="84"/>
- <source>Close</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="31"/>
- <location filename="../dialogs/uploaddialog.cpp" line="192"/>
- <location filename="../dialogs/uploaddialog.cpp" line="203"/>
- <location filename="../dialogs/uploaddialog.cpp" line="209"/>
- <source>Filter..</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy Path</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="79"/>
- <source>Copy URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="83"/>
- <source>Open Location</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>Screenshot</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="148"/>
- <source>URL</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="176"/>
- <source>Clearing the screenshot history</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="177"/>
- <source>Are you sure you want to clear your entire screenshot history?
-This cannot be undone.</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="178"/>
- <source>Clear History</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../dialogs/uploaddialog.cpp" line="179"/>
- <source>Don&apos;t Clear</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
<context>
<name>Uploader</name>
<message>
- <location filename="../tools/uploader.cpp" line="53"/>
- <location filename="../tools/uploader.cpp" line="134"/>
+ <location filename="../tools/uploader.cpp" line="58"/>
+ <location filename="../tools/uploader.cpp" line="126"/>
<source>Uploading...</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="107"/>
+ <location filename="../tools/uploader.cpp" line="92"/>
<source>Screenshot file not found.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="110"/>
+ <location filename="../tools/uploader.cpp" line="95"/>
<source>Could not reach imgur.com</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="113"/>
+ <location filename="../tools/uploader.cpp" line="98"/>
<source>You have exceeded your upload quota.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/uploader.cpp" line="116"/>
+ <location filename="../tools/uploader.cpp" line="101"/>
<source>Upload failed.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WindowPicker</name>
<message>
- <location filename="../tools/windowpicker.cpp" line="51"/>
+ <location filename="../tools/windowpicker.cpp" line="52"/>
<source>Lightscreen Window Picker</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="54"/>
+ <location filename="../tools/windowpicker.cpp" line="55"/>
<source>Grab the window picker by clicking and holding down the mouse button, then drag it to the window of your choice and release it to capture.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="64"/>
+ <location filename="../tools/windowpicker.cpp" line="65"/>
<source> - Start dragging to select windows</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../tools/windowpicker.cpp" line="71"/>
+ <location filename="../tools/windowpicker.cpp" line="72"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
diff --git a/widgets/hotkeywidget.cpp b/widgets/hotkeywidget.cpp
index 4b477a3..5ceaae8 100644
--- a/widgets/hotkeywidget.cpp
+++ b/widgets/hotkeywidget.cpp
@@ -1,161 +1,161 @@
/*
* Copyright (C) 2011 Christian Kaiser
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <QApplication>
#include <QFocusEvent>
#include <QKeyEvent>
#include <QKeySequence>
#include <QStyle>
#include <QTimer>
#include <QDebug>
#include "hotkeywidget.h"
HotkeyWidget::HotkeyWidget(QWidget *parent) :
QPushButton(parent), mHotkey(QKeySequence()), mShowingError(false), mKeyboardFocus(false)
{
mDefaultStyleSheet = "text-align: left; padding: 3px 6px;";
setStyleSheet(mDefaultStyleSheet);
setText(tr("Click to select hotkey..."));
setObjectName("HotkeyWidget");
if (qApp->style()->objectName() == "oxygen") {
setMinimumWidth(130);
}
else {
setMinimumWidth(110);
}
}
-void HotkeyWidget::setHotkey(QKeySequence hotkey)
+void HotkeyWidget::setHotkey(QString hotkeyString)
{
- mHotkey = hotkey;
+ mHotkey = QKeySequence().fromString(hotkeyString, QKeySequence::NativeText);
setHotkeyText();
}
-QKeySequence &HotkeyWidget::hotkey()
+QString HotkeyWidget::hotkey() const
{
- return mHotkey;
+ return mHotkey.toString(QKeySequence::PortableText);
}
void HotkeyWidget::showError()
{
if (mShowingError)
return;
mShowingError = true;
setStyleSheet(mDefaultStyleSheet + "color: #d90000;");
QTimer::singleShot(1000, this, SLOT(hideError()));
}
void HotkeyWidget::setHotkeyText()
{
QString hotkeyText = mHotkey.toString(QKeySequence::NativeText);
setText(hotkeyText);
parentWidget()->setFocus();
}
bool HotkeyWidget::event(QEvent *event)
{
if (event->type() == QEvent::LanguageChange) {
setHotkeyText();
}
else if (event->type() == QEvent::FocusIn) {
QFocusEvent* focusEvent = static_cast<QFocusEvent*>(event);
if (focusEvent->reason() != Qt::TabFocusReason) {
setText(tr("Type your hotkey"));
mKeyboardFocus = false;
grabKeyboard();
}
else {
mKeyboardFocus = true;
}
}
else if (event->type() == QEvent::FocusOut) {
if (text() == tr("Invalid hotkey")) {
emit invalidHotkeyError();
showError();
}
releaseKeyboard();
setHotkeyText(); // Reset the text
}
return QPushButton::event(event);
}
void HotkeyWidget::keyPressEvent(QKeyEvent *event)
{
if (mKeyboardFocus)
return;
if (isModifier(event->key()))
return;
if (!isValid(event->key())) {
setText(tr("Invalid hotkey"));
parentWidget()->setFocus();
return;
}
mHotkey = QKeySequence(event->key() + (event->modifiers() & ~Qt::KeypadModifier));
setHotkeyText();
}
void HotkeyWidget::hideError()
{
setStyleSheet(mDefaultStyleSheet);
mShowingError = false;
}
bool HotkeyWidget::isValid(int key) const
{
switch (key)
{
case 0:
case Qt::Key_Escape:
case Qt::Key_unknown:
return false;
}
return !isModifier(key);
}
bool HotkeyWidget::isModifier(int key) const
{
switch (key)
{
case Qt::Key_Shift:
case Qt::Key_Control:
case Qt::Key_Meta:
case Qt::Key_Alt:
case Qt::Key_AltGr:
case Qt::Key_Super_L:
case Qt::Key_Super_R:
case Qt::Key_Menu:
return true;
}
return false;
}
diff --git a/widgets/hotkeywidget.h b/widgets/hotkeywidget.h
index feec2f8..f5e996d 100644
--- a/widgets/hotkeywidget.h
+++ b/widgets/hotkeywidget.h
@@ -1,59 +1,59 @@
/*
* Copyright (C) 2011 Christian Kaiser
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef HOTKEYWIDGET_H
#define HOTKEYWIDGET_H
#include <QPushButton>
class HotkeyWidget : public QPushButton
{
Q_OBJECT
public:
HotkeyWidget(QWidget *parent = 0);
- void setHotkey(QKeySequence hotkey);
- QKeySequence &hotkey();
+ void setHotkey(QString hotkey);
+ QString hotkey() const;
signals:
void invalidHotkeyError();
private:
void setHotkeyText();
void showError();
private slots:
void hideError();
protected:
// Event overrides:
bool event(QEvent* event);
void keyPressEvent(QKeyEvent* event);
private:
QKeySequence mHotkey;
bool mShowingError;
bool mKeyboardFocus;
QString mDefaultStyleSheet;
bool isValid(int key) const;
bool isModifier(int key) const;
};
#endif // HOTKEYWIDGET_H

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jun 16, 12:14 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70327
Default Alt Text
(632 KB)

Event Timeline