diff --git a/DOCS/Андрей/Board.md b/DOCS/Андрей/Board.md
index 4db58e5..cc6fd77 100644
--- a/DOCS/Андрей/Board.md
+++ b/DOCS/Андрей/Board.md
@@ -59,6 +59,7 @@ kanban-plugin: board
- [ ] При долгой работе загибается главное окно (предположительно из-за лога)
- [ ] Отображать текущую версию data в статус баре
- [ ] Сделать крутилку на начальную загрузку Сервера
+- [ ] Не блочится Сервер при смене версии
## GUI Messenger
diff --git a/InstructorsAndTrainees/tasks/ammtaskswidget.ui b/InstructorsAndTrainees/tasks/ammtaskswidget.ui
index db7f733..a15ab3c 100644
--- a/InstructorsAndTrainees/tasks/ammtaskswidget.ui
+++ b/InstructorsAndTrainees/tasks/ammtaskswidget.ui
@@ -38,54 +38,58 @@
-
-
-
-
-
- 0
- 0
-
-
-
-
- 32
- 32
-
-
-
-
-
-
- :/resources/icons/warning.png
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 48
- 40
-
-
-
-
- 80
- 40
-
-
-
- ...
-
-
- true
-
-
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 32
+ 32
+
+
+
+
+
+
+ :/resources/icons/warning.png
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 48
+ 40
+
+
+
+
+ 100
+ 40
+
+
+
+ ...
+
+
+ true
+
+
+
+
diff --git a/InstructorsAndTrainees/tasks/listsubproc.cpp b/InstructorsAndTrainees/tasks/listsubproc.cpp
index c87ad56..4dd6abb 100644
--- a/InstructorsAndTrainees/tasks/listsubproc.cpp
+++ b/InstructorsAndTrainees/tasks/listsubproc.cpp
@@ -169,6 +169,9 @@ void ListSubProc::slot_UpdateSubProcForDMCode(QString dmCode)
}
else
{
+ item->setFlags(item->flags() | Qt::ItemIsUserCheckable);
+ item->setCheckState(ColumnsTreeSubProc::clmnSP_title, Qt::Unchecked);
+
item->setFlags(item->flags() ^ Qt::ItemIsEnabled);
}
diff --git a/InstructorsAndTrainees/tasks/listsubproc.ui b/InstructorsAndTrainees/tasks/listsubproc.ui
index 68811f0..c47623e 100644
--- a/InstructorsAndTrainees/tasks/listsubproc.ui
+++ b/InstructorsAndTrainees/tasks/listsubproc.ui
@@ -34,12 +34,22 @@
+ -
+
+
+ 2
+
+
+ Qt::Horizontal
+
+
+
-
-
- Select subprocedures allowed to run in Auto mode
+ Select subprocedures allowed to run in Auto mode:
diff --git a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm
index 620ce2d..77a8299 100644
Binary files a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm and b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.qm differ
diff --git a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts
index 6041124..0c6ac7e 100644
--- a/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts
+++ b/InstructorsAndTrainees/translations/InstructorsAndTraineesWidget_ru_RU.ts
@@ -9,47 +9,73 @@
Форма
-
+
+ ...
+
+
+
+
+ Update
+ Обновить
+
+
+
Assign
Назначить
-
+
Аvailable
Доступные
-
+
Delete
Удалить
-
-
+
+ actual
+ актуально
+
+
+
+ update required
+ требуется обновление
+
+
+
+
DM code
DM код
-
-
+
+
ID
ID
-
-
+
+
Procedure AMM
Процедура AMM
-
-
-
+
+
+ Canplay
+ Режимы
+
+
+
+
+
Status
Статус
-
+
The deletion will be irrevocable.
Delete it anyway?
Удаление будет безвозвратным.
@@ -376,6 +402,14 @@ The status will be set:
Сохранить
+
+ DialogListSubProc
+
+
+ List subprocedures
+ Список подпроцедур
+
+
DialogNewPassword
@@ -463,6 +497,14 @@ The status will be set:
Стиль
+
+ DialogTasksCommon
+
+
+ Viewer tasks common
+ Просмотршик списка процедур
+
+
EditorInstructors
@@ -701,32 +743,32 @@ The changes will not be accepted.
Удалить
-
-
+
+
ID
ID
-
-
+
+
Status
Статус
-
-
+
+
Procedure FIM
Процедура FIM
-
+
The deletion will be irrevocable.
Delete it anyway?
Удаление будет безвозвратным.
Всё равно удалить?
-
+
Assign this task?
Назначить эту задачу?
@@ -760,93 +802,98 @@ Delete it anyway?
+ Tasks
+ Задачи
+
+
+
Personal card
Персональная карта
-
+
Chat
Чат
-
+
Server:
Сервер:
-
+
Instructor:
Инструктор:
-
+
Settings
Настройки
-
+
Trainees
Обучаемые
-
+
Instructors
Инструкторы
-
-
-
+
+
+
none
нет
-
+
The file could not be opened
Файл не может быть открыт
-
+
Instructor authorization.
Авторизация инструктора.
-
+
Instructor deauthorization
Деавторизация инструктора
-
+
Error!
Ошибка!
-
+
The server is not available!
Сервер недоступен!
-
+
connected
подключен
-
+
not connected
не подключен
-
+
Server settings have been changed. Please reconnect to the server.
Настройки сервера изменены. Выполните переподключение к серверу.
-
+
Instructor authorization
Авторизация инструктора
-
+
Invalid login or password!
Неправильный логин или пароль!
@@ -866,6 +913,45 @@ Delete it anyway?
нет
+
+ ListSubProc
+
+
+ Form
+ Форма
+
+
+
+ Title
+ Заголовок
+
+
+
+
+ DM code
+ DM код
+
+
+
+ Select subprocedures allowed to run in Auto mode:
+ Выберите подпроцедуры, разрешенные к запуску в режиме Авто:
+
+
+
+ Assign
+ Назначить
+
+
+
+ Subprocedure
+ Подпроцедура
+
+
+
+ Canplay
+ Режимы
+
+
MessangerWidget
@@ -1043,22 +1129,22 @@ Delete it anyway?
RecognizeSystem
-
+
The file could not be opened
Файл не может быть открыт
-
+
You cannot delete the basic version!
Вы не можете удалить базовую версию!
-
+
You cannot delete the active version
Вы не можете удалить активную версию
-
+
This name already exists
Это имя уже существует
@@ -1116,30 +1202,30 @@ Delete it anyway?
TaskAMMFIMTreePreparation
-
-
-
+
+
+
completed
выполнена
-
-
-
+
+
+
failed
неверно
-
-
-
+
+
+
checkup
на проверке
-
-
-
+
+
+
new
новая
@@ -1261,6 +1347,24 @@ Delete it anyway?
Редактор инструкторов
+
+ ViewerTasksCommon
+
+
+ Form
+ Форма
+
+
+
+ AMM
+
+
+
+
+ FIM
+
+
+
ViewerTrainees
diff --git a/ServerLMS/serverlmswidget.h b/ServerLMS/serverlmswidget.h
index 20e09af..4c81cd7 100644
--- a/ServerLMS/serverlmswidget.h
+++ b/ServerLMS/serverlmswidget.h
@@ -28,6 +28,7 @@
#include "providerdblms.h"
#include "docsupdater.h"
+
namespace Ui {
class ServerLMSWidget;
}
@@ -138,6 +139,8 @@ private:
Ui::ServerLMSWidget *ui;
private:
+ //WaitAnimationWidget *waitAnimationWidget;
+
MultiThreadServer *server;
QThread *updateThread;
QThread *loggerThread;
diff --git a/ServerLMS/settings/dialogsettingstray.ui b/ServerLMS/settings/dialogsettingstray.ui
index 83bf914..241a4d4 100644
--- a/ServerLMS/settings/dialogsettingstray.ui
+++ b/ServerLMS/settings/dialogsettingstray.ui
@@ -242,7 +242,7 @@
- Check&&Repare
+ Check
@@ -316,6 +316,12 @@
-
+
+
+ 150
+ 0
+
+
Additional
diff --git a/ServerLMS/translations/ServerLMS_ru_RU.qm b/ServerLMS/translations/ServerLMS_ru_RU.qm
index e21a0d1..40b1547 100644
Binary files a/ServerLMS/translations/ServerLMS_ru_RU.qm and b/ServerLMS/translations/ServerLMS_ru_RU.qm differ
diff --git a/ServerLMS/translations/ServerLMS_ru_RU.ts b/ServerLMS/translations/ServerLMS_ru_RU.ts
index b1d017c..edda8b9 100644
--- a/ServerLMS/translations/ServerLMS_ru_RU.ts
+++ b/ServerLMS/translations/ServerLMS_ru_RU.ts
@@ -148,8 +148,8 @@
- Check&&Repare
- Проверить&&Восстановить
+ Check
+ Проверить
@@ -157,52 +157,62 @@
Сохранить
-
-
-
+
+ Additional
+ Расширенные
+
+
+
+ Update Docs
+ Обновить Docs
+
+
+
+
+
Error!
Ошибка!
-
+
Driver PostgreSQL is not installed!
Драйвер PostgreSQL не установлен!
-
+
Superuser PostgreSQL authorization
Авторизация суперпользователя PostgreSQL
-
-
+
+
Error connecting to PostgreSQL!
Ошибка соединения с PostgreSQL!
-
-
+
+
Possible reasons:
Возможные причины:
-
-
+
+
*superuser PostgreSQL login or password is incorrect;
*логин или пароль суперпользователя PostgreSQL некорректен;
-
+
*Port is incorrect.
*Порт некорректен.
-
+
*Port is incorrect;
*Порт некорректен;
-
+
*file 'pg_hba.conf' does not contain an entry for the IP address:
*файл 'pg_hba.conf не содержит записи доступа для IP адреса:
@@ -261,77 +271,77 @@
Остановить
-
+
Server is started!
Сервер запущен!
-
+
Server is stoped!
Сервер остановлен!
-
-
+
+
Warning!
Внимание!
-
+
Database settings have been changed.
The server will be restarted.
Настройки Базы Данных были изменены.
Сервер будет перезапущен.
-
+
The file could not be opened
Файл не может быть открыт
-
-
+
+
Database connection error!
Ошибка подключения Базы данных!
-
-
+
+
Error!
Ошибка!
-
+
Error PostgreSQL!
Ошибка PostgreSQL!
-
+
Settings file could not be opened:
Файл настроек не открыт:
-
+
Database connection OK!
База данных подключена!
-
+
started
запущен
-
+
stoped
остановлен
-
+
connected
подключена
-
+
not connected
не подключена