1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00

Middle(or ctrl) click in history(forward/next) opens new tab. Closes #58

- the current tab will be duplicated (thus all history will be copied)
  and the created tab will go to desired history item.
- also updated Dutch + Chinese translations, thanks again to translators
This commit is contained in:
nowrep 2011-12-12 18:07:07 +01:00
parent e112166fad
commit c69022b670
6 changed files with 125 additions and 86 deletions

Binary file not shown.

Binary file not shown.

View File

@ -22,6 +22,7 @@
#include "websearchbar.h" #include "websearchbar.h"
#include "reloadstopbutton.h" #include "reloadstopbutton.h"
#include "webhistorywrapper.h" #include "webhistorywrapper.h"
#include "menu.h"
NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent) NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent)
: QWidget(parent) : QWidget(parent)
@ -65,9 +66,9 @@ NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent)
m_buttonAddTab->setToolButtonStyle(Qt::ToolButtonIconOnly); m_buttonAddTab->setToolButtonStyle(Qt::ToolButtonIconOnly);
m_buttonAddTab->setAutoRaise(true); m_buttonAddTab->setAutoRaise(true);
m_menuBack = new QMenu(this); m_menuBack = new Menu(this);
m_buttonBack->setMenu(m_menuBack); m_buttonBack->setMenu(m_menuBack);
m_menuForward = new QMenu(); m_menuForward = new Menu(this);
m_buttonNext->setMenu(m_menuForward); m_buttonNext->setMenu(m_menuForward);
m_supMenu = new ToolButton(this); m_supMenu = new ToolButton(this);
@ -159,8 +160,18 @@ void NavigationBar::aboutToShowHistoryBackMenu()
title.truncate(40); title.truncate(40);
title += ".."; title += "..";
} }
QAction* action = m_menuBack->addAction(_iconForUrl(item.url()), title, this, SLOT(goAtHistoryIndex()));
action->setData(i); QIcon icon = item.icon();
if (icon.isNull()) {
icon = _iconForUrl(item.url());
}
Action* act = new Action(icon, title);
act->setData(i);
connect (act, SIGNAL(triggered()), this, SLOT(goAtHistoryIndex()));
connect (act, SIGNAL(middleClicked()), this, SLOT(goAtHistoryIndexInNewTab()));
m_menuBack->addAction(act);
lastUrl = item.url(); lastUrl = item.url();
} }
@ -194,8 +205,18 @@ void NavigationBar::aboutToShowHistoryNextMenu()
title.truncate(40); title.truncate(40);
title += ".."; title += "..";
} }
QAction* action = m_menuForward->addAction(_iconForUrl(item.url()), title, this, SLOT(goAtHistoryIndex()));
action->setData(i); QIcon icon = item.icon();
if (icon.isNull()) {
icon = _iconForUrl(item.url());
}
Action* act = new Action(icon, title);
act->setData(i);
connect (act, SIGNAL(triggered()), this, SLOT(goAtHistoryIndex()));
connect (act, SIGNAL(middleClicked()), this, SLOT(goAtHistoryIndexInNewTab()));
m_menuForward->addAction(act);
lastUrl = item.url(); lastUrl = item.url();
} }
@ -218,13 +239,28 @@ void NavigationBar::clearHistory()
void NavigationBar::goAtHistoryIndex() void NavigationBar::goAtHistoryIndex()
{ {
QWebHistory* history = p_QupZilla->weView()->page()->history();
if (QAction* action = qobject_cast<QAction*>(sender())) { if (QAction* action = qobject_cast<QAction*>(sender())) {
p_QupZilla->weView()->page()->history()->goToItem(p_QupZilla->weView()->page()->history()->itemAt(action->data().toInt())); history->goToItem(history->itemAt(action->data().toInt()));
} }
refreshHistory(); refreshHistory();
} }
void NavigationBar::goAtHistoryIndexInNewTab()
{
if (QAction* action = qobject_cast<QAction*>(sender())) {
TabWidget* tabWidget = p_QupZilla->tabWidget();
tabWidget->duplicateTab(tabWidget->currentIndex());
int index = tabWidget->count() - 1;
QWebHistory* history = p_QupZilla->weView(index)->page()->history();
history->goToItem(history->itemAt(action->data().toInt()));
}
}
void NavigationBar::refreshHistory() void NavigationBar::refreshHistory()
{ {
if (mApp->isClosing() || p_QupZilla->isClosing()) { if (mApp->isClosing() || p_QupZilla->isClosing()) {

View File

@ -27,6 +27,7 @@ class ToolButton;
class WebSearchBar; class WebSearchBar;
class QupZilla; class QupZilla;
class ReloadStopButton; class ReloadStopButton;
class Menu;
class NavigationBar : public QWidget class NavigationBar : public QWidget
{ {
Q_OBJECT Q_OBJECT
@ -61,6 +62,8 @@ private slots:
void aboutToShowHistoryBackMenu(); void aboutToShowHistoryBackMenu();
void goAtHistoryIndex(); void goAtHistoryIndex();
void goAtHistoryIndexInNewTab();
void clearHistory(); void clearHistory();
private: private:
@ -76,8 +79,8 @@ private:
ToolButton* m_exitFullscreen; ToolButton* m_exitFullscreen;
ReloadStopButton* m_reloadStop; ReloadStopButton* m_reloadStop;
QMenu* m_menuBack; Menu* m_menuBack;
QMenu* m_menuForward; Menu* m_menuForward;
WebSearchBar* m_searchLine; WebSearchBar* m_searchLine;
}; };

View File

@ -358,7 +358,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="68"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="68"/>
<source>From File</source> <source>From File</source>
<translation type="unfinished"></translation> <translation>Uit bestand</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="80"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="80"/>
@ -441,7 +441,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="328"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="328"/>
<source>You can import bookmarks from any browser that supports HTML exporting. This file has usually these suffixes</source> <source>You can import bookmarks from any browser that supports HTML exporting. This file has usually these suffixes</source>
<translation type="unfinished"></translation> <translation>U kunt bladwijzers importeren uit elke browser die HTML-exportering ondersteund. Het bestand heeft doorgaans deze extensies</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="337"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="337"/>
@ -460,7 +460,7 @@
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="127"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="127"/>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="137"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="137"/>
<source>Please press Finish to complete importing process.</source> <source>Please press Finish to complete importing process.</source>
<translation type="unfinished"></translation> <translation>Klik alstublieft op Afronden om het import-proces te voltooiien.</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="339"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="339"/>
@ -1646,12 +1646,12 @@ werd niet gevonden!</translation>
<message> <message>
<location filename="../src/bookmarksimport/htmlimporter.cpp" line="6"/> <location filename="../src/bookmarksimport/htmlimporter.cpp" line="6"/>
<source>No Error</source> <source>No Error</source>
<translation type="unfinished">Geen fout</translation> <translation>Geen fout</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/htmlimporter.cpp" line="21"/> <location filename="../src/bookmarksimport/htmlimporter.cpp" line="21"/>
<source>Unable to open file.</source> <source>Unable to open file.</source>
<translation type="unfinished"></translation> <translation>Niet in staat om bestand te openen.</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2202,7 +2202,7 @@ werd niet gevonden!</translation>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="644"/> <location filename="../src/preferences/preferences.ui" line="644"/>
<source>Hide tabs when there is only one tab</source> <source>Hide tabs when there is only one tab</source>
<translation type="unfinished"></translation> <translation>Verberg tabbladen wanneer er maar 1 tabblad is</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="705"/> <location filename="../src/preferences/preferences.ui" line="705"/>

View File

@ -236,7 +236,7 @@
<message> <message>
<location filename="../src/preferences/autofillmanager.ui" line="45"/> <location filename="../src/preferences/autofillmanager.ui" line="45"/>
<source>Username</source> <source>Username</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/autofillmanager.ui" line="50"/> <location filename="../src/preferences/autofillmanager.ui" line="50"/>
@ -280,7 +280,7 @@
<message> <message>
<location filename="../src/preferences/autofillmanager.cpp" line="97"/> <location filename="../src/preferences/autofillmanager.cpp" line="97"/>
<source>Hide Passwords</source> <source>Hide Passwords</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/autofillmanager.cpp" line="115"/> <location filename="../src/preferences/autofillmanager.cpp" line="115"/>
@ -308,7 +308,7 @@
<message> <message>
<location filename="../src/autofill/autofillnotification.cpp" line="35"/> <location filename="../src/autofill/autofillnotification.cpp" line="35"/>
<source>Do you want QupZilla to remember password for &lt;b&gt;%1&lt;/b&gt; on %2?</source> <source>Do you want QupZilla to remember password for &lt;b&gt;%1&lt;/b&gt; on %2?</source>
<translation type="unfinished"></translation> <translation>QupZilla记住密码&lt;b&gt;%1&lt;/b&gt; on %2?</translation>
</message> </message>
</context> </context>
<context> <context>
@ -358,7 +358,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="68"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="68"/>
<source>From File</source> <source>From File</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="80"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.ui" line="80"/>
@ -409,7 +409,7 @@
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="127"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="127"/>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="137"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="137"/>
<source>Please press Finish to complete importing process.</source> <source>Please press Finish to complete importing process.</source>
<translation type="unfinished"></translation> <translation>Finish以完成导入过程</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="190"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="190"/>
@ -432,7 +432,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="282"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="282"/>
<source>Mozilla Firefox stores its bookmarks in &lt;b&gt;places.sqlite&lt;/b&gt; SQLite database. This file is usually located in </source> <source>Mozilla Firefox stores its bookmarks in &lt;b&gt;places.sqlite&lt;/b&gt; SQLite database. This file is usually located in </source>
<translation type="unfinished"></translation> <translation>Mozilla Firefox的书签&lt;/ B&gt; SQLite&lt;b&gt; places.sqlite</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="284"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="284"/>
@ -445,7 +445,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="297"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="297"/>
<source>Google Chrome stores its bookmarks in &lt;b&gt;Bookmarks&lt;/b&gt; text file. This file is usually located in </source> <source>Google Chrome stores its bookmarks in &lt;b&gt;Bookmarks&lt;/b&gt; text file. This file is usually located in </source>
<translation type="unfinished"></translation> <translation>&lt;b&gt;&lt;/ b&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="313"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="313"/>
@ -455,7 +455,7 @@
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="328"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="328"/>
<source>You can import bookmarks from any browser that supports HTML exporting. This file has usually these suffixes</source> <source>You can import bookmarks from any browser that supports HTML exporting. This file has usually these suffixes</source>
<translation type="unfinished"></translation> <translation>HTML的浏览器中导入书签</translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="337"/> <location filename="../src/bookmarksimport/bookmarksimportdialog.cpp" line="337"/>
@ -819,7 +819,7 @@
<message> <message>
<location filename="../src/other/browsinglibrary.cpp" line="150"/> <location filename="../src/other/browsinglibrary.cpp" line="150"/>
<source>Database successfully optimized.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Database Size Before: &lt;/b&gt;%1&lt;br/&gt;&lt;b&gt;Database Size After: &lt;/b&gt;%2</source> <source>Database successfully optimized.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Database Size Before: &lt;/b&gt;%1&lt;br/&gt;&lt;b&gt;Database Size After: &lt;/b&gt;%2</source>
<translation type="unfinished"></translation> <translation>&lt;br/&gt; &lt;br/&gt;&lt;b&gt;&lt;/b&gt;%1&lt;br/&gt;&lt;b&gt;&lt;/b&gt;%2</translation>
</message> </message>
</context> </context>
<context> <context>
@ -827,7 +827,7 @@
<message> <message>
<location filename="../src/tools/certificateinfowidget.ui" line="17"/> <location filename="../src/tools/certificateinfowidget.ui" line="17"/>
<source>&lt;b&gt;Issued To&lt;/b&gt;</source> <source>&lt;b&gt;Issued To&lt;/b&gt;</source>
<translation></translation> <translation>&lt;b&gt;&lt;b&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/tools/certificateinfowidget.ui" line="24"/> <location filename="../src/tools/certificateinfowidget.ui" line="24"/>
@ -855,12 +855,12 @@
<message> <message>
<location filename="../src/tools/certificateinfowidget.ui" line="92"/> <location filename="../src/tools/certificateinfowidget.ui" line="92"/>
<source>&lt;b&gt;Issued By&lt;/b&gt;</source> <source>&lt;b&gt;Issued By&lt;/b&gt;</source>
<translation></translation> <translation>&lt;b&gt;&lt;b&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/tools/certificateinfowidget.ui" line="150"/> <location filename="../src/tools/certificateinfowidget.ui" line="150"/>
<source>&lt;b&gt;Validity&lt;/b&gt;</source> <source>&lt;b&gt;Validity&lt;/b&gt;</source>
<translation>&lt;b&gt;&lt;/ B&gt;</translation> <translation>&lt;b&gt;&lt;/b&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/tools/certificateinfowidget.ui" line="157"/> <location filename="../src/tools/certificateinfowidget.ui" line="157"/>
@ -1140,7 +1140,7 @@
<message> <message>
<location filename="../src/desktopnotifications/desktopnotificationsfactory.cpp" line="100"/> <location filename="../src/desktopnotifications/desktopnotificationsfactory.cpp" line="100"/>
<source>Native System Notification</source> <source>Native System Notification</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -1154,7 +1154,7 @@
<message> <message>
<location filename="../src/downloads/downloadfilehelper.cpp" line="215"/> <location filename="../src/downloads/downloadfilehelper.cpp" line="215"/>
<source>NoNameDownload</source> <source>NoNameDownload</source>
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -1162,109 +1162,109 @@
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="58"/> <location filename="../src/downloads/downloaditem.cpp" line="58"/>
<source>Remaining time unavailable</source> <source>Remaining time unavailable</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="111"/> <location filename="../src/downloads/downloaditem.cpp" line="111"/>
<source>Done - %1</source> <source>Done - %1</source>
<translation></translation> <translation>-%1</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="166"/> <location filename="../src/downloads/downloaditem.cpp" line="166"/>
<location filename="../src/downloads/downloaditem.cpp" line="311"/> <location filename="../src/downloads/downloaditem.cpp" line="311"/>
<source>Cancelled</source> <source>Cancelled</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="172"/> <location filename="../src/downloads/downloaditem.cpp" line="172"/>
<source>few seconds</source> <source>few seconds</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="175"/> <location filename="../src/downloads/downloaditem.cpp" line="175"/>
<source>seconds</source> <source>seconds</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="178"/> <location filename="../src/downloads/downloaditem.cpp" line="178"/>
<source>minutes</source> <source>minutes</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="181"/> <location filename="../src/downloads/downloaditem.cpp" line="181"/>
<source>hours</source> <source>hours</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="188"/> <location filename="../src/downloads/downloaditem.cpp" line="188"/>
<source>Unknown speed</source> <source>Unknown speed</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="208"/> <location filename="../src/downloads/downloaditem.cpp" line="208"/>
<location filename="../src/downloads/downloaditem.cpp" line="247"/> <location filename="../src/downloads/downloaditem.cpp" line="247"/>
<source>Unknown size</source> <source>Unknown size</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="248"/> <location filename="../src/downloads/downloaditem.cpp" line="248"/>
<source>%2 - unknown size (%3)</source> <source>%2 - unknown size (%3)</source>
<translation></translation> <translation>%2-%3</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="251"/> <location filename="../src/downloads/downloaditem.cpp" line="251"/>
<source>Remaining %1 - %2 of %3 (%4)</source> <source>Remaining %1 - %2 of %3 (%4)</source>
<translation></translation> <translation> %1-%2 of %3 (%4)</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="271"/> <location filename="../src/downloads/downloaditem.cpp" line="271"/>
<source>Cancelled - %1</source> <source>Cancelled - %1</source>
<translation></translation> <translation>-%1</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="285"/> <location filename="../src/downloads/downloaditem.cpp" line="285"/>
<source>Delete file</source> <source>Delete file</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="285"/> <location filename="../src/downloads/downloaditem.cpp" line="285"/>
<source>Do you want to also delete dowloaded file?</source> <source>Do you want to also delete dowloaded file?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="301"/> <location filename="../src/downloads/downloaditem.cpp" line="301"/>
<source>Open File</source> <source>Open File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="303"/> <location filename="../src/downloads/downloaditem.cpp" line="303"/>
<source>Open Folder</source> <source>Open Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="305"/> <location filename="../src/downloads/downloaditem.cpp" line="305"/>
<source>Go to Download Page</source> <source>Go to Download Page</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="306"/> <location filename="../src/downloads/downloaditem.cpp" line="306"/>
<source>Copy Download Link</source> <source>Copy Download Link</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="308"/> <location filename="../src/downloads/downloaditem.cpp" line="308"/>
<source>Cancel downloading</source> <source>Cancel downloading</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="309"/> <location filename="../src/downloads/downloaditem.cpp" line="309"/>
<source>Clear</source> <source>Clear</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="311"/> <location filename="../src/downloads/downloaditem.cpp" line="311"/>
<source>Error</source> <source>Error</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="319"/> <location filename="../src/downloads/downloaditem.cpp" line="319"/>
@ -1274,24 +1274,24 @@
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="342"/> <location filename="../src/downloads/downloaditem.cpp" line="342"/>
<source>Not found</source> <source>Not found</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="342"/> <location filename="../src/downloads/downloaditem.cpp" line="342"/>
<source>Sorry, the file <source>Sorry, the file
%1 %1
was not found!</source> was not found!</source>
<translation></translation> <translation>%1</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="358"/> <location filename="../src/downloads/downloaditem.cpp" line="358"/>
<source>Error: Cannot write to file!</source> <source>Error: Cannot write to file!</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloaditem.cpp" line="370"/> <location filename="../src/downloads/downloaditem.cpp" line="370"/>
<source>Error: </source> <source>Error: </source>
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -1311,7 +1311,7 @@
<message> <message>
<location filename="../src/downloads/downloadmanager.cpp" line="137"/> <location filename="../src/downloads/downloadmanager.cpp" line="137"/>
<source>%1% of %2 files (%3) %4 remaining</source> <source>%1% of %2 files (%3) %4 remaining</source>
<translation type="unfinished"></translation> <translation>%1%%2(%3)%4</translation>
</message> </message>
<message> <message>
<location filename="../src/downloads/downloadmanager.cpp" line="140"/> <location filename="../src/downloads/downloadmanager.cpp" line="140"/>
@ -1643,12 +1643,12 @@
<message> <message>
<location filename="../src/bookmarksimport/htmlimporter.cpp" line="6"/> <location filename="../src/bookmarksimport/htmlimporter.cpp" line="6"/>
<source>No Error</source> <source>No Error</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/bookmarksimport/htmlimporter.cpp" line="21"/> <location filename="../src/bookmarksimport/htmlimporter.cpp" line="21"/>
<source>Unable to open file.</source> <source>Unable to open file.</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -1672,7 +1672,7 @@
<location filename="../src/navigation/locationbar.cpp" line="294"/> <location filename="../src/navigation/locationbar.cpp" line="294"/>
<source>.co.uk</source> <source>.co.uk</source>
<comment>Append domain name on ALT + Enter = Should be different for every country</comment> <comment>Append domain name on ALT + Enter = Should be different for every country</comment>
<translation type="unfinished"></translation> <translation>.co.uk</translation>
</message> </message>
</context> </context>
<context> <context>
@ -1685,7 +1685,7 @@
<message> <message>
<location filename="../src/app/mainapplication.cpp" line="651"/> <location filename="../src/app/mainapplication.cpp" line="651"/>
<source>&lt;b&gt;QupZilla crashed :-(&lt;/b&gt;&lt;br/&gt;Oops, last session of QupZilla ends with its crash. We are very sorry. Would you try to restore saved state?</source> <source>&lt;b&gt;QupZilla crashed :-(&lt;/b&gt;&lt;br/&gt;Oops, last session of QupZilla ends with its crash. We are very sorry. Would you try to restore saved state?</source>
<translation></translation> <translation>QupZilla上次结束时崩溃</translation>
</message> </message>
</context> </context>
<context> <context>
@ -1758,12 +1758,12 @@
<message> <message>
<location filename="../src/network/networkmanager.cpp" line="140"/> <location filename="../src/network/networkmanager.cpp" line="140"/>
<source>The page you are trying to access has the following errors in the SSL certificate:</source> <source>The page you are trying to access has the following errors in the SSL certificate:</source>
<translation type="unfinished"></translation> <translation>访SSL证书错误</translation>
</message> </message>
<message> <message>
<location filename="../src/network/networkmanager.cpp" line="164"/> <location filename="../src/network/networkmanager.cpp" line="164"/>
<source>Would you like to make an exception for this certificate?</source> <source>Would you like to make an exception for this certificate?</source>
<translation type="unfinished"></translation> <translation>使</translation>
</message> </message>
<message> <message>
<location filename="../src/network/networkmanager.cpp" line="185"/> <location filename="../src/network/networkmanager.cpp" line="185"/>
@ -1790,7 +1790,7 @@
<message> <message>
<location filename="../src/network/networkmanager.cpp" line="207"/> <location filename="../src/network/networkmanager.cpp" line="207"/>
<source>A username and password are being requested by %1. The site says: &quot;%2&quot;</source> <source>A username and password are being requested by %1. The site says: &quot;%2&quot;</source>
<translation></translation> <translation>%1%2</translation>
</message> </message>
<message> <message>
<location filename="../src/network/networkmanager.cpp" line="243"/> <location filename="../src/network/networkmanager.cpp" line="243"/>
@ -2224,22 +2224,22 @@
<location filename="../src/preferences/preferences.ui" line="237"/> <location filename="../src/preferences/preferences.ui" line="237"/>
<location filename="../src/preferences/preferences.ui" line="289"/> <location filename="../src/preferences/preferences.ui" line="289"/>
<source>Open speed dial</source> <source>Open speed dial</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="644"/> <location filename="../src/preferences/preferences.ui" line="644"/>
<source>Hide tabs when there is only one tab</source> <source>Hide tabs when there is only one tab</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="712"/> <location filename="../src/preferences/preferences.ui" line="712"/>
<source>Select all text by clicking in address bar</source> <source>Select all text by clicking in address bar</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="829"/> <location filename="../src/preferences/preferences.ui" line="829"/>
<source>Enable XSS Auditing</source> <source>Enable XSS Auditing</source>
<translation type="unfinished"></translation> <translation>XSS审计</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/preferences.ui" line="846"/> <location filename="../src/preferences/preferences.ui" line="846"/>
@ -2975,12 +2975,12 @@
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="715"/> <location filename="../src/app/qupzilla.cpp" line="715"/>
<source>Report &amp;Issue</source> <source>Report &amp;Issue</source>
<translation>&amp;I</translation> <translation>&amp;I报告及发行</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="721"/> <location filename="../src/app/qupzilla.cpp" line="721"/>
<source>&amp;Web Search</source> <source>&amp;Web Search</source>
<translation>&amp;W</translation> <translation>&amp;W网页搜索</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="722"/> <location filename="../src/app/qupzilla.cpp" line="722"/>
@ -2990,17 +2990,17 @@
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="724"/> <location filename="../src/app/qupzilla.cpp" line="724"/>
<source>&amp;Download Manager</source> <source>&amp;Download Manager</source>
<translation>&amp;D</translation> <translation>&amp;D下载管理</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="725"/> <location filename="../src/app/qupzilla.cpp" line="725"/>
<source>&amp;Cookies Manager</source> <source>&amp;Cookies Manager</source>
<translation>Cookies&amp;C</translation> <translation>&amp;C管理Cookies</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="726"/> <location filename="../src/app/qupzilla.cpp" line="726"/>
<source>&amp;AdBlock</source> <source>&amp;AdBlock</source>
<translation type="unfinished"></translation> <translation>&amp;AdBlock</translation>
</message> </message>
<message> <message>
<location filename="../src/app/qupzilla.cpp" line="727"/> <location filename="../src/app/qupzilla.cpp" line="727"/>
@ -3117,7 +3117,7 @@
<location filename="../src/network/qupzillaschemehandler.cpp" line="123"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="123"/>
<location filename="../src/network/qupzillaschemehandler.cpp" line="124"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="124"/>
<source>Report Issue</source> <source>Report Issue</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="129"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="129"/>
@ -3259,43 +3259,43 @@
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="216"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="216"/>
<source>Speed Dial</source> <source>Speed Dial</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="217"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="217"/>
<source>Add New Page</source> <source>Add New Page</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="218"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="218"/>
<location filename="../src/network/qupzillaschemehandler.cpp" line="226"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="226"/>
<source>Edit</source> <source>Edit</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="219"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="219"/>
<source>Remove</source> <source>Remove</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="220"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="220"/>
<source>Reload</source> <source>Reload</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="224"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="224"/>
<source>Url</source> <source>Url</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="225"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="225"/>
<source>Title</source> <source>Title</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/network/qupzillaschemehandler.cpp" line="227"/> <location filename="../src/network/qupzillaschemehandler.cpp" line="227"/>
<source>New Page</source> <source>New Page</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -3460,28 +3460,28 @@ Please add some with RSS icon in navigation bar on site which offers feeds.</sou
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="57"/> <location filename="../src/preferences/sslmanager.ui" line="57"/>
<source>This is a list of CA Authorities Certificates stored in the standard system path and in user specified paths.</source> <source>This is a list of CA Authorities Certificates stored in the standard system path and in user specified paths.</source>
<translation type="unfinished"></translation> <translation>CA机构的证书列表</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="108"/> <location filename="../src/preferences/sslmanager.ui" line="108"/>
<source>This is a list of Local Certificates stored in your user profile. It also contains all certificates, that have received an exception.</source> <source>This is a list of Local Certificates stored in your user profile. It also contains all certificates, that have received an exception.</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="159"/> <location filename="../src/preferences/sslmanager.ui" line="159"/>
<source>If CA Authorities Certificates were not automatically loaded from the system, you can specify paths manually where the certificates are stored.</source> <source>If CA Authorities Certificates were not automatically loaded from the system, you can specify paths manually where the certificates are stored.</source>
<translation type="unfinished"></translation> <translation>CA机构证书不会自动加载到系统中</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="171"/> <location filename="../src/preferences/sslmanager.ui" line="171"/>
<source>&lt;b&gt;NOTE:&lt;/b&gt; Setting this option is a high security risk!</source> <source>&lt;b&gt;NOTE:&lt;/b&gt; Setting this option is a high security risk!</source>
<translation type="unfinished"></translation> <translation>&lt;b&gt;:&lt;/b&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="232"/> <location filename="../src/preferences/sslmanager.ui" line="232"/>
<source>All certificates must have .crt suffix. <source>All certificates must have .crt suffix.
After adding or removing certificate paths, it is neccessary to restart QupZilla in order to take effect the changes.</source> After adding or removing certificate paths, it is neccessary to restart QupZilla in order to take effect the changes.</source>
<translation type="unfinished"></translation> <translation>.CRT后缀QupZilla需要重新启动才能生效.</translation>
</message> </message>
<message> <message>
<location filename="../src/preferences/sslmanager.ui" line="68"/> <location filename="../src/preferences/sslmanager.ui" line="68"/>
@ -4162,7 +4162,7 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
<message> <message>
<location filename="../src/webview/webpage.cpp" line="216"/> <location filename="../src/webview/webpage.cpp" line="216"/>
<source>New tab</source> <source>New tab</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/webview/webpage.cpp" line="273"/> <location filename="../src/webview/webpage.cpp" line="273"/>