Commit ea354f25 authored by Victor Ostashevsky's avatar Victor Ostashevsky Committed by Oswald Buddenhagen
Browse files

Wrong messages/contexts in help plugin



Merge-request: 172
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent ecec9ba6
...@@ -220,7 +220,7 @@ void GeneralSettingsPage::importBookmarks() ...@@ -220,7 +220,7 @@ void GeneralSettingsPage::importBookmarks()
{ {
m_ui.errorLabel->setVisible(false); m_ui.errorLabel->setVisible(false);
QString fileName = QFileDialog::getOpenFileName(0, tr("Open Image"), QString fileName = QFileDialog::getOpenFileName(0, tr("Import Bookmarks"),
QDir::currentPath(), tr("Files (*.xbel)")); QDir::currentPath(), tr("Files (*.xbel)"));
if (fileName.isEmpty()) if (fileName.isEmpty())
......
...@@ -275,7 +275,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error) ...@@ -275,7 +275,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
if (Core::ActionContainer *windowMenu = am->actionContainer(M_WINDOW)) { if (Core::ActionContainer *windowMenu = am->actionContainer(M_WINDOW)) {
// reuse EditorManager constants to avoid a second pair of menu actions // reuse EditorManager constants to avoid a second pair of menu actions
action = new QAction(QApplication::tr("EditorManager", action = new QAction(QApplication::translate("EditorManager",
"Next Open Document in History"), this); "Next Open Document in History"), this);
Core::Command *ctrlTab = am->registerAction(action, GOTOPREVINHISTORY, Core::Command *ctrlTab = am->registerAction(action, GOTOPREVINHISTORY,
modecontext); // Goto Previous In History Action modecontext); // Goto Previous In History Action
...@@ -283,7 +283,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error) ...@@ -283,7 +283,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
connect(action, SIGNAL(triggered()), &OpenPagesManager::instance(), connect(action, SIGNAL(triggered()), &OpenPagesManager::instance(),
SLOT(gotoPreviousPage())); SLOT(gotoPreviousPage()));
action = new QAction(QApplication::tr("EditorManager", action = new QAction(QApplication::translate("EditorManager",
"Previous Open Document in History"), this); "Previous Open Document in History"), this);
Core::Command *ctrlShiftTab = am->registerAction(action, GOTONEXTINHISTORY, Core::Command *ctrlShiftTab = am->registerAction(action, GOTONEXTINHISTORY,
modecontext); // Goto Next In History Action modecontext); // Goto Next In History Action
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment