Skip to content

Commit

Permalink
Tray Menu Translation Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hex4d0r committed Apr 17, 2018
1 parent bb970d8 commit 06c4144
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
Binary file modified src/english.qm
Binary file not shown.
12 changes: 12 additions & 0 deletions src/english.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@
<source>all_dnsredir (Tavsiye Edilen)</source>
<translation>all_dnsredir (Recommended)</translation>
</message>
<message>
<source>Gizle</source>
<translation>Hide</translation>
</message>
<message>
<source>Göster</source>
<translation>Show</translation>
</message>
<message>
<source>Çıkış</source>
<translation>Exit</translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
12 changes: 6 additions & 6 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ MainWindow::MainWindow(QStringList arguments, QWidget *parent) :
settings(new QSettings("HexOpenSource", "GBDPI-GUI", this)),
trayIcon(new QSystemTrayIcon(this)),
trayMenu(new QMenu(this)),
hideAction(new QAction("Gizle", this)),
showAction(new QAction("Göster", this)),
closeAction(new QAction("Çıkış", this)),
startAction(new QAction(QIcon(":/images/images/play-button.png"), "Başlat", this)),
stopAction(new QAction(QIcon(":/images/images/stop-button.png"), "Durdur", this)),
settingsAction(new QAction(QIcon(":/images/images/settings-gears-button.png"), "Ayarlar", this)),
hideAction(new QAction(tr("Gizle"), this)),
showAction(new QAction(tr("Göster"), this)),
closeAction(new QAction(tr("Çıkış"), this)),
startAction(new QAction(QIcon(":/images/images/play-button.png"), tr("Başlat"), this)),
stopAction(new QAction(QIcon(":/images/images/stop-button.png"), tr("Durdur"), this)),
settingsAction(new QAction(QIcon(":/images/images/settings-gears-button.png"), tr("Ayarlar"), this)),
tmpDir(new QTemporaryDir()),
proc(new QProcess(this)),
ui(new Ui::MainWindow)
Expand Down

0 comments on commit 06c4144

Please sign in to comment.