diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-23 10:04:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-23 10:04:58 +0200 |
commit | 390d096f03112d56362c2a9c46b9dc6fde7dbee2 (patch) | |
tree | 9cf7e73ee9add7bd573f4aecfb69a0cab5bb766e | |
parent | Merge commit 'refs/merge-requests/1580' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-390d096f03112d56362c2a9c46b9dc6fde7dbee2.tar.xz |
Fixing a bit new actions text (too long and bad translated)
-rw-r--r-- | src/webview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |