From 390d096f03112d56362c2a9c46b9dc6fde7dbee2 Mon Sep 17 00:00:00 2001
From: Andrea Diamantini <adjam7@gmail.com>
Date: Wed, 23 Sep 2009 10:04:58 +0200
Subject: Fixing a bit new actions text (too long and bad translated)

---
 src/webview.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/webview.cpp b/src/webview.cpp
index 97f19d78..0f646278 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -217,13 +217,13 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
         if (selectedText().startsWith("http://") || selectedText().startsWith("https://"))
         {
             //open selected text url in a new tab
-            a = new KAction(KIcon("tab-new"), i18n("Open in New &Tab: "+selectedText().toUtf8()), this);
+            a = new KAction(KIcon("tab-new"), i18n("Open: '") + selectedText().toUtf8().left(15) + QString("...'"), this);
             a->setData(QUrl(selectedText()));
             connect(a, SIGNAL(triggered(bool)), this, SLOT(openLinkInNewTab()));
             menu.addAction(a);
 
             //open selected text url in a new window
-            a = new KAction(KIcon("window-new"), i18n("Open in New &Window: "+selectedText().toUtf8()), this);
+            a = new KAction(KIcon("window-new"), i18n("Open: '") + selectedText().toUtf8().left(15) + QString("...'"), this);
             a->setData(QUrl(selectedText()));
             connect(a, SIGNAL(triggered(bool)), this, SLOT(openLinkInNewWindow()));
             menu.addAction(a);
-- 
cgit v1.2.1