diff --git a/FILES/CSS/styleSheetMain.css b/FILES/CSS/styleSheetMain.css
index 13b63c0..59f6277 100644
--- a/FILES/CSS/styleSheetMain.css
+++ b/FILES/CSS/styleSheetMain.css
@@ -92,13 +92,13 @@ QToolButton {
}
QToolButton#btnSend, QToolButton#btnDelete, QToolButton#btnCheck, QToolButton#btnOnlyActive, QToolButton#btnStatus,
-QToolButton#btnUpdateStyle, QToolButton#btnSetVersion, QToolButton#btnDocsUpdating,
+QToolButton#btnDocsUpdating,
QToolButton#btnAssignTask,
QToolButton#btnAssign {
width: 100px;
height: 55px;
}
-QToolButton#btnCheckDB, QToolButton#btnUpdateDocs, QToolButton#btnRepare, QToolButton#btnSave {
+QToolButton#btnCheckDB, QToolButton#btnUpdateDocs, QToolButton#btnRepare, QToolButton#btnSave, QToolButton#btnUpdateStyle, QToolButton#btnSetVersion {
width: 150px;
height: 55px;
}
diff --git a/FILES/translations/RRJServer_ru_RU.qm b/FILES/translations/RRJServer_ru_RU.qm
index fd3b66d..67ba427 100644
Binary files a/FILES/translations/RRJServer_ru_RU.qm and b/FILES/translations/RRJServer_ru_RU.qm differ
diff --git a/LibInstructorsAndTrainees/instructorsandtraineeswidget.ui b/LibInstructorsAndTrainees/instructorsandtraineeswidget.ui
index ed5730c..68893d5 100644
--- a/LibInstructorsAndTrainees/instructorsandtraineeswidget.ui
+++ b/LibInstructorsAndTrainees/instructorsandtraineeswidget.ui
@@ -108,7 +108,7 @@
- Trainee editor
+ Editor of trainees
@@ -134,7 +134,7 @@
- Instructor editor
+ Editor of instructors
diff --git a/LibInstructorsAndTrainees/settings/dialogsettings.ui b/LibInstructorsAndTrainees/settings/dialogsettings.ui
index 07e5218..b0c1869 100644
--- a/LibInstructorsAndTrainees/settings/dialogsettings.ui
+++ b/LibInstructorsAndTrainees/settings/dialogsettings.ui
@@ -209,7 +209,7 @@
Save
-
+ :/resources/icons/save.png:/resources/icons/save.png
@@ -265,7 +265,7 @@
- Version
+ Editor of versions
@@ -338,7 +338,6 @@
-
diff --git a/LibInstructorsAndTrainees/settings/dialogversioncontrol.cpp b/LibInstructorsAndTrainees/settings/dialogversioncontrol.cpp
index 3cf58a8..45be8b5 100644
--- a/LibInstructorsAndTrainees/settings/dialogversioncontrol.cpp
+++ b/LibInstructorsAndTrainees/settings/dialogversioncontrol.cpp
@@ -25,7 +25,7 @@ DialogVersionControl::DialogVersionControl(ConnectorToServer* connectorToServer,
setMinimumSize(600, 300);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
- setWindowTitle(tr("Version control"));
+ setWindowTitle(tr("Editor of versions"));
versionContainer = new VersionContainer;
diff --git a/LibServer/multithreadserver/multithreadserver.cpp b/LibServer/multithreadserver/multithreadserver.cpp
index 164e1e4..cbe241e 100644
--- a/LibServer/multithreadserver/multithreadserver.cpp
+++ b/LibServer/multithreadserver/multithreadserver.cpp
@@ -26,6 +26,12 @@ void MultiThreadServer::incomingConnection(qintptr socketDesriptor)
addClient(socketDesriptor,newClient);
Logger::instance().log("To Client: " + QString(SERVER_HELLO));
+
+ //Отправляем состояние блокировки
+ if(getStateBlockAutorization() == EStateBlockAutorization::blocked)
+ newClient->sendPacketType(PacketType::BUSY);
+ else
+ newClient->sendPacketType(PacketType::FREE);
}
bool MultiThreadServer::startServer()
diff --git a/translations/RRJServer_ru_RU.qm b/translations/RRJServer_ru_RU.qm
index fd3b66d..67ba427 100644
Binary files a/translations/RRJServer_ru_RU.qm and b/translations/RRJServer_ru_RU.qm differ
diff --git a/translations/RRJServer_ru_RU.ts b/translations/RRJServer_ru_RU.ts
index 041a488..81caad7 100644
--- a/translations/RRJServer_ru_RU.ts
+++ b/translations/RRJServer_ru_RU.ts
@@ -702,30 +702,34 @@ The status will be set:
Порт
-
- Auto start
- Авто старт
-
-
-
+ SaveСохранить
-
+ AdditionalРасширенные
-
- Version
- Версия
+
+ Editor of versions
+ Редактор версий
-
+ StyleСтиль
+
+
+ The server rejected your request to access version control.
+Another instructor is managing versions.
+Please try again later.
+ Сервер отклонил запрос на вход в управление версиями.
+Другой инструктор управляет версиями.
+Попробуйте позже.
+ DialogSettingsTray
@@ -800,47 +804,47 @@ The status will be set:
Обновить Docs
-
+ 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;порт некорректен;
-
-
+
+ PostgreSQL is not installed.PostgreSQL не установлен.
-
+ file 'pg_hba.conf' does not contain an entry for the IP address:файл 'pg_hba.conf' не содержит запись для IP-адреса:
@@ -897,8 +901,8 @@ The status will be set:
- Version control
- Управление версиями
+ Editor of versions
+ Редактор версий
@@ -932,14 +936,14 @@ The status will be set:
-
-
-
+
+
+ Version not selectedВерсия не выбрана
-
+ The deletion will be irrevocable.
Delete it anyway?Удаление будет безвозвратным.
@@ -1237,16 +1241,6 @@ Delete it anyway?
AuthorizationАвторизация
-
-
- Trainee editor
- Редактор обучаемых
-
-
-
- Instructor editor
- Редактор инструкторов
- Tasks
@@ -1287,6 +1281,16 @@ Delete it anyway?
SettingsНастройки
+
+
+ Editor of trainees
+ Редактор обучаемых
+
+
+
+ Editor of instructors
+ Редактор инструкторов
+ Trainees
@@ -1300,85 +1304,91 @@ Delete it anyway?
-
+ noneнет
-
+ The file could not be opened Файл не может быть открыт
-
-
+
+ Instructor authorization.Авторизация инструктора.
-
+ Instructor deauthorizationДеавторизация инструктора
-
+ Error!Ошибка!
-
+ Server blocked!Сервер заблокирован!
-
+ Database error!Ошибка базы данных!
-
+ The user is archived!Пользователь является архивным!
-
+ The user is already logged in!Пользователь уже в сети!
-
+ Login or password error!Ошибка логина или пароля!
-
+ The server is not available!Сервер недоступен!
-
+ Connection attemptПопытка соединения
-
+
+ connectedподключен
-
+
+ blocked
+ заблокирован
+
+
+ not connectedне подключен
-
+ Server settings have been changed.
Please reconnect to the server.Настройки сервера были изменены.
Пожалуйста, переподключитесь к серверу.
-
+ Instructor authorizationАвторизация инструктора
@@ -1733,76 +1743,76 @@ Please reconnect to the server.
Ошибка PostgreSQL!
-
+ Server is started!Сервер запущен!
-
+ Server is stoped!Сервер остановлен!
-
+ Settings file could not be opened:Файл настроек не открыт:
-
+ Database settings have been changed.
The server will be restarted.Настройки Базы Данных были изменены.
Сервер будет перезапущен.
-
+ The file could not be opened Файл не может быть открыт
-
-
+
+ Database connection error!Ошибка подключения Базы данных!
-
+ Database connection OK!База данных подключена!
-
-
+
+ startedзапущен
-
+ lockedзаблокирован
-
+ stopedостановлен
-
+ connectedподключена
-
+ not connectedне подключен
-
+ No Client files found!Файлы клиента не найдены!
-
+ * check Application for the presence of a folder with a build
* check SharedData for a folder with the base version and the name base* проверьте Application на наличие папки со сборкой
@@ -1931,6 +1941,15 @@ The server will be restarted.
Editor of InstructorsРедактор инструкторов
+
+
+ The server rejected your request to access instructors control.
+Another instructor is managing instructors.
+Please try again later.
+ Сервер отклонил запрос на вход в управление инструкторами.
+Другой инструктор управляет инструкторами.
+Попробуйте позже.
+ ViewerTasksCommon
@@ -1962,6 +1981,15 @@ The server will be restarted.
Editor of TraineesРедактор обучаемых
+
+
+ The server rejected your request to access trainees control.
+Another instructor is managing trainees.
+Please try again later.
+ Сервер отклонил запрос на вход в управление обучаемыми.
+Другой инструктор управляет обучаемыми.
+Попробуйте позже.
+ WaitAnimationWidget