Skip to content

Commit

Permalink
Add more icons and a shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Mar 30, 2024
1 parent 66776c7 commit 2c3ba72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion qt/hu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,15 @@
</message>
<message>
<source>Start bibref in a web terminal</source>
<translation>A bibref indítása webes terminálban</translation>
<translation type="vanished">A bibref indítása webes terminálban</translation>
</message>
<message>
<source>Start a web version of bibref in a web based terminal</source>
<translation>A bibref program webes verziójának indítása böngészőben</translation>
</message>
<message>
<source>Start bibref in a web &amp;terminal</source>
<translation>A bibref indítása webes &amp;terminálban</translation>
</message>
</context>
</TS>
6 changes: 4 additions & 2 deletions qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1146,15 +1146,17 @@ void MainWindow::createActions()
connect(aboutQtAct, &QAction::triggered, this, &MainWindow::aboutQt);

tutorialAct = new QAction(tr("Quick tutorial…"), this);
tutorialAct->setIcon(QIcon::fromTheme("system-help"));
tutorialAct->setStatusTip(tr("Show a short introduction to the program"));
connect(tutorialAct, &QAction::triggered, this, &MainWindow::tutorial);

showAvailableBiblesAct = new QAction(tr("Show available Bibles…"), this);
showAvailableBiblesAct->setIcon(QIcon::fromTheme("system-file-manager"));
showAvailableBiblesAct->setStatusTip(tr("Show available Bibles via SWORD"));
connect(showAvailableBiblesAct, &QAction::triggered, this, &MainWindow::showSwordBibles);

webTerminalAct = new QAction(tr("Start bibref in a web terminal"), this);
webTerminalAct->setIcon(QIcon::fromTheme("help-browser"));
webTerminalAct = new QAction(tr("Start bibref in a web &terminal"), this);
webTerminalAct->setIcon(QIcon::fromTheme("utilities-terminal"));
webTerminalAct->setStatusTip(tr("Start a web version of bibref in a web based terminal"));
connect(webTerminalAct, &QAction::triggered, this, &MainWindow::webTerminal);
}
Expand Down

0 comments on commit 2c3ba72

Please sign in to comment.