1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Updated translations

This commit is contained in:
nowrep 2012-03-08 17:17:41 +01:00
parent 03db6da1a9
commit 2582fff163
24 changed files with 4528 additions and 4364 deletions

View File

@ -143,7 +143,7 @@ void CommandLineOptions::parseActions()
} }
QString url(m_argv[m_argc - 1]); QString url(m_argv[m_argc - 1]);
if (m_argc > 1 && !url.isEmpty() && !url.startsWith("-")) { if (m_argc > 1 && !url.isEmpty() && !url.startsWith("-") && url.contains(".")) {
cout << "starting with url " << url.toUtf8().data() << endl; cout << "starting with url " << url.toUtf8().data() << endl;
ActionPair pair; ActionPair pair;
pair.action = Qz::CL_OpenUrl; pair.action = Qz::CL_OpenUrl;

View File

@ -213,6 +213,7 @@ void SearchEnginesManager::addEngineFromForm(const QWebElement &element, WebView
} }
QUrl actionUrl = QUrl::fromEncoded(formElement.attribute("action").toUtf8()); QUrl actionUrl = QUrl::fromEncoded(formElement.attribute("action").toUtf8());
if (actionUrl.isRelative()) { if (actionUrl.isRelative()) {
actionUrl = view->url().resolved(actionUrl); actionUrl = view->url().resolved(actionUrl);
} }

View File

@ -774,7 +774,7 @@
<item> <item>
<widget class="QCheckBox" name="allowPlugins"> <widget class="QCheckBox" name="allowPlugins">
<property name="text"> <property name="text">
<string>Allow Plugins (Flash plugin)</string> <string>Allow Netscape Plugins (Flash plugin)</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -520,9 +520,10 @@ void WebView::checkForForm(QMenu *menu, const QWebElement &element)
return; return;
} }
QString method = parentElement.hasAttribute("method") ? parentElement.attribute("method").toUpper() : "GET"; const QString &url = parentElement.attribute("action");
const QString &method = parentElement.hasAttribute("method") ? parentElement.attribute("method").toUpper() : "GET";
if (method == "GET") { if (!url.isEmpty() && method == "GET") {
menu->addAction(QIcon(":icons/menu/search-icon.png"), tr("Create Search Engine"), this, SLOT(createSearchEngine())); menu->addAction(QIcon(":icons/menu/search-icon.png"), tr("Create Search Engine"), this, SLOT(createSearchEngine()));
m_clickedElement = element; m_clickedElement = element;
@ -588,11 +589,11 @@ void WebView::createContextMenu(QMenu* menu, const QWebHitTestResult &hitTest, c
delete pageMenu; delete pageMenu;
} }
}
if (hitTest.element().tagName().toLower() == "input") { if (hitTest.element().tagName().toLower() == "input") {
checkForForm(menu, hitTest.element()); checkForForm(menu, hitTest.element());
} }
}
if (!selectedText().isEmpty()) { if (!selectedText().isEmpty()) {
createSelectedTextContextMenu(menu, hitTest); createSelectedTextContextMenu(menu, hitTest);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1516,10 +1516,6 @@
<source>Save Page Screen...</source> <source>Save Page Screen...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>screen.png</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PluginsList</name> <name>PluginsList</name>
@ -1825,10 +1821,6 @@
<source>Web Configuration</source> <source>Web Configuration</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Allow Plugins (Flash plugin)</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Allow JavaScript</source> <source>Allow JavaScript</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -2221,6 +2213,10 @@
<source>Are you sure to permanently delete &quot;%1&quot; profile? This action cannot be undone!</source> <source>Are you sure to permanently delete &quot;%1&quot; profile? This action cannot be undone!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Allow Netscape Plugins (Flash plugin)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>QObject</name> <name>QObject</name>
@ -3956,6 +3952,10 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
<source>Search with...</source> <source>Search with...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Create Search Engine</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>jsAlert</name> <name>jsAlert</name>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1520,7 +1520,7 @@
</message> </message>
<message> <message>
<source>screen.png</source> <source>screen.png</source>
<translation>screen.png</translation> <translation type="obsolete">screen.png</translation>
</message> </message>
</context> </context>
<context> <context>
@ -1829,7 +1829,7 @@
</message> </message>
<message> <message>
<source>Allow Plugins (Flash plugin)</source> <source>Allow Plugins (Flash plugin)</source>
<translation> (Flash )</translation> <translation type="obsolete"> (Flash )</translation>
</message> </message>
<message> <message>
<source>Allow JavaScript</source> <source>Allow JavaScript</source>
@ -2224,6 +2224,10 @@
<source>Are you sure to permanently delete &quot;%1&quot; profile? This action cannot be undone!</source> <source>Are you sure to permanently delete &quot;%1&quot; profile? This action cannot be undone!</source>
<translation> &quot;%1&quot; ? !</translation> <translation> &quot;%1&quot; ? !</translation>
</message> </message>
<message>
<source>Allow Netscape Plugins (Flash plugin)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>QObject</name> <name>QObject</name>
@ -3965,6 +3969,10 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
<source>Search with...</source> <source>Search with...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message>
<source>Create Search Engine</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>jsAlert</name> <name>jsAlert</name>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1552,7 +1552,7 @@ não foi encontrado!</translation>
</message> </message>
<message> <message>
<source>screen.png</source> <source>screen.png</source>
<translation>screen.png</translation> <translation type="obsolete">screen.png</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2234,7 +2234,7 @@ não foi encontrado!</translation>
</message> </message>
<message> <message>
<source>Allow Plugins (Flash plugin)</source> <source>Allow Plugins (Flash plugin)</source>
<translation>Permitir plugins (Flash)</translation> <translation type="obsolete">Permitir plugins (Flash)</translation>
</message> </message>
<message> <message>
<source>Select all text by clicking in address bar</source> <source>Select all text by clicking in address bar</source>
@ -2260,6 +2260,10 @@ não foi encontrado!</translation>
<source>Allow storing of cookies</source> <source>Allow storing of cookies</source>
<translation>Permitir armazenamento de cookies</translation> <translation>Permitir armazenamento de cookies</translation>
</message> </message>
<message>
<source>Allow Netscape Plugins (Flash plugin)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>QObject</name> <name>QObject</name>
@ -4006,6 +4010,10 @@ Após adicionar ou remover os caminhos dos certificados, você terá que reinici
<source>Search with...</source> <source>Search with...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Create Search Engine</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>jsAlert</name> <name>jsAlert</name>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1548,7 +1548,7 @@
</message> </message>
<message> <message>
<source>screen.png</source> <source>screen.png</source>
<translation>obrazstranky.png</translation> <translation type="obsolete">obrazstranky.png</translation>
</message> </message>
</context> </context>
<context> <context>
@ -2122,7 +2122,7 @@
</message> </message>
<message> <message>
<source>Allow Plugins (Flash plugin)</source> <source>Allow Plugins (Flash plugin)</source>
<translation>Povoliť pluginy (Flash plugin)</translation> <translation type="obsolete">Povoliť pluginy (Flash plugin)</translation>
</message> </message>
<message> <message>
<source>Select all text by clicking in address bar</source> <source>Select all text by clicking in address bar</source>
@ -2256,6 +2256,10 @@
<source>Change browser identification:</source> <source>Change browser identification:</source>
<translation>Zmeniť identifikáciu prehliadača:</translation> <translation>Zmeniť identifikáciu prehliadača:</translation>
</message> </message>
<message>
<source>Allow Netscape Plugins (Flash plugin)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>QObject</name> <name>QObject</name>
@ -4002,6 +4006,10 @@ Po pridaní či odobratí ciest k certifikátom je nutné reštartovať prehliad
<source>Search with...</source> <source>Search with...</source>
<translation>Hľadať s...</translation> <translation>Hľadať s...</translation>
</message> </message>
<message>
<source>Create Search Engine</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>jsAlert</name> <name>jsAlert</name>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff