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

[WebView] Make Direction & Fonts menu translatable.

Closes #871
This commit is contained in:
nowrep 2013-05-02 12:02:41 +02:00
parent 621753ac1b
commit d59acd8dbb
2 changed files with 247 additions and 205 deletions

View File

@ -788,6 +788,13 @@ void WebView::createContextMenu(QMenu* menu, const QWebHitTestResult &hitTest, c
pageAction(QWebPage::SelectAll)->setIcon(QIcon::fromTheme("edit-select-all"));
pageAction(QWebPage::SelectAll)->setText(tr("Select All"));
pageAction(QWebPage::SetTextDirectionDefault)->setText(tr("Default"));
pageAction(QWebPage::SetTextDirectionLeftToRight)->setText(tr("Left to Right"));
pageAction(QWebPage::SetTextDirectionRightToLeft)->setText(tr("Right to Left"));
pageAction(QWebPage::ToggleBold)->setText(tr("Bold"));
pageAction(QWebPage::ToggleItalic)->setText(tr("Italic"));
pageAction(QWebPage::ToggleUnderline)->setText(tr("Underline"));
m_actionReload = new QAction(qIconProvider->standardIcon(QStyle::SP_BrowserReload), tr("&Reload"), this);
m_actionStop = new QAction(qIconProvider->standardIcon(QStyle::SP_BrowserStop), tr("S&top"), this);

File diff suppressed because it is too large Load Diff