This commit is contained in:
2025-12-02 18:13:51 +03:00
parent 75ffb5ceca
commit 11c8e21729
9 changed files with 18 additions and 14 deletions

View File

@@ -1 +1 @@
IDI_APP_ICON ICON "resources\IcoServerRRJ.ico"
IDI_APP_ICON ICON "resources/IcoServerRRJ.ico"

View File

@@ -167,7 +167,7 @@ void MainWindow::slot_TrayMenu_Exit()
void MainWindow::slot_Tray_ShowMessage(QString textMsg, QSystemTrayIcon::MessageIcon iconMsg)
{
QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon(iconMsg);
trayIcon->showMessage(tr("Server LMS"),
trayIcon->showMessage(tr("Server MPS"),
textMsg,
icon, 100);
}
@@ -215,7 +215,7 @@ void MainWindow::errorCheck()
void MainWindow::updateTrayTitles()
{
trayIcon->setToolTip(tr("Server LMS"));
trayIcon->setToolTip(tr("Server MPS"));
action_ShowWindow->setText(tr("Expand window"));
action_HideWindow->setText(tr("Minimize window"));
action_Exit->setText(tr("Exit"));

View File

@@ -17,7 +17,7 @@
</font>
</property>
<property name="windowTitle">
<string>Server Learning management system (LMS)</string>
<string>Server. Maintenance procedures simulator RRJ-95NEW-100</string>
</property>
<property name="windowIcon">
<iconset resource="TrayServerLMS.qrc">

View File

@@ -3,17 +3,16 @@
<TS version="2.1" language="ru_RU">
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.ui" line="20"/>
<source>Server Learning management system (LMS)</source>
<translation>Сервер Системы управления обучением (СУО)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="170"/>
<location filename="../mainwindow.cpp" line="218"/>
<source>Server LMS</source>
<translation>Сервер СУО</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="218"/>
<source>Server MPS</source>
<translation>Сервер ТПТО</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="219"/>
<source>Expand window</source>
@@ -34,5 +33,10 @@
<source>Starting the server...</source>
<translation>Запуск сервера...</translation>
</message>
<message>
<location filename="../mainwindow.ui" line="20"/>
<source>Server. Maintenance procedures simulator RRJ-95NEW-100</source>
<translation>Сервер. Тренажёр процедур технического обслуживания самолета RRJ-95NEW-100</translation>
</message>
</context>
</TS>